#include "avcodec.h"
#include "internal.h"
Go to the source code of this file.
◆ pam_encode_frame()
◆ pam_encode_init()
◆ ff_pam_encoder
Initial value:= {
.name = "pam",
},
}
packed RGB 8:8:8, 24bpp, RGBRGB...
packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is st...
static av_cold int pam_encode_init(AVCodecContext *avctx)
16 bits gray, 16 bits alpha (big-endian)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
static int pam_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *p, int *got_packet)
Y , 1bpp, 0 is black, 1 is white, in each byte pixels are ordered from the msb to the lsb...
packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as big...
AVPixelFormat
Pixel format.
Definition at line 142 of file pamenc.c.