FFmpeg
Public Attributes | List of all members
AVOpenCLFrameDescriptor Struct Reference

OpenCL frame descriptor for pool allocation. More...

#include <hwcontext_opencl.h>

Public Attributes

int nb_planes
 Number of planes in the frame.
 
cl_mem planes [AV_NUM_DATA_POINTERS]
 OpenCL image2d objects for each plane of the frame.
 

Detailed Description

OpenCL frame descriptor for pool allocation.

In user-allocated pools, AVHWFramesContext.pool must return AVBufferRefs with the data pointer pointing at an object of this type describing the planes of the frame.


The documentation for this struct was generated from the following file: