FFmpeg
 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 "libavutil/hwcontext.h"
#include "libavutil/hwcontext_vdpau.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
 

Functions

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)
 
int ff_vdpau_common_frame_params (AVCodecContext *avctx, AVBufferRef *hw_frames_ctx)
 

Function Documentation

static uintptr_t ff_vdpau_get_surface_id ( AVFrame pic)
inlinestatic
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)