diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2013-08-08 20:27:24 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2013-09-22 16:20:54 +0200 |
commit | 547c2f002a87f4412a83c23b0d60364be5e7ce58 (patch) | |
tree | b7ae4ce31ea8d8344a54c1290a4f690936d46a80 /tests/ref | |
parent | a5cbf1991c3d04b0be3c23ee0a7096b5a365cc85 (diff) | |
download | ffmpeg-547c2f002a87f4412a83c23b0d60364be5e7ce58.tar.gz |
Make decoding alpha optional for some codecs.
For codecs where decoding of a whole plane can simply
be skipped, we should offer applications to not decode
alpha for better performance (ca. 30% less CPU usage
and 40% reduced memory bandwidth).
It also means applications do not need to implement support
(even if it is rather simple) for YUVA formats in order to be
able to play these files.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'tests/ref')
-rw-r--r-- | tests/ref/fate/prores-alpha_skip | 3 | ||||
-rw-r--r-- | tests/ref/fate/prores-transparency_skip | 5 | ||||
-rw-r--r-- | tests/ref/fate/vp6a-skip_alpha | 94 |
3 files changed, 102 insertions, 0 deletions
diff --git a/tests/ref/fate/prores-alpha_skip b/tests/ref/fate/prores-alpha_skip new file mode 100644 index 0000000000..bdb5c6ee70 --- /dev/null +++ b/tests/ref/fate/prores-alpha_skip @@ -0,0 +1,3 @@ +#tb 0: 100/2997 +0, 0, 0, 1, 12441600, 0x254d8f95 +0, 1, 1, 1, 12441600, 0x254d8f95 diff --git a/tests/ref/fate/prores-transparency_skip b/tests/ref/fate/prores-transparency_skip new file mode 100644 index 0000000000..a2921a4e41 --- /dev/null +++ b/tests/ref/fate/prores-transparency_skip @@ -0,0 +1,5 @@ +#tb 0: 1/25 +#tb 1: 1/48000 +0, 0, 0, 1, 12441600, 0x58bff47d +1, 0, 0, 1024, 4096, 0x00000000 +1, 1024, 1024, 896, 3584, 0x00000000 diff --git a/tests/ref/fate/vp6a-skip_alpha b/tests/ref/fate/vp6a-skip_alpha new file mode 100644 index 0000000000..91a099c58b --- /dev/null +++ b/tests/ref/fate/vp6a-skip_alpha @@ -0,0 +1,94 @@ +#tb 0: 1/4 +0, 0, 0, 1, 81000, 0xcb92962d +0, 1, 1, 1, 81000, 0xae381904 +0, 2, 2, 1, 81000, 0x1fcc0c75 +0, 3, 3, 1, 81000, 0x023f0c21 +0, 4, 4, 1, 81000, 0xad691402 +0, 5, 5, 1, 81000, 0x42390be0 +0, 6, 6, 1, 81000, 0xc1c10a4e +0, 7, 7, 1, 81000, 0x9c0315ac +0, 8, 8, 1, 81000, 0xc2a315a7 +0, 9, 9, 1, 81000, 0x3a631392 +0, 10, 10, 1, 81000, 0x11591414 +0, 11, 11, 1, 81000, 0x1a551125 +0, 12, 12, 1, 81000, 0x2e1efa4f +0, 13, 13, 1, 81000, 0x4aa3f016 +0, 14, 14, 1, 81000, 0x74c029d8 +0, 15, 15, 1, 81000, 0xdee9a98b +0, 16, 16, 1, 81000, 0xdf3502d5 +0, 17, 17, 1, 81000, 0x4653536b +0, 18, 18, 1, 81000, 0x7f658c75 +0, 19, 19, 1, 81000, 0xab18ff13 +0, 20, 20, 1, 81000, 0xac2b8f3b +0, 21, 21, 1, 81000, 0xd61ff094 +0, 22, 22, 1, 81000, 0x425bfc2b +0, 23, 23, 1, 81000, 0x6be7ecd3 +0, 24, 24, 1, 81000, 0x0b0ee65b +0, 25, 25, 1, 81000, 0x3c6f146b +0, 26, 26, 1, 81000, 0x27c4e9c8 +0, 27, 27, 1, 81000, 0x174022c4 +0, 28, 28, 1, 81000, 0x3320fe81 +0, 29, 29, 1, 81000, 0x7a3c342e +0, 30, 30, 1, 81000, 0x448b4346 +0, 31, 31, 1, 81000, 0xd285b23d +0, 32, 32, 1, 81000, 0x852ed590 +0, 33, 33, 1, 81000, 0xc9d3df17 +0, 34, 34, 1, 81000, 0x4d23727b +0, 35, 35, 1, 81000, 0x1fae66cd +0, 36, 36, 1, 81000, 0x384d54ab +0, 37, 37, 1, 81000, 0x2fee6ba3 +0, 38, 38, 1, 81000, 0xd7ad6f59 +0, 39, 39, 1, 81000, 0xaf5e3e76 +0, 40, 40, 1, 81000, 0x10fceda4 +0, 41, 41, 1, 81000, 0xb26df92b +0, 42, 42, 1, 81000, 0xd6676e08 +0, 43, 43, 1, 81000, 0xff6b1b95 +0, 44, 44, 1, 81000, 0x6196d598 +0, 45, 45, 1, 81000, 0x833ebf1b +0, 46, 46, 1, 81000, 0x7b085af1 +0, 47, 47, 1, 81000, 0xe8f583b4 +0, 48, 48, 1, 81000, 0x3426d5e4 +0, 49, 49, 1, 81000, 0x214069ed +0, 50, 50, 1, 81000, 0x7dbdfd3f +0, 51, 51, 1, 81000, 0xf19b3f45 +0, 52, 52, 1, 81000, 0x0f05c7e2 +0, 53, 53, 1, 81000, 0xba94e323 +0, 54, 54, 1, 81000, 0x0de7b0c2 +0, 55, 55, 1, 81000, 0xfcf93c55 +0, 56, 56, 1, 81000, 0x8a8dbd55 +0, 57, 57, 1, 81000, 0xddf22b97 +0, 58, 58, 1, 81000, 0x49a830ff +0, 59, 59, 1, 81000, 0x82ab2a4b +0, 60, 60, 1, 81000, 0xd23420e5 +0, 61, 61, 1, 81000, 0x7c1017d1 +0, 62, 62, 1, 81000, 0x9aa61b38 +0, 63, 63, 1, 81000, 0x2a724a18 +0, 64, 64, 1, 81000, 0xc18055f2 +0, 65, 65, 1, 81000, 0xecba3855 +0, 66, 66, 1, 81000, 0x0eed6b0f +0, 67, 67, 1, 81000, 0x4be73816 +0, 68, 68, 1, 81000, 0xa681214e +0, 69, 69, 1, 81000, 0x4958f83d +0, 70, 70, 1, 81000, 0xca0f0d61 +0, 71, 71, 1, 81000, 0x3c453de1 +0, 72, 72, 1, 81000, 0xff60360a +0, 73, 73, 1, 81000, 0xdcef0949 +0, 74, 74, 1, 81000, 0xe5e3732d +0, 75, 75, 1, 81000, 0x39747fd4 +0, 76, 76, 1, 81000, 0x6bec70e6 +0, 77, 77, 1, 81000, 0x7026a8c0 +0, 78, 78, 1, 81000, 0x92de5b61 +0, 79, 79, 1, 81000, 0x3f00507f +0, 80, 80, 1, 81000, 0x5620c377 +0, 81, 81, 1, 81000, 0x39f5ed38 +0, 82, 82, 1, 81000, 0x6ee35d67 +0, 83, 83, 1, 81000, 0x4f99a409 +0, 84, 84, 1, 81000, 0x0a05b6ea +0, 85, 85, 1, 81000, 0xd6c442d9 +0, 86, 86, 1, 81000, 0x0bb3d2f0 +0, 87, 87, 1, 81000, 0x6891c5b1 +0, 88, 88, 1, 81000, 0xf16ba9be +0, 89, 89, 1, 81000, 0xba53528e +0, 90, 90, 1, 81000, 0xc847de49 +0, 91, 91, 1, 81000, 0xc5b2e2b0 +0, 92, 92, 1, 81000, 0xb0b497ff |