libavcodec/libdirac_libschro.c File Reference

functions common to libdirac and libschroedinger More...

#include "libdirac_libschro.h"

Go to the source code of this file.

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.
void ff_dirac_schro_queue_free (FfmpegDiracSchroQueue *queue, void(*free_func)(void *))
 Free the queue resources.
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.

Variables

static const
FfmpegDiracSchroVideoFormatInfo 
ff_dirac_schro_video_format_info []


Detailed Description

functions common to libdirac and libschroedinger

Definition in file libdirac_libschro.c.


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().


Variable Documentation

Initial value:

 {
    { 640,  480,  24000, 1001},
    { 176,  120,  15000, 1001},
    { 176,  144,  25,    2   },
    { 352,  240,  15000, 1001},
    { 352,  288,  25,    2   },
    { 704,  480,  15000, 1001},
    { 704,  576,  25,    2   },
    { 720,  480,  30000, 1001},
    { 720,  576,  25,    1   },
    { 1280, 720,  60000, 1001},
    { 1280, 720,  50,    1   },
    { 1920, 1080, 30000, 1001},
    { 1920, 1080, 25,    1   },
    { 1920, 1080, 60000, 1001},
    { 1920, 1080, 50,    1   },
    { 2048, 1080, 24,    1   },
    { 4096, 2160, 24,    1   },
}

Definition at line 28 of file libdirac_libschro.c.


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