mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Remove internal instructions from test-generated-goldens/README.md
PiperOrigin-RevId: 621163748
This commit is contained in:
parent
308c4c4fbf
commit
59710a5f81
1 changed files with 0 additions and 25 deletions
|
|
@ -3,28 +3,3 @@ Expected first frame after a
|
||||||
transformation. Used to validate that frame operations produce expected output
|
transformation. Used to validate that frame operations produce expected output
|
||||||
in
|
in
|
||||||
[pixel tests](https://github.com/androidx/media/tree/main/libraries/transformer/src/androidTest/java/androidx/media3/transformer).
|
[pixel tests](https://github.com/androidx/media/tree/main/libraries/transformer/src/androidTest/java/androidx/media3/transformer).
|
||||||
|
|
||||||
<!-- copybara:strip_begin -->
|
|
||||||
|
|
||||||
To generate new "expected" assets:
|
|
||||||
|
|
||||||
1. Start an emulator with the same configuration as on presubmit. The emulator
|
|
||||||
is given
|
|
||||||
[here](http://cs/f:transformer/src/androidTest/BUILD$%20test_e2e_)
|
|
||||||
and can be run locally, using go/crow:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
crow --device generic_phone --api_level 33 --arch x86
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Run the test.
|
|
||||||
|
|
||||||
3. Copy the file from the device to the assets directory, e.g.,
|
|
||||||
|
|
||||||
```shell
|
|
||||||
adb pull \
|
|
||||||
/sdcard/Android/data/androidx.media3.effect.test/cache/drawFrame_rotate90.png \
|
|
||||||
third_party/java_src/android_libs/media/libraries/test_data/src/test/assets/media/bitmap/sample_mp4_first_frame/electrical_colors/rotate90.png
|
|
||||||
```
|
|
||||||
|
|
||||||
<!-- copybara:strip_end -->
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue