= {
.name = "bmp",
},
}
#define AV_PIX_FMT_RGB444
packed RGB 1:2:1, 8bpp, (msb)1B 2G 1R(lsb)
8 bit with AV_PIX_FMT_RGB32 palette
static av_cold int bmp_encode_close(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
packed RGB 1:2:1, 8bpp, (msb)1R 2G 1B(lsb)
packed RGB 8:8:8, 24bpp, BGRBGR...
packed RGB 3:3:2, 8bpp, (msb)2B 3G 3R(lsb)
static int bmp_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet)
static av_cold int bmp_encode_init(AVCodecContext *avctx)
Y , 1bpp, 0 is black, 1 is white, in each byte pixels are ordered from the msb to the lsb...
packed RGB 3:3:2, 8bpp, (msb)2R 3G 3B(lsb)
#define AV_PIX_FMT_RGB555
#define AV_PIX_FMT_RGB565
AVPixelFormat
Pixel format.