#include <avcodec.h>
Name of the hardware accelerated codec.
The name is globally unique among encoders and among decoders (but an encoder and a decoder can share the same name).
Definition at line 2082 of file avcodec.h.
Referenced by convert_from_tensorflow.Operand::__str__(), and hwaccel_init().
Supported pixel format.
Only hardware accelerated formats are supported here.
Definition at line 2103 of file avcodec.h.
Referenced by ff_decode_get_hw_frames_ctx(), ff_dxva2_decode_init(), and nvdec_init_hwframes().
Hardware accelerated codec capabilities.
see AV_HWACCEL_CODEC_CAP_*
Definition at line 2109 of file avcodec.h.
Referenced by hwaccel_init().
Called at the beginning of each frame or field picture.
Meaningful frame information (codec specific) is guaranteed to be parsed at this point. This function is mandatory.
Note that buf can be NULL along with buf_size set to 0. Otherwise, this means the whole frame is available at this point.
Definition at line 2138 of file avcodec.h.
Referenced by av1_decode_frame(), decode_frame(), ff_h263_decode_frame(), mpeg_field_start(), vc1_decode_frame(), vp78_decode_frame(), and vp9_decode_frame().
Callback for parameter data (SPS/PPS/VPS etc).
Useful for hardware decoders which keep persistent state about the video parameters, and need to receive any changes to update that state.
Definition at line 2152 of file avcodec.h.
Referenced by av1_decode_frame(), and decode_nal_units().
Callback for each slice.
Meaningful slice information (codec specific) is guaranteed to be parsed at this point. This function is mandatory.
Definition at line 2165 of file avcodec.h.
Referenced by av1_decode_frame(), decode_frame(), decode_nal_units(), mpeg_decode_slice(), vc1_decode_frame(), vp78_decode_frame(), and vp9_decode_frame().
Called at the end of each frame or field picture.
The whole picture is parsed at this point and can now be sent to the hardware accelerator. This function is mandatory.
Definition at line 2176 of file avcodec.h.
Referenced by av1_decode_frame(), decode_frame(), ff_h263_decode_frame(), ff_h264_field_end(), hevc_decode_frame(), vc1_decode_frame(), vp78_decode_frame(), and vp9_decode_frame().
Size of per-frame hardware accelerator private data.
Private data is allocated with av_mallocz() before AVCodecContext.get_buffer() and deallocated after AVCodecContext.release_buffer().
Definition at line 2185 of file avcodec.h.
Referenced by alloc_frame(), alloc_frame_buffer(), alloc_picture(), av1_frame_alloc(), vp8_alloc_frame(), and vp9_frame_alloc().
Initialize the hwaccel private data.
This will be called from ff_get_format(), after hwaccel and hwaccel_context are set and the hwaccel private data in AVCodecInternal is allocated.
Definition at line 2194 of file avcodec.h.
Referenced by ff_vdpau_common_reinit(), and hwaccel_init().
Uninitialize the hwaccel private data.
This will be called from get_format() or avcodec_close(), after hwaccel and hwaccel_context are already uninitialized.
Definition at line 2202 of file avcodec.h.
Referenced by avcodec_close(), ff_vdpau_common_reinit(), and hwaccel_uninit().
Size of the private data to allocate in AVCodecInternal.hwaccel_priv_data.
Definition at line 2208 of file avcodec.h.
Referenced by hwaccel_init().
Internal hwaccel capabilities.
Definition at line 2213 of file avcodec.h.
Referenced by ff_thread_finish_setup().
Fill the given hw_frames context with current codec parameters.
Called from get_format. Refer to avcodec_get_hw_frames_parameters() for details.
This CAN be called before AVHWAccel.init is called, and you must assume that avctx->hwaccel_priv_data is invalid.
Definition at line 2223 of file avcodec.h.
Referenced by avcodec_get_hw_frames_parameters().