SimpleCameraRender

Created by pedro on 21/02/18.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val surface: Surface
Link copied to clipboard
Link copied to clipboard
val TAG: String = "SimpleCameraRender"

Functions

Link copied to clipboard
open fun drawFrame(width: Int, height: Int, mode: AspectRatioMode, rotation: Int, flipStreamVertical: Boolean, flipStreamHorizontal: Boolean)
Link copied to clipboard
open fun getTextureId(): Int
Link copied to clipboard
open fun initGl(context: Context, streamWidth: Int, streamHeight: Int)
Initializes GL state.
Link copied to clipboard
open fun release()
Link copied to clipboard
open fun setFlip(isFlipHorizontal: Boolean, isFlipVertical: Boolean)
Link copied to clipboard
open fun setRotation(rotation: Int)
Link copied to clipboard
open fun updateFrame()