DynamicProcessor

class DynamicProcessor(context: Context)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun checkCertificate(apiKey: String, cert: String): Int
Link copied to clipboard
fun consumePlayerFrame(frameBuffer: ByteBuffer)

Feed each frame of video player for deflicker averaging

Link copied to clipboard
fun getDaysLeft(): Int

Get the amount of days left in licence

Link copied to clipboard
fun init(useGpu: Boolean)

Initialize EyeQProcessor with given settings

Link copied to clipboard
fun isDelegateSupported(): Boolean

Check if current device is support delegates

Link copied to clipboard
fun processCameraFrame(bitmap: Bitmap, strength: Float): DynamicOutputs

Process live camera preview

Link copied to clipboard
fun processImage(bitmap: Bitmap, strength: Float = 1.0f): Bitmap

Process bitmap and return result Bitmap

Link copied to clipboard
fun processImagePreview(bitmap: Bitmap, strength: Float = 1.0f): DynamicOutputs

Process bitmap and return result DynamicOutputs for use in DynamicView this is faster than processImage but for preview only

Link copied to clipboard
fun processPlayerFrame(strength: Float = 1.0f): DynamicOutputs

Process frame for video player

Link copied to clipboard
fun processTranscoderFrame(frameBuffer: ByteBuffer, strength: Float = 1.0f): DynamicOutputs

Process frame of Video transcoder

Link copied to clipboard
fun resetDeflicker()

Call this method before play on save new video

Link copied to clipboard
fun setBenchListener(listener: EyeQBenchListener)

Benchmark listener object

Link copied to clipboard
fun setDeflickerParams(frames: Int, curveAvg: Float, imgAvg: Float)

Set the deflicker parameters

Link copied to clipboard
fun setLicence(apiKey: String?, cert: String?, recreate: Boolean = false)

Set licence for Dynamic AI

Properties

Link copied to clipboard
var isInitialized: Boolean = false