FFmpeg
Functions
pnmdec.c File Reference
#include "avcodec.h"
#include "internal.h"
#include "put_bits.h"
#include "pnm.h"

Go to the source code of this file.

Functions

static void samplecpy (uint8_t *dst, const uint8_t *src, int n, int maxval)
 
static int pnm_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 

Function Documentation

static void samplecpy ( uint8_t dst,
const uint8_t src,
int  n,
int  maxval 
)
static

Definition at line 27 of file pnmdec.c.

Referenced by pnm_decode_frame().

static int pnm_decode_frame ( AVCodecContext avctx,
void data,
int got_frame,
AVPacket avpkt 
)
static

Definition at line 39 of file pnmdec.c.