Some examples:

For H.264 decode
./mxc_vpu_test.out -D "-i /usr/vectors/h264/vga.264 -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.264 encode
./mxc_vpu_test.out -E "-o out.264 -w 240 -h 320 -f 2"

Doing a simultaneous encode and decode
./mxc_vpu_test.out -E "-o enc.264 -w 176 -h 144 -f 0" -D "-i /vectors/vga.264 -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 "<decode options>" -E "<encode options>" -L "<loopback options>" -C <config file> -H display this help

decode options
   -i <input file> Read input from file
        If no input file is specified, default is network
   -o <output file> Write output to file
        If no output is specified, default is LCD
   -f <format> 0 - MPEG4, 1 - H.263, 2 - H.264, 3 - VC1,
        4 - MPEG2, 5 - DIV3, 6 - RV, 7 - MJPG,
        If no format specified, default is 0 (MPEG4)
   -l <mp4Class> 0 - MPEG4, 1 - DIVX 5.0 or higher, 2 - XVID,
         5 - DIVX4.0
         This flag is effective when 'f' flag is 0 (MPEG4).
   -p <port number> UDP port number to bind
        If no port number is secified, 5555 is used
   -c <count> Number of frames to decode
   -d <deblocking> Enable deblock - 1. enabled
        default deblock is disabled (0).
   -e <dering> Enable dering - 1. enabled
        default dering is disabled (0).
   -r <rotation angle> 0, 90, 180, 270
        default rotation is disabled (0)
   -m <mirror direction> 0, 1, 2, 3
        default no mirroring (0)
   -u <ipu rotation> Using IPU rotation for display - 1. IPU rotation
         default is VPU rotation(0).
         This flag is effective when 'r' flag is specified.
   -w <width> display picture width
        default is source picture width.
   -h <height> display picture height
        default is source picture height
   -t <chromaInterleave> CbCr interleaved
         default is none-interleave(0).
   -s <prescan> Enable prescan in decoding - 1. enabled
         default is disabled.

encode options
   -i <input file> Read input from file (yuv)
        If no input file specified, default is camera
   -o <output file> Write output to file
        This option will be ignored if 'n' is specified
        If no output is specified, def files are created
   -n <ip address> Send output to this IP address
   -p <port number> UDP port number at server
        If no port number is secified, 5555 is used
   -f <format> 0 - MPEG4, 1 - H.263, 2 - H.264, 3 - VC1, 7 - MJPG
        If no format specified, default is 0 (MPEG4)
   -c <count> Number of frames to encode
   -r <rotation angle> 0, 90, 180, 270
        default rotation is disabled (0)
   -m <mirror direction> 0, 1, 2, 3
        default no mirroring (0)
   -w <width> capture image width
        default is 176.
   -h <height>capture image height
        default is 144
   -b <bitrate in kbps>
        default is auto (0)
   -g <gop size>
        default is 0
   -t <chromaInterleave> CbCr interleaved
         default is none-interleave(0).

loopback options
   -f <format> 0 - MPEG4, 1 - H.263, 2 - H.264, 3 - VC1, 7 - MJPG
        If no format specified, default is 0 (MPEG4)
   -w <width> capture image width
        default is 176.
   -h <height>capture image height
        default is 144
   -t <chromaInterleave> CbCr interleaved
         default is none-interleave(0).

config file - Use config file for specifying options
