struct AVHWFramesContext

Defined at line 124 of file ../../prebuilt/third_party/ffmpeg/pkg/ffmpeg/include/libavutil/hwcontext.h

This struct describes a set or pool of "hardware" frames (i.e. those with

data not located in normal system memory). All the frames in the pool are

assumed to be allocated in the same way and interchangeable.

This struct is reference-counted with the AVBuffer mechanism and tied to a

given AVHWDeviceContext instance. The av_hwframe_ctx_alloc() constructor

yields a reference, whose data field points to the actual AVHWFramesContext

struct.

Public Members

const AVClass * av_class
AVHWFramesInternal * internal
AVBufferRef * device_ref
AVHWDeviceContext * device_ctx
void * hwctx
void (*)(struct AVHWFramesContext *) free
void * user_opaque
AVBufferPool * pool
int initial_pool_size
AVPixelFormat format
AVPixelFormat sw_format
int width
int height