diff --git a/scripts/gen_jvt.py b/scripts/gen_jvt.py index 421c8d3..20556a6 100755 --- a/scripts/gen_jvt.py +++ b/scripts/gen_jvt.py @@ -47,7 +47,7 @@ ] MD5_EXTS = ["yuv_2.md5", "yuv.md5", ".md5", "md5.txt", "md5sum.txt"] MD5_EXCLUDES = [".bin.md5", "bit.md5"] -RAW_EXTS = ["nogray.yuv", ".yuv", ".qcif"] +RAW_EXTS = ["nogray.yuv", ".yuv", ".YUV", ".qcif"] class HREFParser(HTMLParser): @@ -193,6 +193,29 @@ def generate(self, download, jobs): else: raise key_err + exceptions_checksum = [ + # Output checksum of all below test vectors from JVT-FRExt has to be calculated by means of + # executing a run with the reference decoder, `fluster.py -f ...` + "alphaconformanceG", # Raw reference files are split streams and give false checksum value + "FREH10-1", + "FREH10-2", + "Hi422FR1_SONY_A", + "Hi422FR2_SONY_A", + "Hi422FR3_SONY_A", + "Hi422FR4_SONY_A", + "Hi422FR6_SONY_A", + "Hi422FR7_SONY_A", + "Hi422FR8_SONY_A", + "Hi422FR9_SONY_A", + "Hi422FREXT16_SONY_A", + "Hi422FREXT17_SONY_A", + "Hi422FREXT18_SONY_A", + "Hi422FREXT19_SONY_A", + ] + + if test_vector.name in exceptions_checksum: + continue + if self.name not in ( "Professional_profiles", "MVC", @@ -284,20 +307,20 @@ def remove_r1_from_path(path): generator.generate(not args.skip_download, args.jobs) generator = JVTGenerator( - "MVC", - "JVT-MVC", + "FRExt", + "JVT-FR-EXT", Codec.H264, - "JVT Multiview Video Coding test suite", + "JVT Fidelity Range Extension test suite", H264_URL, True, ) generator.generate(not args.skip_download, args.jobs) generator = JVTGenerator( - "SVC", - "JVT-SVC", + "MVC", + "JVT-MVC", Codec.H264, - "JVT Scalable Video Coding test suite", + "JVT Multiview Video Coding test suite", H264_URL, True, ) @@ -312,3 +335,13 @@ def remove_r1_from_path(path): True, ) generator.generate(not args.skip_download, args.jobs) + + generator = JVTGenerator( + "SVC", + "JVT-SVC", + Codec.H264, + "JVT Scalable Video Coding test suite", + H264_URL, + True, + ) + generator.generate(not args.skip_download, args.jobs) diff --git a/test_suites/h264/JVT-FR-EXT.json b/test_suites/h264/JVT-FR-EXT.json index 3f4cb9e..14a2551 100644 --- a/test_suites/h264/JVT-FR-EXT.json +++ b/test_suites/h264/JVT-FR-EXT.json @@ -1,7 +1,7 @@ { "name": "JVT-FR-EXT", "codec": "H.264", - "description": "JVT Fidelity Range Extensions", + "description": "JVT Fidelity Range Extension test suite", "test_vectors": [ { "name": "alphaconformanceG",