#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "pnm.h"
Go to the source code of this file.
Initial value:= {
.name = "pam",
},
}
struct PNMContext PNMContext
packed RGB 8:8:8, 24bpp, RGBRGB...
static int init(AVCodecParserContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int pam_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet)
Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb...
av_cold int ff_pnm_init(AVCodecContext *avctx)
AVPixelFormat
Pixel format.
Definition at line 117 of file pamenc.c.