Some examples:
For H.2*** decode
./mxc_vpu_test.out -D "-i /usr/vectors/h2***/vga.2*** -f 2"
For MPEG4 decode with rotation
./mxc_vpu_test.out -D "-i /usr/vectors/mp4/d1.mpeg4 -f 0 -r 90"
Using the config file
./mxc_vpu_test.out -C config_dec
For H.2*** encode
./mxc_vpu_test.out -E "-o out.2*** -w 240 -h 320 -f 2"
Doing a simultaneous encode and decode
./mxc_vpu_test.out -E "-o enc.2*** -w 176 -h 144 -f 0" -D "-i /vectors/vga.2*** -f 2"
Using the loopback test (The enocoded image from the camera is decoded immediately)
./mxc_vpu_test.out -L "-f 2 -w 240 -h 320 -t 1"
Network use case:
Board 1 (IP = 10.0.0.1)
./mxc_vpu_test.out -D "-f 2 -s 1 -t 1" -E "-n 10.0.0.2 -w 240 -h 320 -f 2 -t 1"
Board 2 (IP = 10.0.0.2)
./mxc_vpu_test.out -D "-f 2 -s 2 -t 1" -E "-n 10.0.0.1 -w 240 -h 320 -f 2 -t 1"
Note:
1) Please don't select "-u" option on MX27 since there is no IPU rotation on MX27.
2) Suggest to enable prescan option by "-s 1" in decoder to scan streaming buffer to check data is enough or not to prevent vpu hang in network use case.
3) Suggest to enable CbCr interleave by "-t 1" since performance is better.
Usage: ./mxc_vpu_test.out -D "" -E "" -L "" -C -H display this help
decode options
-i Read input from file
If no input file is specified, default is network
-o