vdpau_vc1.c File Reference
#include <vdpau/vdpau.h>
#include "avcodec.h"
#include "vc1.h"
#include "vdpau.h"
#include "vdpau_internal.h"
Include dependency graph for vdpau_vc1.c:

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)
 

Variables

AVHWAccel ff_vc1_vdpau_hwaccel
 

Function Documentation

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

Definition at line 94 of file vdpau_vc1.c.

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.

Referenced by vdpau_vc1_decode_slice().

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,
}
static int vdpau_vc1_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
Definition: vdpau_vc1.c:31
int ff_vdpau_mpeg_end_frame(AVCodecContext *avctx)
HW acceleration through VDPAU, Picture.data[3] contains a VdpVideoSurface.
Definition: pixfmt.h:203
static int vdpau_vc1_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
Definition: vdpau_vc1.c:94

Definition at line 120 of file vdpau_vc1.c.