Class VideoYUVFileSource
- java.lang.Object
-
- com.avaya.clientservices.media.gui.NativeObject
-
- com.avaya.clientservices.media.gui.VideoSource
-
- com.avaya.clientservices.media.gui.VideoYUVFileSource
-
- All Implemented Interfaces:
Destroyable,java.lang.Runnable
public class VideoYUVFileSource extends VideoSource implements java.lang.Runnable
-
-
Constructor Summary
Constructors Constructor Description VideoYUVFileSource(java.lang.String filename, int width, int height, int framerate, boolean nv12)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()voidsignal()Signals the playback thread to exit.voidstart()Start sending video frames to the video sink.voidstop()Stop sending video frames to the video sink.-
Methods inherited from class com.avaya.clientservices.media.gui.VideoSource
destroy, setVideoSink
-
-
-
-
Constructor Detail
-
VideoYUVFileSource
public VideoYUVFileSource(java.lang.String filename, int width, int height, int framerate, boolean nv12)Constructor.- Parameters:
filename- the full path to the .yuv filewidth- the width of each video frame.height- the height of each video frame.framerate- the pace at which to read video frames.nv12-truefor NV12,falsefor I420.
-
-