libavcodec/libschroedinger.h File Reference

data structures common to libschroedinger decoder and encoder More...

#include <schroedinger/schrobitstream.h>
#include <schroedinger/schroframe.h>
#include "avcodec.h"

Go to the source code of this file.

Functions

SchroVideoFormatEnum ff_get_schro_video_format_preset (AVCodecContext *avccontext)
 Returns the video format preset matching the input video dimensions and time base.
int ff_get_schro_frame_format (SchroChromaFormat schro_chroma_fmt, SchroFrameFormat *schro_frame_fmt)
 Sets the Schroedinger frame format corresponding to the Schro chroma format passed.
SchroFrame * ff_create_schro_frame (AVCodecContext *avccontext, SchroFrameFormat schro_frame_fmt)
 Create a Schro frame based on the dimensions and frame format passed.

Variables

struct {
   enum PixelFormat   ff_pix_fmt
   SchroChromaFormat   schro_pix_fmt
   SchroFrameFormat   schro_frame_fmt
schro_pixel_format_map []


Detailed Description

data structures common to libschroedinger decoder and encoder

Definition in file libschroedinger.h.


Function Documentation

SchroFrame* ff_create_schro_frame ( AVCodecContext avccontext,
SchroFrameFormat  schro_frame_fmt 
)

Create a Schro frame based on the dimensions and frame format passed.

Returns a pointer to a frame on success, NULL on failure.

Definition at line 92 of file libschroedinger.c.

Referenced by libschroedinger_decode_frame(), and libschroedinger_frame_from_data().

int ff_get_schro_frame_format ( SchroChromaFormat  schro_chroma_fmt,
SchroFrameFormat *  schro_frame_fmt 
)

Sets the Schroedinger frame format corresponding to the Schro chroma format passed.

Returns 0 on success, -1 on failure.

Definition at line 64 of file libschroedinger.c.

Referenced by libschroedinger_encode_init(), and libschroedinger_handle_first_access_unit().

SchroVideoFormatEnum ff_get_schro_video_format_preset ( AVCodecContext avccontext  ) 

Returns the video format preset matching the input video dimensions and time base.

Definition at line 53 of file libschroedinger.c.

Referenced by libschroedinger_encode_init().


Variable Documentation

Definition at line 34 of file libschroedinger.h.

SchroFrameFormat schro_frame_fmt

Definition at line 36 of file libschroedinger.h.

SchroChromaFormat schro_pix_fmt

Definition at line 35 of file libschroedinger.h.

struct { ... } schro_pixel_format_map[] [static]


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