FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
HWContextType Struct Reference

#include <hwcontext_internal.h>

Data Fields

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. More...
 
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)
 

Detailed Description

Definition at line 29 of file hwcontext_internal.h.

Field Documentation

enum AVHWDeviceType HWContextType::type

Definition at line 30 of file hwcontext_internal.h.

Referenced by av_hwdevice_iterate_types().

const char* HWContextType::name

Definition at line 31 of file hwcontext_internal.h.

Referenced by av_hwframe_ctx_init().

enum AVPixelFormat* HWContextType::pix_fmts

An array of pixel formats supported by the AVHWFramesContext instances Terminated by AV_PIX_FMT_NONE.

Definition at line 37 of file hwcontext_internal.h.

Referenced by av_hwframe_ctx_init().

size_t HWContextType::device_hwctx_size

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

AVHWDeviceContext.hwctx

Definition at line 43 of file hwcontext_internal.h.

Referenced by av_hwdevice_ctx_alloc().

size_t HWContextType::device_priv_size

size of the private data, i.e.

AVHWDeviceInternal.priv

Definition at line 48 of file hwcontext_internal.h.

Referenced by av_hwdevice_ctx_alloc().

size_t HWContextType::device_hwconfig_size

Size of the hardware-specific device configuration.

(Used to query hwframe constraints.)

Definition at line 54 of file hwcontext_internal.h.

size_t HWContextType::frames_hwctx_size

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

AVHWFramesContext.hwctx

Definition at line 60 of file hwcontext_internal.h.

size_t HWContextType::frames_priv_size

size of the private data, i.e.

AVHWFramesInternal.priv

Definition at line 65 of file hwcontext_internal.h.

int(* HWContextType::device_create)(AVHWDeviceContext *ctx, const char *device, AVDictionary *opts, int flags)

Definition at line 67 of file hwcontext_internal.h.

Referenced by av_hwdevice_ctx_create().

int(* HWContextType::device_derive)(AVHWDeviceContext *dst_ctx, AVHWDeviceContext *src_ctx, int flags)

Definition at line 69 of file hwcontext_internal.h.

Referenced by av_hwdevice_ctx_create_derived().

int(* HWContextType::device_init)(AVHWDeviceContext *ctx)

Definition at line 72 of file hwcontext_internal.h.

Referenced by av_hwdevice_ctx_init().

void(* HWContextType::device_uninit)(AVHWDeviceContext *ctx)

Definition at line 73 of file hwcontext_internal.h.

Referenced by av_hwdevice_ctx_init(), and hwdevice_ctx_free().

int(* HWContextType::frames_get_constraints)(AVHWDeviceContext *ctx, const void *hwconfig, AVHWFramesConstraints *constraints)

Definition at line 75 of file hwcontext_internal.h.

int(* HWContextType::frames_init)(AVHWFramesContext *ctx)

Definition at line 79 of file hwcontext_internal.h.

Referenced by av_hwframe_ctx_init().

void(* HWContextType::frames_uninit)(AVHWFramesContext *ctx)

Definition at line 80 of file hwcontext_internal.h.

Referenced by av_hwframe_ctx_init(), and hwframe_ctx_free().

int(* HWContextType::frames_get_buffer)(AVHWFramesContext *ctx, AVFrame *frame)

Definition at line 82 of file hwcontext_internal.h.

Referenced by av_hwframe_get_buffer().

int(* HWContextType::transfer_get_formats)(AVHWFramesContext *ctx, enum AVHWFrameTransferDirection dir, enum AVPixelFormat **formats)

Definition at line 83 of file hwcontext_internal.h.

Referenced by av_hwframe_transfer_get_formats().

int(* HWContextType::transfer_data_to)(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src)

Definition at line 86 of file hwcontext_internal.h.

Referenced by av_hwframe_transfer_data().

int(* HWContextType::transfer_data_from)(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src)

Definition at line 88 of file hwcontext_internal.h.

Referenced by av_hwframe_transfer_data().

int(* HWContextType::map_to)(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src, int flags)

Definition at line 91 of file hwcontext_internal.h.

Referenced by av_hwframe_map().

int(* HWContextType::map_from)(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src, int flags)

Definition at line 93 of file hwcontext_internal.h.

Referenced by av_hwframe_map().

int(* HWContextType::frames_derive_to)(AVHWFramesContext *dst_ctx, AVHWFramesContext *src_ctx, int flags)

Definition at line 96 of file hwcontext_internal.h.

Referenced by av_hwframe_ctx_create_derived().

int(* HWContextType::frames_derive_from)(AVHWFramesContext *dst_ctx, AVHWFramesContext *src_ctx, int flags)

Definition at line 98 of file hwcontext_internal.h.

Referenced by av_hwframe_ctx_create_derived().


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