[mpi_dec_multi_test]: Add quiet flag to disable log

Change-Id: Iea28d4377212e4c18a91f30762ae8ec135702c16
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2021-04-26 14:44:02 +08:00
parent c01259d4fe
commit 841022f529
3 changed files with 22 additions and 6 deletions

View File

@@ -332,6 +332,10 @@ RK_S32 mpi_dec_test_parse_options(int argc, char **argv, MpiDecTestCmd* cmd)
goto PARSE_OPINIONS_OUT;
}
} break;
case 'q' : {
cmd->quiet = 1;
optindex--;
} break;
default : {
mpp_err("skip invalid opt %c\n", *opt);
} break;