FFmpeg
Functions
pnm.c File Reference
#include <stdlib.h>
#include <string.h>
#include "libavutil/avassert.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 31 of file pnm.c.

Referenced by pnm_get().

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

Definition at line 36 of file pnm.c.

Referenced by ff_pnm_decode_header().

int ff_pnm_decode_header ( AVCodecContext avctx,
PNMContext *const  s 
)

Definition at line 64 of file pnm.c.

Referenced by pnm_decode_frame(), and pnm_parse().