The current directory contains the following folders: audio, common, component, master and video.
Besides common, all other folders contain basic OMX unit tests for testing audio and video decoder-encoder components. common constitutes files that are used across test applications.
Enumerates all the omx components (and their roles) available in android media framework.
Usage:
VtsHalMediaOmxV1_0TargetMasterTest -I default
This folder includes test fixtures that tests aspects common to all OMX compatible components. For instance, port enabling/disabling, enumerating port formats, state transitions, flush etc. stay common to all components irrespective of the service they offer. In a way this tests the OMX Core. Every standard OMX compatible component is expected to pass these tests.
Usage:
VtsHalMediaOmxV1_0TargetComponentTest -I default -C -R
This folder includes test fixtures associated with audio encoder/decoder components such as encoding/decoding, EOS test, timestamp test etc. These tests are aimed towards testing the component specific aspects.
Usage:
VtsHalMediaOmxV1_0TargetAudioDecTest -I default -C -R audio_decoder.
VtsHalMediaOmxV1_0TargetAudioEncTest -I default -C -R audio_encoder.
This folder includes test fixtures associated with video encoder/decoder components like encoding/decoding, EOS test, timestamp test etc. These tests are aimed towards testing the component specific aspects.
Usage:
VtsHalMediaOmxV1_0TargetVideoDecTest -I default -C -R video_decoder.
VtsHalMediaOmxV1_0TargetVideoEncTest -I default -C -R video_encoder.
Every component shall be tested by two applications,
ComponentTest.
AudioDecTest/AudioEncTest/VideoDecTest/VideoEncTest depending on the component class.