- 06 Apr, 2022 40 commits
-
-
PiperOrigin-RevId: 438847583
hschlueter committed -
The encoder surface is no longer needed for the OpenGL setup and frame processor initialization, as a placeholder surface is used instead. So all of the setup can now be done in the factory method. PiperOrigin-RevId: 438844450
hschlueter committed -
App code should get all of this information from TrackGroupInfo, and should only need TrackGroup as a key to use for overrides. PiperOrigin-RevId: 438840925
olly committed -
This is based on the ExoPlayer form: https://github.com/google/ExoPlayer/issues/new?assignees=&labels=bug%2Cneeds+triage&template=bug.yml Also force people to use one of the templates. PiperOrigin-RevId: 438840002
ibaker committed -
Calculate throughputFps for TransformationTestResult. PiperOrigin-RevId: 438817440
samrobinson committed -
PiperOrigin-RevId: 438808231
samrobinson committed -
Also add a case for RTSP, otherwise lint complains. PiperOrigin-RevId: 438805903
ibaker committed -
PiperOrigin-RevId: 438804850
hschlueter committed -
This allows the MuxerWrapper to keep using trackTypeToTimeUs for calculating the video duration but slightly changes the meaning of its interleaving constraints. PiperOrigin-RevId: 438780686
hschlueter committed -
This provides better compatibility with MediaExtractor, which does read these fields; we also need them for being able to mux file contents into another mp4 file. Also, there is a minor refactor included so that we have an actual type for esds box contents instead of a pair. PiperOrigin-RevId: 438673825
olly committed -
PiperOrigin-RevId: 438634901
olly committed -
PiperOrigin-RevId: 438558981
ibaker committed -
The encoder factory will be used in other tests. PiperOrigin-RevId: 438552381
claincly committed -
This makes it easier (smaller CL diff) to merge output size configuration and initialize() in a follow-up. PiperOrigin-RevId: 438543247
hschlueter committed -
PiperOrigin-RevId: 438542239
samrobinson committed -
The placeholder surface is either EGL_NO_SURFACE or a 1x1 pbuffer depending on whether the device supports EGL_KHR_surfaceless_context. PiperOrigin-RevId: 438541846
hschlueter committed -
PiperOrigin-RevId: 438534391
ibaker committed -
Since the output textures and surfaces are managed by the FrameProcessorChain, clearing them there makes sense. This is also less error-prone as it might not be obvious to someone implementing a GlFrameProcessor that they need to glClear. (Clearing twice won't cause any problems.) PiperOrigin-RevId: 438532247
hschlueter committed -
This is basically 'container' and 'subtitle' MIME types I previously avoided stabilising any 'custom' MIME types (those containing '/x-') but it certainly seems reasonable to expect developers to use APPLICATION_M3U8 and so then it also makes sense to stabilise other 'similar' custom MIME types too. PiperOrigin-RevId: 438501642
ibaker committed -
https://source.android.com/setup/contribute/respectful-code#term-examples PiperOrigin-RevId: 438335305
hschlueter committed -
Issue: google/ExoPlayer#10065 #minor-release PiperOrigin-RevId: 438281023
christosts committed -
PiperOrigin-RevId: 438253138
samrobinson committed -
This change adds the ability to update the error code of the PlaybackStateCompat in cases we need this for backwards compatibility. It is applied in the least intrusive way because normally, return values of a service method should not change the state of the `PlaybackStateCompat`, just because it has nothing to do with the playback state but rather with the state of the `MediaLibrarySession`. For this reason only the error code `RESULT_ERROR_SESSION_AUTHENTICATION_EXPIRED` is taken into account while all other error codes are not mapped to the `PlaybackStateCompat'. PiperOrigin-RevId: 438038852
bachinger committed -
Allows for input values to be propagated to the analysis file. PiperOrigin-RevId: 438030322
samrobinson committed -
Issue: androidx/media#60 PiperOrigin-RevId: 438028148
bachinger committed -
This requires an additional nanos to micros conversion because the SurfaceTexture uses nanos. But as the timestamps from the MediaCodec decoder (propagated in DefaultCodec#releaseOutputBuffer) are in microseconds no precision is lost here. Also add test that checks output video duration. PiperOrigin-RevId: 438010490
hschlueter committed -
PiperOrigin-RevId: 438010395
christosts committed -
MAXIMUM_AVERAGE_PIXEL_ABSOLUTE_DIFFERENCE was copied from a test class, but BitmapTestUtil isn't a test. So the javadoc needs rewording to reflect that. PiperOrigin-RevId: 438001833
hschlueter committed -
PiperOrigin-RevId: 438000682
Ian Baker committed -
PiperOrigin-RevId: 437992927
hschlueter committed -
The problem is not the IntDef array, it's the fact the lint tool is unable to correctly infer the annotations on the lambda parameters without them being explicitly annotated. It seems explicitly annotating is better than suppressing all IntDef warnings in the whole method. PiperOrigin-RevId: 437969271
ibaker committed -
PiperOrigin-RevId: 437962027
ibaker committed -
PiperOrigin-RevId: 437783926
Ian Baker committed -
Follow-up to https://github.com/androidx/media/commit/a5330d43d4c3b5c464d9d35d39c0185216587c90 PiperOrigin-RevId: 437777871
ibaker committed -
Util.SDK_INT will not be part of the stable API. This change only touches those parts of the main demo app that will not be opted-in to the unstable API for other reasons (e.g. download use-cases). PiperOrigin-RevId: 437777687
ibaker committed -
PiperOrigin-RevId: 437777445
ibaker committed -
This avoids silent failures where the generated identifiers are 0. PiperOrigin-RevId: 437775689
hschlueter committed -
From Android T onwards `MediaCodec` supports requesting tone-mapping down to SDR. Add an option to request this behavior and document that it isn't supported before T. Also add an option in the demo app to try it out. Tested manually on a prerelease build. PiperOrigin-RevId: 437765325
andrewlewis committed -
PiperOrigin-RevId: 437753013
andrewlewis committed -
The thread name is used to verify the thread in both createOpenGlObjectsAndInitializeFrameProcessors() and processFrame(). Also remove glThread field that was only used for this verification. PiperOrigin-RevId: 437730804
hschlueter committed
-