FFmpeg
[フレーム]
Functions
VDPAU_Decoding

Functions

  allocation function for AVVDPAUContext
 
 
int  ff_vdpau_add_buffer (Picture *pic, const uint8_t *buf, uint32_t size)
 
 
void  ff_vdpau_add_data_chunk (uint8_t *data, const uint8_t *buf, int buf_size)
 
int  av_vdpau_get_profile (AVCodecContext *avctx, VdpDecoderProfile *profile)
  Get a decoder profile that should be used for initializing a VDPAU decoder.
 
  Allocate an AVVDPAUContext.
 

Detailed Description

Function Documentation

AVVDPAUContext* av_alloc_vdpaucontext ( void  )

allocation function for AVVDPAUContext

Allows extending the struct without breaking API/ABI

Definition at line 41 of file vdpau.c.

int ff_vdpau_common_start_frame ( Picturepic,
av_unused const uint8_tbuffer,
av_unused uint32_t  size 
)

Definition at line 48 of file vdpau.c.

Referenced by vdpau_h264_start_frame(), vdpau_mpeg4_start_frame(), vdpau_mpeg_start_frame(), and vdpau_vc1_start_frame().

int ff_vdpau_add_buffer ( Picturepic,
const uint8_tbuf,
uint32_t  size 
)

Definition at line 103 of file vdpau.c.

Referenced by vdpau_h264_decode_slice(), vdpau_mpeg4_start_frame(), vdpau_mpeg_decode_slice(), and vdpau_vc1_decode_slice().

void ff_vdpau_h264_set_reference_frames ( H264Contexth )

Definition at line 124 of file vdpau.c.

Referenced by field_end().

void ff_vdpau_add_data_chunk ( uint8_tdata,
const uint8_tbuf,
int  buf_size 
)

Definition at line 192 of file vdpau.c.

Referenced by decode_nal_units().

int av_vdpau_get_profile ( AVCodecContextavctx,
VdpDecoderProfile *  profile 
)

Get a decoder profile that should be used for initializing a VDPAU decoder.

Should be called from the AVCodecContext.get_format() callback.

Parameters
avctx the codec context being used for decoding the stream
profile a pointer into which the result will be written on success. The contents of profile are undefined if this function returns an error.
Returns
0 on success (non-negative), a negative AVERROR on failure.

Definition at line 459 of file vdpau.c.

Referenced by vdpau_init().

AVVDPAUContext* av_vdpau_alloc_context ( void  )

Allocate an AVVDPAUContext.

Returns
Newly-allocated AVVDPAUContext or NULL on failure.

Definition at line 502 of file vdpau.c.

Referenced by av_alloc_vdpaucontext(), and vdpau_alloc().


Generated on Sun Mar 23 2014 23:50:35 for FFmpeg by   doxygen 1.8.2

AltStyle によって変換されたページ (->オリジナル) /