samrobinson
e3484d632f
Remove space in exception message.
...
This space was added by mistake in a prior CL of mine.
PiperOrigin-RevId: 510157363
2023-02-17 11:53:03 +00:00
huangdarwin
77ea31e01c
HDR: Add comment explaining force-SDR and AssetLoader interaction.
...
PiperOrigin-RevId: 510155318
2023-02-17 11:52:13 +00:00
huangdarwin
fb8bbce5f1
HDR: Put force HDR as SDR into AssetLoader
...
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
2023-02-17 11:51:23 +00:00
kimvde
221c5afb1b
Rename occurrences of transform in lib-transformer
...
PiperOrigin-RevId: 510118760
2023-02-17 11:50:20 +00:00
andrewlewis
5d8a83f924
Remove Pixel watch check
...
It's unlikely anyone will try to use Transformer on watches.
PiperOrigin-RevId: 510115645
2023-02-17 11:49:29 +00:00
claincly
cec603393d
Fix a missed rename.
...
PiperOrigin-RevId: 510100709
2023-02-17 11:48:39 +00:00
andrewlewis
2ed5819a19
Check capabilities for more tests
...
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
2023-02-17 11:45:46 +00:00
kimvde
afb52627b6
Rename TransformationTest to ExportTest
...
PiperOrigin-RevId: 510087543
2023-02-17 11:44:57 +00:00
huangdarwin
ece49e3515
Effects: Update javadoc to link to method.
...
PiperOrigin-RevId: 510077348
2023-02-17 11:44:05 +00:00
kimvde
c2fdab847f
Rename TransformationException to ExportException
...
PiperOrigin-RevId: 510062674
2023-02-17 11:42:50 +00:00
Googler
5410286955
Update instrumentation to avoid making all constructors public
...
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
2023-02-17 11:41:53 +00:00
huangdarwin
cf768329e6
Effect: Rename FrameProcessor
...
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
2023-02-17 11:41:06 +00:00
andrewlewis
41a03dd8a6
Fix some minor nits
...
PiperOrigin-RevId: 509879029
2023-02-17 11:40:13 +00:00
christosts
f72ca83383
Merge pull request #10995 from google/release-v2-r2.18.3
...
r2.18.3
2023-02-16 17:03:04 +00:00
christosts
f17e846d3d
Merge pull request #251 from androidx/release-1.0.0-rc01
...
1.0.0 rc01
2023-02-16 17:03:01 +00:00
christosts
68ca3996aa
Update javadoc for ExoPlayer 2.18.3
...
#minor-release
PiperOrigin-RevId: 509867431
(cherry picked from commit 482871fed4 )
2023-02-16 10:30:06 +00:00
christosts
57bd86125c
Update javadoc for ExoPlayer 2.18.3
...
#minor-release
PiperOrigin-RevId: 509864205
(cherry picked from commit 19d4a58829 )
2023-02-16 10:30:06 +00:00
christosts
482871fed4
Update javadoc for ExoPlayer 2.18.3
...
#minor-release
PiperOrigin-RevId: 509867431
2023-02-15 18:37:02 +00:00
christosts
19d4a58829
Update javadoc for ExoPlayer 2.18.3
...
#minor-release
PiperOrigin-RevId: 509864205
2023-02-15 18:32:59 +00:00
tofunmi
5168a35654
Change FrameProcessor.create() inputTrackType parameter to a boolean
...
PiperOrigin-RevId: 509808913
2023-02-15 18:28:54 +00:00
andrewlewis
6d9baa6e99
Skip tests if muxing is unsupported
...
PiperOrigin-RevId: 509802784
2023-02-15 18:24:47 +00:00
tofunmi
7e33bdfc94
Change FrameProcessor.create() inputTrackType parameter to a boolean
...
PiperOrigin-RevId: 509808913
2023-02-15 18:17:52 +00:00
andrewlewis
f03a6ba0f0
Skip tests if muxing is unsupported
...
PiperOrigin-RevId: 509802784
2023-02-15 18:17:00 +00:00
christosts
f5d442fddb
Update javadoc for ExoPlayer 2.18.3
...
#minor-release
PiperOrigin-RevId: 509789955
(cherry picked from commit 4759e0075c )
2023-02-15 12:55:55 +00:00
christosts
4759e0075c
Update javadoc for ExoPlayer 2.18.3
...
#minor-release
PiperOrigin-RevId: 509789955
2023-02-15 12:35:16 +00:00
tofunmi
f7621aacc3
Move inputExternalSurfaceTexture to the ExternalTextureManager
...
Now that the GLEffectFrameProcessor handles external (video) and internal (image) input, components used only for external input needs should be moved to the ExternalTextureManager for code clarity
PiperOrigin-RevId: 509787494
2023-02-15 12:31:27 +00:00
samrobinson
7497b1e003
Use MediaFormatUtil for creating MediaFormat from Format.
...
PiperOrigin-RevId: 509785247
2023-02-15 12:27:43 +00:00
tofunmi
83b7946130
Move inputExternalSurfaceTexture to the ExternalTextureManager
...
Now that the GLEffectFrameProcessor handles external (video) and internal (image) input, components used only for external input needs should be moved to the ExternalTextureManager for code clarity
PiperOrigin-RevId: 509787494
2023-02-15 12:15:00 +00:00
samrobinson
3608c2e831
Use MediaFormatUtil for creating MediaFormat from Format.
...
PiperOrigin-RevId: 509785247
2023-02-15 12:14:10 +00:00
samrobinson
79a3464014
Clarify the mime type used in EncoderUtilTest.
...
PiperOrigin-RevId: 509750806
2023-02-15 12:12:33 +00:00
samrobinson
ee8832ff21
Align ASP and VSP on findSupportedMimeTypeForEncoder/Muxer logic.
...
* Moved the logic to SamplePipeline.
* Pass the requested values via Format.
* Moved exception throwing inside the methods.
* Build up the mimeTypesToCheck as a set - removing possible duplicate
checks.
* Simplified logic that calls the findSupportedMimeType method.
* Improved javadoc.
PiperOrigin-RevId: 509594062
2023-02-15 12:11:42 +00:00
samrobinson
ccc349abfd
Preserve aspect ratio when scaling resolution is insufficient.
...
PiperOrigin-RevId: 509546771
2023-02-15 12:10:48 +00:00
huangdarwin
b7d68fb62e
Effect: Add leading zero to decimals in floats.
...
PiperOrigin-RevId: 509518734
2023-02-15 12:09:53 +00:00
andrewlewis
3b7cf8f003
Add missing import for ExoPlayer v2 codebase
...
Issue: google/ExoPlayer#10989
PiperOrigin-RevId: 509771687
2023-02-15 10:49:11 +00:00
samrobinson
bcbe3f1f80
Clarify the mime type used in EncoderUtilTest.
...
PiperOrigin-RevId: 509750806
2023-02-15 10:45:30 +00:00
samrobinson
d91afa063a
Align ASP and VSP on findSupportedMimeTypeForEncoder/Muxer logic.
...
* Moved the logic to SamplePipeline.
* Pass the requested values via Format.
* Moved exception throwing inside the methods.
* Build up the mimeTypesToCheck as a set - removing possible duplicate
checks.
* Simplified logic that calls the findSupportedMimeType method.
* Improved javadoc.
PiperOrigin-RevId: 509594062
2023-02-15 10:41:50 +00:00
samrobinson
ccd8856dac
Preserve aspect ratio when scaling resolution is insufficient.
...
PiperOrigin-RevId: 509546771
2023-02-15 10:38:05 +00:00
christosts
7dbc2d4bec
Version bump for ExoPlayer 2.18.3 & media3-1.0.0-rc01
...
#minor-release
PiperOrigin-RevId: 509501665
(cherry picked from commit b18dccde2a )
2023-02-14 18:54:59 +00:00
christosts
f731a46a49
Update release notes for ExoPlayer 2.18.3
...
#minor-release
PiperOrigin-RevId: 509246479
(cherry picked from commit 8ff024e4c0 )
2023-02-14 18:54:59 +00:00
christosts
98bf30d2af
Version bump for ExoPlayer 2.18.3 & media3-1.0.0-rc01
...
#minor-release
PiperOrigin-RevId: 509501665
(cherry picked from commit 20eae0e041 )
2023-02-14 18:52:54 +00:00
christosts
9f432499fb
Minor fixes in release notes
...
PiperOrigin-RevId: 509222489
(cherry picked from commit a90728fdc6 )
2023-02-14 18:52:51 +00:00
christosts
3fdaf78fc4
Prepare media3 release notes for rc01
...
PiperOrigin-RevId: 509218510
(cherry picked from commit 7390922270 )
2023-02-14 18:49:26 +00:00
huangdarwin
ccdb3b7028
Effect: Add leading zero to decimals in floats.
...
PiperOrigin-RevId: 509518734
2023-02-14 15:09:58 +00:00
christosts
20eae0e041
Version bump for ExoPlayer 2.18.3 & media3-1.0.0-rc01
...
#minor-release
PiperOrigin-RevId: 509501665
2023-02-14 13:49:22 +00:00
christosts
b18dccde2a
Version bump for ExoPlayer 2.18.3 & media3-1.0.0-rc01
...
#minor-release
PiperOrigin-RevId: 509501665
2023-02-14 13:49:22 +00:00
tofunmi
74a307fc71
Fix InternalTextureManager so that all frames are sent downstream
...
PiperOrigin-RevId: 509478455
2023-02-14 11:23:29 +00:00
tofunmi
cdd924503a
Fix InternalTextureManager so that all frames are sent downstream
...
PiperOrigin-RevId: 509478455
2023-02-14 11:23:29 +00:00
Googler
56803bf1ad
Add exception cause to thrown exception
...
PiperOrigin-RevId: 509473556
2023-02-14 10:54:01 +00:00
Googler
08cf6db305
Add exception cause to thrown exception
...
PiperOrigin-RevId: 509473556
2023-02-14 10:54:01 +00:00
claincly
3aca3ad170
Use ColorInfo.Builder in transformer and common.
...
Because the ColorInfo constructor is deprecated.
PiperOrigin-RevId: 509468663
2023-02-14 10:28:33 +00:00