Class RawVideoFrame
- Object
-
- RawVideoFrame
-
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
RawVideoFrameBuffer
public abstract class RawVideoFrame extends Object implements AutoCloseable
Information about the video frame
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Dispose heavy resourcesprotected void
finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.VideoStreamFormat
getStreamFormat()
Information about the 4CC used on this video framelong
getTimestampInTicks()
time when the video frame was createdRawVideoFrameType
getType()
Informs how video frames will be available for encoding or decoding.RawVideoFrame
setStreamFormat(VideoStreamFormat value)
Information about the 4CC used on this video frameRawVideoFrame
setTimestampInTicks(long value)
time when the video frame was created
-
-
-
Method Detail
-
finalize
protected void finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.- Overrides:
finalize
in classObject
-
getType
public RawVideoFrameType getType()
Informs how video frames will be available for encoding or decoding.
-
getStreamFormat
public VideoStreamFormat getStreamFormat()
Information about the 4CC used on this video frame
-
setStreamFormat
public RawVideoFrame setStreamFormat(VideoStreamFormat value)
Information about the 4CC used on this video frame- Parameters:
value
- The new value.
-
getTimestampInTicks
public long getTimestampInTicks()
time when the video frame was created
-
setTimestampInTicks
public RawVideoFrame setTimestampInTicks(long value)
time when the video frame was created- Parameters:
value
- The new value.
-
close
public void close()
Dispose heavy resources- Specified by:
close
in interfaceAutoCloseable
-
-