| 
    BitmapToolkit Scol plugin
    
   | 
 
Functions | |
| int | _DScapture (mmachine m) | 
| _DScapture : This function destroy a capture device   | |
| int | _CRcapture (mmachine m) | 
| _CRcapture : This function create a new capture device from a device index   | |
| int | _BLTcapture (mmachine m) | 
| _BLTcapture : This function blit the device picture into a bitmap Prototype: fun [ObjCapture ObjBitmap] ObjBitmap   | |
| int | _GETcaptureBuffer (mmachine m) | 
| _GETcaptureBuffer : This function return the current pixel buffer Prototype: fun [ObjCapture] ObjBuff   | |
| int | _GETcaptureBufferExt (mmachine m) | 
| _GETcaptureBufferExt : This function return the current pixel buffer Prototype: fun [ObjCapture] [ObjBuff I I I]   | |
| int | _GETcaptureDeviceList (mmachine m) | 
| _GETcaptureDeviceList : This function list the installed video devices Prototype: fun [] [S r1]   | |
| int | _SETcaptureMirror (mmachine m) | 
| _SETcaptureMirror : This function change the miror mode for the capture Prototype: fun [ObjCapture I] I   | |
| int | _GETcaptureSize (mmachine m) | 
| _GETcaptureSize : This function the size of a capture device Prototype: fun [ObjCapture] [I I]   | |
| int | _SETcaptureSize (mmachine m) | 
| _SETcaptureSize : This function apply a size to a capture device Prototype: fun [ObjCapture I I] I   | |
| int | _SETcaptureFocusPoint (mmachine m) | 
| _SETcaptureFocusPoint : This function define the focus point on a mobile camera device Prototype: fun [ObjCapture I I] I   | |
| int | _SETcaptureTorchState (mmachine m) | 
| _SETcaptureTorchState : This function change camera torch state Prototype: fun [ObjCapture I] I   | |
| int | _SAVEcaptureToFile (mmachine m) | 
| _SAVEcaptureToFile : This function save a capture frame into a file Prototype: fun [ObjCapture W] I   | |
| int | _AUTORENDERcapture (mmachine m) | 
| _AUTORENDERcapture : This function renders current frame on Android device Prototype: fun [ObjCapture] I   | |
| int | _CRsmoother (mmachine m) | 
| _CRsmoother : Create a new Smoother object   | |
| int | _CLRsmoother (mmachine m) | 
| _CLRsmoother : Clears smoother state   | |
| int | _DSsmoother (mmachine m) | 
| _DSsmoother : Destroys a Smoother object   | |
| int | _PUSHsmootherValue1 (mmachine m) | 
| _PUSHsmootherValue1 : Push a new value to ObjSmoother   | |
| int | _PUSHsmootherValue2 (mmachine m) | 
| _PUSHsmootherValue2 : Push a new vector2 value to ObjSmoother   | |
| int | _PUSHsmootherValue3 (mmachine m) | 
| _PUSHsmootherValue3 : Push a new vector3 value to ObjSmoother   | |
| int | _GETsmootherSmoothedValue1 (mmachine m) | 
| _GETsmootherSmoothedValue1 : Get last smoothed value from smoother as simple float   | |
| int | _GETsmootherSmoothedValue2 (mmachine m) | 
| _GETsmootherSmoothedValue2 : Get last smoothed value from smoother as a tuple of 2 float   | |
| int | _GETsmootherSmoothedValue3 (mmachine m) | 
| _GETsmootherSmoothedValue3 : Get last smoothed value from smoother as a tuple of 3 float   | |
| int | _GETsmootherExtrapolatedValue1 (mmachine m) | 
| _GETsmootherExtrapolatedValue1 : Get an extrapolated value from smoother as simple float   | |
| int | _GETsmootherExtrapolatedValue2 (mmachine m) | 
| _GETsmootherExtrapolatedValue2 : Get an extrapolated value from smoother as a tuple of 2 float   | |
| int | _GETsmootherExtrapolatedValue3 (mmachine m) | 
| _GETsmootherExtrapolatedValue3 : Get an extrapolated value from smoother as a tuple of 3 float   | |
Detailed Description
Scol functions for capture devices
Function Documentation
◆ _AUTORENDERcapture()
| int _AUTORENDERcapture | ( | mmachine | m | ) | 
_AUTORENDERcapture : This function renders current frame on Android device Prototype: fun [ObjCapture] I
- Returns
 - I : return 1 on success, 0 on failure
 
Definition at line 702 of file CaptureToolkit.cpp.
◆ _BLTcapture()
| int _BLTcapture | ( | mmachine | m | ) | 
_BLTcapture : This function blit the device picture into a bitmap Prototype: fun [ObjCapture ObjBitmap] ObjBitmap
- Parameters
 - 
  
ObjCapture : capture device to blit ObjBitmap : bitmap to update  
- Returns
 - ObjBitmap : return same bitmap if success or NIL otherwise
 
Definition at line 197 of file CaptureToolkit.cpp.
◆ _CLRsmoother()
| int _CLRsmoother | ( | mmachine | m | ) | 
_CLRsmoother : Clears smoother state
Prototype: fun [ObjSmoother] ObjSmoother
- Parameters
 - 
  
ObjSmoother : Smoother to clear  
- Returns
 - ObjSmoother : same object
 
Definition at line 220 of file MathToolkit.cpp.
◆ _CRcapture()
| int _CRcapture | ( | mmachine | m | ) | 
_CRcapture : This function create a new capture device from a device index
Prototype: fun [Chn I] ObjCapture
- Parameters
 - 
  
Chn : Scol channel I : Device index (from 0) or NIL for first found  
- Returns
 - ObjCapture : new capture device, NIL on error
 
Definition at line 131 of file CaptureToolkit.cpp.
◆ _CRsmoother()
| int _CRsmoother | ( | mmachine | m | ) | 
_CRsmoother : Create a new Smoother object
Prototype: fun [Chn I I F F] ObjSmoother
- Parameters
 - 
  
Chn : channel I : smooth value type (SMOOTHER_TYPE_* FLOAT/VEC2/VEC3) I : smooth method (SMOOTHER_METHOD_* LINEAR/DOUBLEEXP) F : alpha smoothing factor (range [0..1]) F : beta smoothing factor (only for double exp smoothing) (range [0..1])  
- Returns
 - ObjSmoother : return the new ObjSmoother
 
Definition at line 132 of file MathToolkit.cpp.
◆ _DScapture()
| int _DScapture | ( | mmachine | m | ) | 
_DScapture : This function destroy a capture device
Prototype: fun [ObjCapture] I
- Parameters
 - 
  
ObjCapture : capture device to destroy  
- Returns
 - I : return 0 if success or NIL otherwise
 
Definition at line 89 of file CaptureToolkit.cpp.
◆ _DSsmoother()
| int _DSsmoother | ( | mmachine | m | ) | 
_DSsmoother : Destroys a Smoother object
Prototype: fun [ObjSmoother] I
- Parameters
 - 
  
ObjSmoother : Smoother to destroy  
- Returns
 - I : 0 / 1
 
Definition at line 251 of file MathToolkit.cpp.
◆ _GETcaptureBuffer()
| int _GETcaptureBuffer | ( | mmachine | m | ) | 
_GETcaptureBuffer : This function return the current pixel buffer Prototype: fun [ObjCapture] ObjBuff
- Parameters
 - 
  
ObjCapture : capture device  
- Returns
 - ObjBuff : return current pixel buffer if success or NIL otherwise
 
Definition at line 273 of file CaptureToolkit.cpp.
◆ _GETcaptureBufferExt()
| int _GETcaptureBufferExt | ( | mmachine | m | ) | 
_GETcaptureBufferExt : This function return the current pixel buffer Prototype: fun [ObjCapture] [ObjBuff I I I]
- Parameters
 - 
  
ObjCapture : capture device  
- Returns
 - [ObjBuff I I I] : return current pixel buffer width height bytes if success or NIL otherwise
 
Definition at line 331 of file CaptureToolkit.cpp.
◆ _GETcaptureDeviceList()
| int _GETcaptureDeviceList | ( | mmachine | m | ) | 
_GETcaptureDeviceList : This function list the installed video devices Prototype: fun [] [S r1]
- Returns
 - [S r1] : return the device list or NIL otherwise
 
Definition at line 394 of file CaptureToolkit.cpp.
◆ _GETcaptureSize()
| int _GETcaptureSize | ( | mmachine | m | ) | 
_GETcaptureSize : This function the size of a capture device Prototype: fun [ObjCapture] [I I]
- Parameters
 - 
  
ObjCapture : capture device  
- Returns
 - [I I] : return width and height
 
Definition at line 476 of file CaptureToolkit.cpp.
◆ _GETsmootherExtrapolatedValue1()
| int _GETsmootherExtrapolatedValue1 | ( | mmachine | m | ) | 
_GETsmootherExtrapolatedValue1 : Get an extrapolated value from smoother as simple float
Prototype: fun [ObjSmoother] F
- Parameters
 - 
  
ObjSmoother : Smoother to use  
- Returns
 - F : extrapolated value
 
Definition at line 488 of file MathToolkit.cpp.
◆ _GETsmootherExtrapolatedValue2()
| int _GETsmootherExtrapolatedValue2 | ( | mmachine | m | ) | 
_GETsmootherExtrapolatedValue2 : Get an extrapolated value from smoother as a tuple of 2 float
Prototype: fun [ObjSmoother] [F F]
- Parameters
 - 
  
ObjSmoother : Smoother to use  
- Returns
 - [F F] : extrapolated vec2 value
 
Definition at line 519 of file MathToolkit.cpp.
◆ _GETsmootherExtrapolatedValue3()
| int _GETsmootherExtrapolatedValue3 | ( | mmachine | m | ) | 
_GETsmootherExtrapolatedValue3 : Get an extrapolated value from smoother as a tuple of 3 float
Prototype: fun [ObjSmoother] [F F F]
- Parameters
 - 
  
ObjSmoother : Smoother to use  
- Returns
 - [F F F] : extrapolated vec3 value
 
Definition at line 559 of file MathToolkit.cpp.
◆ _GETsmootherSmoothedValue1()
| int _GETsmootherSmoothedValue1 | ( | mmachine | m | ) | 
_GETsmootherSmoothedValue1 : Get last smoothed value from smoother as simple float
Prototype: fun [ObjSmoother] F
- Parameters
 - 
  
ObjSmoother : Smoother to use  
- Returns
 - F : smoothed value
 
Definition at line 375 of file MathToolkit.cpp.
◆ _GETsmootherSmoothedValue2()
| int _GETsmootherSmoothedValue2 | ( | mmachine | m | ) | 
_GETsmootherSmoothedValue2 : Get last smoothed value from smoother as a tuple of 2 float
Prototype: fun [ObjSmoother] [F F]
- Parameters
 - 
  
ObjSmoother : Smoother to use  
- Returns
 - [F F] : smoothed vec2 value
 
Definition at line 406 of file MathToolkit.cpp.
◆ _GETsmootherSmoothedValue3()
| int _GETsmootherSmoothedValue3 | ( | mmachine | m | ) | 
_GETsmootherSmoothedValue3 : Get last smoothed value from smoother as a tuple of 3 float
Prototype: fun [ObjSmoother] [F F F]
- Parameters
 - 
  
ObjSmoother : Smoother to use  
- Returns
 - [F F F] : smoothed vec3 value
 
Definition at line 446 of file MathToolkit.cpp.
◆ _PUSHsmootherValue1()
| int _PUSHsmootherValue1 | ( | mmachine | m | ) | 
_PUSHsmootherValue1 : Push a new value to ObjSmoother
Prototype: fun [ObjSmoother F] ObjSmoother
- Parameters
 - 
  
ObjSmoother : Smoother to use F : new Value  
- Returns
 - ObjSmoother : same object
 
Definition at line 277 of file MathToolkit.cpp.
◆ _PUSHsmootherValue2()
| int _PUSHsmootherValue2 | ( | mmachine | m | ) | 
_PUSHsmootherValue2 : Push a new vector2 value to ObjSmoother
Prototype: fun [ObjSmoother F F] ObjSmoother
- Parameters
 - 
  
ObjSmoother : Smoother to use F : new Value x F : new Value y  
- Returns
 - ObjSmoother : same object
 
Definition at line 309 of file MathToolkit.cpp.
◆ _PUSHsmootherValue3()
| int _PUSHsmootherValue3 | ( | mmachine | m | ) | 
_PUSHsmootherValue3 : Push a new vector3 value to ObjSmoother
Prototype: fun [ObjSmoother F F F] ObjSmoother
- Parameters
 - 
  
ObjSmoother : Smoother to use F : new Value x F : new Value y F : new Value z  
- Returns
 - I : success 0/1
 
Definition at line 343 of file MathToolkit.cpp.
◆ _SAVEcaptureToFile()
| int _SAVEcaptureToFile | ( | mmachine | m | ) | 
_SAVEcaptureToFile : This function save a capture frame into a file Prototype: fun [ObjCapture W] I
- Parameters
 - 
  
ObjCapture : capture device W : path to the file  
- Returns
 - I : return 1 on success, 0 on failure
 
Definition at line 664 of file CaptureToolkit.cpp.
◆ _SETcaptureFocusPoint()
| int _SETcaptureFocusPoint | ( | mmachine | m | ) | 
_SETcaptureFocusPoint : This function define the focus point on a mobile camera device Prototype: fun [ObjCapture I I] I
- Parameters
 - 
  
ObjCapture : capture device I : X pos in screen I : Y pos in screen  
- Returns
 - I : return 1 on success nil on error
 
Definition at line 574 of file CaptureToolkit.cpp.
◆ _SETcaptureMirror()
| int _SETcaptureMirror | ( | mmachine | m | ) | 
_SETcaptureMirror : This function change the miror mode for the capture Prototype: fun [ObjCapture I] I
- Parameters
 - 
  
ObjCapture : capture device to apply miror mode I : value of the miror mode boolean  
- Returns
 - I : return I
 
Definition at line 438 of file CaptureToolkit.cpp.
◆ _SETcaptureSize()
| int _SETcaptureSize | ( | mmachine | m | ) | 
_SETcaptureSize : This function apply a size to a capture device Prototype: fun [ObjCapture I I] I
- Parameters
 - 
  
ObjCapture : capture device I : width I : height  
- Returns
 - I : return 1 on success nil on error
 
Definition at line 522 of file CaptureToolkit.cpp.
◆ _SETcaptureTorchState()
| int _SETcaptureTorchState | ( | mmachine | m | ) | 
_SETcaptureTorchState : This function change camera torch state Prototype: fun [ObjCapture I] I
- Parameters
 - 
  
ObjCapture : capture device I : value of the torch state boolean  
- Returns
 - I : return I
 
Definition at line 625 of file CaptureToolkit.cpp.
Generated by