open class GlVideoTexture : GlSurfaceTexture
GlVideoTexture(width: Int = 1, height: Int = 1) |
var maxFrameTimeInNanoseconds: Long |
|
var minFrameTimeInNanoseconds: Long |
|
var onUpdate: (() -> Unit)? |
|
val presentationTimeInNanoseconds: Long |
open val isExternalTexture: Boolean |
|
var surface: <ERROR CLASS>? |
|
var surfaceTexture: <ERROR CLASS>? |
|
open var textureHeight: Int |
|
open var textureWidth: Int |
open fun onAttach(handle: Int): Unit |
|
open fun onFrameAvailable(surfaceTexture: <ERROR CLASS>): Unit |
|
open fun onRelease(): Unit |
|
fun pauseVideoAndAudio(): Unit |
|
fun playVideoAndAudio(atNanosecond: Long, isPlaying: Boolean): Unit |
|
fun releaseSource(): Unit |
|
fun seekStart(): Unit |
|
fun seekStop(): Unit |
|
fun seekTo(startAtNanosecond: Long): Unit |
|
fun setSource(videoSource: VideoSource, playAudio: Boolean = true): Unit |
|
fun startFrameByFrameMode(startAtNanosecond: Long): Unit |
|
fun startStreamMode(): Unit |
|
fun startVideo(): Unit |
|
fun stopVideo(): Unit |
|
fun stopVideoAndAudioDecoding(): Unit |
|
fun waitForNextFrame(): Boolean |
fun bindBaseTexture(uniform: Int, slot: Int): Unit |
|
open fun bindTexture(uniform: Int, slot: Int): Unit |
|
fun invalidateSurface(): Unit |
|
open fun setBehave(downScaleFiltering: Int, upScaleFiltering: Int, horizontalWrap: Int, verticalWrap: Int): Unit |
|
fun setSize(width: Int, height: Int): Unit |
|
open fun updateMipmapIfNeeded(): Unit |
|
fun updateTexture(): Unit |
const val PAUSE_WAIT: Long |
|
const val SEEK_WAIT: Long |
|
const val TAG: String |
infix fun <A> A.andRecycle(b: <ERROR CLASS>): <ERROR CLASS> infix fun <A> A.andRecycle(b: Recyclable): <ERROR CLASS> |
|
fun <T> T.loopAsLongNotNull(block: (it: T) -> T?): T |