libavcodec/libdirac_libschro.h File Reference

data structures common to libdirac and libschroedinger More...

#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  FfmpegDiracSchroVideoFormatInfo
struct  FfmpegDiracSchroEncodedFrame
 contains a single encoded frame returned from Dirac or Schroedinger More...
struct  FfmpegDiracSchroQueueElement
 queue element More...
struct  FfmpegDiracSchroQueue
 A simple queue implementation used in libdirac and libschroedinger. More...

Functions

unsigned int ff_dirac_schro_get_video_format_idx (AVCodecContext *avccontext)
 Returns the index into the Dirac Schro common video format info table.
void ff_dirac_schro_queue_init (FfmpegDiracSchroQueue *queue)
 Initialise the queue.
int ff_dirac_schro_queue_push_back (FfmpegDiracSchroQueue *queue, void *p_data)
 Add an element to the end of the queue.
void * ff_dirac_schro_queue_pop (FfmpegDiracSchroQueue *queue)
 Return the first element in the queue.
void ff_dirac_schro_queue_free (FfmpegDiracSchroQueue *queue, void(*free_func)(void *))
 Free the queue resources.


Detailed Description

data structures common to libdirac and libschroedinger

Definition in file libdirac_libschro.h.


Function Documentation

unsigned int ff_dirac_schro_get_video_format_idx ( AVCodecContext avccontext  ) 

Returns the index into the Dirac Schro common video format info table.

Definition at line 48 of file libdirac_libschro.c.

Referenced by ff_get_schro_video_format_preset(), and GetDiracVideoFormatPreset().

void ff_dirac_schro_queue_free ( FfmpegDiracSchroQueue queue,
void(*)(void *)  free_func 
)

Free the queue resources.

free_func is a function supplied by the caller to free any resources allocated by the caller. The data field of the queue element is passed to it.

Definition at line 74 of file libdirac_libschro.c.

Referenced by libdirac_encode_close(), libschroedinger_decode_close(), libschroedinger_encode_close(), and libschroedinger_flush().

void ff_dirac_schro_queue_init ( FfmpegDiracSchroQueue queue  ) 

void* ff_dirac_schro_queue_pop ( FfmpegDiracSchroQueue queue  ) 

Return the first element in the queue.

Definition at line 100 of file libdirac_libschro.c.

Referenced by ff_dirac_schro_queue_free(), libdirac_encode_frame(), libschroedinger_decode_frame(), and libschroedinger_encode_frame().

int ff_dirac_schro_queue_push_back ( FfmpegDiracSchroQueue queue,
void *  p_data 
)

Add an element to the end of the queue.

Definition at line 81 of file libdirac_libschro.c.

Referenced by libdirac_encode_frame(), libschroedinger_decode_frame(), and libschroedinger_encode_frame().


Generated on Fri Oct 26 02:36:52 2012 for FFmpeg by  doxygen 1.5.8