Represents a blob that contains three planes (Y,U and V) in I420 color format.
More...
|
| I420Blob (const Blob::Ptr &y, const Blob::Ptr &u, const Blob::Ptr &v) |
| Constructs I420 blob from three planes Y, U and V. More...
|
|
| I420Blob (Blob::Ptr &&y, Blob::Ptr &&u, Blob::Ptr &&v) |
| Constructs I420 blob from three planes Y, U and V. More...
|
|
Blob::Ptr & | y () noexcept |
| Returns a reference to shared pointer to Y plane. More...
|
|
const Blob::Ptr & | y () const noexcept |
| Returns a constant reference to shared pointer to Y plane. More...
|
|
Blob::Ptr & | u () noexcept |
| Returns a reference to shared pointer to U plane. More...
|
|
const Blob::Ptr & | u () const noexcept |
| Returns a constant reference to shared pointer to U plane. More...
|
|
Blob::Ptr & | v () noexcept |
| Returns a reference to shared pointer to V plane. More...
|
|
const Blob::Ptr & | v () const noexcept |
| Returns a constant reference to shared pointer to V plane. More...
|
|
Blob::Ptr | createROI (const ROI &roi) const override |
| Creates a blob describing given ROI object based on the current blob with memory sharing. More...
|
|
| CompoundBlob (const std::vector< Blob::Ptr > &blobs) |
| Constructs a compound blob from a vector of blobs. More...
|
|
| CompoundBlob (std::vector< Blob::Ptr > &&blobs) |
| Constructs a compound blob from a vector of blobs. More...
|
|
size_t | byteSize () const noexcept override |
| Always returns 0 More...
|
|
size_t | element_size () const noexcept override |
| Always returns 0 More...
|
|
void | allocate () noexcept override |
| No operation is performed. Compound blob does not allocate/deallocate any data.
|
|
bool | deallocate () noexcept override |
| No operation is performed. Compound blob does not allocate/deallocate any data. More...
|
|
LockedMemory< void > | buffer () noexcept override |
| Always returns an empty LockedMemory object.
|
|
LockedMemory< const void > | cbuffer () const noexcept override |
| Always returns an empty LockedMemory object.
|
|
size_t | size () const noexcept override |
| Returns the number of underlying blobs in the compound blob.
|
|
virtual Blob::Ptr | getBlob (size_t i) const noexcept |
| Returns an underlying blob at index i. More...
|
|
virtual | ~Blob () |
| Blob virtual destructor.
|
|
template<typename T , typename std::enable_if<!std::is_pointer< T >::value &&!std::is_reference< T >::value, int >::type = 0, typename std::enable_if< std::is_base_of< Blob, T >::value, int >::type = 0> |
bool | is () noexcept |
| Checks if the Blob object can be cast to the type T*. More...
|
|
template<typename T , typename std::enable_if<!std::is_pointer< T >::value &&!std::is_reference< T >::value, int >::type = 0, typename std::enable_if< std::is_base_of< Blob, T >::value, int >::type = 0> |
bool | is () const noexcept |
| Checks if the Blob object can be cast to the type const T*. More...
|
|
template<typename T , typename std::enable_if<!std::is_pointer< T >::value &&!std::is_reference< T >::value, int >::type = 0, typename std::enable_if< std::is_base_of< Blob, T >::value, int >::type = 0> |
T * | as () noexcept |
| Casts this Blob object to the type T*. More...
|
|
template<typename T , typename std::enable_if<!std::is_pointer< T >::value &&!std::is_reference< T >::value, int >::type = 0, typename std::enable_if< std::is_base_of< Blob, T >::value, int >::type = 0> |
const T * | as () const noexcept |
| Casts this Blob object to the type const T*. More...
|
|
| Blob (const TensorDesc &tensorDesc) |
| Constructor. Creates an empty Blob object with the specified precision. More...
|
|
virtual const TensorDesc & | getTensorDesc () const noexcept |
| Returns the tensor description. More...
|
|
virtual TensorDesc & | getTensorDesc () noexcept |
| Returns the tensor description. More...
|
|