![]() |
TI MM H.264 Encoder User Guide
|
The tests run by vx_app_conformance for Encoder are located in:
This test reads a configuration file that can be changed to specify different test configuration parameters, as well as input streams and resolutions.
The encoder single and multi-channel tests read the stream configuration for each respective test from
These configuration files specify the test configuration, input file name, and resolution of the stream. These can be modified or overwritten before running the Single or Multi-channel test to configure what test streams are used.
Within the test configuration file, there are two variables of interest for changing test app behavior
num_iterations specifies the total number of frames to be encoded.
num_frames_in_ipfile specifies the total number of frames to be read from the input file
The test will run a total of num_iterations frames through the encoder, looping through the first num_frames_in_ipfile number of frames from the input file repeatedly until that is reached. Make sure num_frames_in_ipfile is not larger than the actual number of frames in the input file.
To change the test stream being used, update the following variables in the test configuration file to match your new input stream:
input_file
width
height
For the multi-channel test, there are *_0 and *_1 variants of these variables to specify which stream it refers among the two used in multi-channel testing.
Also make sure num_frames_in_ipfile is not larger than the actual number of frames in the shorter of the input files.