summaryrefslogtreecommitdiff
path: root/tests/ref/fate
diff options
context:
space:
mode:
authorVignesh Venkatasubramanian via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>2023-10-04 09:40:15 -0700
committerJames Almer <jamrial@gmail.com>2024-01-09 16:44:14 -0300
commita0821345eb31b727d93c9c3ed7d74d2774c73afa (patch)
tree7b90f1b511afbcfb1e751b4b72ce6b1fdbd75619 /tests/ref/fate
parentbb819a4ef8ddd0a261f4eb9290a4b350a830450e (diff)
avformat/mov: Add support for demuxing still HEIC images
They are similar to AVIF images (both use the HEIF container). The only additional work needed is to parse the hvcC box and put it in the extradata. With this patch applied, ffmpeg (when built with an HEVC decoder) is able to decode the files in https://github.com/nokiatech/heif/tree/gh-pages/content/images Also add a couple of fate tests with samples from https://github.com/nokiatech/heif_conformance/tree/master/conformance_files Partially fixes trac ticket #6521. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/ref/fate')
-rw-r--r--tests/ref/fate/mov-heic-demux-still-image-1-item11
-rw-r--r--tests/ref/fate/mov-heic-demux-still-image-multiple-items11
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/ref/fate/mov-heic-demux-still-image-1-item b/tests/ref/fate/mov-heic-demux-still-image-1-item
new file mode 100644
index 0000000000..c850c1ff9c
--- /dev/null
+++ b/tests/ref/fate/mov-heic-demux-still-image-1-item
@@ -0,0 +1,11 @@
+#format: frame checksums
+#version: 2
+#hash: MD5
+#extradata 0, 100, 5444bf01e03182c73ae957179d560f4d
+#tb 0: 1/1
+#media_type 0: video
+#codec_id 0: hevc
+#dimensions 0: 1280x720
+#sar 0: 0/1
+#stream#, dts, pts, duration, size, hash
+0, 0, 0, 1, 111554, 03ceabfab39afd2e2e796b9362111f32
diff --git a/tests/ref/fate/mov-heic-demux-still-image-multiple-items b/tests/ref/fate/mov-heic-demux-still-image-multiple-items
new file mode 100644
index 0000000000..c850c1ff9c
--- /dev/null
+++ b/tests/ref/fate/mov-heic-demux-still-image-multiple-items
@@ -0,0 +1,11 @@
+#format: frame checksums
+#version: 2
+#hash: MD5
+#extradata 0, 100, 5444bf01e03182c73ae957179d560f4d
+#tb 0: 1/1
+#media_type 0: video
+#codec_id 0: hevc
+#dimensions 0: 1280x720
+#sar 0: 0/1
+#stream#, dts, pts, duration, size, hash
+0, 0, 0, 1, 111554, 03ceabfab39afd2e2e796b9362111f32