1. 02 Feb, 2023 4 commits
    • Clarify case where HDR encoder and muxer have no shared mime type. · 83bc474f
      The prior version (with the call to createEncodingException) could
      never occur as select...SupportedMimeType already checks for HDR
      editing support. This change ensures we throw before creating an
      encoder, gives a better error code and allows future simplifications
      around createForCodec (see child CL).
      
      PiperOrigin-RevId: 506308290
      samrobinson committed
    • Pass a Composition to Transformer callbacks · b8ec982e
      PiperOrigin-RevId: 506304101
      kimvde committed
    • Support flushing in FrameProcessor · b2ab4393
      Flushing resets all the texture processors within the `FrameProcessor`. This
      includes:
      
      - At the back, the FinalMatrixTextureProcessorWrapper, and its MatrixTextureProcessor
      - At the front, the ExternalTextureManager
      - All the texture processors in between
      - All the ChainingGlTextureProcessorListeners in between texture processors
      - All the internal states in the aforementioned components
      
      The flush process follows the order, from `GlEffectsFrameProcessor.flush()`
      
      1. Flush the `FrameProcessingTaskExecutor`, so that after it returns, all tasks queued before calling `flush()` completes
      2. Post to `FrameProcessingTaskExecutor`, to flush the `FinalMatrixTextureProcessorWrapper`
      3. Flushing the `FinalMatrixTextureProcessorWrapper` will propagate flushing through, via the `ChainingGlTextureProcessorListener`
      
      Startblock:
         has LGTM from christosts
         and then
         add reviewer andrewlewis
      PiperOrigin-RevId: 506296469
      claincly committed
    • Add sRGB eotf to overlay fragment shader. · eea1868d
      The eotf is needed so that overlay (image) colors are correctly interpreted and mixed the linear video colors.
      
      Also replaces the 100winners.png with "homemade" image file.
      
      Added GlEffectsFrameProcessor test to justify that the color looks correct at the end of frame processing.
      
      PiperOrigin-RevId: 506290309
      tofunmi committed
  2. 01 Feb, 2023 33 commits
  3. 25 Jan, 2023 3 commits