#include "avcodec.h"
#include "bytestream.h"
#include "pnm.h"
Go to the source code of this file.
static int pam_encode_frame |
( |
AVCodecContext * |
avctx, |
|
|
unsigned char * |
outbuf, |
|
|
int |
buf_size, |
|
|
void * |
data |
|
) |
| |
|
static |
Initial value:= {
.name = "pam",
}
struct PNMContext PNMContext
Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb...
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, unsigned char *outbuf, int buf_size, void *data)
av_cold int ff_pnm_init(AVCodecContext *avctx)
packed RGB 8:8:8, 24bpp, RGBRGB...
Definition at line 111 of file pamenc.c.