#include <vdpau/vdpau.h>
#include "avcodec.h"
#include "internal.h"
#include "h264.h"
#include "mpegutils.h"
#include "vdpau.h"
#include "vdpau_internal.h"
Go to the source code of this file.
static void vdpau_h264_clear_rf |
( |
VdpReferenceFrameH264 * |
rf | ) |
|
|
static |
static void vdpau_h264_set_rf |
( |
VdpReferenceFrameH264 * |
rf, |
|
|
H264Picture * |
pic, |
|
|
int |
pic_structure |
|
) |
| |
|
static |
const uint8_t start_code_prefix[3] = { 0x00, 0x00, 0x01 } |
|
static |
Initial value:= {
.name = "h264_vdpau",
.frame_priv_data_size = sizeof(struct vdpau_picture_context),
}
static av_cold int init(AVCodecContext *avctx)
int ff_vdpau_common_uninit(AVCodecContext *avctx)
static int vdpau_h264_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
static int vdpau_h264_end_frame(AVCodecContext *avctx)
static int vdpau_h264_init(AVCodecContext *avctx)
HW acceleration through VDPAU, Picture.data[3] contains a VdpVideoSurface.
static int vdpau_h264_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
Definition at line 261 of file vdpau_h264.c.