FFmpeg
|
#include "vaapi_internal.h"
Include dependency graph for vaapi_mpeg2.c:
Go to the source code of this file.
Functions | |
static int | mpeg2_get_f_code (MpegEncContext *s) |
Reconstruct bitstream f_code. More... | |
static int | mpeg2_get_is_frame_start (MpegEncContext *s) |
Determine frame start: first field for field picture or frame picture. More... | |
static int | vaapi_mpeg2_start_frame (AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) |
static int | vaapi_mpeg2_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) |
Variables | |
AVHWAccel | ff_mpeg2_vaapi_hwaccel |
Function Documentation
|
inlinestatic |
Reconstruct bitstream f_code.
Definition at line 26 of file vaapi_mpeg2.c.
Referenced by vaapi_mpeg2_start_frame().
|
inlinestatic |
Determine frame start: first field for field picture or frame picture.
Definition at line 33 of file vaapi_mpeg2.c.
Referenced by vaapi_mpeg2_start_frame().
|
static |
Definition at line 101 of file vaapi_mpeg2.c.
|
static |
Definition at line 38 of file vaapi_mpeg2.c.
Variable Documentation
AVHWAccel ff_mpeg2_vaapi_hwaccel |
Initial value:
= {
.name = "mpeg2_vaapi",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_MPEG2VIDEO,
.pix_fmt = AV_PIX_FMT_VAAPI_VLD,
.start_frame = vaapi_mpeg2_start_frame,
.end_frame = ff_vaapi_mpeg_end_frame,
.decode_slice = vaapi_mpeg2_decode_slice,
}
HW decoding through VA API, Picture.data[3] contains a vaapi_render_state struct which contains the b...
Definition: pixfmt.h:126
static int vaapi_mpeg2_start_frame(AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size)
Definition: vaapi_mpeg2.c:38
static int vaapi_mpeg2_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
Definition: vaapi_mpeg2.c:101
Definition: avutil.h:143
Definition at line 135 of file vaapi_mpeg2.c.
Generated on Fri Dec 20 2024 06:56:16 for FFmpeg by 1.8.11