FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
vdpau_vc1.c File Reference
#include <vdpau/vdpau.h>
#include "avcodec.h"
#include "vc1.h"
#include "vdpau.h"
#include "vdpau_internal.h"

Go to the source code of this file.

Functions

static int vdpau_vc1_start_frame (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
 
static int vdpau_vc1_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
 
static int vdpau_vc1_init (AVCodecContext *avctx)
 

Variables

AVHWAccel ff_vc1_vdpau_hwaccel
 

Function Documentation

static int vdpau_vc1_start_frame ( AVCodecContext avctx,
const uint8_t buffer,
uint32_t  size 
)
static

Definition at line 31 of file vdpau_vc1.c.

static int vdpau_vc1_decode_slice ( AVCodecContext avctx,
const uint8_t buffer,
uint32_t  size 
)
static

Definition at line 99 of file vdpau_vc1.c.

static int vdpau_vc1_init ( AVCodecContext avctx)
static

Definition at line 116 of file vdpau_vc1.c.

Variable Documentation

AVHWAccel ff_vc1_vdpau_hwaccel
Initial value:
= {
.name = "vc1_vdpau",
.pix_fmt = AV_PIX_FMT_VDPAU,
.start_frame = vdpau_vc1_start_frame,
.decode_slice = vdpau_vc1_decode_slice,
.frame_priv_data_size = sizeof(struct vdpau_picture_context),
.priv_data_size = sizeof(VDPAUContext),
}

Definition at line 153 of file vdpau_vc1.c.