Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
Android.bp | 22-Oct-2020 | 622 | |
media_c2_hidl_test_common.cpp | 22-Oct-2020 | 5.1K | |
media_c2_hidl_test_common.h | 22-Oct-2020 | 6.3K | |
README.md | 22-Oct-2020 | 1.9K |
1 ## Codec2 VTS Hal @ 1.0 tests ## 2 --- 3 #### master : 4 Functionality of master is to enumerate all the Codec2 components available in C2 media service. 5 6 usage: VtsHalMediaC2V1\_0TargetMasterTest -I default 7 8 #### component : 9 Functionality of component test is to validate common functionality across all the Codec2 components available in C2 media service. For a standard C2 component, these tests are expected to pass. 10 11 usage: VtsHalMediaC2V1\_0TargetComponentTest -I software -C <comp name> 12 example: VtsHalMediaC2V1\_0TargetComponentTest -I software -C c2.android.vorbis.decoder 13 14 #### audio : 15 Functionality of audio test is to validate audio specific functionality Codec2 components. The resource files for this test are taken from media/codec2/hidl/1.0/vts/functional/res. The path to these files on the device is required to be given for bitstream tests. 16 17 usage: VtsHalMediaC2V1\_0TargetAudioDecTest -I default -C <comp name> -P /sdcard/media/ 18 usage: VtsHalMediaC2V1\_0TargetAudioEncTest -I software -C <comp name> -P /sdcard/media/ 19 20 example: VtsHalMediaC2V1\_0TargetAudioDecTest -I software -C c2.android.flac.decoder -P /sdcard/media/ 21 example: VtsHalMediaC2V1\_0TargetAudioEncTest -I software -C c2.android.opus.encoder -P /sdcard/media/ 22 23 #### video : 24 Functionality of video test is to validate video specific functionality Codec2 components. The resource files for this test are taken from media/codec2/hidl/1.0/vts/functional/res. The path to these files on the device is required to be given for bitstream tests. 25 26 usage: VtsHalMediaC2V1\_0TargetVideoDecTest -I default -C <comp name> -P /sdcard/media/ 27 usage: VtsHalMediaC2V1\_0TargetVideoEncTest -I software -C <comp name> -P /sdcard/media/ 28 29 example: VtsHalMediaC2V1\_0TargetVideoDecTest -I software -C c2.android.avc.decoder -P /sdcard/media/ 30 example: VtsHalMediaC2V1\_0TargetVideoEncTest -I software -C c2.android.vp9.encoder -P /sdcard/media/ 31 32