FFmpeg
Functions
pnmdec.c File Reference
#include "config_components.h"
#include "avcodec.h"
#include "codec_internal.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, AVFrame *p, int *got_frame, AVPacket *avpkt)
 

Function Documentation

◆ samplecpy()

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

Definition at line 30 of file pnmdec.c.

Referenced by pnm_decode_frame().

◆ pnm_decode_frame()

static int pnm_decode_frame ( AVCodecContext avctx,
AVFrame p,
int got_frame,
AVPacket avpkt 
)
static

Definition at line 42 of file pnmdec.c.