pnm.c File Reference
#include <stdlib.h>
#include <string.h>
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "pnm.h"
Include dependency graph for pnm.c:

Go to the source code of this file.

Functions

static int pnm_space (int c)
 
static void pnm_get (PNMContext *sc, char *str, int buf_size)
 
int ff_pnm_decode_header (AVCodecContext *avctx, PNMContext *const s)
 
av_cold int ff_pnm_init (AVCodecContext *avctx)
 

Function Documentation

int ff_pnm_decode_header ( AVCodecContext avctx,
PNMContext *const  s 
)

Definition at line 60 of file pnm.c.

Referenced by pnm_decode_frame(), and pnm_parse().

av_cold int ff_pnm_init ( AVCodecContext avctx)

Definition at line 196 of file pnm.c.

Referenced by pnm_encode_frame().

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

Definition at line 34 of file pnm.c.

Referenced by ff_pnm_decode_header().

static int pnm_space ( int  c)
inlinestatic

Definition at line 29 of file pnm.c.

Referenced by pnm_get().