A raw video frame of a webcam. References to these objects will be reused after the next call to ICall.Update! Do not keep references for longer!
More...
|
| byte[] | Buffer [get] |
| | Byte array containing the raw pixel data of the current webcam frame.
|
| |
| bool | Buffered [get] |
| | Always returns true.
|
| |
| int | Width [get] |
| | Width of the image.
|
| |
| int | Height [get] |
| | Height of the image.
|
| |
| int | Rotation [get, set] |
| | Can be 0, 90, 180 or 270. Before showing the image to the user rotate the image by this value.
|
| |
| bool | IsTopRowFirst [get] |
| | True if first line in the buffer is the top of the image. False if it starts with the bottom of the image.
|
| |
| FramePixelFormat | Format [get] |
| | Image format. Default is ARGB.
|
| |
A raw video frame of a webcam. References to these objects will be reused after the next call to ICall.Update! Do not keep references for longer!
◆ BufferedFrame()
| Byn.Awrtc.BufferedFrame.BufferedFrame |
( |
byte[] | buffer, |
|
|
int | width, |
|
|
int | height, |
|
|
FramePixelFormat | format, |
|
|
int | rotation, |
|
|
bool | isTopRowFirst ) |
Constructs a new raw BufferedFrame.
- Parameters
-
| buffer | Byte buffer. Reference will be stored to avoid copies! Do not reuse the array later! |
| width | Width |
| height | Height |
| format | |
| rotation | Rotation of the raw image. |
| isTopRowFirst | True if the top pixels of the image are expected to be at the start of the buffer. False if it starts with the bottom. |
◆ Buffer
| byte [] Byn.Awrtc.BufferedFrame.Buffer |
|
get |
Byte array containing the raw pixel data of the current webcam frame.
Implements Byn.Awrtc.RawFrame.
◆ Buffered
| bool Byn.Awrtc.BufferedFrame.Buffered |
|
get |
◆ Format
◆ Height
| int Byn.Awrtc.BufferedFrame.Height |
|
get |
◆ IsTopRowFirst
| bool Byn.Awrtc.BufferedFrame.IsTopRowFirst |
|
get |
True if first line in the buffer is the top of the image. False if it starts with the bottom of the image.
Implements Byn.Awrtc.RawFrame.
◆ Rotation
| int Byn.Awrtc.BufferedFrame.Rotation |
|
getset |
Can be 0, 90, 180 or 270. Before showing the image to the user rotate the image by this value.
Implements Byn.Awrtc.RawFrame.
◆ Width
| int Byn.Awrtc.BufferedFrame.Width |
|
get |
The documentation for this class was generated from the following file:
- /Volumes/macdev/wrtc/main_new/awrtc/awrtc_cs_common/Byn.Awrtc/RawFrame.cs