@ AV_HWFRAME_TRANSFER_DIRECTION_FROM
enum AVPixelFormat format
int av_hwframe_map(AVFrame *dst, const AVFrame *src, int flags)
struct AVHWFramesConstraints AVHWFramesConstraints
@ AV_HWDEVICE_TYPE_MEDIACODEC
@ AV_HWDEVICE_TYPE_VIDEOTOOLBOX
struct AVHWFramesContext AVHWFramesContext
enum AVHWDeviceType av_hwdevice_iterate_types(enum AVHWDeviceType prev)
void(* free)(struct AVHWFramesContext *ctx)
void * av_hwdevice_hwconfig_alloc(AVBufferRef *device_ctx)
struct AVHWFramesInternal AVHWFramesInternal
@ AV_HWDEVICE_TYPE_D3D11VA
AVBufferRef * av_hwdevice_ctx_alloc(enum AVHWDeviceType type)
int av_hwframe_get_buffer(AVBufferRef *hwframe_ctx, AVFrame *frame, int flags)
AVHWFramesConstraints * av_hwdevice_get_hwframe_constraints(AVBufferRef *ref, const void *hwconfig)
int av_hwdevice_ctx_create(AVBufferRef **device_ctx, enum AVHWDeviceType type, const char *device, AVDictionary *opts, int flags)
AVBufferRef * av_hwframe_ctx_alloc(AVBufferRef *device_ctx)
@ AV_HWDEVICE_TYPE_OPENCL
int av_hwframe_ctx_create_derived(AVBufferRef **derived_frame_ctx, enum AVPixelFormat format, AVBufferRef *derived_device_ctx, AVBufferRef *source_frame_ctx, int flags)
struct AVHWDeviceContext AVHWDeviceContext
const char * av_hwdevice_get_type_name(enum AVHWDeviceType type)
int av_hwdevice_ctx_create_derived(AVBufferRef **dst_ctx, enum AVHWDeviceType type, AVBufferRef *src_ctx, int flags)
int av_hwframe_ctx_init(AVBufferRef *ref)
int av_hwframe_transfer_data(AVFrame *dst, const AVFrame *src, int flags)
enum AVHWDeviceType av_hwdevice_find_type_by_name(const char *name)
void av_hwframe_constraints_free(AVHWFramesConstraints **constraints)
AVHWFrameTransferDirection
struct AVHWDeviceInternal AVHWDeviceInternal
int av_hwframe_transfer_get_formats(AVBufferRef *hwframe_ctx, enum AVHWFrameTransferDirection dir, enum AVPixelFormat **formats, int flags)
AVHWDeviceContext * device_ctx
void(* free)(struct AVHWDeviceContext *ctx)
@ AV_HWFRAME_MAP_OVERWRITE
enum AVPixelFormat sw_format
int av_hwdevice_ctx_init(AVBufferRef *ref)
@ AV_HWFRAME_TRANSFER_DIRECTION_TO