FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
vdpau_internal.h File Reference
#include "config.h"
#include <stdint.h>
#include "h264.h"
#include "avcodec.h"
#include "mpeg4video.h"
#include "mpegvideo.h"
#include "version.h"

Go to the source code of this file.

Functions

static uintptr_t ff_vdpau_get_surface_id (AVFrame *pic)
 Extract VdpVideoSurface from an AVFrame.
 
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)
 
void ff_vdpau_add_data_chunk (uint8_t *data, const uint8_t *buf, int buf_size)
 
void ff_vdpau_mpeg_picture_complete (MpegEncContext *s, const uint8_t *buf, int buf_size, int slice_count)
 
void ff_vdpau_h264_picture_start (H264Context *h)
 
void ff_vdpau_h264_set_reference_frames (H264Context *h)
 
void ff_vdpau_h264_picture_complete (H264Context *h)
 
void ff_vdpau_vc1_decode_picture (MpegEncContext *s, const uint8_t *buf, int buf_size)
 
void ff_vdpau_mpeg4_decode_picture (Mpeg4DecContext *s, const uint8_t *buf, int buf_size)
 

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)
void ff_vdpau_mpeg_picture_complete ( MpegEncContext s,
const uint8_t buf,
int  buf_size,
int  slice_count 
)

Referenced by decode_chunks().

void ff_vdpau_h264_picture_start ( H264Context h)

Referenced by decode_nal_units().

void ff_vdpau_h264_picture_complete ( H264Context h)

Referenced by ff_h264_field_end().

void ff_vdpau_vc1_decode_picture ( MpegEncContext s,
const uint8_t buf,
int  buf_size 
)

Referenced by vc1_decode_frame().

void ff_vdpau_mpeg4_decode_picture ( Mpeg4DecContext s,
const uint8_t buf,
int  buf_size 
)

Referenced by ff_h263_decode_frame().