video: enhance GStreamer encode/decode test framework - #518
Conversation
- Add video-specific helper functionality in lib_gstreamer.sh - Enhance encode/decode execution workflow - Improve validation and artifact handling - Update README documentation Signed-off-by: nitinn <nitinn@qti.qualcomm.com>
8d9869d to
56f3538
Compare
Srikanth Muppandam (smuppand)
left a comment
There was a problem hiding this comment.
Move the functions out of run.sh to lib_gstreamer.sh. I see duplicates and still optimizations can be done.
The current commit carries ~1600 lines of code, split it into logical commits inside the same PR:
-
"gstreamer: add advanced video pipeline helpers"
- UVC discovery;
- stack-aware decoder arguments;
- advanced pipeline builders;
- common execution and validation helpers.
-
"video: add UVC and DRC GStreamer tests"
- UVC preview;
- DRC caps-transition validation;
- display prerequisites.
-
"video: add concurrent decode tests"
- H.264/H.265/MJPEG;
- dynamic session layout;
- concurrency-specific validation.
-
"video: add downstream advanced encode tests"
- smart encode;
- cyclic IR;
- slice MB;
- Rotate90;
- current-run artifact validation.
-
"docs: document advanced GStreamer video coverage"
- synchronized defaults;
- prerequisites;
- exact PASS/SKIP criteria;
- verified execution examples.
| [ -n "$sessions" ] || sessions="16" | ||
|
|
||
| # Build qtivcomposer with 4x4 grid layout | ||
| pipeline="qtivcomposer name=mix" |
There was a problem hiding this comment.
Validate a supported range at both the CLI and helper boundary, such as "1..16", and dynamically generate only the required composer pads and positions. Generate the grid from the requested session count or explicitly support only "16" and remove the configurable option.
The result/test name should also include the actual count:
testname="H264_Decode_Concurrency_${concurrencySessions}x480p"
Summary
Enhance the GStreamer video encode/decode test framework.
Changes
Validation