FFmpeg
Public Attributes | List of all members
HWContextType Struct Reference

Public Attributes

enum AVHWDeviceType type
 
const char * name
 
enum AVPixelFormatpix_fmts
 An array of pixel formats supported by the AVHWFramesContext instances Terminated by AV_PIX_FMT_NONE.
 
size_t device_hwctx_size
 size of the public hardware-specific context, i.e. More...
 
size_t device_priv_size
 size of the private data, i.e. More...
 
size_t device_hwconfig_size
 Size of the hardware-specific device configuration. More...
 
size_t frames_hwctx_size
 size of the public frame pool hardware-specific context, i.e. More...
 
size_t frames_priv_size
 size of the private data, i.e. More...
 
int(* device_create )(AVHWDeviceContext *ctx, const char *device, AVDictionary *opts, int flags)
 
int(* device_derive )(AVHWDeviceContext *dst_ctx, AVHWDeviceContext *src_ctx, int flags)
 
int(* device_init )(AVHWDeviceContext *ctx)
 
void(* device_uninit )(AVHWDeviceContext *ctx)
 
int(* frames_get_constraints )(AVHWDeviceContext *ctx, const void *hwconfig, AVHWFramesConstraints *constraints)
 
int(* frames_init )(AVHWFramesContext *ctx)
 
void(* frames_uninit )(AVHWFramesContext *ctx)
 
int(* frames_get_buffer )(AVHWFramesContext *ctx, AVFrame *frame)
 
int(* transfer_get_formats )(AVHWFramesContext *ctx, enum AVHWFrameTransferDirection dir, enum AVPixelFormat **formats)
 
int(* transfer_data_to )(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src)
 
int(* transfer_data_from )(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src)
 
int(* map_to )(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src, int flags)
 
int(* map_from )(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src, int flags)
 
int(* frames_derive_to )(AVHWFramesContext *dst_ctx, AVHWFramesContext *src_ctx, int flags)
 
int(* frames_derive_from )(AVHWFramesContext *dst_ctx, AVHWFramesContext *src_ctx, int flags)
 

Member Data Documentation

§ device_hwconfig_size

size_t HWContextType::device_hwconfig_size

Size of the hardware-specific device configuration.

(Used to query hwframe constraints.)

§ device_hwctx_size

size_t HWContextType::device_hwctx_size

size of the public hardware-specific context, i.e.

AVHWDeviceContext.hwctx

§ device_priv_size

size_t HWContextType::device_priv_size

size of the private data, i.e.

AVHWDeviceInternal.priv

§ frames_hwctx_size

size_t HWContextType::frames_hwctx_size

size of the public frame pool hardware-specific context, i.e.

AVHWFramesContext.hwctx

§ frames_priv_size

size_t HWContextType::frames_priv_size

size of the private data, i.e.

AVHWFramesInternal.priv


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