Class InferenceEngine::gpu::VASurfaceBlob

class VASurfaceBlob : public InferenceEngine::gpu::ClImage2DBlob

This class represents an abstraction for GPU plugin remote blob which is shared with VA output surface. The plugin object derived from this class can be obtained with CreateBlob() call.

Note

User can also obtain OpenCL 2D image handle from this class.

Public Types

using Ptr = std::shared_ptr<VASurfaceBlob>

A smart pointer to the VASurfaceBlob object.

Public Functions

inline explicit VASurfaceBlob(const TensorDesc &tensorDesc)

Creates a VASurfaceBlob object with the specified dimensions and layout.

Parameters

tensorDesc – Tensor description

inline operator VASurfaceID()

VASurfaceID conversion operator for the VASurfaceBlob object.

Returns

VASurfaceID handle

inline uint32_t plane()

Returns plane ID of underlying video decoder surface.

Returns

Plane ID