1. 12 Aug, 2022 3 commits
    • Refactor RgbaMatrix to RgbMatrix. · 1076f3f7
      * Rename all Rgba instances to Rgb.
      * Remove alpha value from the RGBA Matrices and apply the 4x4 matrix
      only to the R, G, B channels.
      * Restore the alpha from the input unchanged.
      
      PiperOrigin-RevId: 467208888
      (cherry picked from commit 8760ee48)
      leonwind committed
    • Avoid spinning while queueing input to ExternalTextureProcessor. · 19dfbeae
      This change adds ExternalTextureManager which implements
      InputListener to only queue input frames to the
      ExternalTextureProcessor when it is ready to accept an input
      frame. This replaces the old retry-logic in GlEffectsFrameProcessor.
      
      Before this change, the retrying in GlEffectFrameProcessor wasted
      CPU time if input becomes available faster than the
      ExternalTextureProcessor can process it.
      
      PiperOrigin-RevId: 467177659
      (cherry picked from commit d7bf1ed2)
      Googler committed
    • Add additional build flags for ffmpeg on "arm64-v8a" · 61c43780
      From NDK 23.1.7779620 and above, the arm64-v8a ABI needs additional
      build flags to correctly link the ffmpeg libraries.
      
      Issue: google/ExoPlayer#9933
      PiperOrigin-RevId: 467161973
      (cherry picked from commit 5874327e)
      tonihei committed
  2. 11 Aug, 2022 1 commit
    • Add timeout for ad to load. · b19d1835
      In some cases, the IMA SDK fails to call the expected loadAd
      event to load the next ad to play. This is (potentially) the
      only remaining case where playback can get stuck due to missing
      calls from IMA as the player doesn't even have a MediaSource at
      this stage and is only waiting for IMA to provide the ad URL.
      
      We can reuse the existing adPreloadTimeoutMs that was added for
      a similar purpose (when preloading the first ad in the group).
      The JavaDoc matches this purpose as well and the default timeout
      is appropriate since we expect to get the loadAd call immediately.
      
      Issue: google/ExoPlayer#10510
      PiperOrigin-RevId: 466953617
      (cherry picked from commit b125d45a)
      tonihei committed
  3. 10 Aug, 2022 3 commits
  4. 09 Aug, 2022 6 commits
  5. 08 Aug, 2022 4 commits
  6. 05 Aug, 2022 8 commits
  7. 04 Aug, 2022 5 commits
  8. 03 Aug, 2022 6 commits
  9. 02 Aug, 2022 1 commit
  10. 01 Aug, 2022 2 commits
  11. 29 Jul, 2022 1 commit
    • HDR: Have @C.ColorTransfer check consider NO_VALUE as SDR. · c34e4195
      Format.NO_VALUE is a placeholder value for an invalid @C.ColorTransfer, used
      for example when the decoder doesn't support this transfer function.
      
      When encountering this invalid value, interpret this as COLOR_TRANSFER_SDR.
      
      Confirmed locally that an exception is thrown when transcoding on p4head, and no exception is thrown when transcoding with this CL.
      
      PiperOrigin-RevId: 464135080
      (cherry picked from commit 687a50e9)
      huangdarwin committed