Go to the source code of this file.
static int vaapi_mpeg2_decode_slice |
( |
AVCodecContext * |
avctx, |
|
|
const uint8_t * |
buffer, |
|
|
uint32_t |
size |
|
) |
| |
|
static |
Initial value:= {
.name = "mpeg2_vaapi",
}
preferred ID for MPEG-1/2 video decoding
static int vaapi_mpeg2_start_frame(AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size)
static int vaapi_mpeg2_end_frame(AVCodecContext *avctx)
static int vaapi_mpeg2_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
HW decoding through VA API, Picture.data[3] contains a vaapi_render_state struct which contains the b...
Definition at line 141 of file vaapi_mpeg2.c.