andrewlewis
2315a39f52
Remove unused log tag constant
...
PiperOrigin-RevId: 466025324
2022-09-30 16:19:02 +00:00
hmzh
22b00d0e00
Add support for multiple mid-track tempo changes
...
PiperOrigin-RevId: 466018462
2022-09-30 16:17:58 +00:00
Rakesh Kumar
9f8d69929d
Fix review comment in CSD parsing of Mp4a-Latm Reader
...
Change-Id: I6fc07d88a7dbc52fc2fbe0e5ad45a53f8f25c4fd
2022-09-30 14:07:27 +05:30
Rakesh Kumar
4880057f92
Fix some more review comment in RTP Mp4a-Latm Reader
...
Change-Id: I9033d0bd93c6129c64c41ce70fef26bf8a6e4b6e
2022-09-30 14:05:53 +05:30
Rakesh Kumar
97afe69e92
Added support for CSD parsing in RTSP Mp4a-Latm Reader
...
Added support for parsing CSD data to get sample Rate and Channel
Count.
Change-Id: I69fb0fa2cb11453d3b9e416925d3776eb6dc19a3
2022-09-21 15:37:29 +05:30
Rakesh Kumar
15f9655e9f
Added Rtp Mp4a-Latm Reader Test
...
Change-Id: I0054e54183df0bb9370bf3fe7047076e285e1e8f
2022-09-08 11:22:30 +05:30
Rakesh Kumar
9648529591
Fix review comment in RTP Mp4a-latm Reader
...
Change-Id: I7c5c12d86589bdc3f88c336573759bcfb0e7ce1b
2022-09-08 11:21:13 +05:30
Rakesh Kumar
048aaf34dc
Add support for RTSP Mp4a-Latm
...
Added Mp4a-latm RTP Packet reader and added support for Mp4a-latm
playback through RTSP.
Change-Id: Ia590393f53ca880af926907843f6bea9ff0f4b35
2022-09-05 00:04:28 +05:30
Thuc Nguyen
6ffa8e2fd1
Fix "setMediaDrmSession failed: session not opened" when next between WV and ClearKey MediaItem
...
Exception when next or prev between MediaItem Widevine and ClearKey
2022-09-03 16:41:19 +07:00
a.mochalov
dec01c8355
fix ProgressiveDownloader infinite loop doe to priority
2022-08-30 14:12:24 +03:00
Ferhat Parmak
4fc015feca
Stop requirements watcher when download manager is released
...
Unregister listeners and callbacks when download manager is released.
2022-08-23 18:00:40 +02:00
Niklas Baudy
31e69d2dac
MediaSession.Callback: Document an example when onAddMediaItems is called.
2022-08-19 15:35:59 +02:00
Rohit Kumar Singh
4b4a9fe022
Merge pull request #155 from androidx/revert-149-DefaultMediaNotificationProvider-commas
...
Revert "DefaultMediaNotificationProvider: Fix missing comma in documentation."
2022-08-17 17:01:36 +01:00
Rohit Kumar Singh
7109d284a7
Revert "DefaultMediaNotificationProvider: Fix missing comma in documentation."
2022-08-17 17:00:56 +01:00
Rohit Kumar Singh
1aab26bc33
Merge pull request #149 from vanniktech/DefaultMediaNotificationProvider-commas
...
DefaultMediaNotificationProvider: Fix missing comma in documentation.
2022-08-17 16:52:49 +01:00
Niklas Baudy
42b5a6b211
DefaultMediaNotificationProvider: Fix missing comma in documentation.
2022-08-15 20:05:31 +02:00
leonwind
fe0cf05283
Switch @param to @code tags in RgbAdjustment.
...
PiperOrigin-RevId: 465591877
2022-08-05 17:20:54 +00:00
andrewlewis
2bd1a93d27
Throw if tone-mapping is requested but not enabled
...
In the case where this check fails, the downstream frame processor chain won't be able to handle the incoming (SDR) data anyway as we've already set it up for HDR.
PiperOrigin-RevId: 465584814
2022-08-05 16:49:26 +00:00
andrewlewis
2eb59fa1af
Clarify SSIM request method name
...
`requestCalculateSsim` more clearly represents the intention of the caller.
Also rephrase the javadoc to simplify it and make it more precise.
PiperOrigin-RevId: 465575578
2022-08-05 16:02:07 +00:00
hschlueter
c95bfe325d
Fix ConcurrentHashMap usage in demo MediaPipeProcessor.
...
PiperOrigin-RevId: 465563540
2022-08-05 14:56:54 +00:00
yschimke
1cfde16efd
Make AudioTrackBufferSizeProvider public.
...
Was getting "java.lang.IllegalAccessError: Illegal class access" in debug app.
PiperOrigin-RevId: 465562541
2022-08-05 14:51:07 +00:00
andrewlewis
16a325217a
Fix frame processor reference
...
PiperOrigin-RevId: 465562260
2022-08-05 14:49:23 +00:00
hschlueter
51a1a879fa
Use multiple output frames in transformer MediaPipe demo pre API 23.
...
PiperOrigin-RevId: 465545764
2022-08-05 12:58:48 +00:00
leonwind
a76dbfd363
Add RgbAdjustment class to build RgbaMatrices
...
* Add RgbaMatrix interface implementation.
* Add Builder class for easy adjustments.
* Adjust existing RgbaMatrixPixelTests to use new RgbAdjustment class.
PiperOrigin-RevId: 465545429
2022-08-05 12:56:26 +00:00
huangdarwin
348662283a
HDR: Add comment to clarify lack of support HDR10 for AVC
...
PiperOrigin-RevId: 465360186
2022-08-04 18:18:18 +00:00
claincly
80ec64696e
Factor out RTP timestamp to sample time method
...
PiperOrigin-RevId: 465337074
2022-08-04 16:49:03 +00:00
tonihei
afc928330b
Update README for beta release.
...
PiperOrigin-RevId: 465318320
2022-08-04 15:17:56 +00:00
yschimke
7893531888
Expose AudioOffload track state.
...
Adds a new event to AudioOffloadListener to get the offload state of the track, which indicates when software decoding is taking place.
PiperOrigin-RevId: 465264362
2022-08-04 09:47:41 +00:00
yschimke
a10af8ecda
AudioOffload recovery.
...
Avoids disabling Offload on a write error, and instead relies on this being disabled on the AudioTrack init. It will no longer recover by disabling offload.
PiperOrigin-RevId: 465248917
2022-08-04 08:00:57 +00:00
birdbird
22efef2dea
Disable badge in API 26 and 27
2022-08-04 07:20:02 +02:00
leonwind
2347db5d74
Remove clamp function in contrast fragment shader.
...
* OpenGL automatically clamps the output colors to the [0, 1] interval.
PiperOrigin-RevId: 465071999
2022-08-03 16:14:30 +00:00
andrewlewis
3c4ee51e10
Avoid encoder default color info when tone-mapping
...
The encoder color info [defaults](https://cs.android.com/android/platform/superproject/+/master:frameworks/av/media/libstagefright/foundation/ColorUtils.cpp;l=377;drc=891c19ccfa4953b5e5f7b87118e007b994d8074c ) to a value that depends on the input resolution, but when tone-mapping is enabled we should always get BT.709 color space. Hard-code this constant for now to avoid behavior depending on the resolution. A future change should use the decoder output media format to populate the color info.
PiperOrigin-RevId: 465070378
2022-08-03 16:06:45 +00:00
hschlueter
a28a508d2d
Fix saving previous debugSurfaceView in FinalMatrixTPWrapper.
...
PiperOrigin-RevId: 465067306
2022-08-03 15:52:24 +00:00
claincly
ed60c885f2
Clean up NOP constructor lines in RTP readers
...
PiperOrigin-RevId: 465067191
2022-08-03 15:51:48 +00:00
hschlueter
c5d1940fba
Clean up FrameProcessor TODOs.
...
PiperOrigin-RevId: 465044342
2022-08-03 13:53:53 +00:00
hschlueter
22725ddfa8
Move effects functionality out of transformer to effects module.
...
PiperOrigin-RevId: 465038852
2022-08-03 13:19:15 +00:00
olly
8762322060
Update Leanback library
2022-08-02 19:01:58 +00:00
hschlueter
4d09ca6698
Create effect module.
...
PiperOrigin-RevId: 464767396
2022-08-02 12:36:47 +00:00
leonwind
d15f2ed388
Implement RGBA color matrices processor
...
* Transform frame colors using a defined RGBA Matrix to apply filters.
PiperOrigin-RevId: 464523581
2022-08-08 08:36:03 +00:00
leonwind
ae1915ea1a
Migrate Contrast asset to emulator generated one.
...
PiperOrigin-RevId: 464519030
2022-08-08 08:35:12 +00:00
huangdarwin
687a50e9b3
HDR: Have @C.ColorTransfer check consider NO_VALUE as SDR.
...
Format.NO_VALUE is a placeholder value for an invalid @C.ColorTransfer, used
for example when the decoder doesn't support this transfer function.
When encountering this invalid value, interpret this as COLOR_TRANSFER_SDR.
Confirmed locally that an exception is thrown when transcoding on p4head, and no exception is thrown when transcoding with this CL.
PiperOrigin-RevId: 464135080
2022-08-08 08:34:12 +00:00
hschlueter
480c129c54
Move FrameProcessor and related interfaces to common.
...
This will allow effects preview in ExoPlayer to use the
Effect and FrameProcessor interface (and the interfaces
they depend on) without depending on transformer or the
future effects module.
PiperOrigin-RevId: 464060047
2022-08-08 08:33:22 +00:00
bachinger
a28b3ef778
Add interface version of MediaSessionStub
...
PiperOrigin-RevId: 464052708
2022-08-08 08:32:29 +00:00
leonwind
3fae9df8a9
Add slider option for contrast in demo app
...
PiperOrigin-RevId: 464050072
2022-08-08 08:30:43 +00:00
tonihei
61e4f92310
Merge pull request #109 from tzugen:patch-1
...
PiperOrigin-RevId: 464045351
2022-08-08 08:28:35 +00:00
huangdarwin
534740fd46
Transformer: Improve misc javadocs and exception logs.
...
PiperOrigin-RevId: 463971447
2022-08-08 08:26:35 +00:00
bachinger
c8089ead42
Add interface version of MediaControllerStub
...
PiperOrigin-RevId: 463930162
2022-08-08 08:25:47 +00:00
huangdarwin
65a2a3a0a0
HDR: Centralize getting Colorinfo from MediaFormat
...
* Sets KEY_HDR_STATIC_INFO from MediaFormat in the DefaultCodec.
* Adds checks in mediaparser to ensure color space, range, and transfer are valid
values.
PiperOrigin-RevId: 463921325
2022-08-08 08:24:51 +00:00
tonihei
92816023f1
Merge pull request #115 from ittiam-systems:rtp_vp9fix
...
PiperOrigin-RevId: 463852948
2022-08-08 08:23:56 +00:00
christosts
4713c7fea8
Minor: Change URL in test
...
Use a URL with a `.test` tld (RFC 2606) to make it clear
it's an testing URL.
PiperOrigin-RevId: 463852174
2022-08-08 08:23:04 +00:00