libavcodec/libschroedingerdec.c File Reference

Dirac decoder support via libschroedinger-1.0 libraries. More...

#include "avcodec.h"
#include "libdirac_libschro.h"
#include "libschroedinger.h"
#include <assert.h>
#include <schroedinger/schro.h>
#include <schroedinger/schrodebug.h>
#include <schroedinger/schrovideoformat.h>

Go to the source code of this file.

Data Structures

struct  FfmpegSchroDecoderParams
 libschroedinger decoder private data More...
struct  FfmpegSchroParseUnitContext

Typedefs

typedef struct
FfmpegSchroDecoderParams 
FfmpegSchroDecoderParams
 libschroedinger decoder private data
typedef struct
FfmpegSchroParseUnitContext 
FfmpegSchroParseUnitContext

Functions

static void libschroedinger_decode_buffer_free (SchroBuffer *schro_buf, void *priv)
static void FfmpegSchroParseContextInit (FfmpegSchroParseUnitContext *parse_ctx, const uint8_t *buf, int buf_size)
static SchroBuffer * FfmpegFindNextSchroParseUnit (FfmpegSchroParseUnitContext *parse_ctx)
static enum PixelFormat GetFfmpegChromaFormat (SchroChromaFormat schro_pix_fmt)
 Returns FFmpeg chroma format.
static av_cold int libschroedinger_decode_init (AVCodecContext *avccontext)
static void libschroedinger_decode_frame_free (void *frame)
static void libschroedinger_handle_first_access_unit (AVCodecContext *avccontext)
static int libschroedinger_decode_frame (AVCodecContext *avccontext, void *data, int *data_size, const uint8_t *buf, int buf_size)
static av_cold int libschroedinger_decode_close (AVCodecContext *avccontext)
static void libschroedinger_flush (AVCodecContext *avccontext)

Variables

AVCodec libschroedinger_decoder

Detailed Description

Dirac decoder support via libschroedinger-1.0 libraries.

More details about the Schroedinger project can be found at http://www.diracvideo.org/. The library implements Dirac Specification Version 2.2. (http://dirac.sourceforge.net/specification.html).

Definition in file libschroedingerdec.c.


Typedef Documentation

libschroedinger decoder private data


Function Documentation

static SchroBuffer* FfmpegFindNextSchroParseUnit ( FfmpegSchroParseUnitContext parse_ctx  )  [static]

Definition at line 84 of file libschroedingerdec.c.

Referenced by libschroedinger_decode_frame().

static void FfmpegSchroParseContextInit ( FfmpegSchroParseUnitContext parse_ctx,
const uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 77 of file libschroedingerdec.c.

Referenced by libschroedinger_decode_frame().

static enum PixelFormat GetFfmpegChromaFormat ( SchroChromaFormat  schro_pix_fmt  )  [static]

Returns FFmpeg chroma format.

Definition at line 124 of file libschroedingerdec.c.

Referenced by libschroedinger_handle_first_access_unit().

static void libschroedinger_decode_buffer_free ( SchroBuffer *  schro_buf,
void *  priv 
) [static]

Definition at line 157 of file libschroedingerdec.c.

Referenced by FfmpegFindNextSchroParseUnit().

static av_cold int libschroedinger_decode_close ( AVCodecContext avccontext  )  [static]

Definition at line 328 of file libschroedingerdec.c.

static int libschroedinger_decode_frame ( AVCodecContext avccontext,
void *  data,
int *  data_size,
const uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 208 of file libschroedingerdec.c.

static void libschroedinger_decode_frame_free ( void *  frame  )  [static]
static av_cold int libschroedinger_decode_init ( AVCodecContext avccontext  )  [static]

Definition at line 138 of file libschroedingerdec.c.

static void libschroedinger_flush ( AVCodecContext avccontext  )  [static]

Definition at line 344 of file libschroedingerdec.c.

static void libschroedinger_handle_first_access_unit ( AVCodecContext avccontext  )  [static]

Definition at line 168 of file libschroedingerdec.c.

Referenced by libschroedinger_decode_frame().


Variable Documentation

Generated on Thu Mar 31 18:59:48 2011 for ffmpeg by  doxygen 1.6.3