FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
pnm.c File Reference
#include <stdlib.h>
#include <string.h>
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "internal.h"
#include "pnm.h"

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)
 

Function Documentation

static int pnm_space ( int  c)
inlinestatic

Definition at line 30 of file pnm.c.

Referenced by pnm_get().

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

Definition at line 35 of file pnm.c.

Referenced by ff_pnm_decode_header().

int ff_pnm_decode_header ( AVCodecContext avctx,
PNMContext *const  s 
)

Definition at line 61 of file pnm.c.

Referenced by pnm_decode_frame(), and pnm_parse().