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 72 of file vda.h.
Referenced by ff_vda_create_decoder(), ff_vda_destroy_decoder(), vda_old_h264_decode_slice(), vda_old_h264_end_frame(), vda_old_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 80 of file vda.h.
Referenced by vda_decoder_callback(), and vda_old_h264_end_frame().
Use the hardware decoder in synchronous mode.
encoding: unused decoding: Set by user.
Definition at line 88 of file vda.h.
Referenced by vdadec_init().
The frame width.
Definition at line 96 of file vda.h.
Referenced by ff_vda_create_decoder(), and vdadec_init().
The frame height.
Definition at line 104 of file vda.h.
Referenced by ff_vda_create_decoder(), and vdadec_init().
The frame format.
Definition at line 112 of file vda.h.
Referenced by ff_vda_create_decoder(), and vdadec_init().
The pixel format for output image buffers.
Definition at line 120 of file vda.h.
Referenced by ff_vda_create_decoder(), vda_decoder_callback(), and vdadec_init().
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 146 of file vda.h.
Referenced by vda_old_h264_end_frame(), and vdadec_init().