Commit 4378aa8
committed
[UT][WATERMARK] add gvawatermark display config parsing and behavioral tests
Add GStreamer Check tests for displ-cfg acceptance (all 10 config
keys), behavioral verification (show-labels toggles text rendering,
thickness scales pixel count, show-roi/hide-roi filter ROIs), edge
cases (show-roi+hide-roi conflict where show-roi wins, invalid config
value triggers pipeline error, multiple ROIs produce more pixels), and
a design-revealing test (show-labels=false silently disables show-roi
parsing due to nesting in parse_displ_config).
Not tested: font-scale/font-type/draw-txt-bg/text-x/text-y pixel-level
behavioral verification, tensor-driven rendering (landmarks, masks,
keypoints, OBB), displ-avgfps integration, VA/GPU render path.
Signed-off-by: Walid <walid.aly@intel.com>1 parent 7b8f4d4 commit 4378aa8
File tree
4 files changed
+443
-1
lines changed- tests/unit_tests/check/elements
- watermark
- test_watermark
4 files changed
+443
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments