VDA_Decoding


Functions

static int vda_lock_operation (void **mtx, enum AVLockOp op)
static CFDictionaryRef vda_dictionary_with_pts (int64_t i_pts)
static int64_t vda_pts_from_dictionary (CFDictionaryRef user_info)
static void vda_clear_queue (struct vda_context *vda_ctx)
static void vda_decoder_callback (void *vda_hw_ctx, CFDictionaryRef user_info, OSStatus status, uint32_t infoFlags, CVImageBufferRef image_buffer)
int ff_vda_create_decoder (struct vda_context *vda_ctx, uint8_t *extradata, int extradata_size)
 Creates the video decoder.
int ff_vda_destroy_decoder (struct vda_context *vda_ctx)
 Destroys the video decoder.
vda_frameff_vda_queue_pop (struct vda_context *vda_ctx)
 Returns the top frame of the queue.
void ff_vda_release_vda_frame (vda_frame *frame)
 Releases the given frame.
int ff_vda_decoder_decode (struct vda_context *vda_ctx, uint8_t *bitstream, int bitstream_size, int64_t frame_pts)
 Send a frame data to the hardware decoder.

Function Documentation

int ff_vda_create_decoder ( struct vda_context vda_ctx,
uint8_t *  extradata,
int  extradata_size 
)

Creates the video decoder.

Definition at line 160 of file vda.c.

int ff_vda_decoder_decode ( struct vda_context vda_ctx,
uint8_t *  bitstream,
int  bitstream_size,
int64_t  frame_pts 
)

Send a frame data to the hardware decoder.

Definition at line 280 of file vda.c.

Referenced by end_frame().

int ff_vda_destroy_decoder ( struct vda_context vda_ctx  ) 

Destroys the video decoder.

Definition at line 236 of file vda.c.

vda_frame* ff_vda_queue_pop ( struct vda_context vda_ctx  ) 

Returns the top frame of the queue.

Definition at line 257 of file vda.c.

void ff_vda_release_vda_frame ( vda_frame frame  ) 

Releases the given frame.

Definition at line 272 of file vda.c.

Referenced by vda_clear_queue().

static void vda_clear_queue ( struct vda_context vda_ctx  )  [static]

Definition at line 92 of file vda.c.

Referenced by ff_vda_destroy_decoder().

static void vda_decoder_callback ( void *  vda_hw_ctx,
CFDictionaryRef  user_info,
OSStatus  status,
uint32_t  infoFlags,
CVImageBufferRef  image_buffer 
) [static]

Definition at line 109 of file vda.c.

Referenced by ff_vda_create_decoder().

static CFDictionaryRef vda_dictionary_with_pts ( int64_t  i_pts  )  [static]

Definition at line 60 of file vda.c.

Referenced by ff_vda_decoder_decode().

static int vda_lock_operation ( void **  mtx,
enum AVLockOp  op 
) [static]

static int64_t vda_pts_from_dictionary ( CFDictionaryRef  user_info  )  [static]

Definition at line 75 of file vda.c.

Referenced by vda_decoder_callback().


Generated on Fri Oct 26 02:43:54 2012 for FFmpeg by  doxygen 1.5.8