public @interface

Presentation.Layout

implements java.lang.annotation.Annotation

 androidx.media3.effect.Presentation.Layout

Overview

Strategies controlling the layout of input pixels in the output frame.

One of Presentation.LAYOUT_SCALE_TO_FIT, Presentation.LAYOUT_SCALE_TO_FIT_WITH_CROP, or Presentation.LAYOUT_STRETCH_TO_FIT.

May scale either width or height, leaving the other output dimension equal to its input.

Summary