summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-06-16 13:38:52 +0200
committerAnton Khirnov <anton@khirnov.net>2016-07-25 13:57:01 +0200
commitf1c6fb9d640276ec17d6f83d735badaa1bf70a0d (patch)
tree3dc7867e6e238b15307087b14fca0205b6b4daf5
parent79d199a3e7f4afdc0b41859bc9451e1a88775a28 (diff)
cfhd: Set default BitPerComponent value to 12, as per spec
-rw-r--r--libavcodec/cfhd.c2
-rw-r--r--tests/ref/fate/cfhd-256
2 files changed, 29 insertions, 29 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index 49ce1b250f..9d84f4b69f 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -59,7 +59,7 @@ static void init_frame_defaults(CFHDContext *s)
{
s->coded_width = 0;
s->coded_height = 0;
- s->bpc = 10;
+ s->bpc = 12;
s->channel_cnt = 4;
s->subband_cnt = 10;
s->channel_num = 0;
diff --git a/tests/ref/fate/cfhd-2 b/tests/ref/fate/cfhd-2
index 91c612d7ac..5d5c48f27c 100644
--- a/tests/ref/fate/cfhd-2
+++ b/tests/ref/fate/cfhd-2
@@ -1,29 +1,29 @@
#tb 0: 1000000/23976023
-0, 0, 0, 1, 3686400, 0xcab2cf91
-0, 1, 1, 1, 3686400, 0xf8ca574b
-0, 2, 2, 1, 3686400, 0x8433bae1
-0, 3, 3, 1, 3686400, 0x43082f7d
-0, 4, 4, 1, 3686400, 0x7a94eb93
-0, 5, 5, 1, 3686400, 0x3718db8c
-0, 6, 6, 1, 3686400, 0x64942d1d
-0, 7, 7, 1, 3686400, 0x9cda1cb0
-0, 8, 8, 1, 3686400, 0x4e8995e4
-0, 9, 9, 1, 3686400, 0x231cf996
-0, 10, 10, 1, 3686400, 0xe7b20103
-0, 11, 11, 1, 3686400, 0x24480bfa
-0, 12, 12, 1, 3686400, 0x26c9497f
-0, 13, 13, 1, 3686400, 0x45e2bfc9
-0, 14, 14, 1, 3686400, 0x513386c2
-0, 15, 15, 1, 3686400, 0xeeb4b506
-0, 16, 16, 1, 3686400, 0x58c2736b
-0, 17, 17, 1, 3686400, 0xb6ed645d
-0, 18, 18, 1, 3686400, 0xf272840c
-0, 19, 19, 1, 3686400, 0x5aec051b
-0, 20, 20, 1, 3686400, 0x3b0ab5dc
-0, 21, 21, 1, 3686400, 0xdb3ed68b
-0, 22, 22, 1, 3686400, 0x215e5ae0
-0, 23, 23, 1, 3686400, 0xde13328d
-0, 24, 24, 1, 3686400, 0xe75626ad
-0, 25, 25, 1, 3686400, 0x1b0b4e4f
-0, 26, 26, 1, 3686400, 0x3e0dc086
-0, 27, 27, 1, 3686400, 0x8d6082b0
+0, 0, 0, 1, 3686400, 0xa20a61ea
+0, 1, 1, 1, 3686400, 0x2e1e1d16
+0, 2, 2, 1, 3686400, 0xf30f9307
+0, 3, 3, 1, 3686400, 0xb70182c9
+0, 4, 4, 1, 3686400, 0x4638f7a8
+0, 5, 5, 1, 3686400, 0xb56e8e25
+0, 6, 6, 1, 3686400, 0xd195f517
+0, 7, 7, 1, 3686400, 0x0cc37a5c
+0, 8, 8, 1, 3686400, 0x7ff3426e
+0, 9, 9, 1, 3686400, 0x565385f7
+0, 10, 10, 1, 3686400, 0xf847da08
+0, 11, 11, 1, 3686400, 0xca2302d3
+0, 12, 12, 1, 3686400, 0xc8ec1342
+0, 13, 13, 1, 3686400, 0x9f0152c0
+0, 14, 14, 1, 3686400, 0x646f1b39
+0, 15, 15, 1, 3686400, 0xbe203ddb
+0, 16, 16, 1, 3686400, 0x1b1da68a
+0, 17, 17, 1, 3686400, 0x7fa0f895
+0, 18, 18, 1, 3686400, 0x621252af
+0, 19, 19, 1, 3686400, 0x7f2de611
+0, 20, 20, 1, 3686400, 0xd544a335
+0, 21, 21, 1, 3686400, 0xd5a07071
+0, 22, 22, 1, 3686400, 0x1dff4eea
+0, 23, 23, 1, 3686400, 0xefeac466
+0, 24, 24, 1, 3686400, 0x811e2075
+0, 25, 25, 1, 3686400, 0xcd32c76d
+0, 26, 26, 1, 3686400, 0x7327079c
+0, 27, 27, 1, 3686400, 0xa0ada2cf