mirror of
https://github.com/androidx/media.git
synced 2025-05-04 14:10:40 +08:00

VideoFrameProcessor requires every input frame to be registered before they are rendered to its input Surface. This CL adds the option to register the input frame only once. This is useful for camera inputs where not all input frames come with changing FrameInfo. PiperOrigin-RevId: 606294894 (cherry picked from commit 216f3fedb857d9a6e0bf846070784c1cc5b7e705)
Effect module
Provides functionality for applying effects to video frames.
Getting the module
The easiest way to get the module is to add it as a gradle dependency:
implementation 'androidx.media3:media3-effect:1.X.X'
where 1.X.X
is the version, which must match the version of the other media
modules being used.
Alternatively, you can clone this GitHub project and depend on the module locally. Instructions for doing this can be found in the top level README.