libavcodec/vaapi_mpeg2.c File Reference

#include "vaapi_internal.h"
#include "dsputil.h"

Go to the source code of this file.

Functions

static int mpeg2_get_f_code (MpegEncContext *s)
 Reconstruct bitstream f_code.
static int mpeg2_get_is_frame_start (MpegEncContext *s)
 Determine frame start: first field for field picture or frame picture.
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)

Variables

AVHWAccel ff_mpeg2_vaapi_hwaccel


Function Documentation

static int mpeg2_get_f_code ( MpegEncContext s  )  [inline, static]

Reconstruct bitstream f_code.

Definition at line 27 of file vaapi_mpeg2.c.

Referenced by vaapi_mpeg2_start_frame().

static int mpeg2_get_is_frame_start ( MpegEncContext s  )  [inline, static]

Determine frame start: first field for field picture or frame picture.

Definition at line 34 of file vaapi_mpeg2.c.

Referenced by vaapi_mpeg2_start_frame().

static int vaapi_mpeg2_decode_slice ( AVCodecContext avctx,
const uint8_t *  buffer,
uint32_t  size 
) [static]

Definition at line 107 of file vaapi_mpeg2.c.

static int vaapi_mpeg2_end_frame ( AVCodecContext avctx  )  [static]

Definition at line 102 of file vaapi_mpeg2.c.

static int vaapi_mpeg2_start_frame ( AVCodecContext avctx,
av_unused const uint8_t *  buffer,
av_unused uint32_t  size 
) [static]

Definition at line 39 of file vaapi_mpeg2.c.


Variable Documentation

Initial value:

 {
    .name           = "mpeg2_vaapi",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_MPEG2VIDEO,
    .pix_fmt        = PIX_FMT_VAAPI_VLD,
    .start_frame    = vaapi_mpeg2_start_frame,
    .end_frame      = vaapi_mpeg2_end_frame,
    .decode_slice   = vaapi_mpeg2_decode_slice,
}

Definition at line 141 of file vaapi_mpeg2.c.


Generated on Fri Oct 26 02:43:50 2012 for FFmpeg by  doxygen 1.5.8