/// /// EncoderCaps.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © Marc Rousavy @ Margelo /// package com.margelo.nitro.videopipeline import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "EncoderCaps". */ @DoNotStrip @Keep data class EncoderCaps( @DoNotStrip @Keep val codecs: Array, @DoNotStrip @Keep val maxWidth: Double, @DoNotStrip @Keep val maxHeight: Double, @DoNotStrip @Keep val maxFps: Double, @DoNotStrip @Keep val maxBitrate: Double, @DoNotStrip @Keep val hdr: Boolean ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(codecs: Array, maxWidth: Double, maxHeight: Double, maxFps: Double, maxBitrate: Double, hdr: Boolean): EncoderCaps { return EncoderCaps(codecs, maxWidth, maxHeight, maxFps, maxBitrate, hdr) } } }