1. 25 Jan, 2023 7 commits
  2. 23 Jan, 2023 14 commits
  3. 18 Jan, 2023 8 commits
  4. 17 Jan, 2023 11 commits
    • Remove setScale and setRotationDegrees from TransformationRequest · 89e14989
      Also remove usages of TransformationRequest convenience methods
      (setScale, setRotationDegrees and setResolution).
      
      Some usages of setResolution can't be removed yet because they are used
      for fallback.
      
      PiperOrigin-RevId: 502415748
      kimvde committed
    • Align muxer code with media3 coding conventions. · 2656284e
      This CL includes following changes:
      1. Remove GCA related terms/links from java docs and comments.
      2. Make class final where ever possible.
      3. Append /* package */ for default classes.
      4. Change java docs to recommended format.
      5. Replace term "packet" with "sample" to avoid confusion.
      6. Correct TODO format.
      7. Delete MediaFormatUtil.java from muxer module and add its methods into MediaFormatUtil.java in common module.
      
      Note: The java doc on various boxes has the limited description which was already present. In future I am planning to add proper small description for each box (from MP4 spec).
      
      Not included in this CL:
      1. Order of element correction as it will show lot of changes and might create confusion with other minor changes.
      2. Correction in test cases (Only some renaming).
      
      PiperOrigin-RevId: 502414139
      sheenachhabra committed
    • Add the possility to shift frame timestamps in SampleConsumer · a4f9f948
      This is needed for constrained multi-asset to shift the timestamps of
      the media items that are not the first in the sequence.
      
      PiperOrigin-RevId: 502409923
      kimvde committed
    • Clarify what default settings are being used for SSAI AdsLoader · 26e1a281
      PiperOrigin-RevId: 502388865
      bachinger committed
    • Effect: Automatically save bitmaps in pixel test. · e28d434c
      Also, omit the "actual" label from output files, as this boilerplate isn't necessary
      (it doesn't disambiguate between any other saved filename like "expected").
      
      PiperOrigin-RevId: 502378188
      huangdarwin committed
    • HDR: Use human-readable values for ColorInfo.toString(). · 9789b39c
      This should make debugging much easier as values will be more human-readable.
      Before this CL, one needed to reference MediaFormatUtil to check the
      colorSpace/colorTransfer/colorRange values and make sure values were as
      expected.
      
      PiperOrigin-RevId: 502367147
      huangdarwin committed
    • Effect: Create GlEffectsFrameProcessorTestRunner. · 27d44e86
      Makes GlEffectsFrameProcessorPixelTest slightly more modular in preparation for
      copying this into transformer/mh.
      
      Refactoring change. No functional change intended.
      
      PiperOrigin-RevId: 501902223
      huangdarwin committed
    • Move SonicAudioProcessor to media3.common module. · eb496660
      PiperOrigin-RevId: 501881646
      samrobinson committed
    • Add a frame cache · 42aecce3
      Frame cache compensates for the fluctuation in frame processing times.
      
      Imagine a frame takes 10ms to process, and the interval between two frames is
      33ms. The third frame took 40ms to process.
      
      If we don't have frame cache:
      - Process frame 1, ready after 10ms, starts playback, now t=0 ms
      - Start processing frame 2, ready at t=10ms,
      - Release frame 2 at t=33ms
      - We start processing the third frame at t=33ms
      - The third frame is due presentation at t=66ms
      - But frame 3 is available at t=73ms, late
      
      If we have a frame cache of say 3 frams,
      - Process frame 1, ready after 10ms, starts playback, now t=0 ms
      - Start processing frame 2, ready at t=10ms
      - Start processing frame 3, ready at t=50ms
      - Release frame 2 at t=33ms
      - Start frame 4, ready at t=60ms
      - Frame 3 is due presentation at t=66ms
      - Frame 3 isn't late
      
      PiperOrigin-RevId: 501869948
      claincly committed
    • Allow forcing duration in FrameworkMuxer. · c86d70a9
      PiperOrigin-RevId: 501865706
      claincly committed
    • Fix not able to set a null output surface. · 07fe6071
      Previously, after calling MCVR.setOutput() with null, `frameProcessorManager`'s output surface is cleared. What was unexpected is `ExoPlayerInternal` notifies a zero output resolution after clearing the output surface. This zero resolution causes FrameProcessor to fail.
      
      PiperOrigin-RevId: 501861993
      claincly committed