- 24 Feb, 2023 11 commits
-
-
This call may cause performance overhead in some situations, for example if the AudioTrack needs to query an offload DSP for the current position. We don't need to check this multiple times per doSomeWork iteration as the value is unlikely to change in any meaningful way. PiperOrigin-RevId: 510957116
tonihei committed -
Before, if the upstream AssetLoader provides HDR to the VideoSamplePipeline when HDR_MODE_EXPERIMENTAL_FORCE_INTERPRET_HDR_AS_SDR is requested, the VideoSamplePipeline would attempt to tell the AssetLoader to output SDR, which could be accomplished via MediaCodec tone-mapping in the AssetLoader. However, this makes an assumption of the AssetLoader implementation, and AssetLoaders may not all implement support for decoder tone-mapping. Remove javadoc attempting to explain how AssetLoaders (ex. custom ones) could behave. PiperOrigin-RevId: 510956820
huangdarwin committed -
This method uses sampleRate, channelCount and pcmEncoding, so passing AudioFormat is easier. This will lead into a future change that builds the encoderInputAudioFormat from encoder.getConfigurationFormat() PiperOrigin-RevId: 510956177
samrobinson committed -
Rename: * MatrixShaderProgram to DefaultShaderProgram, and * FinalMatrixShaderProgramWrapper to FinalShaderProgramWrapper. PiperOrigin-RevId: 510498547
huangdarwin committed -
Rename ScaleToFitTransformation to ScaleAndRotateTransformation. This better represents the operations that can be accomplished using this effect. The name was originally named ScaleToFit* because it's not obvious how to scale to fit using OpenGL, and this effect handled the scaling to fit in a way that no other MatrixTransformations did. However, it's hard to discover how to rotate when skimming names of effects, so it's probably more useful to convey that this effect rotates, than that it scales to fit. PiperOrigin-RevId: 510480078
huangdarwin committed -
Format.toString unfortunately doesn't log colorInfo, and as Format holds a very large set of values, it's unclear that it should. ColorInfo is useful for codec exceptions though, so log this in ExportException.createForCodec. PiperOrigin-RevId: 510475520
huangdarwin committed -
resolving comments from https://github.com/google/ExoPlayer/commit/8aa1638fe46c02d12f59a9768422a8787e09e97c. PiperOrigin-RevId: 510457401
tofunmi committed -
#minor-release Issue: androidx/media#245 PiperOrigin-RevId: 510456793
bachinger committed -
PiperOrigin-RevId: 510441777
tofunmi committed -
PiperOrigin-RevId: 510437262
andrewlewis committed -
PiperOrigin-RevId: 510433206
sheenachhabra committed
-
- 17 Feb, 2023 22 commits
-
-
christosts committed
-
Only the version need to be updated. No changes in class or package mappings since the last release. PiperOrigin-RevId: 510385733
bachinger committed -
Also rename to forceAudioTrack PiperOrigin-RevId: 510394620
kimvde committed -
Only the version need to be updated. No changes in class or package mappings since the last release. PiperOrigin-RevId: 510385733
bachinger committed -
PiperOrigin-RevId: 510384933
kimvde committed -
PiperOrigin-RevId: 510377977
tofunmi committed -
Adds a new option to the preset file list to show an image for 5secs at 30fps. Also adds an ImageView to show the input image PiperOrigin-RevId: 510372035
tofunmi committed -
Following changes are included: 1. Move BoxesTest.java into muxer module. 2. Change test code to use dump file infra. BoxesTest.java does not cover all the boxes implemented in Boxes.java so created a WI to track it b/269471752 PiperOrigin-RevId: 510219645
sheenachhabra committed -
Otherwise, a lack of HDR decoding support will result in the tests checking output files for HDR output, like HdrEditingTest.transform_noRequestedTranscode_hdr10File_transformsOrThrows, failing. PiperOrigin-RevId: 510213020
huangdarwin committed -
This space was added by mistake in a prior CL of mine. PiperOrigin-RevId: 510157363
samrobinson committed -
PiperOrigin-RevId: 510155318
huangdarwin committed -
This allows us to fix usage of HDR_MODE_EXPERIMENTAL_FORCE_INTERPRET_HDR_AS_SDR. Before, this was checked in the VideoSamplePipeline, which no longer decides on the decoder configuration input format. PiperOrigin-RevId: 510142097
huangdarwin committed -
PiperOrigin-RevId: 510118760
kimvde committed -
It's unlikely anyone will try to use Transformer on watches. PiperOrigin-RevId: 510115645
andrewlewis committed -
PiperOrigin-RevId: 510100709
claincly committed -
Some of the test methods in `TransformationTest` don't check capabilities. Add a check just scoped to decoding (not checking encoding, but the default encoder factory may fall back). PiperOrigin-RevId: 510088562
andrewlewis committed -
PiperOrigin-RevId: 510087543
kimvde committed -
PiperOrigin-RevId: 510077348
huangdarwin committed -
PiperOrigin-RevId: 510062674
kimvde committed -
Previously, any constructors instrumented by Robolectric were made public. This caused two types of issues: 1) If Android classes had non-public constructors which were made public and added to the Android API, Robolectric allowed tests to incorrectly use the constructors on older SDK levels (where they were non-public). This most commonly occurs for AccessibiltyEvent and AccessibilityNodeInfo. 2) When reflection was used to instantiate classes that were instrumented by Robolectric, all constructors were accessible, which did not match what happened when running on an Android test. Update the instrumentation in Robolectric to prevent making all public constructors. PiperOrigin-RevId: 510049123
Googler committed -
Rename FrameProcessor to VideoFrameProcessor, and GlEffectsFrameProcessor to DefaultVideoFrameProcessor. Most changes are semi-mechanical, semi-manual find-replace, preserving case: * "FrameProc" -> "VideoFrameProc" (ex. FrameProcessor -> VideoFrameProcessor, and FrameProcessingException -> VideoFrameProcessingException) * "GlEffectsVideoFrameProc" -> "DefaultVideoFrameProc" PiperOrigin-RevId: 509887384
huangdarwin committed -
PiperOrigin-RevId: 509879029
andrewlewis committed
-
- 16 Feb, 2023 3 commits
-
-
r2.18.3
christosts committed -
#minor-release PiperOrigin-RevId: 509867431 (cherry picked from commit 482871fe)
christosts committed -
#minor-release PiperOrigin-RevId: 509864205 (cherry picked from commit 19d4a588)
christosts committed
-
- 15 Feb, 2023 4 commits
-
-
#minor-release PiperOrigin-RevId: 509867431
christosts committed -
#minor-release PiperOrigin-RevId: 509864205
christosts committed -
PiperOrigin-RevId: 509808913
tofunmi committed -
PiperOrigin-RevId: 509802784
andrewlewis committed
-