libavcodec/vda.h File Reference

#include <pthread.h>
#include <stdint.h>
#include <VideoDecodeAcceleration/VDADecoder.h>

Go to the source code of this file.

Data Structures

struct  vda_frame
 This structure is used to store a decoded frame information and data. More...
struct  vda_context
 This structure is used to provide the necessary configurations and data to the VDA FFmpeg HWAccel implementation. More...


#define Picture   QuickdrawPicture


int ff_vda_create_decoder (struct vda_context *vda_ctx, uint8_t *extradata, int extradata_size)
 Create the video decoder.
int ff_vda_destroy_decoder (struct vda_context *vda_ctx)
 Destroy the video decoder.
vda_frameff_vda_queue_pop (struct vda_context *vda_ctx)
 Return the top frame of the queue.
void ff_vda_release_vda_frame (vda_frame *frame)
 Release the given frame.

Define Documentation

#define Picture   QuickdrawPicture

Definition at line 33 of file vda.h.

Function Documentation

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

Create the video decoder.

Definition at line 133 of file vda.c.

int ff_vda_destroy_decoder ( struct vda_context vda_ctx  ) 

Destroy the video decoder.

Definition at line 211 of file vda.c.

vda_frame* ff_vda_queue_pop ( struct vda_context vda_ctx  ) 

Return the top frame of the queue.

Definition at line 231 of file vda.c.

void ff_vda_release_vda_frame ( vda_frame frame  ) 

Release the given frame.

Definition at line 246 of file vda.c.

Referenced by vda_clear_queue().

Generated on Fri Oct 26 02:46:11 2012 for FFmpeg by  doxygen 1.5.8