FFmpeg
|
#include <avcodec.h>
Data Fields | |
const char * | name |
Name of the hardware accelerated codec. More... | |
enum AVMediaType | type |
Type of codec implemented by the hardware accelerator. More... | |
enum AVCodecID | id |
Codec implemented by the hardware accelerator. More... | |
enum AVPixelFormat | pix_fmt |
Supported pixel format. More... | |
int | capabilities |
Hardware accelerated codec capabilities. More... | |
struct AVHWAccel * | next |
int(* | start_frame )(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size) |
Called at the beginning of each frame or field picture. More... | |
int(* | decode_slice )(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size) |
Callback for each slice. More... | |
int(* | end_frame )(AVCodecContext *avctx) |
Called at the end of each frame or field picture. More... | |
int | priv_data_size |
Size of HW accelerator private data. More... | |
Detailed Description
Definition at line 2949 of file libavcodec/avcodec.h.
Field Documentation
int AVHWAccel::capabilities |
Hardware accelerated codec capabilities.
see FF_HWACCEL_CODEC_CAP_*
Definition at line 2982 of file libavcodec/avcodec.h.
int(* AVHWAccel::decode_slice) (AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size) |
Callback for each slice.
Meaningful slice information (codec specific) is guaranteed to be parsed at this point. This function is mandatory.
- Parameters
-
avctx the codec context buf the slice data buffer base buf_size the size of the slice in bytes
- Returns
- zero if successful, a negative value otherwise
Definition at line 3013 of file libavcodec/avcodec.h.
Referenced by decode_nal_units(), decode_slice(), mpeg_decode_slice(), and vc1_decode_frame().
int(* AVHWAccel::end_frame) (AVCodecContext *avctx) |
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.
- Parameters
-
avctx the codec context
- Returns
- zero if successful, a negative value otherwise
Definition at line 3024 of file libavcodec/avcodec.h.
Referenced by ff_h263_decode_frame(), field_end(), mpeg_field_start(), slice_end(), and vc1_decode_frame().
enum AVCodecID AVHWAccel::id |
Codec implemented by the hardware accelerator.
See AV_CODEC_ID_xxx
Definition at line 2969 of file libavcodec/avcodec.h.
Referenced by 7digital-python.lockerEndpoint.Format::__init__(), 7digital-python.lockerEndpoint.Track::__init__(), 7digital-python.lockerEndpoint.LockerRelease::__init__(), 7digital-python.lockerEndpoint.LockerArtist::__init__(), 7digital-python.lib.py7digital.Artist::__init__(), 7digital-python.lib.py7digital.Album::__init__(), 7digital-python.lib.py7digital.Track::__init__(), 7digital-python.lib.py7digital.Tag::__init__(), 7digital-python.lib.py7digital.Label::__init__(), ff_find_hwaccel(), 7digital-python.lib.py7digital.Album::get_added_date(), 7digital-python.lib.py7digital.Artist::get_albums(), 7digital-python.lib.py7digital.Album::get_barcode(), 7digital-python.lib.py7digital.Track::get_duration(), 7digital-python.lib.py7digital.Track::get_explicit(), 7digital-python.lib.py7digital.Artist::get_id(), 7digital-python.lib.py7digital.Album::get_id(), 7digital-python.lib.py7digital.Track::get_id(), 7digital-python.lib.py7digital.Tag::get_id(), 7digital-python.lib.py7digital.Label::get_id(), 7digital-python.lib.py7digital.Artist::get_image(), 7digital-python.lib.py7digital.Album::get_image(), 7digital-python.lib.py7digital.Track::get_isrc(), 7digital-python.lib.py7digital.Album::get_label(), 7digital-python.lib.py7digital.Artist::get_name(), 7digital-python.lib.py7digital.Tag::get_name(), 7digital-python.lib.py7digital.Track::get_position(), 7digital-python.lib.py7digital.Track::get_preview(), 7digital-python.lib.py7digital.Artist::get_recommended_albums(), 7digital-python.lib.py7digital.Album::get_release_date(), 7digital-python.lib.py7digital.Album::get_similar(), 7digital-python.lib.py7digital.Artist::get_tags(), 7digital-python.lib.py7digital.Album::get_tags(), 7digital-python.lib.py7digital.Album::get_title(), 7digital-python.lib.py7digital.Track::get_title(), 7digital-python.lib.py7digital.Artist::get_top_tracks(), 7digital-python.lib.py7digital.Album::get_tracks(), 7digital-python.lib.py7digital.Album::get_type(), 7digital-python.lib.py7digital.Artist::get_url(), 7digital-python.lib.py7digital.Album::get_url(), 7digital-python.lib.py7digital.Track::get_url(), 7digital-python.lib.py7digital.Tag::get_url(), 7digital-python.lib.py7digital.Track::get_version(), and 7digital-python.lib.py7digital.Album::get_year().
const char* AVHWAccel::name |
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 2955 of file libavcodec/avcodec.h.
Referenced by 7digital-python.lockerEndpoint.LockerArtist::__init__(), 7digital-python.lib.py7digital.Artist::__init__(), 7digital-python.lib.py7digital.Tag::__init__(), 7digital-python.lib.py7digital.Label::__init__(), dxva2_vc1_end_frame(), 7digital-python.lib.py7digital.Artist::get_name(), 7digital-python.lib.py7digital.Tag::get_name(), 7digital-python.lib.py7digital.Label::get_name(), 7digital-python.lib.py7digital.Artist::set_name(), 7digital-python.lib.py7digital.Tag::set_name(), 7digital-python.lib.py7digital.Label::set_name(), vaapi_mpeg4_decode_slice(), vaapi_vc1_decode_slice(), vdpau_mpeg4_decode_slice(), vdpau_mpeg_decode_slice(), and vdpau_vc1_decode_slice().
struct AVHWAccel* AVHWAccel::next |
Definition at line 2984 of file libavcodec/avcodec.h.
Referenced by av_hwaccel_next(), and av_register_hwaccel().
enum AVPixelFormat AVHWAccel::pix_fmt |
Supported pixel format.
Only hardware accelerated formats are supported here.
Definition at line 2976 of file libavcodec/avcodec.h.
Referenced by ff_find_hwaccel().
int AVHWAccel::priv_data_size |
Size of HW accelerator private data.
Private data is allocated with av_mallocz() before AVCodecContext.get_buffer() and deallocated after AVCodecContext.release_buffer().
Definition at line 3033 of file libavcodec/avcodec.h.
Referenced by alloc_frame_buffer(), and alloc_picture().
int(* AVHWAccel::start_frame) (AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size) |
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.
- Parameters
-
avctx the codec context buf the frame data buffer base buf_size the size of the frame in bytes
- Returns
- zero if successful, a negative value otherwise
Definition at line 3000 of file libavcodec/avcodec.h.
Referenced by decode_nal_units(), ff_h263_decode_frame(), mpeg_field_start(), and vc1_decode_frame().
enum AVMediaType AVHWAccel::type |
Type of codec implemented by the hardware accelerator.
See AVMEDIA_TYPE_xxx
Definition at line 2962 of file libavcodec/avcodec.h.
Referenced by 7digital-python.lockerEndpoint.LockerRelease::__init__().
The documentation for this struct was generated from the following file:
Generated on Mon Nov 18 2024 06:52:11 for FFmpeg by 1.8.11