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

jit.demultiplex Reference

Demultiplex (deinterleave) one matrix into two

jit.demultiplex

Description

Accepts a single matrix as input, and derives two output matrices from it by demultiplexing across a specified dimension.

Examples

Discussion

Specifically, the object takes a set of scanlines across the input matrix, placing these into the first output matrix, and then takes the next set of scanlines, placing those into the second output matrix, alternating between the two until the input matrix's data is exhausted.

Matrix Operator

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

More about Matrix Operators

The Jitter MOP

MOP Arguments

MOP Attributes

MOP Messages

Attributes

autoclear [int]

Matrix clear following output flag (default = 1)

demultiplexdim [int]

The dimension across which demultiplexing occurs (default = 0)

Possible values:

'0'
'1'
'2'
'3'
'4'
'5'
'6'
'7'
'8'
'9'
'10'
'11'
'12'
'13'
'14'
'15'
'16'
'17'
'18'
'19'
'20'
'21'
'22'
'23'
'24'
'25'
'26'
'27'
'28'
'29'
'30'
'31'

scan_a [int]

The number of scanlines across the input matrix sampled into the first output matrix (default = 1)
To perform a standard deinterleave of NTSC video, scan_a and scan_b would both be set to 1.

scan_b [int]

The number of scanlines across the input matrix sampled into the second output matrix (default = 1)
To perform a standard deinterleave of NTSC video, scan_a and scan_b would both be set to 1.

Common Box Attributes

See Also

Name Description
Working with Video in Jitter Working with Video in Jitter
jit.concat
jit.glue
jit.matrix
jit.multiplex
jit.scissors
jit.split