#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 3807 of file avcodec.h.
Referenced by setup_hwaccel().
Codec implemented by the hardware accelerator.
See AV_CODEC_ID_xxx
Definition at line 3821 of file avcodec.h.
Referenced by find_hwaccel().
Supported pixel format.
Only hardware accelerated formats are supported here.
Definition at line 3828 of file avcodec.h.
Referenced by find_hwaccel().
Hardware accelerated codec capabilities.
see HWACCEL_CODEC_CAP_*
Definition at line 3834 of file avcodec.h.
Referenced by setup_hwaccel().
Definition at line 3843 of file avcodec.h.
Referenced by av_hwaccel_next(), and av_register_hwaccel().
Allocate a custom buffer.
Definition at line 3848 of file avcodec.h.
Referenced by get_buffer_internal().
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 3864 of file avcodec.h.
Referenced by decode_nal_unit(), decode_nal_units(), ff_h263_decode_frame(), mpeg_field_start(), vc1_decode_frame(), and vp9_decode_frame().
Callback for each slice.
Meaningful slice information (codec specific) is guaranteed to be parsed at this point. This function is mandatory. The only exception is XvMC, that works on MB level.
Definition at line 3878 of file avcodec.h.
Referenced by decode_nal_unit(), decode_nal_units(), decode_slice(), er_supported(), ff_er_add_slice(), mpeg_decode_slice(), vc1_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 3889 of file avcodec.h.
Referenced by ff_h263_decode_frame(), ff_h264_field_end(), hevc_decode_frame(), mpeg_field_start(), slice_end(), vc1_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 3898 of file avcodec.h.
Referenced by alloc_frame(), alloc_frame_buffer(), alloc_picture(), and vp9_frame_alloc().
Called for every Macroblock in a slice.
XvMC uses it to replace the ff_mpv_decode_mb(). Instead of decoding to raw picture, MB parameters are stored in an array provided by the video driver.
Definition at line 3909 of file avcodec.h.
Referenced by ff_blockdsp_init_x86(), ff_er_frame_end(), is_intra_more_likely(), and mpv_decode_mb_internal().
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 3918 of file avcodec.h.
Referenced by ff_vdpau_common_reinit(), and setup_hwaccel().
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 3926 of file avcodec.h.
Referenced by avcodec_close(), ff_get_format(), and ff_vdpau_common_reinit().
Size of the private data to allocate in AVCodecInternal.hwaccel_priv_data.
Definition at line 3932 of file avcodec.h.
Referenced by setup_hwaccel().
Internal hwaccel capabilities.
Definition at line 3937 of file avcodec.h.
Referenced by ff_thread_finish_setup().