jit.scalebias Reference

Multiply and add

jit.scalebias

Description

jit.scalebias scales the values of a 4-plane input matrix of type char (ARGB) and adds to an offset value (bias).

Examples

Matrix Operator

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

More about Matrix Operators

The Jitter MOP

MOP Arguments

MOP Attributes

MOP Messages

Attributes

abias [float]

The alpha bias (offset) value (default = 0.)

ascale [float]

The alpha scale value (default = 1.)

bbias [float]

The blue bias (offset) value (default = 0.)

bias [float]

g/s(set)

The bias (offset) value for all colors if channel summing is set using the mode 1 message (default = 0.)

bscale [float]

The blue scale value (default = 1.)

gbias [float]

The green bias (offset) value (default = 0.)

gscale [float]

The green scale value (default = 1.)

mode [int]

Channel summing mode (default = 0 (normal))
0 = normal
1 = sum all the channels together

rbias [float]

The red bias (offset) value (default = 0.)

rscale [float]

The red scale value (default = 1.)

scale [float]

g/s(set)

The all scale value if channel summing is set using the mode 1 message (default = 0.)

Common Box Attributes

See Also

Name Description
Working with Video in Jitter Working with Video in Jitter
jit.charmap
jit.map
jit.op
jit.rgb2luma
Tutorial 6: Adjust Color Levels Tutorial 6: Adjust Color Levels
Tutorial 9: More Mixing Tutorial 9: More Mixing