libavcodec/libdiracdec.c File Reference

Dirac decoder support via libdirac library; more details about the Dirac project can be found at http://dirac.sourceforge.net/. More...

#include "libdirac.h"
#include <assert.h>
#include <libdirac_decoder/dirac_parser.h>

Go to the source code of this file.

Data Structures

struct  FfmpegDiracDecoderParams
 contains a single frame returned from Dirac More...

Functions

static enum PixelFormat GetFfmpegChromaFormat (dirac_chroma_t dirac_pix_fmt)
 returns FFmpeg chroma format
static av_cold int libdirac_decode_init (AVCodecContext *avccontext)
static int libdirac_decode_frame (AVCodecContext *avccontext, void *data, int *data_size, AVPacket *avpkt)
static av_cold int libdirac_decode_close (AVCodecContext *avccontext)
static void libdirac_flush (AVCodecContext *avccontext)

Variables

AVCodec libdirac_decoder


Detailed Description

Dirac decoder support via libdirac library; more details about the Dirac project can be found at http://dirac.sourceforge.net/.

The libdirac_decoder library implements Dirac specification version 2.2 (http://dirac.sourceforge.net/specification.html).

Definition in file libdiracdec.c.


Function Documentation

static enum PixelFormat GetFfmpegChromaFormat ( dirac_chroma_t  dirac_pix_fmt  )  [static]

returns FFmpeg chroma format

Definition at line 51 of file libdiracdec.c.

Referenced by libdirac_decode_frame(), and libschroedinger_handle_first_access_unit().

static av_cold int libdirac_decode_close ( AVCodecContext avccontext  )  [static]

Definition at line 174 of file libdiracdec.c.

Referenced by libdirac_flush().

static int libdirac_decode_frame ( AVCodecContext avccontext,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 75 of file libdiracdec.c.

static av_cold int libdirac_decode_init ( AVCodecContext avccontext  )  [static]

Definition at line 63 of file libdiracdec.c.

Referenced by libdirac_flush().

static void libdirac_flush ( AVCodecContext avccontext  )  [static]

Definition at line 184 of file libdiracdec.c.


Variable Documentation

Initial value:

Definition at line 196 of file libdiracdec.c.


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