This structure is used to provide the necessary configurations and data to the VDA FFmpeg HWAccel implementation. More...
#include <vda.h>
This structure is used to provide the necessary configurations and data to the VDA FFmpeg HWAccel implementation.
The application must make it available as AVCodecContext.hwaccel_context.
VDA decoder object.
Definition at line 70 of file vda.h.
Referenced by ff_vda_create_decoder(), ff_vda_destroy_decoder(), vda_h264_decode_slice(), vda_h264_end_frame(), vda_h264_start_frame(), and vda_sync_decode().
The Core Video pixel buffer that contains the current image data.
encoding: unused decoding: Set by libavcodec. Unset by user.
Definition at line 78 of file vda.h.
Referenced by vda_decoder_callback(), and vda_h264_end_frame().
Use the hardware decoder in synchronous mode.
encoding: unused decoding: Set by user.
Definition at line 86 of file vda.h.
Referenced by vdadec_init().
The frame width.
Definition at line 94 of file vda.h.
Referenced by ff_vda_create_decoder(), and vdadec_init().
The frame height.
Definition at line 102 of file vda.h.
Referenced by ff_vda_create_decoder(), and vdadec_init().
The frame format.
Definition at line 110 of file vda.h.
Referenced by ff_vda_create_decoder(), and vdadec_init().
The pixel format for output image buffers.
Definition at line 118 of file vda.h.
Referenced by ff_vda_create_decoder(), vda_decoder_callback(), and vdadec_init().
The current bitstream buffer.
Definition at line 126 of file vda.h.
Referenced by ff_vda_create_decoder(), ff_vda_destroy_decoder(), vda_h264_decode_slice(), vda_h264_end_frame(), and vda_sync_decode().
The current size of the bitstream.
Definition at line 134 of file vda.h.
Referenced by vda_h264_decode_slice(), vda_h264_start_frame(), and vda_sync_decode().
The reference size used for fast reallocation.
Definition at line 142 of file vda.h.
Referenced by ff_vda_create_decoder(), and vda_h264_decode_slice().
Use av_buffer to manage buffer.
When the flag is set, the CVPixelBuffers returned by the decoder will be released automatically, so you have to retain them if necessary. Not setting this flag may cause memory leak.
encoding: unused decoding: Set by user.
Definition at line 153 of file vda.h.
Referenced by vda_h264_end_frame(), and vdadec_init().