All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
vdpau.h File Reference

Public libavcodec VDPAU header. More...

#include <vdpau/vdpau.h>
#include <vdpau/vdpau_x11.h>
#include "libavutil/avconfig.h"
#include "libavutil/attributes.h"
#include "avcodec.h"
#include "version.h"

Go to the source code of this file.

Data Structures

union  AVVDPAUPictureInfo
struct  AVVDPAUContext
 This structure is used to share data between the libavcodec library and the client video application. More...
struct  vdpau_render_state
 This structure is used as a callback between the FFmpeg decoder (vd_) and presentation (vo_) module. More...


 The videoSurface is used for rendering. More...
 The videoSurface is needed for reference/prediction. More...


typedef int(* AVVDPAU_Render2 )(struct AVCodecContext *, struct AVFrame *, const VdpPictureInfo *, uint32_t, const VdpBitstreamBuffer *)


AVVDPAUContextav_alloc_vdpaucontext (void)
 allocation function for AVVDPAUContext More...
AVVDPAU_Render2 av_vdpau_hwaccel_get_render2 (const AVVDPAUContext *)
void av_vdpau_hwaccel_set_render2 (AVVDPAUContext *, AVVDPAU_Render2)
int av_vdpau_bind_context (AVCodecContext *avctx, VdpDevice device, VdpGetProcAddress *get_proc_address, unsigned flags)
 Associate a VDPAU device with a codec context for hardware acceleration. More...
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...
AVVDPAUContextav_vdpau_alloc_context (void)
 Allocate an AVVDPAUContext. More...
attribute_deprecated int av_vdpau_get_profile (AVCodecContext *avctx, VdpDecoderProfile *profile)
 Get a decoder profile that should be used for initializing a VDPAU decoder. More...

Detailed Description

Public libavcodec VDPAU header.

Definition in file vdpau.h.