The V30X pixel format was recently added, so this lavc workaround is no longer needed.
Unified · Split
| @@ -350,9 +350,9 @@ extern const FFCodec ff_v308_encoder; · 349 unmodified lines | |||
| 350 | extern const FFCodec ff_v308_decoder; | 350 | extern const FFCodec ff_v308_decoder; |
| 351 | extern const FFCodec ff_v408_encoder; | 351 | extern const FFCodec ff_v408_encoder; |
| 352 | extern const FFCodec ff_v408_decoder; | 352 | extern const FFCodec ff_v408_decoder; |
| 353 | #endif | ||
| 354 | extern const FFCodec ff_v410_encoder; | 353 | extern const FFCodec ff_v410_encoder; |
| 355 | extern const FFCodec ff_v410_decoder; | 354 | extern const FFCodec ff_v410_decoder; |
| 355 | #endif | ||
| 356 | extern const FFCodec ff_vb_decoder; | 356 | extern const FFCodec ff_vb_decoder; |
| 357 | extern const FFCodec ff_vbn_encoder; | 357 | extern const FFCodec ff_vbn_encoder; |
| 358 | extern const FFCodec ff_vbn_decoder; | 358 | extern const FFCodec ff_vbn_decoder; |
| @@ -1146,6 +1146,7 @@ static const AVCodecDescriptor codec_descriptors[] = { · 1145 unmodified lines | |||
| 1146 | .long_name = NULL_IF_CONFIG_SMALL("Dxtory"), | 1146 | .long_name = NULL_IF_CONFIG_SMALL("Dxtory"), |
| 1147 | .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS, | 1147 | .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS, |
| 1148 | }, | 1148 | }, |
| 1149 | #if FF_API_V408_CODECID | ||
| 1149 | { | 1150 | { |
| 1150 | .id = AV_CODEC_ID_V410, | 1151 | .id = AV_CODEC_ID_V410, |
| 1151 | .type = AVMEDIA_TYPE_VIDEO, | 1152 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1153,6 +1154,7 @@ static const AVCodecDescriptor codec_descriptors[] = { · 1 unmodified line | |||
| 1153 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:4:4 10-bit"), | 1154 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:4:4 10-bit"), |
| 1154 | .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS, | 1155 | .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS, |
| 1155 | }, | 1156 | }, |
| 1157 | #endif | ||
| 1156 | { | 1158 | { |
| 1157 | .id = AV_CODEC_ID_XWD, | 1159 | .id = AV_CODEC_ID_XWD, |
| 1158 | .type = AVMEDIA_TYPE_VIDEO, | 1160 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -206,7 +206,9 @@ enum AVCodecID { · 205 unmodified lines | |||
| 206 | AV_CODEC_ID_BMV_VIDEO, | 206 | AV_CODEC_ID_BMV_VIDEO, |
| 207 | AV_CODEC_ID_VBLE, | 207 | AV_CODEC_ID_VBLE, |
| 208 | AV_CODEC_ID_DXTORY, | 208 | AV_CODEC_ID_DXTORY, |
| 209 | #if FF_API_V408_CODECID | ||
| 209 | AV_CODEC_ID_V410, | 210 | AV_CODEC_ID_V410, |
| 211 | #endif | ||
| 210 | AV_CODEC_ID_XWD, | 212 | AV_CODEC_ID_XWD, |
| 211 | AV_CODEC_ID_CDXL, | 213 | AV_CODEC_ID_CDXL, |
| 212 | AV_CODEC_ID_XBM, | 214 | AV_CODEC_ID_XBM, |
| @@ -46,6 +46,8 @@ static av_cold int v410_decode_init(AVCodecContext *avctx) · 45 unmodified lines | |||
| 46 | } | 46 | } |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | av_log(avctx, AV_LOG_WARNING, "This decoder is deprecated and will be removed.\n"); | ||
| 50 | |||
| 49 | return 0; | 51 | return 0; |
| 50 | } | 52 | } |
| 51 | 53 | ||
| @@ -37,6 +37,8 @@ static av_cold int v410_encode_init(AVCodecContext *avctx) · 36 unmodified lines | |||
| 37 | avctx->bits_per_coded_sample = 32; | 37 | avctx->bits_per_coded_sample = 32; |
| 38 | avctx->bit_rate = ff_guess_coded_bitrate(avctx); | 38 | avctx->bit_rate = ff_guess_coded_bitrate(avctx); |
| 39 | 39 | ||
| 40 | av_log(avctx, AV_LOG_WARNING, "This encoder is deprecated and will be removed.\n"); | ||
| 41 | |||
| 40 | return 0; | 42 | return 0; |
| 41 | } | 43 | } |
| 42 | 44 | ||
| @@ -66,8 +66,8 @@ const AVCodecTag ff_codec_movvideo_tags[] = { · 65 unmodified lines | |||
| 66 | #if FF_API_V408_CODECID | 66 | #if FF_API_V408_CODECID |
| 67 | { AV_CODEC_ID_V308, MKTAG('v', '3', '0', '8') }, /* uncompressed 8-bit 4:4:4 */ | 67 | { AV_CODEC_ID_V308, MKTAG('v', '3', '0', '8') }, /* uncompressed 8-bit 4:4:4 */ |
| 68 | { AV_CODEC_ID_V408, MKTAG('v', '4', '0', '8') }, /* uncompressed 8-bit 4:4:4:4 */ | 68 | { AV_CODEC_ID_V408, MKTAG('v', '4', '0', '8') }, /* uncompressed 8-bit 4:4:4:4 */ |
| 69 | #endif | ||
| 70 | { AV_CODEC_ID_V410, MKTAG('v', '4', '1', '0') }, /* uncompressed 10-bit 4:4:4 */ | 69 | { AV_CODEC_ID_V410, MKTAG('v', '4', '1', '0') }, /* uncompressed 10-bit 4:4:4 */ |
| 70 | #endif | ||
| 71 | { AV_CODEC_ID_Y41P, MKTAG('Y', '4', '1', 'P') }, /* uncompressed 12-bit 4:1:1 */ | 71 | { AV_CODEC_ID_Y41P, MKTAG('Y', '4', '1', 'P') }, /* uncompressed 12-bit 4:1:1 */ |
| 72 | { AV_CODEC_ID_YUV4, MKTAG('y', 'u', 'v', '4') }, /* libquicktime packed yuv420p */ | 72 | { AV_CODEC_ID_YUV4, MKTAG('y', 'u', 'v', '4') }, /* libquicktime packed yuv420p */ |
| 73 | { AV_CODEC_ID_TARGA_Y216, MKTAG('Y', '2', '1', '6') }, | 73 | { AV_CODEC_ID_TARGA_Y216, MKTAG('Y', '2', '1', '6') }, |
| @@ -2621,8 +2621,8 @@ static int mov_write_video_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContex · 2620 unmodified lines | |||
| 2621 | #if FF_API_V408_CODECID | 2621 | #if FF_API_V408_CODECID |
| 2622 | || track->par->codec_id == AV_CODEC_ID_V308 | 2622 | || track->par->codec_id == AV_CODEC_ID_V308 |
| 2623 | || track->par->codec_id == AV_CODEC_ID_V408 | 2623 | || track->par->codec_id == AV_CODEC_ID_V408 |
| 2624 | #endif | ||
| 2625 | || track->par->codec_id == AV_CODEC_ID_V410 | 2624 | || track->par->codec_id == AV_CODEC_ID_V410 |
| 2625 | #endif | ||
| 2626 | || track->par->codec_id == AV_CODEC_ID_V210); | 2626 | || track->par->codec_id == AV_CODEC_ID_V210); |
| 2627 | 2627 | ||
| 2628 | avio_wb32(pb, 0); /* size */ | 2628 | avio_wb32(pb, 0); /* size */ |
| @@ -308,8 +308,8 @@ const AVCodecTag ff_codec_bmp_tags[] = { · 307 unmodified lines | |||
| 308 | #if FF_API_V408_CODECID | 308 | #if FF_API_V408_CODECID |
| 309 | { AV_CODEC_ID_V308, MKTAG('v', '3', '0', '8') }, | 309 | { AV_CODEC_ID_V308, MKTAG('v', '3', '0', '8') }, |
| 310 | { AV_CODEC_ID_V408, MKTAG('v', '4', '0', '8') }, | 310 | { AV_CODEC_ID_V408, MKTAG('v', '4', '0', '8') }, |
| 311 | #endif | ||
| 312 | { AV_CODEC_ID_V410, MKTAG('v', '4', '1', '0') }, | 311 | { AV_CODEC_ID_V410, MKTAG('v', '4', '1', '0') }, |
| 312 | #endif | ||
| 313 | { AV_CODEC_ID_YUV4, MKTAG('y', 'u', 'v', '4') }, | 313 | { AV_CODEC_ID_YUV4, MKTAG('y', 'u', 'v', '4') }, |
| 314 | { AV_CODEC_ID_INDEO3, MKTAG('I', 'V', '3', '1') }, | 314 | { AV_CODEC_ID_INDEO3, MKTAG('I', 'V', '3', '1') }, |
| 315 | { AV_CODEC_ID_INDEO3, MKTAG('I', 'V', '3', '2') }, | 315 | { AV_CODEC_ID_INDEO3, MKTAG('I', 'V', '3', '2') }, |