#include <vdpau/vdpau.h>
#include "avcodec.h"
#include "internal.h"
#include "h264dec.h"
#include "h264_ps.h"
#include "hwaccel.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",
}
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)
int ff_vdpau_common_frame_params(AVCodecContext *avctx, AVBufferRef *hw_frames_ctx)
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)
#define HWACCEL_CAP_ASYNC_SAFE
Definition at line 265 of file vdpau_h264.c.