FFmpeg
Functions
pnmdec.c File Reference
#include "config_components.h"
#include "libavutil/half2float.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "decode.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 32 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 44 of file pnmdec.c.