- 09 May, 2022 1 commit
-
-
Change-Id: I7e2d36eb3d69fb09e0d0bbc283d41165c69d4076
Rakesh Kumar committed
-
- 31 Mar, 2022 1 commit
-
-
Change-Id: Id658564495af13c35fa78ecde9ab587557aabb47
Rakesh Kumar committed
-
- 25 Mar, 2022 10 commits
-
-
PiperOrigin-RevId: 437237835
huangdarwin committed -
* The AdvancedFrameProcessor calls use() in updateProgramAndDraw(). * The AdvancedFrameProcessor has the same input and output dimensions. PiperOrigin-RevId: 437231350
hschlueter committed -
This allows the whole startDownloadService() method to be opted into the unstable media3 API in a follow-up change. PiperOrigin-RevId: 437228776
ibaker committed -
Also make GlFrameProcessor, ScaleToFitFrameProcessor, and AdvancedFrameProcessor public. PiperOrigin-RevId: 437227388
hschlueter committed -
These methods can cause errors so we should check for them. https://www.khronos.org/registry/OpenGL-Refpages/es2.0/xhtml/glClear.xml https://www.khronos.org/registry/OpenGL-Refpages/es2.0/xhtml/glDrawArrays.xml PiperOrigin-RevId: 437218519
hschlueter committed -
This allows apps to customise the HTTP DataSource while still supporting non-HTTP URIs as well, as documented in our dev guide: https://exoplayer.dev/network-stacks.html#configuring-exoplayer-to-use-a-specific-network-stack PiperOrigin-RevId: 437209880
ibaker committed -
PiperOrigin-RevId: 437057336
andrewlewis committed -
On some devices, decoding gets stuck when the number of frames pending at the `SurfaceTexture` is too high. We added a workaround that only allows one frame to be pending at a time. That fixed the issue, however, based on on-device testing it seems that it's safe to queue more than one frame. Add a method that returns a safe estimate of the number of frames that can be pending at a time, and use this to limit the number of frames that can be released from the decoder but not processed by the frame processor chain. PiperOrigin-RevId: 437057075
andrewlewis committed -
Configuring the frame sizes between frame processors is now the FrameProcessorChain's rather than the caller's responsibility. The caller can getOutputSize() and override it for encoder fallback in configure(). PiperOrigin-RevId: 437048436
hschlueter committed -
The factory method is replaced by a public constructor and configure() method which configures the input/output surfaces and handles the OpenGL setup. This is a prerequisite for removing the responsibility of the caller to configureSizes() before creating the chain in a follow-up. PiperOrigin-RevId: 437028882
hschlueter committed
-
- 24 Mar, 2022 10 commits
-
-
This is only used by LegacyPlayerView which was removed in https://github.com/androidx/media/commit/6aa1816bd390b735fb855409cbdc6772b6e6fec3 PiperOrigin-RevId: 437018966
ibaker committed -
PiperOrigin-RevId: 437017422
ibaker committed -
ExoPlayer's internal Assertions class will not be part of the stable API. PiperOrigin-RevId: 437008634
ibaker committed -
This allows us to bypass many device-specific issues, that only occur when decoding directly to an encoder surface, without OpenGL. This also allows us to maintain fewer code branches, which require additional testing to verify correctness. PiperOrigin-RevId: 437003138
huangdarwin committed -
PiperOrigin-RevId: 437002406
aquilescanta committed -
#minor-release PiperOrigin-RevId: 436997521
ibaker committed -
Needed for AVI support. PiperOrigin-RevId: 436991922
aquilescanta committed -
Allow apps to modify how frames are presented, via modifying resolution. A follow-up CL will provide aspect ratio, cropping, etc. PiperOrigin-RevId: 436963312
huangdarwin committed -
PiperOrigin-RevId: 436961627
hschlueter committed -
I am suppressing these warnings so that the stub file can be added and future usages will be checked correctly. As noted in https://developer.android.com/reference/android/view/View#getLayoutParams() this can be null before params are set. This was produced by running the TGP on <unknown commit>. More information: go/new-nullness-stubs-lsc Tested: Automated deflaking failed to skip failures: http://mondo/deflaker/run/ff55923b-d76d-4eba-86dc-1b3077362352 http://test/OCL:435678706:BASE:436509228:1647985874385:4fae6f0a Some test failures are present, but the CL author has decided to mail the change anyway PiperOrigin-RevId: 436951684
olly committed
-
- 23 Mar, 2022 5 commits
-
-
* These grouping parentheses are unnecessary; it is unlikely the code will be misinterpreted without them (see http://go/bugpattern/UnnecessaryParentheses) (11 times) This CL looks good? Just LGTM and Approve it! This CL doesn’t look good? This is what you can do: * Revert this CL, by replying "REVERT: <provide reason>" * File a bug under go/error-prone-bug for category ErrorProneStyle if there's an issue with the CL content. * File a bug under go/rosie-bug if there's an issue with how the CL was managed. * Revert this CL and not get a CL that cleans up these paths in the future by replying "BLOCKLIST: <provide reason>". This is not reversible! We recommend to opt out the respective paths in your CL Robot configuration instead: go/clrobot-opt-out. This CL was generated by CL Robot - a tool that cleans up code findings (go/clrobot). The affected code paths have been enabled for CL Robot in //depot/google3/java/com/google/android/libraries/media/METADATA which is reachable following include_presubmits from //depot/google3/third_party/java_src/android_libs/media/METADATA. Anything wrong with the signup? File a bug at go/clrobot-bug. #codehealth Tested: Local presubmit tests passed. PiperOrigin-RevId: 436726763
olly committed -
PiperOrigin-RevId: 436723149
hschlueter committed -
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
samrobinson committed -
PiperOrigin-RevId: 436702840
hschlueter committed -
Also stabilise the 3 HTTP-based DataSource implementations: * DefaultHttpDataSource * OkHttpDataSource * CronetDataSource PiperOrigin-RevId: 436690643
ibaker committed
-
- 22 Mar, 2022 8 commits
-
-
PiperOrigin-RevId: 436521418
ibaker committed -
All the (Http)DataSource interactions can be done with the DataSource interface and don't need HttpDataSource. PiperOrigin-RevId: 436521036
ibaker committed -
All the (Http)DataSource interactions can be done with the DataSource interface and don't need HttpDataSource. PiperOrigin-RevId: 436520898
ibaker committed -
Depend on a alpha release now, so that we can remove the snapshot repo. PiperOrigin-RevId: 436471634
claincly committed -
PiperOrigin-RevId: 436470453
andrewlewis committed -
PiperOrigin-RevId: 436469107
hschlueter committed -
The FrameProcessorChain manages a List<GlFrameProcessor>. FrameProcessorChainDataProcessingTest now tests chaining ScaleToFit- and AdvancedFrameProcessors. PiperOrigin-RevId: 436468037
hschlueter committed -
To be shared with AviExtractor in a later CL. PiperOrigin-RevId: 436430385
aquilescanta committed
-
- 21 Mar, 2022 5 commits
-
-
PiperOrigin-RevId: 436211808
huangdarwin committed -
Add a MH test exercising this behaviour. PiperOrigin-RevId: 436177198
samrobinson committed -
This allows us to input scale and rotation in an easier-to-use manner. PiperOrigin-RevId: 436175982
huangdarwin committed -
PiperOrigin-RevId: 436174782
bachinger committed -
PiperOrigin-RevId: 436165237
andrewlewis committed
-