#include <vdpau/vdpau.h>
#include "avcodec.h"
#include "hwaccel_internal.h"
#include "libavutil/attributes.h"
#include "mpeg4videodec.h"
#include "vdpau.h"
#include "vdpau_internal.h"
Go to the source code of this file.
◆ vdpau_mpeg4_start_frame()
| static int vdpau_mpeg4_start_frame |
( |
AVCodecContext * | avctx, |
|
|
const AVBufferRef * | buffer_ref, |
|
|
const uint8_t * | buffer, |
|
|
uint32_t | size ) |
|
static |
◆ vdpau_mpeg4_decode_slice()
◆ vdpau_mpeg4_init()
◆ ff_mpeg4_vdpau_hwaccel
Initial value:= {
.p.name = "mpeg4_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_mpeg4_decode_slice(av_unused AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size)
static av_cold int vdpau_mpeg4_init(AVCodecContext *avctx)
static int vdpau_mpeg4_start_frame(AVCodecContext *avctx, const AVBufferRef *buffer_ref, const uint8_t *buffer, uint32_t size)
Definition at line 116 of file vdpau_mpeg4.c.