libavcodec/vda_h264.c File Reference
#include "h264.h"
#include "h264data.h"
#include "vda_internal.h"

Go to the source code of this file.

Data Structures

struct  vda_picture_context

Functions

static int start_frame (AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size)
static int decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
static int end_frame (AVCodecContext *avctx)

Variables

AVHWAccel ff_h264_vda_hwaccel

Function Documentation

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

Definition at line 51 of file vda_h264.c.

static int end_frame ( AVCodecContext avctx) [static]

Definition at line 77 of file vda_h264.c.

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

Definition at line 34 of file vda_h264.c.


Variable Documentation

Initial value:
 {
    .name           = "h264_vda",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_H264,
    .pix_fmt        = PIX_FMT_VDA_VLD,
    .start_frame    = start_frame,
    .decode_slice   = decode_slice,
    .end_frame      = end_frame,
    .priv_data_size = sizeof(struct vda_picture_context),
}

Definition at line 100 of file vda_h264.c.