SPRUJ28E November 2021 – September 2024 AM68 , AM68A , TDA4AL-Q1 , TDA4VE-Q1 , TDA4VL-Q1
The PWL block is used to apply a piece-wise-linear gain on the incoming pixel data and is generally used to uncompress sensor compressed data. The knee points of the PWL curve should be programmed to correspond with the compression knee points used by the sensor configuration.
The PWL block supports an input size from 8 – 16 bits and can support an output up to 24 bits.
Figure 6-63 depicts a PWL curve applied on incoming data
The PWL block implements the following equation assuming the input lies in the nth segment.
The figure below shows the PWL block architecture
The Wdr_clip parameter can be set to clip the output at the desired bit width (typically 20 bits).