All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
vdpau_internal.h File Reference
#include <stdint.h>
#include <vdpau/vdpau.h>
#include "libavutil/frame.h"
#include "avcodec.h"
#include "vdpau.h"

Go to the source code of this file.

Data Structures

union  VDPAUPictureInfo
struct  VDPAUHWContext
struct  VDPAUContext
struct  vdpau_picture_context


static uintptr_t ff_vdpau_get_surface_id (AVFrame *pic)
 Extract VdpVideoSurface from an AVFrame. More...
int ff_vdpau_common_init (AVCodecContext *avctx, VdpDecoderProfile profile, int level)
int ff_vdpau_common_uninit (AVCodecContext *avctx)
int ff_vdpau_common_start_frame (struct vdpau_picture_context *pic, const uint8_t *buffer, uint32_t size)
int ff_vdpau_common_end_frame (AVCodecContext *avctx, AVFrame *frame, struct vdpau_picture_context *pic)
int ff_vdpau_mpeg_end_frame (AVCodecContext *avctx)
int ff_vdpau_add_buffer (struct vdpau_picture_context *pic, const uint8_t *buf, uint32_t buf_size)

Function Documentation

static uintptr_t ff_vdpau_get_surface_id ( AVFrame pic)
int ff_vdpau_common_start_frame ( struct vdpau_picture_context pic,
const uint8_t buffer,
uint32_t  size 
int ff_vdpau_mpeg_end_frame ( AVCodecContext avctx)