Syntax
INT is_SetDecimationMode (HIDS hf, INT nMode, INT nDecimate)
Description
is_SetDecimationMode() sets the number n of frames or fields which should be thrown away (PAL: n of 25 frames/50 fields; NTSC: n of 30 frames/60 fields). The unused frames or fields are not transferred over the PCI bus which gives a reduction of PCI load.
Parameters
hf |
Frame grabber handle |
NMode |
|
IS_DECIMATION_OFF |
Switch off the decimation mode |
IS_DECIMATION_CONSECUTIVE |
Leave out the number of frames/fields contiguously. |
IS_DECIMATION_DISTRIBUTED |
The thrown away frames/fields are spread in a constant way over the 25 frames/50 fields. |
IS_GET_DECIMATION_MODE |
Returns the current decimation mode |
IS_GET_DECIMATION_NUMBER |
Returns the number of frames/fields |
NDecimate |
|
Frames Fields |
1…25 (NTSC : 0…30) 1…50 (NTSC : 1…60) |
Return value
Current setting with IS_GET_DECIMATION_MODE and IS_GET_DECIMATION_NUMBER, else IS_SUCCESS or IS_NO_SUCCESS.