Class ov::intel_gpu::ocl::VASurfaceTensor#

class VASurfaceTensor : public ov::intel_gpu::ocl::ClImage2DTensor#

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


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

Public Functions

inline operator VASurfaceID()#

VASurfaceID conversion operator for the VASurfaceTensor object.


VASurfaceID handle

inline uint32_t plane()#

Returns plane ID of underlying video decoder surface.


Plane ID

Public Static Functions

static inline void type_check(const Tensor &tensor)#

Checks that type defined runtime parameters are presented in remote object.


tensor – a tensor to check