An ImageView-based video sink. More...
Public Member Functions | |
| ImageViewSink (Context context) | |
| Initializes a new instance of the ImageViewSink class. More... | |
| ImageViewSink (Context context, IVideoOutput input) | |
| Initializes a new instance of the ImageViewSink class. More... | |
| ImageViewSink (Context context, IVideoOutput[] inputs) | |
| Initializes a new instance of the ImageViewSink class. More... | |
| ImageViewSink (ImageView view) | |
| Initializes a new instance of the ImageViewSink class. More... | |
| ImageViewSink (ImageView view, IVideoOutput input) | |
| Initializes a new instance of the ImageViewSink class. More... | |
| ImageViewSink (ImageView view, IVideoOutput[] inputs) | |
| Initializes a new instance of the ImageViewSink class. More... | |
| ImageView | getView () |
| Gets the view. More... | |
| LayoutScale | getViewScale () |
| Gets the view scale. More... | |
| void | setViewScale (LayoutScale viewScale) |
| Sets the view scale. More... | |
| boolean | getViewMirror () |
| Gets a value indicating whether the view is mirrored. More... | |
| void | setViewMirror (boolean viewMirror) |
| Sets a value indicating whether the view is mirrored. More... | |
| String | getLabel () |
| Gets a label that identifies this class. More... | |
| void | renderBuffer (VideoBuffer buffer) |
| Renders a video buffer. More... | |
| void | renderBitmap (final Bitmap bitmap) |
| Renders a bitmap. More... | |
Public Member Functions inherited from fm.liveswitch.ViewSink< ImageView > | |
| boolean | getIsRecording () |
| Gets a value indicating whether a recording icon should be displayed. More... | |
| abstract T | getView () |
| Gets the view. More... | |
| abstract boolean | getViewMirror () |
| Gets a value indicating whether the view is mirrored. More... | |
| abstract fm.liveswitch.LayoutScale | getViewScale () |
| Gets the view scale. More... | |
| void | setIsRecording (boolean value) |
| Sets a value indicating whether a recording icon should be displayed. More... | |
| abstract void | setViewMirror (boolean value) |
| Sets a value indicating whether the view is mirrored. More... | |
| abstract void | setViewScale (fm.liveswitch.LayoutScale value) |
| Sets the view scale. More... | |
| ViewSink () | |
| Initializes a new instance of the fm.liveswitch.ViewSink class. More... | |
| ViewSink (fm.liveswitch.IVideoOutput input) | |
| Initializes a new instance of the fm.liveswitch.ViewSink class. More... | |
| ViewSink (fm.liveswitch.VideoFormat inputFormat) | |
| Initializes a new instance of the fm.liveswitch.ViewSink class. More... | |
| ViewSink (fm.liveswitch.IVideoOutput[] inputs) | |
| Initializes a new instance of the fm.liveswitch.ViewSink class. More... | |
Protected Member Functions | |
| void | doProcessFrame (VideoFrame frame, VideoBuffer inputBuffer) |
| Processes a frame. More... | |
Protected Member Functions inherited from fm.liveswitch.ViewSink< ImageView > | |
| void | doDestroy () |
| Destroys this instance. More... | |
| void | doProcessFrame (fm.liveswitch.VideoFrame frame, fm.liveswitch.VideoBuffer inputBuffer) |
| Processes a frame. More... | |
| abstract void | renderBuffer (fm.liveswitch.VideoBuffer inputBuffer) |
| Renders the buffer. More... | |
An ImageView-based video sink.
| fm.liveswitch.android.ImageViewSink.ImageViewSink | ( | Context | context | ) |
Initializes a new instance of the ImageViewSink class.
| context | The Android context. |
| fm.liveswitch.android.ImageViewSink.ImageViewSink | ( | Context | context, |
| IVideoOutput | input | ||
| ) |
Initializes a new instance of the ImageViewSink class.
| context | The Android context. |
| input | The input. |
| fm.liveswitch.android.ImageViewSink.ImageViewSink | ( | Context | context, |
| IVideoOutput[] | inputs | ||
| ) |
Initializes a new instance of the ImageViewSink class.
| context | The Android context. |
| inputs | The inputs. |
| fm.liveswitch.android.ImageViewSink.ImageViewSink | ( | ImageView | view | ) |
Initializes a new instance of the ImageViewSink class.
| view | The view. |
| fm.liveswitch.android.ImageViewSink.ImageViewSink | ( | ImageView | view, |
| IVideoOutput | input | ||
| ) |
Initializes a new instance of the ImageViewSink class.
| view | The view. |
| input | The input. |
| fm.liveswitch.android.ImageViewSink.ImageViewSink | ( | ImageView | view, |
| IVideoOutput[] | inputs | ||
| ) |
Initializes a new instance of the ImageViewSink class.
| view | The view. |
| inputs | The inputs. |
|
protected |
Processes a frame.
| frame | The frame. |
| inputBuffer | The input buffer. |
| String fm.liveswitch.android.ImageViewSink.getLabel | ( | ) |
Gets a label that identifies this class.
| ImageView fm.liveswitch.android.ImageViewSink.getView | ( | ) |
Gets the view.
| boolean fm.liveswitch.android.ImageViewSink.getViewMirror | ( | ) |
Gets a value indicating whether the view is mirrored.
| LayoutScale fm.liveswitch.android.ImageViewSink.getViewScale | ( | ) |
Gets the view scale.
| void fm.liveswitch.android.ImageViewSink.renderBitmap | ( | final Bitmap | bitmap | ) |
Renders a bitmap.
| bitmap | The bitmap. |
| void fm.liveswitch.android.ImageViewSink.renderBuffer | ( | VideoBuffer | buffer | ) |
Renders a video buffer.
| buffer | The buffer. |
| void fm.liveswitch.android.ImageViewSink.setViewMirror | ( | boolean | viewMirror | ) |
Sets a value indicating whether the view is mirrored.
| void fm.liveswitch.android.ImageViewSink.setViewScale | ( | LayoutScale | viewScale | ) |
Sets the view scale.