toggle menu
RootEncoder
androidJvm
switch theme
search in API
encoder
/
com.pedro.encoder.input.decoder
/
VideoDecoder
Video
Decoder
open
class
VideoDecoder
:
BaseDecoder
Created by pedro on 20/06/17.
Members
Constructors
Video
Decoder
Link copied to clipboard
constructor
(
videoDecoderInterface
:
VideoDecoderInterface
,
decoderInterface
:
DecoderInterface
)
Properties
extractor
Link copied to clipboard
open
var
extractor
:
Extractor
fps
Link copied to clipboard
open
val
fps
:
Int
height
Link copied to clipboard
open
val
height
:
Int
width
Link copied to clipboard
open
val
width
:
Int
Functions
change
Output
Surface
Link copied to clipboard
open
fun
changeOutputSurface
(
surface
:
Surface
)
get
Duration
Link copied to clipboard
open
fun
getDuration
(
)
:
Double
get
Time
Link copied to clipboard
open
fun
getTime
(
)
:
Double
init
Extractor
Link copied to clipboard
open
fun
initExtractor
(
fileDescriptor
:
FileDescriptor
)
:
Boolean
open
fun
initExtractor
(
filePath
:
String
)
:
Boolean
open
fun
initExtractor
(
context
:
Context
,
uri
:
Uri
)
:
Boolean
is
Loop
Mode
Link copied to clipboard
open
fun
isLoopMode
(
)
:
Boolean
is
Running
Link copied to clipboard
open
fun
isRunning
(
)
:
Boolean
move
To
Link copied to clipboard
open
fun
moveTo
(
time
:
Double
)
pause
Render
Link copied to clipboard
open
fun
pauseRender
(
)
prepare
Video
Link copied to clipboard
open
fun
prepareVideo
(
surface
:
Surface
)
:
Boolean
resume
Render
Link copied to clipboard
open
fun
resumeRender
(
)
set
Loop
Mode
Link copied to clipboard
open
fun
setLoopMode
(
loopMode
:
Boolean
)
start
Link copied to clipboard
open
fun
start
(
)
stop
Link copied to clipboard
open
fun
stop
(
)