Package one.empty3.library
Class VideoDecoder
java.lang.Object
java.lang.Thread
one.empty3.library.VideoDecoder
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
DecodeJcodec
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.BuilderPREVIEW, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Fileprotected ArrayList<ECBufferedImage>protected static final longprotected booleanprotected TextureMovFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionVideoDecoder(File file, TextureMov refTextureMov) init, start, run, and block on maxsize reached -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
eof
protected boolean eof -
text
-
file
-
stop
protected boolean stop -
MAXSIZE
protected static final long MAXSIZE- See Also:
-
imgBuf
-
-
Constructor Details
-
VideoDecoder
init, start, run, and block on maxsize reached- Parameters:
file- video to draw on surfacerefTextureMov- texture to apply
-
-
Method Details
-
size
public int size() -
isClosed
public boolean isClosed() -
current
-