Skip to content
Snippets Groups Projects

Fix encoder command line parsing for layer-wise parameters

Merged Karsten Suehring requested to merge ksuehring/VVCSoftware_VTM:layer_enc_params into master

At the encoder there are long parameters like "--QP=32" and short parameters like "-q 32"

For layer parameters -lx (with x being the layer index) the encoder always assumes that -lx is followed by two parameters, which is only true for short type parameters.

This checks for "--" in the first parameter following -lx and only reads a second parameter, if "--" is not found at the beginning.

Note: This also fixes a crash when there is no or only one parameter after -lx

Edited by Karsten Suehring

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading