Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/android/media/mediaediting/cts/ | 15-Dec-2024 | - | 3,890 | 2,852 | ||
Android.bp | D | 15-Dec-2024 | 1.5 KiB | 51 | 48 | |
AndroidManifest.xml | D | 15-Dec-2024 | 1.4 KiB | 37 | 17 | |
AndroidTest.xml | D | 15-Dec-2024 | 3.7 KiB | 65 | 47 | |
DynamicConfig.xml | D | 15-Dec-2024 | 827 | 21 | 5 | |
OWNERS | D | 15-Dec-2024 | 160 | 4 | 3 | |
README.md | D | 15-Dec-2024 | 2.2 KiB | 60 | 40 |
README.md
1# CTS mediaediting tests 2The tests are organized into following testcases 3 4| TestCase | Description | 5|------------------------|----------------------| 6| TranscodeQualityTest | Transcode input and validate output using ssim | 7| VideoResolutionTest | Transform resolution of input videos and validate output resolution | 8| TransformReverseTransformIdentityTest | Test verify that quality shouldn't be reduced too much when scaling/resizing and then reversing the operation. | 9| TransformHdrToSdrToneMapTest | Test transform HDR to SDR ToneMapping for given input and verify that ouput shouldn't have HDR profile. | 10| TransformVideoAspectRatio | Test transform aspects ratio of input videos and validate the output resolution according to the requested aspect ratio. | 11 12 13## List of tests and helper classes imported from [androidx.media3.transformer](https://github.com/androidx/media/tree/release/libraries/transformer when it was at version 1.1.1) and changes done in them. 14 15### AndroidTestUtil.java 16No Change. 17 18### ExportTestResult.java 19No Change. 20 21### FallbackDetails.java 22No Change. 23 24### FileUtil.java 25No Change. 26 27### MssimCalculator.java 28No change. 29 30### SsimHelper.java 31No change. 32 33### TransformerAndroidTestRunner.java 34No Change. 35 36### VideoDecodingWrapper.java 37No change. 38 39### TranscodeQualityTest.java 40Parameterize `TranscodeQualityTest` and added more test vectors in it. 41 42 43## List of new helper class and Tests added. 44 45###MediaEditingUtil.java 46It has paths for the input clips required for TranscodeQualityTest. Test now uses MediaPreparer to download zip file mentioned in DynamicConfig.xml and use input clips from sdcard. 47Added util function to parse width, height and roationDegree from muxed output. 48 49### VideoResolutionTest.java 50Test transform resolution of input videos and validate the output resolution. 51 52### TransformReverseTransformIdentityTest.java 53Test verify that quality shouldn't be reduced too much when scaling/resizing and then reversing the operation. 54 55### TransformHdrToSdrToneMapTest.java 56Test transform HDR to SDR ToneMapping for given input and verify that ouput shouldn't have HDR profile. 57 58### TransformVideoAspectRatio.java 59Test transform aspects ratio of input videos and validate the output resolution according to the requested aspect ratio. 60