#include "config_components.h"
#include <vdpau/vdpau.h>
#include "avcodec.h"
#include "hwaccel_internal.h"
#include "libavutil/attributes.h"
#include "vc1.h"
#include "vdpau.h"
#include "vdpau_internal.h"
Go to the source code of this file.
◆ vdpau_vc1_start_frame()
| static int vdpau_vc1_start_frame |
( |
AVCodecContext * | avctx, |
|
|
const AVBufferRef * | buffer_ref, |
|
|
const uint8_t * | buffer, |
|
|
uint32_t | size ) |
|
static |
◆ vdpau_vc1_decode_slice()
| static int vdpau_vc1_decode_slice |
( |
AVCodecContext * | avctx, |
|
|
const uint8_t * | buffer, |
|
|
uint32_t | size ) |
|
static |
◆ vdpau_vc1_init()
◆ ff_vc1_vdpau_hwaccel
Initial value:= {
.p.name = "vc1_vdpau",
}
int(* init)(AVBSFContext *ctx)
av_cold int ff_vdpau_common_uninit(AVCodecContext *avctx)
int ff_vdpau_common_frame_params(AVCodecContext *avctx, AVBufferRef *hw_frames_ctx)
#define HWACCEL_CAP_ASYNC_SAFE
Header providing the internals of AVHWAccel.
@ AV_PIX_FMT_VDPAU
HW acceleration through VDPAU, Picture.data[3] contains a VdpVideoSurface.
int ff_vdpau_mpeg_end_frame(AVCodecContext *avctx)
static int vdpau_vc1_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
static int vdpau_vc1_start_frame(AVCodecContext *avctx, const AVBufferRef *buffer_ref, const uint8_t *buffer, uint32_t size)
static av_cold int vdpau_vc1_init(AVCodecContext *avctx)
Definition at line 160 of file vdpau_vc1.c.