Skip to content

Commit 3cea459

Browse files
authored
HDR test pattern. (#113)
* Added in support for canvas (WebGL and WebGPU). Which turns out truncate the result. Signed-off-by: Sam.Richards@taurich.org <Sam.Richards@taurich.org> * Make sure we see a little more of the output. Signed-off-by: Sam.Richards@taurich.org <Sam.Richards@taurich.org> --------- Signed-off-by: Sam.Richards@taurich.org <Sam.Richards@taurich.org>
1 parent 2af8426 commit 3cea459

File tree

4 files changed

+822
-33
lines changed

4 files changed

+822
-33
lines changed

enctests/testframework/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ def identity_compare(source_dict, source_clip, test_ref, testname, comparisontes
523523
}
524524
else:
525525
result = {'success': True, 'testresult': lines[-1]}
526-
for line in lines[-2:]:
526+
for line in lines[-5:]:
527527
if filterquery+" " not in line:
528528
continue
529529
line = line.split(f" {filterquery} ")[1]

hdr/README

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Trying to test what HDR looks like in a browser, and what
2+
# the tonemapping looks like - https://www.itu.int/dms_pub/itu-r/opb/rep/R-REP-BT.2390-12-2025-PDF-E.pdf
3+
4+
5+
16
# Firstly we convert the test image, which should have a "Bad Image" in full rec2020 red, and a background which should be a rec709 red. I think the resulting image should be just red when tonemapped properly.
27

38
ffmpeg -y -i hdr_test_chart_v3_pq.tif -c:v libx265 -crf 18 -pix_fmt yuv420p10le -c:v libx265 -crf 18 -pix_fmt yuv420p10le -x265-params " \

0 commit comments

Comments
 (0)