A newer version of Max is available. Click here to access the latest version of the documentation

jit.scanoffset Reference

Uses a 1-dimensional matrix to offset scanlines

jit.scanoffset

Description

jit.scanoffset uses a 1-dimensional slice of one matrix as a map for the offset and scale of the scanlines of another matrix.

Examples

Matrix Operator

matrix inputs:2, matrix outputs:1
Name IOProc Planelink Typelink Dimlink Plane Dim Type
in2 adapt 0 0 0 1 1 float32
out n/a 1 1 1 1 1 char long float32 float64

More about Matrix Operators

The Jitter MOP

MOP Arguments

MOP Attributes

MOP Messages

Attributes

displacement_map [3 ints]

The scanline, dimension, and plane of the matrix (in2_matrix) used as the offset/scale map (default = 0 0 0)

interp [int]

Interpolation flag (default = 0) When the flag is set, the incoming matrix is interpolated when scaling to display.

mode [int]

The axis of the in1_matrix along which to apply the offset. (default = 0 (horizontal))
0 = apply offset along the horizontal axis
1 = apply offset along the vertical axis

offset [float]

The offset amount. (default = 0.)

scale [float]

The scale amount. (default = 0.)

Common Box Attributes

See Also

Name Description
Working with Video in Jitter Working with Video in Jitter
jit.repos
jit.scanwrap