Decode the single frame of ticoraw/nikon-zr-r3dne-cut.mov, once with one
thread and once with four slice threads. Both runs must give the same
framecrc.

The sample is one Nikon ZR R3D NE frame, cut to 6060x402: six full slices
and one partial slice of five precincts.

Signed-off-by: Alper Kagan AVCI <[email protected]>
---
 tests/Makefile                        |  1 +
 tests/fate/ticoraw.mak                | 11 +++++++++++
 tests/ref/fate/ticoraw-nikon-zr-r3dne |  6 ++++++
 3 files changed, 18 insertions(+)
 create mode 100644 tests/fate/ticoraw.mak
 create mode 100644 tests/ref/fate/ticoraw-nikon-zr-r3dne

diff --git a/tests/Makefile b/tests/Makefile
index 0656946f11..b173b081c0 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -270,6 +270,7 @@ include $(SRC_PATH)/tests/fate/source.mak
 include $(SRC_PATH)/tests/fate/spdif.mak
 include $(SRC_PATH)/tests/fate/speedhq.mak
 include $(SRC_PATH)/tests/fate/subtitles.mak
+include $(SRC_PATH)/tests/fate/ticoraw.mak
 include $(SRC_PATH)/tests/fate/truehd.mak
 include $(SRC_PATH)/tests/fate/utvideo.mak
 include $(SRC_PATH)/tests/fate/vbn.mak
diff --git a/tests/fate/ticoraw.mak b/tests/fate/ticoraw.mak
new file mode 100644
index 0000000000..77bbc6663f
--- /dev/null
+++ b/tests/fate/ticoraw.mak
@@ -0,0 +1,11 @@
+FATE_TICORAW-$(call FRAMECRC, MOV, TICO_RAW) += fate-ticoraw-nikon-zr-r3dne
+fate-ticoraw-nikon-zr-r3dne: CMD = framecrc -i 
$(TARGET_SAMPLES)/ticoraw/nikon-zr-r3dne-cut.mov
+
+FATE_TICORAW-$(call FRAMECRC, MOV, TICO_RAW) += 
fate-ticoraw-nikon-zr-r3dne-slice
+fate-ticoraw-nikon-zr-r3dne-slice: CMD = framecrc -i 
$(TARGET_SAMPLES)/ticoraw/nikon-zr-r3dne-cut.mov
+fate-ticoraw-nikon-zr-r3dne-slice: REF = 
$(SRC_PATH)/tests/ref/fate/ticoraw-nikon-zr-r3dne
+fate-ticoraw-nikon-zr-r3dne-slice: THREADS = 4
+fate-ticoraw-nikon-zr-r3dne-slice: THREAD_TYPE = slice
+
+FATE_SAMPLES_FFMPEG += $(FATE_TICORAW-yes)
+fate-ticoraw: $(FATE_TICORAW-yes)
diff --git a/tests/ref/fate/ticoraw-nikon-zr-r3dne 
b/tests/ref/fate/ticoraw-nikon-zr-r3dne
new file mode 100644
index 0000000000..9fbd9baec1
--- /dev/null
+++ b/tests/ref/fate/ticoraw-nikon-zr-r3dne
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 6060x402
+#sar 0: 0/1
+0,          0,          0,        1,  4872240, 0x9ab183ff
-- 
2.56.1

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to