mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fate: add yuv420p10 and yuv422p10 tests for overlay filter
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
parent
dacae40a4b
commit
2f5994679b
@ -223,6 +223,10 @@ FATE_FILTER_VSYNTH-$(call ALLYES, SPLIT_FILTER SCALE_FILTER PAD_FILTER OVERLAY_F
|
||||
fate-filter-overlay_yuv420: tests/data/filtergraphs/overlay_yuv420
|
||||
fate-filter-overlay_yuv420: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/overlay_yuv420
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, SPLIT_FILTER SCALE_FILTER PAD_FILTER OVERLAY_FILTER) += fate-filter-overlay_yuv420p10
|
||||
fate-filter-overlay_yuv420p10: tests/data/filtergraphs/overlay_yuv420p10
|
||||
fate-filter-overlay_yuv420p10: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/overlay_yuv420p10 -pix_fmt yuv420p10le -frames:v 3
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, SPLIT_FILTER SCALE_FILTER PAD_FILTER OVERLAY_FILTER) += fate-filter-overlay_nv12
|
||||
fate-filter-overlay_nv12: tests/data/filtergraphs/overlay_nv12
|
||||
fate-filter-overlay_nv12: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/overlay_nv12
|
||||
@ -237,6 +241,10 @@ FATE_FILTER_VSYNTH-$(call ALLYES, SPLIT_FILTER SCALE_FILTER PAD_FILTER OVERLAY_F
|
||||
fate-filter-overlay_yuv422: tests/data/filtergraphs/overlay_yuv422
|
||||
fate-filter-overlay_yuv422: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/overlay_yuv422
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, SPLIT_FILTER SCALE_FILTER PAD_FILTER OVERLAY_FILTER) += fate-filter-overlay_yuv422p10
|
||||
fate-filter-overlay_yuv422p10: tests/data/filtergraphs/overlay_yuv422p10
|
||||
fate-filter-overlay_yuv422p10: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/overlay_yuv422p10 -pix_fmt yuv422p10le -frames:v 3
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, SPLIT_FILTER SCALE_FILTER PAD_FILTER OVERLAY_FILTER) += fate-filter-overlay_yuv444
|
||||
fate-filter-overlay_yuv444: tests/data/filtergraphs/overlay_yuv444
|
||||
fate-filter-overlay_yuv444: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/overlay_yuv444
|
||||
|
5
tests/filtergraphs/overlay_yuv420p10
Normal file
5
tests/filtergraphs/overlay_yuv420p10
Normal file
@ -0,0 +1,5 @@
|
||||
sws_flags=+accurate_rnd+bitexact;
|
||||
split [main][over];
|
||||
[over] scale=88:72, format=yuv420p10, pad=96:80:4:4 [overf];
|
||||
[main] format=yuv420p10 [mainf];
|
||||
[mainf][overf] overlay=240:16:format=yuv420p10
|
5
tests/filtergraphs/overlay_yuv422p10
Normal file
5
tests/filtergraphs/overlay_yuv422p10
Normal file
@ -0,0 +1,5 @@
|
||||
sws_flags=+accurate_rnd+bitexact;
|
||||
split [main][over];
|
||||
[over] scale=88:72, format=yuv420p10, pad=96:80:4:4 [overf];
|
||||
[main] format=yuv420p10 [mainf];
|
||||
[mainf][overf] overlay=240:16:format=yuv422p10
|
8
tests/ref/fate/filter-overlay_yuv420p10
Normal file
8
tests/ref/fate/filter-overlay_yuv420p10
Normal file
@ -0,0 +1,8 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 352x288
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 1, 304128, 0x29a6ca86
|
||||
0, 1, 1, 1, 304128, 0x82950e6f
|
||||
0, 2, 2, 1, 304128, 0x8363d1d8
|
8
tests/ref/fate/filter-overlay_yuv422p10
Normal file
8
tests/ref/fate/filter-overlay_yuv422p10
Normal file
@ -0,0 +1,8 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 352x288
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 1, 405504, 0x11108b36
|
||||
0, 1, 1, 1, 405504, 0x9d5f7c2a
|
||||
0, 2, 2, 1, 405504, 0x25373098
|
Loading…
Reference in New Issue
Block a user