aboutsummaryrefslogtreecommitdiffstats
path: root/tests/filtergraphs
diff options
context:
space:
mode:
authorRodger Combs <rodger.combs@gmail.com>2016-10-25 01:28:43 -0500
committerRodger Combs <rodger.combs@gmail.com>2016-10-26 20:13:30 -0500
commitf53c26c694c94bb93fb49d72b6439b792b125fe8 (patch)
tree0a5036ce9f86861ed8e6e7f52e87b2e78fdf87a2 /tests/filtergraphs
parentbf709098c9ee922473c9b51db90e0ca1bf971c72 (diff)
downloadffmpeg-f53c26c694c94bb93fb49d72b6439b792b125fe8.tar.gz
lavfi/vf_overlay: support NV12 and NV21
Tested-by: Michael on x86-32/64 linux, mingw, mips/arm qemu linux
Diffstat (limited to 'tests/filtergraphs')
-rw-r--r--tests/filtergraphs/overlay_nv125
-rw-r--r--tests/filtergraphs/overlay_nv215
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/filtergraphs/overlay_nv12 b/tests/filtergraphs/overlay_nv12
new file mode 100644
index 0000000000..ec82cbef2e
--- /dev/null
+++ b/tests/filtergraphs/overlay_nv12
@@ -0,0 +1,5 @@
+sws_flags=+accurate_rnd+bitexact;
+split [main][over];
+[over] scale=88:72, pad=96:80:4:4 [overf];
+[main] format=nv12 [mainf];
+[mainf][overf] overlay=240:16:format=yuv420, format=yuv420p
diff --git a/tests/filtergraphs/overlay_nv21 b/tests/filtergraphs/overlay_nv21
new file mode 100644
index 0000000000..9c30d07b26
--- /dev/null
+++ b/tests/filtergraphs/overlay_nv21
@@ -0,0 +1,5 @@
+sws_flags=+accurate_rnd+bitexact;
+split [main][over];
+[over] scale=88:72, pad=96:80:4:4 [overf];
+[main] format=nv21 [mainf];
+[mainf][overf] overlay=240:16:format=yuv420, format=yuv420p