hschlueter
831866f441
Add javadoc for more FrameProcessorChain fields.
...
PiperOrigin-RevId: 436723149
2022-03-23 13:36:22 +00:00
samrobinson
ee2d7d1e1a
Remove SSIM calculation on SEF videos.
...
SEF is similar to frame editing, where the input and output videos are
not intended to match, so SSIM will not provide a reliable value. To
check SSIM correctly in future, we would need to provide
golden/expected video files to compare output against.
PiperOrigin-RevId: 436707240
2022-03-23 11:56:30 +00:00
samrobinson
76d44bec30
Remove SSIM calculation on SEF videos.
...
SEF is similar to frame editing, where the input and output videos are
not intended to match, so SSIM will not provide a reliable value. To
check SSIM correctly in future, we would need to provide
golden/expected video files to compare output against.
PiperOrigin-RevId: 436707240
2022-03-23 11:56:30 +00:00
hschlueter
4e248cb6f1
Remove FrameEditor reference.
...
PiperOrigin-RevId: 436702840
2022-03-23 11:25:58 +00:00
hschlueter
bda6604757
Remove FrameEditor reference.
...
PiperOrigin-RevId: 436702840
2022-03-23 11:25:58 +00:00
ibaker
fe8996e634
Allow stable API users to customise the DataSource used
...
Also stabilise the 3 HTTP-based DataSource implementations:
* DefaultHttpDataSource
* OkHttpDataSource
* CronetDataSource
PiperOrigin-RevId: 436690643
2022-03-23 10:05:27 +00:00
ibaker
5964312b29
Deprecate DefaultDrmSessionManager#setDrmUserAgent
...
PiperOrigin-RevId: 436521418
2022-03-22 18:13:26 +00:00
ibaker
534bc5ad9d
Deprecate DefaultDrmSessionManager#setDrmUserAgent
...
PiperOrigin-RevId: 436521418
2022-03-22 18:13:26 +00:00
ibaker
b4b049c593
Remove unneeded HttpDataSource references from the dev guide
...
Where the DataSource interface offers enough functionality, we can just
reference that.
PiperOrigin-RevId: 436521221
2022-03-22 18:12:37 +00:00
ibaker
079e79540d
Switch demo apps from HttpDataSource to DataSource
...
All the (Http)DataSource interactions can be done with the DataSource
interface and don't need HttpDataSource.
PiperOrigin-RevId: 436521036
2022-03-22 18:12:00 +00:00
ibaker
cfb8289c5a
Switch demo apps from HttpDataSource to DataSource
...
All the (Http)DataSource interactions can be done with the DataSource
interface and don't need HttpDataSource.
PiperOrigin-RevId: 436521036
2022-03-22 18:12:00 +00:00
ibaker
54d3e45473
Switch DRM and download components from HttpDataSource to DataSource
...
All the (Http)DataSource interactions can be done with the DataSource
interface and don't need HttpDataSource.
PiperOrigin-RevId: 436520898
2022-03-22 18:11:31 +00:00
ibaker
8ea00b3a47
Switch DRM and download components from HttpDataSource to DataSource
...
All the (Http)DataSource interactions can be done with the DataSource
interface and don't need HttpDataSource.
PiperOrigin-RevId: 436520898
2022-03-22 18:11:31 +00:00
claincly
d57958e86d
Remove dependency of Robolectric snapshot.
...
Depend on a alpha release now, so that we can remove the snapshot repo.
PiperOrigin-RevId: 436471634
2022-03-22 14:49:12 +00:00
claincly
c93d0a96c0
Remove dependency of Robolectric snapshot.
...
Depend on a alpha release now, so that we can remove the snapshot repo.
PiperOrigin-RevId: 436471634
2022-03-22 14:49:12 +00:00
andrewlewis
89098a8a83
Remove analysis error suppression
...
PiperOrigin-RevId: 436470453
2022-03-22 14:42:02 +00:00
andrewlewis
2f24476bb2
Remove analysis error suppression
...
PiperOrigin-RevId: 436470453
2022-03-22 14:42:02 +00:00
hschlueter
e14b8b0c6e
Remove unnecessary 'final' from local variables.
...
PiperOrigin-RevId: 436469107
2022-03-22 14:35:19 +00:00
hschlueter
1f00aae373
Remove unnecessary 'final' from local variables.
...
PiperOrigin-RevId: 436469107
2022-03-22 14:35:19 +00:00
hschlueter
ecfbc65a0d
Convert FrameEditor to a FrameProcessorChain.
...
The FrameProcessorChain manages a List<GlFrameProcessor>.
FrameProcessorChainDataProcessingTest now tests chaining ScaleToFit-
and AdvancedFrameProcessors.
PiperOrigin-RevId: 436468037
2022-03-22 14:29:53 +00:00
hschlueter
c93b31cc36
Convert FrameEditor to a FrameProcessorChain.
...
The FrameProcessorChain manages a List<GlFrameProcessor>.
FrameProcessorChainDataProcessingTest now tests chaining ScaleToFit-
and AdvancedFrameProcessors.
PiperOrigin-RevId: 436468037
2022-03-22 14:29:53 +00:00
aquilescanta
5b4abc31f3
Group NAL type constants in NalUnitUtil
...
To be shared with AviExtractor in a later CL.
PiperOrigin-RevId: 436430385
2022-03-22 10:32:35 +00:00
aquilescanta
3b9ab6aa9e
Group NAL type constants in NalUnitUtil
...
To be shared with AviExtractor in a later CL.
PiperOrigin-RevId: 436430385
2022-03-22 10:32:35 +00:00
huangdarwin
57953d8947
FrameProcessor: Make a class member private final.
...
PiperOrigin-RevId: 436211808
2022-03-21 15:21:17 +00:00
huangdarwin
a74034d6c2
FrameProcessor: Make a class member private final.
...
PiperOrigin-RevId: 436211808
2022-03-21 15:21:17 +00:00
samrobinson
a60e5f597b
Force video encoding if VideoEncoderSettings are not default.
...
Add a MH test exercising this behaviour.
PiperOrigin-RevId: 436177198
2022-03-21 12:16:50 +00:00
samrobinson
18388f02c0
Force video encoding if VideoEncoderSettings are not default.
...
Add a MH test exercising this behaviour.
PiperOrigin-RevId: 436177198
2022-03-21 12:16:50 +00:00
olly
c8e8bb14d6
Copy edit async buffer queueing documentation
...
PiperOrigin-RevId: 436176051
2022-03-21 12:08:46 +00:00
huangdarwin
2a14e3c604
FrameProcessor: Add a ScaleToFitFrameProcessor builder.
...
This allows us to input scale and rotation in an easier-to-use manner.
PiperOrigin-RevId: 436175982
2022-03-21 12:08:18 +00:00
huangdarwin
ea470893cd
FrameProcessor: Add a ScaleToFitFrameProcessor builder.
...
This allows us to input scale and rotation in an easier-to-use manner.
PiperOrigin-RevId: 436175982
2022-03-21 12:08:18 +00:00
bachinger
ea67fbbb9a
Correct order of parameters when creating PositionInfo
...
PiperOrigin-RevId: 436174782
2022-03-21 12:01:53 +00:00
andrewlewis
3f5d723311
Fix end of stream detection for SSIM helper
...
PiperOrigin-RevId: 436165237
2022-03-21 11:00:21 +00:00
andrewlewis
0292f82ddf
Fix end of stream detection for SSIM helper
...
PiperOrigin-RevId: 436165237
2022-03-21 11:00:21 +00:00
andrewlewis
47b6195340
Move image buffer extraction to test thread
...
This also ensures that if there's an error reading the image data then this
gets surfaced as an analysis exception.
PiperOrigin-RevId: 435680785
2022-03-18 17:55:26 +00:00
andrewlewis
9e62ea3fca
Move image buffer extraction to test thread
...
This also ensures that if there's an error reading the image data then this
gets surfaced as an analysis exception.
PiperOrigin-RevId: 435680785
2022-03-18 17:55:26 +00:00
claincly
1e50313047
Split method findEncoderWithClosestFormatSupport.
...
Add checking for bitrate mode settings.
Add logging to the encoder filtering.
PiperOrigin-RevId: 435662418
2022-03-18 16:43:26 +00:00
claincly
12543a9682
Split method findEncoderWithClosestFormatSupport.
...
Add checking for bitrate mode settings.
Add logging to the encoder filtering.
PiperOrigin-RevId: 435662418
2022-03-18 16:43:26 +00:00
andrewlewis
3f7b70d4f4
Remove AMR NB encoding from SSIM quality test
...
This currently causes the test to fail on Pixel 6 Pro running a recent S build
SQ1D.220205.004.
There is no need to test audio transcoding while we are measuring video
quality.
PiperOrigin-RevId: 435635314
2022-03-18 14:42:49 +00:00
andrewlewis
db0093f4c8
Remove AMR NB encoding from SSIM quality test
...
This currently causes the test to fail on Pixel 6 Pro running a recent S build
SQ1D.220205.004.
There is no need to test audio transcoding while we are measuring video
quality.
PiperOrigin-RevId: 435635314
2022-03-18 14:42:49 +00:00
hschlueter
274785f583
Always use FrameEditor for Nexus 5 and Moto Z Play.
...
PiperOrigin-RevId: 435628703
2022-03-18 14:10:07 +00:00
hschlueter
96f8771de0
Always use FrameEditor for Nexus 5 and Moto Z Play.
...
PiperOrigin-RevId: 435628703
2022-03-18 14:10:07 +00:00
claincly
79a6c806da
Add encoding options.
...
PiperOrigin-RevId: 435398814
2022-03-17 18:22:42 +00:00
claincly
e476337dd5
Add encoding options.
...
PiperOrigin-RevId: 435398814
2022-03-17 18:22:42 +00:00
huangdarwin
d1b99f0103
Transformer: Split javadoc summary fragment and descriptive text.
...
PiperOrigin-RevId: 435368283
2022-03-17 16:33:35 +00:00
huangdarwin
481b9bd63d
Transformer: Split javadoc summary fragment and descriptive text.
...
PiperOrigin-RevId: 435368283
2022-03-17 16:33:35 +00:00
bachinger
3cc1d06b6e
Remove rounding errors of ad durations when converting from double
...
#minor-release
PiperOrigin-RevId: 435360232
2022-03-17 16:02:00 +00:00
bachinger
3848595377
Remove rounding errors of ad durations when converting from double
...
#minor-release
PiperOrigin-RevId: 435360232
2022-03-17 16:02:00 +00:00
christosts
c016978a6c
Hide media notification when nothing to play
...
With this change, the MediaNotificationManager stops MediaSessionService
and hides any notifications if the player has no media items or the
player hasn't been prepared yet.
PiperOrigin-RevId: 435349363
2022-03-17 15:13:46 +00:00
olly
7eb01e2125
Move TrackGroupArray back to ExoPlayer
...
PiperOrigin-RevId: 435325454
2022-03-17 13:08:56 +00:00
olly
5d8ac644a6
Move TrackGroupArray back to ExoPlayer
...
PiperOrigin-RevId: 435325454
2022-03-17 13:08:56 +00:00