tree: 067f4bd199c06420f3089609a3d4b94bf822098f [path history] [tgz]
  1. audio/
  2. common/
  3. component/
  4. master/
  5. video/
  6. README.md
media/omx/1.0/vts/functional/README.md

Codec OMX Tests


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.

master

Enumerates all the omx components (and their roles) available in android media framework.

Usage:

VtsHalMediaOmxV1_0TargetMasterTest -I default

component

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

audio

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.

video

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.

notes

Every component shall be tested by two applications,

  • ComponentTest.

  • AudioDecTest/AudioEncTest/VideoDecTest/VideoEncTest depending on the component class.