1. 25 Jul, 2022 4 commits
  2. 22 Jul, 2022 1 commit
    • Allow stream offset passed to GlEffectsFrameProcessor to change. · b9f6df79
      This is needed for applying effects to a playlist.
      
      The effects are applied based on the presentation time of the
      frame in its corresponding media item and the offset is added
      back before encoding.
      
      Each time the offset changes, end of input stream is signalled
      to the texture processors. This is needed because the texture
      processors can expect monotonically increasing timestamp within
      the same input stream but when the offset changes, the timstamps
      jump back to 0.
      
      PiperOrigin-RevId: 462714966
      (cherry picked from commit 46ab06b8)
      hschlueter committed
  3. 21 Jul, 2022 3 commits
  4. 20 Jul, 2022 1 commit
  5. 19 Jul, 2022 6 commits
  6. 18 Jul, 2022 5 commits
    • HDR: Use FP16 color representation for texture processors. · 76093e25
      * Introduced `useHdr` for `GlEffect#toGlTextureProcessor`, so
        `TextureProcessor` implementations can decide how to handle HDR.
      * Creating FP16 color textures for HDR input.
      
      Tested via manual testing, adding a no-op GlEffectWrapper to the transformation to
      force use of intermediate textures, adding a linear ramp to the fragment shader,
      and trying to ascertain that there's a real reduction in posterization when
      switching from 4-bit to 8-bit unsigned bytes, and again from 8-bit unsigned bytes
      to 16-bit floating point.
      
      PiperOrigin-RevId: 461613117
      (cherry picked from commit f67c1a73)
      huangdarwin committed
    • HDR: Throw when unexpected color transfer encountered. · 7d147509
      This may happen when a containers' color transfer incorrectly does not match
      the video's color transfer.
      
      An example of a file with such a mismatch is the current Transformer demo HDR10
      sample file.
      
      Manually tested by confirming that no errors are emitted for SDR and HLG sample
      files, and that errors are emitted for our incorrect HDR10 sample file.
      
      PiperOrigin-RevId: 461583532
      (cherry picked from commit fd046bd2)
      huangdarwin committed
    • Use the current overrides of the player as preset · 26b062bf
      Issue: google/ExoPlayer#10429
      PiperOrigin-RevId: 461577039
      (cherry picked from commit f828130c)
      bachinger committed
    • Make minor fixes to HDR handling · 0e156891
      - Update profile selection logic to pick an HDR-compatible profile when doing HDR editing on H.264/AVC videos.
      - Handle doing the capabilities check for all MIME types that support HDR (not just H.265/HEVC).
      - Fix a bug where we would pass an HDR input color format to the encoder when using tone-mapping.
      - Tweak how `EncoderWrapper` works so decisions at made at construction time.
      
      Manually tested cases:
      - Transformation of an SDR video.
      - Transformation of an HDR video to AVC (which triggers fallback/tone-mapping on a device that doesn't support HDR editing for AVC).
      - Transformation of an HDR video with HDR editing.
      
      PiperOrigin-RevId: 461572973
      (cherry picked from commit 0db07c67)
      andrewlewis committed
    • Update demo HDR10 video URL · ce3cdf85
      The old URL doesn't correctly signal the HDR10 color info in the container.
      
      The new URL signals ST2084 (PQ) transfer function and BT.2020 color space as expected.
      
      PiperOrigin-RevId: 461560107
      (cherry picked from commit 405be80f)
      andrewlewis committed
  7. 15 Jul, 2022 1 commit
  8. 14 Jul, 2022 1 commit
  9. 13 Jul, 2022 5 commits
  10. 12 Jul, 2022 7 commits
  11. 11 Jul, 2022 2 commits
  12. 07 Jul, 2022 2 commits
  13. 06 Jul, 2022 2 commits