• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/android/media/mediaediting/cts/15-Dec-2024-3,8902,852

Android.bpD15-Dec-20241.5 KiB5148

AndroidManifest.xmlD15-Dec-20241.4 KiB3717

AndroidTest.xmlD15-Dec-20243.7 KiB6547

DynamicConfig.xmlD15-Dec-2024827 215

OWNERSD15-Dec-2024160 43

README.mdD15-Dec-20242.2 KiB6040

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