![]() |
| jit.ameba | Idiosyncratic downsampling/upsampling |
| Matrix Operator: in[1] out[1] |
| Name | IOProc | Planelink | Typelink | Dimlink | Plane | Dim | Type |
| in | n/a | n/a | n/a | n/a | n/a | n/a | n/a |
| out | n/a | yes | yes | yes | 4 | all | char |
| Attributes: |
| Name | Type | Description |
| gain | float | The overall gain scaling factor (default = 1.) |
| mode | int |
Color handling mode (default = 0 (wrap)) 0 = wrap: Values that exceed the limits are wrapped around to the opposite limit with a modulo operation. (256 wraps to 0, 257 wraps to 1, and -1 wraps to 255, -2 wraps to 254, etc.) 1 = clip: Values are limited not to exceed min or max. (E.g. numbers greater than 255 are set to 255, and numbers less than 0 are set to 0.) 2 = fold: Values that exceed the limits are folded back in the opposite direction. (256 is folded back to 254, 257 is folded back to 253, and -1 is folded back to 1, -2 to 2, etc.) |
| x | int | The number of cells used for horizontal quantization (default = 1) |
| y | int | The number of cells used for vertical quantization (default = 1) |
| Example: |

| See Also: |
| jit.matrix, jit.op, jit.plur |