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

jit.uyvy2argb Reference

Converts UYVY to ARGB

jit.uyvy2argb

Description

The jit.uyvy2argb object converts a 4-plane char UYVY (signed chroma blue, luminance left, signed chroma red, luminance right) matrix into a 4-plane char ARGB (alpha, red, green, blue) matrix.

Examples

Discussion

A default alpha channel (all on) is added and horizontal dimension is doubled for the output to account for this half chroma, macro pixel input format. The UYVY format is typically useful for efficiently transfering chroma reduced codecs to the GPU without the expense of colorspace conversion, or bandwidth requirements of a full chroma format. However, to apply most spatial operations in Jitter on the CPU, a full chroma format like AYUV or ARGB is typically necessary.

Matrix Operator

matrix inputs:1, matrix outputs:1
Name IOProc Planelink Typelink Dimlink Plane Dim Type
out n/a 1 1 0 3 1 char

More about Matrix Operators

The Jitter MOP

MOP Arguments

MOP Attributes

MOP Messages

Attributes

noalpha [int]

Disable alpha channel flag. If this flag is set, a three-plane RGB matrix will be output instead of a four-plane ARGB matrix.

Common Box Attributes

See Also

Name Description
Working with Video in Jitter Working with Video in Jitter
jit.argb2uyvy
jit.colorspace
jit.traffic
jit.uyvy2ayuv
jit.uyvy2luma