FFmpeg
|
#include "config_components.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "decode.h"
#include "hwaccel_internal.h"
#include "internal.h"
#include "vdpau.h"
#include "vdpau_internal.h"
Go to the source code of this file.
Functions | |
static int | vdpau_error (VdpStatus status) |
int | av_vdpau_get_surface_parameters (AVCodecContext *avctx, VdpChromaType *type, uint32_t *width, uint32_t *height) |
Gets the parameters to create an adequate VDPAU video surface for the codec context using VDPAU hardware decoding acceleration. More... | |
int | ff_vdpau_common_frame_params (AVCodecContext *avctx, AVBufferRef *hw_frames_ctx) |
av_cold int | ff_vdpau_common_init (AVCodecContext *avctx, VdpDecoderProfile profile, int level) |
av_cold int | ff_vdpau_common_uninit (AVCodecContext *avctx) |
static int | ff_vdpau_common_reinit (AVCodecContext *avctx) |
int | ff_vdpau_common_start_frame (struct vdpau_picture_context *pic_ctx, av_unused const uint8_t *buffer, av_unused uint32_t size) |
int | ff_vdpau_common_end_frame (AVCodecContext *avctx, AVFrame *frame, struct vdpau_picture_context *pic_ctx) |
int | ff_vdpau_add_buffer (struct vdpau_picture_context *pic_ctx, const uint8_t *buf, uint32_t size) |
int | av_vdpau_bind_context (AVCodecContext *avctx, VdpDevice device, VdpGetProcAddress *get_proc, unsigned flags) |
Associate a VDPAU device with a codec context for hardware acceleration. More... | |