platform_hardware_interfaces/media/omx/1.0
Ram Mohan M 23c658f118 Omx VTS tests
Bug: 32023356
Test: make vts.

preload elementary stream information during decoding

instead of using extractor to get the frame boundaries, frame
flags and timestamp information, they are read from a metadata
file in the resources directory on demand. Instead of doing it
on demand, we load the entire file information and use it. This
modification comes in handy for future test fixtures

Change-Id: I3a434018111eb66008f17c24b4c2c16d0db22ed1

bug fix: wait on input consumption

after queuing all the frames that need to be processed by
the component, the application continues its job of deinitializing
the component before ensuring all the inputs were decoded.
This is corrected.

Change-Id: I09a11fd5badabe2889ba243383145be07be51953

add end of stream test for audio decoder

component is provided an input with nFlags field set OMX_BUFFERFLAG_EOS.
the application expects this flag to be returned via one of its output
buffers. this flag is passed to the component at different timings to test
the robustness.

Change-Id: I00e3fdd5ef50d93f2620d8b0e9fc3c358de428d7

add timestamp deviation test for decoder components

the list of timestamps received from the component is
compared with the list provided to the component for any
differences

Change-Id: Ifcc16b7a00f58e1c1dfdba9f538d307ddcbfcc71

add option to configure resource files path

default location of resource files is /sdcard/media/. client can provide
choice of this location via the option -P.

example: VtsHalMediaOmxV1_0TargetVideoDecTest -C <component> -R <role> -P /sdcard/res/

Change-Id: Ib8d3af03c19a171e3bbb9839f7e331cbe576b24b

add flush test for audio & video dec components

while decoding a group of frames, flush call is made and it is
checked if all the i/o buffers are sent back to client. we then
seek to the next keyframe and test for decoding. monotonous
increase of timestamps is ensured.

Change-Id: Id48c76c157ebdfdefd3003e57519da3bd9715973
2017-05-02 23:44:26 -07:00
..
vts/functional Omx VTS tests 2017-05-02 23:44:26 -07:00
Android.bp Merge changes from topic 'hidl-vendor-available' into oc-dev 2017-04-12 22:13:58 +00:00
IGraphicBufferSource.hal Make setTimeLapseConfig take frequencies instead of periods. 2017-04-20 18:28:55 -07:00
IOmx.hal Add IOmxStore and remove IOmxNode::setQuirks. 2017-04-07 23:49:16 -07:00
IOmxBufferSource.hal Start media.omx HIDL project. 2016-11-17 15:32:03 +00:00
IOmxNode.hal Add IOmxStore and remove IOmxNode::setQuirks. 2017-04-07 23:49:16 -07:00
IOmxObserver.hal Start media.omx HIDL project. 2016-11-17 15:32:03 +00:00
IOmxStore.hal Add IOmxStore and remove IOmxNode::setQuirks. 2017-04-07 23:49:16 -07:00
types.hal Add IOmxStore and remove IOmxNode::setQuirks. 2017-04-07 23:49:16 -07:00