= {
.name = "png",
},
}
packed RGB 8:8:8, 24bpp, RGBRGB...
static av_cold int init(AVCodecContext *avctx)
static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet)
static const AVClass pngenc_class
8 bit with PIX_FMT_RGB32 palette
#define CODEC_CAP_INTRA_ONLY
Codec is intra only.
packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is st...
16bit gray, 16bit 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 av_cold int png_enc_init(AVCodecContext *avctx)
Y , 1bpp, 0 is black, 1 is white, in each byte pixels are ordered from the msb to the lsb...
#define CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as big...
static av_cold int png_enc_close(AVCodecContext *avctx)
AVPixelFormat
Pixel format.