[FFmpeg-devel] [PATCH]v308 and yuv4 encoders and decoders

Paul B Mahol onemda at gmail.com
Sat Dec 31 14:36:53 CET 2011


[...]

+AVCodec ff_v308_encoder = {
+    .name         = "v308",
+    .type         = AVMEDIA_TYPE_VIDEO,
+    .id           = CODEC_ID_V308,
+    .init         = v308_encode_init,
+    .encode       = v308_encode_frame,
+    .close        = v308_encode_close,
+    .pix_fmts     = (const enum PixelFormat[]){ PIX_FMT_YUV444P,
PIX_FMT_NONE },
+    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed 4:4:4"),

.long_name does not match decoder.

+AVCodec ff_yuv4_encoder = {
+    .name         = "yuv4",
+    .type         = AVMEDIA_TYPE_VIDEO,
+    .id           = CODEC_ID_YUV4,
+    .init         = yuv4_encode_init,
+    .encode       = yuv4_encode_frame,
+    .close        = yuv4_encode_close,
+    .pix_fmts     = (const enum PixelFormat[]){ PIX_FMT_YUV420P,
PIX_FMT_NONE },
+    .long_name    = NULL_IF_CONFIG_SMALL("Packed 4:2:0"),

Ditto.


More information about the ffmpeg-devel mailing list