leonwind
638d806a49
Add example CLUT to demo.
...
PiperOrigin-RevId: 476390089
(cherry picked from commit 5b3efa8ad9 )
2022-09-23 16:28:25 +00:00
leonwind
0a1f30aba5
Store LUT bitmap as texture with processor creation.
...
* Before this CL, the texture was stored during the construction of the LUT processor. This failed since if one creates a list of GlEffects on the application thread, the texture will get stored in the application thread during the effect creation and not on the GL thread, which executes the FrameProcessors.
* This is an issue since the executing thread then can't index from the texture stored on a different thread.
PiperOrigin-RevId: 476388021
(cherry picked from commit f745c6ee0e )
2022-09-23 16:19:43 +00:00
Marc Baechinger
d648c1910c
Merge pull request #123 from stoyicker:wrapping_media_source
...
PiperOrigin-RevId: 476376463
(cherry picked from commit 8623f1f016 )
2022-10-19 23:42:52 +00:00
leonwind
09e0dd8505
Store LUT bitmap as texture with processor creation.
...
* Before this CL, the texture was stored during the construction of the LUT processor. This failed since if one creates a list of GlEffects on the application thread, the texture will get stored in the application thread during the effect creation and not on the GL thread, which executes the FrameProcessors.
* This is an issue since the executing thread then can't index from the texture stored on a different thread.
PiperOrigin-RevId: 476388021
(cherry picked from commit 44b9aec0b9 )
2022-09-23 16:19:43 +00:00
Marc Baechinger
a7102992ba
Merge pull request #123 from stoyicker:wrapping_media_source
...
PiperOrigin-RevId: 476376463
(cherry picked from commit cac8c4f6e9 )
2022-09-30 18:15:30 +00:00
leonwind
61a2cc76aa
Add HSL Adjustments to the demo.
...
PiperOrigin-RevId: 476373520
(cherry picked from commit 5725ebbeea )
2022-09-23 15:11:52 +00:00
leonwind
20518cc151
Add HSL Adjustments to the demo.
...
PiperOrigin-RevId: 476373520
(cherry picked from commit 7626f70cef )
2022-09-23 15:11:52 +00:00
ibaker
55e44b1399
Fix broken links on https://exoplayer.dev/troubleshooting.html
...
#minor-release
PiperOrigin-RevId: 476366214
(cherry picked from commit 0969118041 )
2022-09-23 14:41:59 +00:00
leonwind
a21d79cf1f
Remove TODOs for merging RGB and MatrixTransformation processors.
...
PiperOrigin-RevId: 476362571
(cherry picked from commit 7eb0ce623b )
2022-09-23 14:21:38 +00:00
leonwind
91fb951e2a
Remove TODOs for merging RGB and MatrixTransformation processors.
...
PiperOrigin-RevId: 476362571
(cherry picked from commit af19f82f99 )
2022-09-23 14:21:38 +00:00
michaelkatz
dd425613b7
Try alternative decoder for Dolby Vision if display does not support
...
If the sample type is dolby vision and the following conditions match
a)There is a supported alternative codec mimetype
b)Display does not support Dolby Vision
Then getDecoderInfos will return the alternative types.
Issue: google/ExoPlayer#9794
PiperOrigin-RevId: 476356223
(cherry picked from commit ed79f4696f )
2022-09-23 13:43:21 +00:00
michaelkatz
9ac9322a45
Try alternative decoder for Dolby Vision if display does not support
...
If the sample type is dolby vision and the following conditions match
a)There is a supported alternative codec mimetype
b)Display does not support Dolby Vision
Then getDecoderInfos will return the alternative types.
Issue: google/ExoPlayer#9794
PiperOrigin-RevId: 476356223
(cherry picked from commit 94a88e93d9 )
2022-09-23 13:43:21 +00:00
huangdarwin
ab37184917
HDR: Assert output C.ColorTransfer for tests.
...
To confirm that tone mapping did or did not happen.
PiperOrigin-RevId: 476354606
(cherry picked from commit 87fd51a39b )
2022-09-23 13:33:28 +00:00
huangdarwin
a3a08f8355
HDR: Assert output C.ColorTransfer for tests.
...
To confirm that tone mapping did or did not happen.
PiperOrigin-RevId: 476354606
(cherry picked from commit df58107eae )
2022-09-23 13:33:28 +00:00
leonwind
25a5fdfdac
Add HSL Adjustments to the effects module.
...
PiperOrigin-RevId: 476144167
(cherry picked from commit dc9fa4f463 )
2022-09-22 17:56:54 +00:00
leonwind
55d3c5ac0c
Add HSL Adjustments to the effects module.
...
PiperOrigin-RevId: 476144167
(cherry picked from commit 2c27cd82f1 )
2022-09-22 17:56:54 +00:00
leonwind
63f9df5b1a
Add OETF and EOTF ES2 fragment shaders for non-HDR frames.
...
* Transform the intermediate color space to linear SDR by applying the SMPTE 170M EOTF and OETF.
* Use linear colors for the color filter pixel tests and update all golden bitmaps.
PiperOrigin-RevId: 476124592
(cherry picked from commit 3433758c3b )
2022-09-22 16:45:28 +00:00
leonwind
a534f60f56
Add OETF and EOTF ES2 fragment shaders for non-HDR frames.
...
* Transform the intermediate color space to linear SDR by applying the SMPTE 170M EOTF and OETF.
* Use linear colors for the color filter pixel tests and update all golden bitmaps.
PiperOrigin-RevId: 476124592
(cherry picked from commit afd829e5db )
2022-09-22 16:45:28 +00:00
ibaker
395d89a7b7
Work around a bug in the Android 13 ClearKey implementation
...
The ClearKey CDM will attach an 'invalid' URL in `KeyRequest` objects,
when the documentation states this should be an empty string if a
default URL is not known.
#minor-release
PiperOrigin-RevId: 476113513
(cherry picked from commit 715c948004 )
2022-09-22 15:59:44 +00:00
ibaker
eb496dabcd
Work around a bug in the Android 13 ClearKey implementation
...
The ClearKey CDM will attach an 'invalid' URL in `KeyRequest` objects,
when the documentation states this should be an empty string if a
default URL is not known.
#minor-release
PiperOrigin-RevId: 476113513
(cherry picked from commit 331d4d626f )
2022-09-22 15:59:44 +00:00
leonwind
873b806389
Add RGB Adjustments to transformer demo.
...
PiperOrigin-RevId: 476049125
(cherry picked from commit 9ccdd22e85 )
2022-09-22 10:04:42 +00:00
leonwind
109ab70e00
Add RGB Adjustments to transformer demo.
...
PiperOrigin-RevId: 476049125
(cherry picked from commit cfc0eef24e )
2022-09-22 10:04:42 +00:00
samrobinson
7ce758f40b
Add file size to TransformationResult at the end of a Transformation.
...
Tested:
* Manually using both path and file descriptor.
PiperOrigin-RevId: 475860978
(cherry picked from commit 9ec4e1340a )
2022-09-21 17:18:42 +00:00
samrobinson
61acf5871a
Add file size to TransformationResult at the end of a Transformation.
...
Tested:
* Manually using both path and file descriptor.
PiperOrigin-RevId: 475860978
(cherry picked from commit 08bb01b218 )
2022-09-21 17:18:42 +00:00
leonwind
ae18b30782
Use golden bitmaps in contrast pixel tests.
...
PiperOrigin-RevId: 475805421
(cherry picked from commit f00e43cf81 )
2022-09-21 12:53:42 +00:00
leonwind
b23c966c5a
Use golden bitmaps in contrast pixel tests.
...
PiperOrigin-RevId: 475805421
(cherry picked from commit 06c0040ab4 )
2022-09-21 12:53:42 +00:00
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
rohks
4d43f840f1
Fix instrumentation tests not working via Gradle
...
PiperOrigin-RevId: 475560401
(cherry picked from commit c96e010d35 )
2022-09-20 15:25:38 +00:00
rohks
a6f58bdb29
Fix instrumentation tests not working via Gradle
...
PiperOrigin-RevId: 475560401
(cherry picked from commit 6015f052ba )
2022-09-20 15:25:38 +00:00
leonwind
85f9ce3e74
Fix outdated command in bitmap/README.md.
...
* The command changed after creating a custom effects module.
PiperOrigin-RevId: 474777823
(cherry picked from commit 75141f3016 )
2022-09-16 10:40:19 +00:00
leonwind
0a811bd4a1
Fix outdated command in bitmap/README.md.
...
* The command changed after creating a custom effects module.
PiperOrigin-RevId: 474777823
(cherry picked from commit fd6b0d1551 )
2022-09-16 10:40:19 +00:00
yschimke
12e843ed60
Fix tracing under offload.
...
Currently doSomeWork is never closed and so tracing is deceiving.
See https://screenshot.googleplex.com/eZDzn5APpBNnhe5
PiperOrigin-RevId: 474755816
(cherry picked from commit 06230f19c7 )
2022-09-16 08:26:54 +00:00
yschimke
3af297101c
Fix tracing under offload.
...
Currently doSomeWork is never closed and so tracing is deceiving.
See https://screenshot.googleplex.com/eZDzn5APpBNnhe5
PiperOrigin-RevId: 474755816
(cherry picked from commit 005b73c82a )
2022-09-16 08:26:54 +00:00
leonwind
40cec25d20
Add LUT functionalities to transformer.
...
* Adds SDR 3D LUT functionalities with OpenGL 2.0 support.
PiperOrigin-RevId: 474561060
(cherry picked from commit f55a5146e0 )
2022-09-15 14:49:19 +00:00
leonwind
eb6cf356bb
Add LUT functionalities to transformer.
...
* Adds SDR 3D LUT functionalities with OpenGL 2.0 support.
PiperOrigin-RevId: 474561060
(cherry picked from commit 702419dd22 )
2022-09-15 14:49:19 +00:00
leonwind
80d4d3717c
Fix testId and match it to the test name.
...
PiperOrigin-RevId: 474363545
(cherry picked from commit ab6562e052 )
2022-09-14 19:41:11 +00:00
leonwind
b041e4dce6
Fix testId and match it to the test name.
...
PiperOrigin-RevId: 474363545
(cherry picked from commit 0e2b6a03b5 )
2022-09-14 19:41:11 +00:00
samrobinson
c7cd3b9c91
Add support for skipping windows in MssimCalculator.
...
By skipping every other row and column, SSIM calculation time reduces by 10-30%.
PiperOrigin-RevId: 474286702
(cherry picked from commit 314b312af1 )
2022-09-14 14:35:12 +00:00
samrobinson
3adfa48f34
Add support for skipping windows in MssimCalculator.
...
By skipping every other row and column, SSIM calculation time reduces by 10-30%.
PiperOrigin-RevId: 474286702
(cherry picked from commit 6dd2a6dac6 )
2022-09-14 14:35:12 +00:00
samrobinson
fec22cbc5c
Clarify the replaceOutputBuffer parameter because count is unclear.
...
PiperOrigin-RevId: 474279220
(cherry picked from commit bca9c9b280 )
2022-09-14 13:54:06 +00:00
samrobinson
766b9cd385
Clarify the replaceOutputBuffer parameter because count is unclear.
...
PiperOrigin-RevId: 474279220
(cherry picked from commit 3e0ad6d804 )
2022-09-14 13:54:06 +00:00
leonwind
74ec58514a
Change ContrastProcessor java doc for consistency.
...
PiperOrigin-RevId: 474002026
(cherry picked from commit 60ea64734b )
2022-09-13 13:28:30 +00:00
leonwind
2576346e45
Change ContrastProcessor java doc for consistency.
...
PiperOrigin-RevId: 474002026
(cherry picked from commit 7c435621ae )
2022-09-13 13:28:30 +00:00
samrobinson
eeba63ab3e
Add MssimCalculatorTest to verify SSIM calculations.
...
As part of this change, MssimCalculator is moved from androidTest/ to main/
PiperOrigin-RevId: 473771344
(cherry picked from commit 8ce42f0670 )
2022-09-12 16:45:36 +00:00
samrobinson
c4f4c42e1d
Add MssimCalculatorTest to verify SSIM calculations.
...
As part of this change, MssimCalculator is moved from androidTest/ to main/
PiperOrigin-RevId: 473771344
(cherry picked from commit 20aa22c9fa )
2022-09-12 16:45:36 +00:00
leonwind
46ff38ebe2
Add java docs for ContrastProcessor constructor.
...
* Add docs for the public constructor for consistency with all the
other frame processors.
PiperOrigin-RevId: 473726586
(cherry picked from commit 7a460fa3bd )
2022-09-12 13:02:32 +00:00
leonwind
5b084dd470
Add java docs for ContrastProcessor constructor.
...
* Add docs for the public constructor for consistency with all the
other frame processors.
PiperOrigin-RevId: 473726586
(cherry picked from commit 696ef2a5e7 )
2022-09-12 13:02:32 +00:00
leonwind
03a2fb1194
Add rgb matrices to java docs for public constructors.
...
PiperOrigin-RevId: 473699927
(cherry picked from commit 10cb5f17e0 )
2022-09-12 09:52:09 +00:00
leonwind
474a5571e2
Add rgb matrices to java docs for public constructors.
...
PiperOrigin-RevId: 473699927
(cherry picked from commit 75f920bf25 )
2022-09-12 09:52:09 +00:00
claincly
84a46053d6
Split decoding out of the test
...
This method is useful for other tests also.
PiperOrigin-RevId: 473574282
(cherry picked from commit 7f42e19f09 )
2022-09-11 13:01:26 +00:00