Single and Multi Channel H.264 Decoder
This application shows how to test single and multi-channel decoder on RTOS.
Core Details
- It runs on R5F(MCU2-1) TI-RTOS
Steps to run the application
- Build the application and related libraries as mentioned in Build Instructions
- Create a .cfg file named "ParamConfig_<n>.cfg" with fields as shown below (n can be from 1-100 depends on the number of test bits-streams in SD card)
- "width" & "height"
- "in_pixelformat" & "out_pixelformat"
- "input_stream_size" and "input_stream" to point to the input data
- "output_file" to specify output filename
- A sample ParamConfig_1.cfg below. Please do not remove sd: from input/output file names
5 input_stream_size=sd:AUD_MW_E.bin
6 input_stream=sd:AUD_MW_E.264
7 output_stream=sd:AUD_MW_E.yuv
- User can have 100 config files with continuous numbering.
- User should copy the input bitstream and frame size file in .bin format along with its .cfg file to the SD card.
- Run the app as shown below
- Type help in UART to know the options. Select Single or Multi channel usecase.
- Single Channel will start decoding from "ParamConfig_1.cfg" to "ParamConfig_n.cfg" sequencially.
- Multi Channel will start with parallel decoding of 2 streams. 1st channel will start from "ParamConfig_1.cfg" to "ParamConfig_n.cfg" sequencially, while 2nd channel will start from "ParamConfig_2.cfg" to "ParamConfig_n.cfg" sequencially. Ex: Channel-0 will decode the streams 0,1,2,3,...n while channel-1 will decode 1,2,3,4...n
- Output will be generated as "chId_0_output_file", "chId_1_output_file" as specified in .cfg file