libavcodec/libschroedingerenc.c File Reference

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

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

Go to the source code of this file.

Data Structures

struct  FfmpegSchroEncoderParams
 libschroedinger encoder private data More...

Functions

static int SetSchroChromaFormat (AVCodecContext *avccontext)
 Works out Schro-compatible chroma format.
static int libschroedinger_encode_init (AVCodecContext *avccontext)
static SchroFrame * libschroedinger_frame_from_data (AVCodecContext *avccontext, void *in_data)
static void SchroedingerFreeFrame (void *data)
static int libschroedinger_encode_frame (AVCodecContext *avccontext, unsigned char *frame, int buf_size, void *data)
static int libschroedinger_encode_close (AVCodecContext *avccontext)

Variables

AVCodec libschroedinger_encoder


Detailed Description

Dirac encoder 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 libschroedingerenc.c.


Function Documentation

static int libschroedinger_encode_close ( AVCodecContext avccontext  )  [static]

Definition at line 398 of file libschroedingerenc.c.

static int libschroedinger_encode_frame ( AVCodecContext avccontext,
unsigned char *  frame,
int  buf_size,
void *  data 
) [static]

Definition at line 252 of file libschroedingerenc.c.

static int libschroedinger_encode_init ( AVCodecContext avccontext  )  [static]

Definition at line 103 of file libschroedingerenc.c.

static SchroFrame* libschroedinger_frame_from_data ( AVCodecContext avccontext,
void *  in_data 
) [static]

Definition at line 223 of file libschroedingerenc.c.

Referenced by libschroedinger_encode_frame().

static void SchroedingerFreeFrame ( void *  data  )  [static]

static int SetSchroChromaFormat ( AVCodecContext avccontext  )  [static]

Works out Schro-compatible chroma format.

Definition at line 79 of file libschroedingerenc.c.

Referenced by libschroedinger_encode_init().


Variable Documentation

Initial value:

Definition at line 422 of file libschroedingerenc.c.


Generated on Fri Oct 26 02:35:43 2012 for FFmpeg by  doxygen 1.5.8