PR #26188 opened by Baptiste Coudurier (bcoudurier) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26188 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26188.patch
C division truncates toward zero, so for odd negative U the green term came out 1 lower than QuickTime, which rounds down. With `u >> 1` the decoder matches a QuickTime 7 decode bit-exactly on all frames of a 24-bit Cinepak file. The six FATE refs that decode Cinepak are updated; the encoder output is unchanged. 🤖 Generated with [Claude Code](https://claude.com/claude-code) From 21fa924a7c9cc8298f51b5ac9e552d7457585091 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier <[email protected]> Date: Wed, 18 Nov 2026 15:03:54 -0800 Subject: [PATCH] avcodec/cinepak: round U/2 down in the green term Matches QuickTime 7 bit-exactly. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Baptiste Coudurier <[email protected]> --- libavcodec/cinepak.c | 2 +- tests/ref/fate/cvid-partial | 158 ++++++++++---------- tests/ref/fate/film-cvid | 216 +++++++++++++-------------- tests/ref/fate/segafilm-rawvideo-mux | 160 ++++++++++---------- tests/ref/vsynth/vsynth1-cinepak | 4 +- tests/ref/vsynth/vsynth2-cinepak | 4 +- tests/ref/vsynth/vsynth_lena-cinepak | 4 +- 7 files changed, 274 insertions(+), 274 deletions(-) diff --git a/libavcodec/cinepak.c b/libavcodec/cinepak.c index 9ec7ac5a8fb..533f9fc71e8 100644 --- a/libavcodec/cinepak.c +++ b/libavcodec/cinepak.c @@ -115,7 +115,7 @@ static void cinepak_decode_codebook (cvid_codebook *codebook, p -= 12; for(k=0; k<4; ++k) { r = *p++ + v*2; - g = *p++ - (u/2) - v; + g = *p++ - (u >> 1) - v; b = *p + u*2; p -= 2; *p++ = av_clip_uint8(r); diff --git a/tests/ref/fate/cvid-partial b/tests/ref/fate/cvid-partial index 990939db1c9..7827e58e911 100644 --- a/tests/ref/fate/cvid-partial +++ b/tests/ref/fate/cvid-partial @@ -3,82 +3,82 @@ #codec_id 0: rawvideo #dimensions 0: 400x187 #sar 0: 0/1 -0, 0, 0, 1, 224400, 0xd8f2f310 -0, 1, 1, 1, 224400, 0xe38676c2 -0, 2, 2, 1, 224400, 0x7163b6ad -0, 3, 3, 1, 224400, 0xa514b0f7 -0, 4, 4, 1, 224400, 0xeed48b96 -0, 5, 5, 1, 224400, 0x5e9f02b2 -0, 6, 6, 1, 224400, 0x70822c53 -0, 7, 7, 1, 224400, 0x93101067 -0, 8, 8, 1, 224400, 0x0710e900 -0, 9, 9, 1, 224400, 0x0e8add6a -0, 10, 10, 1, 224400, 0x53fb2c5a -0, 11, 11, 1, 224400, 0xa58cc02f -0, 12, 12, 1, 224400, 0x0a5cc76b -0, 13, 13, 1, 224400, 0xfa551631 -0, 14, 14, 1, 224400, 0xde9f99bf -0, 15, 15, 1, 224400, 0xe66a8690 -0, 16, 16, 1, 224400, 0xd9e6f3d1 -0, 17, 17, 1, 224400, 0xa479a5c6 -0, 18, 18, 1, 224400, 0xdaa3531f -0, 19, 19, 1, 224400, 0xde3e6843 -0, 20, 20, 1, 224400, 0x181adafd -0, 21, 21, 1, 224400, 0x784b6429 -0, 22, 22, 1, 224400, 0x91cdc30e -0, 23, 23, 1, 224400, 0x6e78be49 -0, 24, 24, 1, 224400, 0x7515644c -0, 25, 25, 1, 224400, 0xcc32a91b -0, 26, 26, 1, 224400, 0xc63e3831 -0, 27, 27, 1, 224400, 0xfb53b651 -0, 28, 28, 1, 224400, 0x12ec8a01 -0, 29, 29, 1, 224400, 0x136fcb2c -0, 30, 30, 1, 224400, 0x827fa546 -0, 31, 31, 1, 224400, 0x1773b7f5 -0, 32, 32, 1, 224400, 0x732defc1 -0, 33, 33, 1, 224400, 0x84292372 -0, 34, 34, 1, 224400, 0x20f22365 -0, 35, 35, 1, 224400, 0xb39a0700 -0, 36, 36, 1, 224400, 0xf245706c -0, 37, 37, 1, 224400, 0xdb702ae7 -0, 38, 38, 1, 224400, 0xadfefe5b -0, 39, 39, 1, 224400, 0xa667adcb -0, 40, 40, 1, 224400, 0x4d645191 -0, 41, 41, 1, 224400, 0x33802f58 -0, 42, 42, 1, 224400, 0x24eff4b8 -0, 43, 43, 1, 224400, 0x4dc817a6 -0, 44, 44, 1, 224400, 0x9a891d35 -0, 45, 45, 1, 224400, 0x2d0bb83b -0, 46, 46, 1, 224400, 0xd13469c1 -0, 47, 47, 1, 224400, 0xd2e6302a -0, 48, 48, 1, 224400, 0xc7594ee1 -0, 49, 49, 1, 224400, 0xc6da714c -0, 50, 50, 1, 224400, 0xf675e838 -0, 51, 51, 1, 224400, 0xdc047c76 -0, 52, 52, 1, 224400, 0xe5727de5 -0, 53, 53, 1, 224400, 0x153b0f62 -0, 54, 54, 1, 224400, 0x65922f68 -0, 55, 55, 1, 224400, 0x04e04bfb -0, 56, 56, 1, 224400, 0x1dde6c88 -0, 57, 57, 1, 224400, 0xed3905f2 -0, 58, 58, 1, 224400, 0x211a5996 -0, 59, 59, 1, 224400, 0xd010baaf -0, 60, 60, 1, 224400, 0xcbc9f272 -0, 61, 61, 1, 224400, 0x7380d6f0 -0, 62, 62, 1, 224400, 0xfd0bf084 -0, 63, 63, 1, 224400, 0xc4d671d9 -0, 64, 64, 1, 224400, 0x84236aa5 -0, 65, 65, 1, 224400, 0x9c584ede -0, 66, 66, 1, 224400, 0xdb0c6029 -0, 67, 67, 1, 224400, 0x775ae560 -0, 68, 68, 1, 224400, 0xe3800916 -0, 69, 69, 1, 224400, 0x9313a8e8 -0, 70, 70, 1, 224400, 0x3a5d07cc -0, 71, 71, 1, 224400, 0x4651a10b -0, 72, 72, 1, 224400, 0xc2d72183 -0, 73, 73, 1, 224400, 0xcd971625 -0, 74, 74, 1, 224400, 0x9fb0f3c2 -0, 75, 75, 1, 224400, 0x920ee561 -0, 76, 76, 1, 224400, 0x8a2c1bbf -0, 77, 77, 1, 224400, 0x6150c072 -0, 78, 78, 1, 224400, 0x499dc869 +0, 0, 0, 1, 224400, 0xc0452e0f +0, 1, 1, 1, 224400, 0x8e22b0ca +0, 2, 2, 1, 224400, 0xcc4ff00f +0, 3, 3, 1, 224400, 0xb0e0e9e9 +0, 4, 4, 1, 224400, 0xe84ac51e +0, 5, 5, 1, 224400, 0xc31c3e2e +0, 6, 6, 1, 224400, 0x5f406b7f +0, 7, 7, 1, 224400, 0xdef54d3f +0, 8, 8, 1, 224400, 0x58282655 +0, 9, 9, 1, 224400, 0xccf62047 +0, 10, 10, 1, 224400, 0x1dd66bc8 +0, 11, 11, 1, 224400, 0xc530067a +0, 12, 12, 1, 224400, 0xe7c1071e +0, 13, 13, 1, 224400, 0x46115735 +0, 14, 14, 1, 224400, 0x65fedd8f +0, 15, 15, 1, 224400, 0x283ece4e +0, 16, 16, 1, 224400, 0x85f338c6 +0, 17, 17, 1, 224400, 0xc741e17a +0, 18, 18, 1, 224400, 0x611292ef +0, 19, 19, 1, 224400, 0x14d8a815 +0, 20, 20, 1, 224400, 0x074f1966 +0, 21, 21, 1, 224400, 0x77b39e89 +0, 22, 22, 1, 224400, 0x9f9800fb +0, 23, 23, 1, 224400, 0x3168f583 +0, 24, 24, 1, 224400, 0x7689a096 +0, 25, 25, 1, 224400, 0x2518dfb7 +0, 26, 26, 1, 224400, 0x859571fd +0, 27, 27, 1, 224400, 0xd154f45f +0, 28, 28, 1, 224400, 0x404dc797 +0, 29, 29, 1, 224400, 0xaf1c05bf +0, 30, 30, 1, 224400, 0xecf1e264 +0, 31, 31, 1, 224400, 0x0f5ff423 +0, 32, 32, 1, 224400, 0xc8642b0e +0, 33, 33, 1, 224400, 0x29155bfa +0, 34, 34, 1, 224400, 0xb09f5ca7 +0, 35, 35, 1, 224400, 0xb870437e +0, 36, 36, 1, 224400, 0x703aae96 +0, 37, 37, 1, 224400, 0xf9cb69b3 +0, 38, 38, 1, 224400, 0xb3f436b0 +0, 39, 39, 1, 224400, 0x409aeb83 +0, 40, 40, 1, 224400, 0x02aa8a9f +0, 41, 41, 1, 224400, 0x4ca56d10 +0, 42, 42, 1, 224400, 0xc4953167 +0, 43, 43, 1, 224400, 0x6e085312 +0, 44, 44, 1, 224400, 0xd525541d +0, 45, 45, 1, 224400, 0x8573f7c3 +0, 46, 46, 1, 224400, 0x5858a86d +0, 47, 47, 1, 224400, 0x4fed6ed8 +0, 48, 48, 1, 224400, 0x96568d31 +0, 49, 49, 1, 224400, 0x3b54ae6c +0, 50, 50, 1, 224400, 0x8f3d2433 +0, 51, 51, 1, 224400, 0x5958b77e +0, 52, 52, 1, 224400, 0xb79db87b +0, 53, 53, 1, 224400, 0xcf294bfa +0, 54, 54, 1, 224400, 0x3aba6df4 +0, 55, 55, 1, 224400, 0xdbdc8fd5 +0, 56, 56, 1, 224400, 0xe863aff8 +0, 57, 57, 1, 224400, 0xa00d4770 +0, 58, 58, 1, 224400, 0xe17d9b92 +0, 59, 59, 1, 224400, 0x065cfc0b +0, 60, 60, 1, 224400, 0x4d0530f1 +0, 61, 61, 1, 224400, 0x57da171f +0, 62, 62, 1, 224400, 0x59d82f1d +0, 63, 63, 1, 224400, 0x7996ac83 +0, 64, 64, 1, 224400, 0x8071a3cb +0, 65, 65, 1, 224400, 0xc5378b0c +0, 66, 66, 1, 224400, 0x0e099d31 +0, 67, 67, 1, 224400, 0x73d71ffb +0, 68, 68, 1, 224400, 0x2d9a3eb4 +0, 69, 69, 1, 224400, 0xe203d9a0 +0, 70, 70, 1, 224400, 0xc27933d0 +0, 71, 71, 1, 224400, 0xc09fcfd9 +0, 72, 72, 1, 224400, 0xa1054c2b +0, 73, 73, 1, 224400, 0x88114671 +0, 74, 74, 1, 224400, 0x3ebb2185 +0, 75, 75, 1, 224400, 0x65a71008 +0, 76, 76, 1, 224400, 0x10bb4815 +0, 77, 77, 1, 224400, 0x36f3e9c0 +0, 78, 78, 1, 224400, 0x9bfdf203 diff --git a/tests/ref/fate/film-cvid b/tests/ref/fate/film-cvid index 428cb6e9f09..0021b26bb46 100644 --- a/tests/ref/fate/film-cvid +++ b/tests/ref/fate/film-cvid @@ -4,112 +4,112 @@ #dimensions 0: 320x224 #sar 0: 0/1 0, 0, 0, 2, 215040, 0x067c5362 -0, 2, 2, 2, 215040, 0xd9eacb98 -0, 4, 4, 2, 215040, 0x3c8a4cbd -0, 6, 6, 2, 215040, 0xbdf996e1 -0, 8, 8, 2, 215040, 0x1b7fa123 -0, 10, 10, 2, 215040, 0x834b4a8d -0, 12, 12, 2, 215040, 0xf4b1bebe -0, 14, 14, 2, 215040, 0x088c3802 -0, 16, 16, 2, 215040, 0xf6ddedb9 -0, 18, 18, 2, 215040, 0x2791d538 -0, 20, 20, 2, 215040, 0x81fe4688 -0, 22, 22, 2, 215040, 0xad864fbd -0, 24, 24, 2, 215040, 0xa637a97a -0, 26, 26, 2, 215040, 0x2287e378 -0, 28, 28, 2, 215040, 0x13a017d7 -0, 30, 30, 2, 215040, 0x89a4acee -0, 32, 32, 2, 215040, 0x97888ffc -0, 34, 34, 2, 215040, 0x7c2c3b58 -0, 36, 36, 2, 215040, 0x2e3ab808 -0, 38, 38, 2, 215040, 0x2d553af2 -0, 40, 40, 2, 215040, 0x929c420e -0, 42, 42, 2, 215040, 0x4841bd6d -0, 44, 44, 2, 215040, 0xb350fbcd -0, 46, 46, 2, 215040, 0x0d70b918 -0, 48, 48, 2, 215040, 0xf98b0f47 -0, 50, 50, 2, 215040, 0x748b8ff2 -0, 52, 52, 2, 215040, 0x62017c38 -0, 54, 54, 2, 215040, 0x46042bb4 -0, 56, 56, 2, 215040, 0xe7a74806 -0, 58, 58, 2, 215040, 0xb4c856e6 -0, 60, 60, 2, 215040, 0xb21a28dd -0, 62, 62, 2, 215040, 0x2a6e0834 -0, 64, 64, 2, 215040, 0x7044d6ca -0, 66, 66, 2, 215040, 0x17780335 -0, 68, 68, 2, 215040, 0x94f51e7a -0, 70, 70, 2, 215040, 0x5beb5f5f -0, 72, 72, 2, 215040, 0xc7d59527 -0, 74, 74, 2, 215040, 0x40f69049 -0, 76, 76, 2, 215040, 0x1f78740e -0, 78, 78, 2, 215040, 0x49f7265d -0, 80, 80, 2, 215040, 0x057ac5c9 -0, 82, 82, 2, 215040, 0x649bd476 -0, 84, 84, 2, 215040, 0x1c75aa43 -0, 86, 86, 2, 215040, 0xc4bd1e29 -0, 88, 88, 2, 215040, 0x5033fa74 -0, 90, 90, 2, 215040, 0xba5c949e -0, 92, 92, 2, 215040, 0x2fa78a0e -0, 94, 94, 2, 215040, 0x9d363dce -0, 96, 96, 2, 215040, 0xd1dc82b0 -0, 98, 98, 2, 215040, 0xd25be322 -0, 100, 100, 2, 215040, 0xf1374ef9 -0, 102, 102, 2, 215040, 0x33467b42 -0, 104, 104, 2, 215040, 0x7ec7dfad -0, 106, 106, 2, 215040, 0x706ed416 -0, 108, 108, 2, 215040, 0x6576b3eb -0, 110, 110, 2, 215040, 0x6576b3eb -0, 112, 112, 2, 215040, 0x6576b3eb -0, 114, 114, 2, 215040, 0x6576b3eb -0, 116, 116, 2, 215040, 0x6576b3eb -0, 118, 118, 2, 215040, 0x6576b3eb -0, 120, 120, 2, 215040, 0x6576b3eb -0, 122, 122, 2, 215040, 0x6873993d -0, 124, 124, 2, 215040, 0x8c2a84d8 -0, 126, 126, 2, 215040, 0xdd456bd5 -0, 128, 128, 2, 215040, 0x50fa4f3d -0, 130, 130, 2, 215040, 0x00c4369c -0, 132, 132, 2, 215040, 0xe4c220d2 -0, 134, 134, 2, 215040, 0xe43a033b -0, 136, 136, 2, 215040, 0x72f6e32c -0, 138, 138, 2, 215040, 0xb738c69c -0, 140, 140, 2, 215040, 0x56bda3fe -0, 142, 142, 2, 215040, 0xaa2f7da3 -0, 144, 144, 2, 215040, 0xf21f5c24 -0, 146, 146, 2, 215040, 0xd33e3579 -0, 148, 148, 2, 215040, 0x6a601495 -0, 150, 150, 2, 215040, 0xdfcff1e0 -0, 152, 152, 2, 215040, 0xa774d327 -0, 154, 154, 2, 215040, 0x8e9db8c9 -0, 156, 156, 2, 215040, 0xb4fd9689 -0, 158, 158, 2, 215040, 0xa80b77ff -0, 160, 160, 2, 215040, 0x1d9c6568 -0, 162, 162, 2, 215040, 0x388c515a -0, 164, 164, 2, 215040, 0x388c515a -0, 166, 166, 2, 215040, 0x388c515a -0, 168, 168, 2, 215040, 0x388c515a -0, 170, 170, 2, 215040, 0x388c515a -0, 172, 172, 2, 215040, 0x388c515a -0, 174, 174, 2, 215040, 0x388c515a -0, 176, 176, 2, 215040, 0x388c515a -0, 178, 178, 2, 215040, 0x388c515a -0, 180, 180, 2, 215040, 0x388c515a -0, 182, 182, 2, 215040, 0x388c515a -0, 184, 184, 2, 215040, 0x3aef5fee -0, 186, 186, 2, 215040, 0x3aef5fee -0, 188, 188, 2, 215040, 0x3aef5fee -0, 190, 190, 2, 215040, 0x3aef5fee -0, 192, 192, 2, 215040, 0x7f8e4b62 -0, 194, 194, 2, 215040, 0xbf9fcae8 -0, 196, 196, 2, 215040, 0x02f9a66c -0, 198, 198, 2, 215040, 0x00ef062f -0, 200, 200, 2, 215040, 0xe83b132c -0, 202, 202, 2, 215040, 0x2701d21b -0, 204, 204, 2, 215040, 0xbea79188 -0, 206, 206, 2, 215040, 0x6f6d3109 -0, 208, 208, 2, 215040, 0x4173f1e8 -0, 210, 210, 2, 215040, 0xd7adfce1 -0, 212, 212, 2, 215040, 0xa3825ffd -0, 214, 214, 2, 215040, 0x41e63fe4 -0, 216, 216, 2, 215040, 0xb525b9c5 +0, 2, 2, 2, 215040, 0x268dcc70 +0, 4, 4, 2, 215040, 0x631a4da5 +0, 6, 6, 2, 215040, 0x45ec2a78 +0, 8, 8, 2, 215040, 0xc950fd68 +0, 10, 10, 2, 215040, 0xddbbb160 +0, 12, 12, 2, 215040, 0x1d722198 +0, 14, 14, 2, 215040, 0x58679a6f +0, 16, 16, 2, 215040, 0x98cc4e4e +0, 18, 18, 2, 215040, 0x86d45937 +0, 20, 20, 2, 215040, 0x43f2a419 +0, 22, 22, 2, 215040, 0xe1fca0c1 +0, 24, 24, 2, 215040, 0x16f9f1bb +0, 26, 26, 2, 215040, 0x48913674 +0, 28, 28, 2, 215040, 0x5c4c6b23 +0, 30, 30, 2, 215040, 0x1a72032a +0, 32, 32, 2, 215040, 0x2c80ea47 +0, 34, 34, 2, 215040, 0x40ae9c6f +0, 36, 36, 2, 215040, 0xbec61759 +0, 38, 38, 2, 215040, 0xbea89b22 +0, 40, 40, 2, 215040, 0xc45ca00b +0, 42, 42, 2, 215040, 0x3717148b +0, 44, 44, 2, 215040, 0xd2b354c0 +0, 46, 46, 2, 215040, 0xcd150d22 +0, 48, 48, 2, 215040, 0x56f961ed +0, 50, 50, 2, 215040, 0xba9de2ae +0, 52, 52, 2, 215040, 0x5737d279 +0, 54, 54, 2, 215040, 0xe17780db +0, 56, 56, 2, 215040, 0x79179e70 +0, 58, 58, 2, 215040, 0xb7daaad8 +0, 60, 60, 2, 215040, 0xdf1e7c2a +0, 62, 62, 2, 215040, 0xf82f6281 +0, 64, 64, 2, 215040, 0xeb8b2935 +0, 66, 66, 2, 215040, 0x42f64aa6 +0, 68, 68, 2, 215040, 0x223666d8 +0, 70, 70, 2, 215040, 0xa04aa637 +0, 72, 72, 2, 215040, 0x5073d6b1 +0, 74, 74, 2, 215040, 0xa53dddd2 +0, 76, 76, 2, 215040, 0x975ac304 +0, 78, 78, 2, 215040, 0x1089729f +0, 80, 80, 2, 215040, 0xa3b1fe8e +0, 82, 82, 2, 215040, 0xceab0603 +0, 84, 84, 2, 215040, 0xc333dc52 +0, 86, 86, 2, 215040, 0x17304976 +0, 88, 88, 2, 215040, 0x989d24c0 +0, 90, 90, 2, 215040, 0xa91fc0d0 +0, 92, 92, 2, 215040, 0xdd2eb8d5 +0, 94, 94, 2, 215040, 0x2e5a6378 +0, 96, 96, 2, 215040, 0xbbff9e89 +0, 98, 98, 2, 215040, 0x4fc9f8e5 +0, 100, 100, 2, 215040, 0x5f13631a +0, 102, 102, 2, 215040, 0x605b879e +0, 104, 104, 2, 215040, 0xc28feb1d +0, 106, 106, 2, 215040, 0x5bbfe042 +0, 108, 108, 2, 215040, 0x6166be6b +0, 110, 110, 2, 215040, 0x6166be6b +0, 112, 112, 2, 215040, 0x6166be6b +0, 114, 114, 2, 215040, 0x6166be6b +0, 116, 116, 2, 215040, 0x6166be6b +0, 118, 118, 2, 215040, 0x6166be6b +0, 120, 120, 2, 215040, 0x6166be6b +0, 122, 122, 2, 215040, 0xb7c59ef9 +0, 124, 124, 2, 215040, 0xdb7c8a94 +0, 126, 126, 2, 215040, 0x2ca67191 +0, 128, 128, 2, 215040, 0xa04c54f9 +0, 130, 130, 2, 215040, 0x527f3c54 +0, 132, 132, 2, 215040, 0x368c268a +0, 134, 134, 2, 215040, 0x360408f3 +0, 136, 136, 2, 215040, 0xc4b1e8e4 +0, 138, 138, 2, 215040, 0xf64fcc5c +0, 140, 140, 2, 215040, 0x97f5a9ba +0, 142, 142, 2, 215040, 0xeb67835f +0, 144, 144, 2, 215040, 0x336661e0 +0, 146, 146, 2, 215040, 0x14853b35 +0, 148, 148, 2, 215040, 0xab981a51 +0, 150, 150, 2, 215040, 0x2116f79c +0, 152, 152, 2, 215040, 0xe8acd8e3 +0, 154, 154, 2, 215040, 0x4b1fbed9 +0, 156, 156, 2, 215040, 0x76399c91 +0, 158, 158, 2, 215040, 0x69477e07 +0, 160, 160, 2, 215040, 0xdec96b70 +0, 162, 162, 2, 215040, 0xf9b95762 +0, 164, 164, 2, 215040, 0xf9b95762 +0, 166, 166, 2, 215040, 0xf9b95762 +0, 168, 168, 2, 215040, 0xf9b95762 +0, 170, 170, 2, 215040, 0xf9b95762 +0, 172, 172, 2, 215040, 0xf9b95762 +0, 174, 174, 2, 215040, 0xf9b95762 +0, 176, 176, 2, 215040, 0xf9b95762 +0, 178, 178, 2, 215040, 0xf9b95762 +0, 180, 180, 2, 215040, 0xf9b95762 +0, 182, 182, 2, 215040, 0xf9b95762 +0, 184, 184, 2, 215040, 0x122765ee +0, 186, 186, 2, 215040, 0x122765ee +0, 188, 188, 2, 215040, 0x122765ee +0, 190, 190, 2, 215040, 0x122765ee +0, 192, 192, 2, 215040, 0x1de35062 +0, 194, 194, 2, 215040, 0x3360d0b4 +0, 196, 196, 2, 215040, 0xd0baab98 +0, 198, 198, 2, 215040, 0x65e60be7 +0, 200, 200, 2, 215040, 0x1f9717fc +0, 202, 202, 2, 215040, 0x2062d793 +0, 204, 204, 2, 215040, 0x6eb79748 +0, 206, 206, 2, 215040, 0xbfec3599 +0, 208, 208, 2, 215040, 0x720cf7b8 +0, 210, 210, 2, 215040, 0x83490258 +0, 212, 212, 2, 215040, 0xf35b64a1 +0, 214, 214, 2, 215040, 0xd96d4388 +0, 216, 216, 2, 215040, 0x202bbf09 0, 218, 218, 1, 215040, 0x00000000 diff --git a/tests/ref/fate/segafilm-rawvideo-mux b/tests/ref/fate/segafilm-rawvideo-mux index 59c5f2e515d..66aab4499e3 100644 --- a/tests/ref/fate/segafilm-rawvideo-mux +++ b/tests/ref/fate/segafilm-rawvideo-mux @@ -1,4 +1,4 @@ -c4b24005b314b70783ebb007f50b6c6c *tests/data/fate/segafilm-rawvideo-mux.film_cpk +529045774aca46fa3dc27bb216cb050f *tests/data/fate/segafilm-rawvideo-mux.film_cpk 17841040 tests/data/fate/segafilm-rawvideo-mux.film_cpk #tb 0: 1/12 #media_type 0: video @@ -10,89 +10,89 @@ c4b24005b314b70783ebb007f50b6c6c *tests/data/fate/segafilm-rawvideo-mux.film_cpk #codec_id 1: pcm_s16be_planar #sample_rate 1: 8000 #channel_layout_name 1: mono -0, 0, 0, 1, 224400, 0xd8f2f310 +0, 0, 0, 1, 224400, 0xc0452e0f 1, 0, 0, 8000, 16000, 0x7ec2d894 -0, 1, 1, 1, 224400, 0xe38676c2 -0, 2, 2, 1, 224400, 0x7163b6ad -0, 3, 3, 1, 224400, 0xa514b0f7 -0, 4, 4, 1, 224400, 0xeed48b96 -0, 5, 5, 1, 224400, 0x5e9f02b2 -0, 6, 6, 1, 224400, 0x70822c53 -0, 7, 7, 1, 224400, 0x93101067 -0, 8, 8, 1, 224400, 0x0710e900 -0, 9, 9, 1, 224400, 0x0e8add6a -0, 10, 10, 1, 224400, 0x53fb2c5a -0, 11, 11, 1, 224400, 0xa58cc02f -0, 12, 12, 1, 224400, 0x0a5cc76b +0, 1, 1, 1, 224400, 0x8e22b0ca +0, 2, 2, 1, 224400, 0xcc4ff00f +0, 3, 3, 1, 224400, 0xb0e0e9e9 +0, 4, 4, 1, 224400, 0xe84ac51e +0, 5, 5, 1, 224400, 0xc31c3e2e +0, 6, 6, 1, 224400, 0x5f406b7f +0, 7, 7, 1, 224400, 0xdef54d3f +0, 8, 8, 1, 224400, 0x58282655 +0, 9, 9, 1, 224400, 0xccf62047 +0, 10, 10, 1, 224400, 0x1dd66bc8 +0, 11, 11, 1, 224400, 0xc530067a +0, 12, 12, 1, 224400, 0xe7c1071e 1, 8000, 8000, 8000, 16000, 0x1fb8d7fa -0, 13, 13, 1, 224400, 0xfa551631 -0, 14, 14, 1, 224400, 0xde9f99bf -0, 15, 15, 1, 224400, 0xe66a8690 -0, 16, 16, 1, 224400, 0xd9e6f3d1 -0, 17, 17, 1, 224400, 0xa479a5c6 -0, 18, 18, 1, 224400, 0xdaa3531f -0, 19, 19, 1, 224400, 0xde3e6843 -0, 20, 20, 1, 224400, 0x181adafd -0, 21, 21, 1, 224400, 0x784b6429 -0, 22, 22, 1, 224400, 0x91cdc30e -0, 23, 23, 1, 224400, 0x6e78be49 -0, 24, 24, 1, 224400, 0x7515644c +0, 13, 13, 1, 224400, 0x46115735 +0, 14, 14, 1, 224400, 0x65fedd8f +0, 15, 15, 1, 224400, 0x283ece4e +0, 16, 16, 1, 224400, 0x85f338c6 +0, 17, 17, 1, 224400, 0xc741e17a +0, 18, 18, 1, 224400, 0x611292ef +0, 19, 19, 1, 224400, 0x14d8a815 +0, 20, 20, 1, 224400, 0x074f1966 +0, 21, 21, 1, 224400, 0x77b39e89 +0, 22, 22, 1, 224400, 0x9f9800fb +0, 23, 23, 1, 224400, 0x3168f583 +0, 24, 24, 1, 224400, 0x7689a096 1, 16000, 16000, 8000, 16000, 0xb1d7d062 -0, 25, 25, 1, 224400, 0xcc32a91b -0, 26, 26, 1, 224400, 0xc63e3831 -0, 27, 27, 1, 224400, 0xfb53b651 -0, 28, 28, 1, 224400, 0x12ec8a01 -0, 29, 29, 1, 224400, 0x136fcb2c -0, 30, 30, 1, 224400, 0x827fa546 -0, 31, 31, 1, 224400, 0x1773b7f5 -0, 32, 32, 1, 224400, 0x732defc1 -0, 33, 33, 1, 224400, 0x84292372 -0, 34, 34, 1, 224400, 0x20f22365 -0, 35, 35, 1, 224400, 0xb39a0700 -0, 36, 36, 1, 224400, 0xf245706c +0, 25, 25, 1, 224400, 0x2518dfb7 +0, 26, 26, 1, 224400, 0x859571fd +0, 27, 27, 1, 224400, 0xd154f45f +0, 28, 28, 1, 224400, 0x404dc797 +0, 29, 29, 1, 224400, 0xaf1c05bf +0, 30, 30, 1, 224400, 0xecf1e264 +0, 31, 31, 1, 224400, 0x0f5ff423 +0, 32, 32, 1, 224400, 0xc8642b0e +0, 33, 33, 1, 224400, 0x29155bfa +0, 34, 34, 1, 224400, 0xb09f5ca7 +0, 35, 35, 1, 224400, 0xb870437e +0, 36, 36, 1, 224400, 0x703aae96 1, 24000, 24000, 8000, 16000, 0x831174ae -0, 37, 37, 1, 224400, 0xdb702ae7 -0, 38, 38, 1, 224400, 0xadfefe5b -0, 39, 39, 1, 224400, 0xa667adcb -0, 40, 40, 1, 224400, 0x4d645191 -0, 41, 41, 1, 224400, 0x33802f58 -0, 42, 42, 1, 224400, 0x24eff4b8 -0, 43, 43, 1, 224400, 0x4dc817a6 -0, 44, 44, 1, 224400, 0x9a891d35 -0, 45, 45, 1, 224400, 0x2d0bb83b -0, 46, 46, 1, 224400, 0xd13469c1 -0, 47, 47, 1, 224400, 0xd2e6302a -0, 48, 48, 1, 224400, 0xc7594ee1 +0, 37, 37, 1, 224400, 0xf9cb69b3 +0, 38, 38, 1, 224400, 0xb3f436b0 +0, 39, 39, 1, 224400, 0x409aeb83 +0, 40, 40, 1, 224400, 0x02aa8a9f +0, 41, 41, 1, 224400, 0x4ca56d10 +0, 42, 42, 1, 224400, 0xc4953167 +0, 43, 43, 1, 224400, 0x6e085312 +0, 44, 44, 1, 224400, 0xd525541d +0, 45, 45, 1, 224400, 0x8573f7c3 +0, 46, 46, 1, 224400, 0x5858a86d +0, 47, 47, 1, 224400, 0x4fed6ed8 +0, 48, 48, 1, 224400, 0x96568d31 1, 32000, 32000, 8000, 16000, 0x88c62b9f -0, 49, 49, 1, 224400, 0xc6da714c -0, 50, 50, 1, 224400, 0xf675e838 -0, 51, 51, 1, 224400, 0xdc047c76 -0, 52, 52, 1, 224400, 0xe5727de5 -0, 53, 53, 1, 224400, 0x153b0f62 -0, 54, 54, 1, 224400, 0x65922f68 -0, 55, 55, 1, 224400, 0x04e04bfb -0, 56, 56, 1, 224400, 0x1dde6c88 -0, 57, 57, 1, 224400, 0xed3905f2 -0, 58, 58, 1, 224400, 0x211a5996 -0, 59, 59, 1, 224400, 0xd010baaf -0, 60, 60, 1, 224400, 0xcbc9f272 +0, 49, 49, 1, 224400, 0x3b54ae6c +0, 50, 50, 1, 224400, 0x8f3d2433 +0, 51, 51, 1, 224400, 0x5958b77e +0, 52, 52, 1, 224400, 0xb79db87b +0, 53, 53, 1, 224400, 0xcf294bfa +0, 54, 54, 1, 224400, 0x3aba6df4 +0, 55, 55, 1, 224400, 0xdbdc8fd5 +0, 56, 56, 1, 224400, 0xe863aff8 +0, 57, 57, 1, 224400, 0xa00d4770 +0, 58, 58, 1, 224400, 0xe17d9b92 +0, 59, 59, 1, 224400, 0x065cfc0b +0, 60, 60, 1, 224400, 0x4d0530f1 1, 40000, 40000, 8000, 16000, 0x48c7c649 -0, 61, 61, 1, 224400, 0x7380d6f0 -0, 62, 62, 1, 224400, 0xfd0bf084 -0, 63, 63, 1, 224400, 0xc4d671d9 -0, 64, 64, 1, 224400, 0x84236aa5 -0, 65, 65, 1, 224400, 0x9c584ede -0, 66, 66, 1, 224400, 0xdb0c6029 -0, 67, 67, 1, 224400, 0x775ae560 -0, 68, 68, 1, 224400, 0xe3800916 -0, 69, 69, 1, 224400, 0x9313a8e8 -0, 70, 70, 1, 224400, 0x3a5d07cc -0, 71, 71, 1, 224400, 0x4651a10b -0, 72, 72, 1, 224400, 0xc2d72183 +0, 61, 61, 1, 224400, 0x57da171f +0, 62, 62, 1, 224400, 0x59d82f1d +0, 63, 63, 1, 224400, 0x7996ac83 +0, 64, 64, 1, 224400, 0x8071a3cb +0, 65, 65, 1, 224400, 0xc5378b0c +0, 66, 66, 1, 224400, 0x0e099d31 +0, 67, 67, 1, 224400, 0x73d71ffb +0, 68, 68, 1, 224400, 0x2d9a3eb4 +0, 69, 69, 1, 224400, 0xe203d9a0 +0, 70, 70, 1, 224400, 0xc27933d0 +0, 71, 71, 1, 224400, 0xc09fcfd9 +0, 72, 72, 1, 224400, 0xa1054c2b 1, 48000, 48000, 8000, 16000, 0x2e7a742a -0, 73, 73, 1, 224400, 0xcd971625 -0, 74, 74, 1, 224400, 0x9fb0f3c2 -0, 75, 75, 1, 224400, 0x920ee561 -0, 76, 76, 1, 224400, 0x8a2c1bbf -0, 77, 77, 1, 224400, 0x6150c072 -0, 78, 78, 1, 224400, 0x499dc869 +0, 73, 73, 1, 224400, 0x88114671 +0, 74, 74, 1, 224400, 0x3ebb2185 +0, 75, 75, 1, 224400, 0x65a71008 +0, 76, 76, 1, 224400, 0x10bb4815 +0, 77, 77, 1, 224400, 0x36f3e9c0 +0, 78, 78, 1, 224400, 0x9bfdf203 diff --git a/tests/ref/vsynth/vsynth1-cinepak b/tests/ref/vsynth/vsynth1-cinepak index 7cb33220e74..1307b88b803 100644 --- a/tests/ref/vsynth/vsynth1-cinepak +++ b/tests/ref/vsynth/vsynth1-cinepak @@ -1,4 +1,4 @@ 6b9b4d2b32854fd8b0f84ee4d76b1fed *tests/data/fate/vsynth1-cinepak.avi 408910 tests/data/fate/vsynth1-cinepak.avi -4acdcc3e664d12facbcefc389079cfa6 *tests/data/fate/vsynth1-cinepak.out.rawvideo -stddev: 61.38 PSNR: 12.37 MAXDIFF: 223 bytes: 7603200/ 921600 +5f4a7f8c76e177bbcdab6b63bf1d70b1 *tests/data/fate/vsynth1-cinepak.out.rawvideo +stddev: 61.39 PSNR: 12.37 MAXDIFF: 223 bytes: 7603200/ 921600 diff --git a/tests/ref/vsynth/vsynth2-cinepak b/tests/ref/vsynth/vsynth2-cinepak index 72b87941160..050eb41d24e 100644 --- a/tests/ref/vsynth/vsynth2-cinepak +++ b/tests/ref/vsynth/vsynth2-cinepak @@ -1,4 +1,4 @@ 675d6a4370c315dc53c219a9271be4c6 *tests/data/fate/vsynth2-cinepak.avi 400720 tests/data/fate/vsynth2-cinepak.avi -cbf6900b882b484bc531f9b4799c226e *tests/data/fate/vsynth2-cinepak.out.rawvideo -stddev: 80.96 PSNR: 9.96 MAXDIFF: 229 bytes: 7603200/ 921600 +5fcc1fa663c1bd5faa53db2bf1743038 *tests/data/fate/vsynth2-cinepak.out.rawvideo +stddev: 80.98 PSNR: 9.96 MAXDIFF: 229 bytes: 7603200/ 921600 diff --git a/tests/ref/vsynth/vsynth_lena-cinepak b/tests/ref/vsynth/vsynth_lena-cinepak index c9cb2cfaba7..73a55d6e9c8 100644 --- a/tests/ref/vsynth/vsynth_lena-cinepak +++ b/tests/ref/vsynth/vsynth_lena-cinepak @@ -1,4 +1,4 @@ a79f907fecb95c8a5b5de670ccda215b *tests/data/fate/vsynth_lena-cinepak.avi 407952 tests/data/fate/vsynth_lena-cinepak.avi -2664cdff5f14508e891477b498cc840e *tests/data/fate/vsynth_lena-cinepak.out.rawvideo -stddev: 58.10 PSNR: 12.85 MAXDIFF: 185 bytes: 7603200/ 921600 +873aa3286d36d93cf18e21cdad2105bc *tests/data/fate/vsynth_lena-cinepak.out.rawvideo +stddev: 58.11 PSNR: 12.85 MAXDIFF: 186 bytes: 7603200/ 921600 -- 2.54.1 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
