FFmpeg
Loading...
Searching...
No Matches
pnm.c File Reference
#include <stdlib.h>
#include <string.h>
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "libavutil/avstring.h"
#include "avcodec.h"
#include "decode.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

◆ pnm_space()

static int pnm_space ( int c)
inlinestatic

Definition at line 32 of file pnm.c.

Referenced by ff_pnm_decode_header(), and pnm_get().

◆ pnm_get()

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

Definition at line 37 of file pnm.c.

Referenced by ff_pnm_decode_header().

◆ ff_pnm_decode_header()

int ff_pnm_decode_header ( AVCodecContext * avctx,
PNMContext *const s )

Definition at line 65 of file pnm.c.

Referenced by pnm_decode_frame(), and pnm_parse().