
After this change, every queued bitmap is treated as an individual input stream (like a new MediaItems). This change merges the FrameDropTest and FrameDropPixelTest into one (while maintaining all the test cases) - This is accomplished by generating bitmaps with timestamps on it in FrameDropTest and compare them with goldens (one may call this a pixel test, please lmk if you want this to be renamed) - The most part of the change comes from DefaultVideoFrameProcessorVideoFrameRenderingTest. The overall working is - We bypass the input manager - The TestFrameGenerator generates frames based on timestamps. In this case, we generate frames with timestamps on it - The generated frame is sent to texture output and in turn saved to bitmaps - We then compare the generated bitmap with the goldens PiperOrigin-RevId: 551795770
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.