hvirtual/quicktime/ffmpeg/libavcodec/pnm.c File Reference

#include "avcodec.h"
#include "mpegvideo.h"

Include dependency graph for pnm.c:

Go to the source code of this file.

Data Structures

struct  PNMContext

Functions

static int pnm_space (int c)
static void pnm_get (PNMContext *sc, char *str, int buf_size)
static int common_init (AVCodecContext *avctx)
static int pnm_decode_header (AVCodecContext *avctx, PNMContext *const s)
static int pnm_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int pnm_encode_frame (AVCodecContext *avctx, unsigned char *outbuf, int buf_size, void *data)
static int pam_encode_frame (AVCodecContext *avctx, unsigned char *outbuf, int buf_size, void *data)
static int pnm_parse (AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)

Variables

AVCodecParser pnm_parser


Function Documentation

static int common_init ( AVCodecContext avctx  )  [static]

Definition at line 60 of file pnm.c.

References avcodec_get_frame_defaults(), AVCodecContext::coded_frame, PNMContext::picture, AVCodecContext::priv_data, and s.

Here is the call graph for this function:

static int pam_encode_frame ( AVCodecContext avctx,
unsigned char *  outbuf,
int  buf_size,
void *  data 
) [static]

static int pnm_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
uint8_t *  buf,
int  buf_size 
) [static]

static int pnm_decode_header ( AVCodecContext avctx,
PNMContext *const   s 
) [static]

static int pnm_encode_frame ( AVCodecContext avctx,
unsigned char *  outbuf,
int  buf_size,
void *  data 
) [static]

static void pnm_get ( PNMContext sc,
char *  str,
int  buf_size 
) [static]

Definition at line 34 of file pnm.c.

References PNMContext::bytestream, PNMContext::bytestream_end, c, pnm_space(), and s.

Referenced by pnm_decode_header().

Here is the call graph for this function:

static int pnm_parse ( AVCodecParserContext s,
AVCodecContext avctx,
uint8_t **  poutbuf,
int *  poutbuf_size,
const uint8_t *  buf,
int  buf_size 
) [static]

static int pnm_space ( int  c  )  [inline, static]

Definition at line 29 of file pnm.c.

Referenced by pnm_get().


Variable Documentation

Initial value:

Definition at line 512 of file pnm.c.

Referenced by avcodec_register_all().


Generated on Mon Apr 28 14:05:41 2008 for Cinelerra by  doxygen 1.5.5