VideoFrameProcessorTestRunner.BitmapReader


interface VideoFrameProcessorTestRunner.BitmapReader


Reads a Bitmap from VideoFrameProcessor output.

Summary

Public functions

Bitmap!

Returns the output Bitmap.

Surface?
getSurface(
    width: Int,
    height: Int,
    useHighPrecisionColorComponents: Boolean
)

Returns the VideoFrameProcessor output Surface, if one is needed.

Public functions

getBitmap

fun getBitmap(): Bitmap!

Returns the output Bitmap.

getSurface

fun getSurface(
    width: Int,
    height: Int,
    useHighPrecisionColorComponents: Boolean
): Surface?

Returns the VideoFrameProcessor output Surface, if one is needed.