VideoFrameProcessorTestRunner.BitmapReader


public interface VideoFrameProcessorTestRunner.BitmapReader


Reads a Bitmap from VideoFrameProcessor output.

Summary

Public methods

abstract Bitmap

Returns the output Bitmap.

abstract @Nullable Surface
getSurface(
    int width,
    int height,
    boolean useHighPrecisionColorComponents
)

Returns the VideoFrameProcessor output Surface, if one is needed.

Public methods

getBitmap

abstract Bitmap getBitmap()

Returns the output Bitmap.

getSurface

abstract @Nullable Surface getSurface(
    int width,
    int height,
    boolean useHighPrecisionColorComponents
)

Returns the VideoFrameProcessor output Surface, if one is needed.