SPRUJ28F November 2021 – August 2025 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
Figure 6-63 RAWFE PWL Curve implementationThe PWL block implements the following equation assuming the input lies in the nth segment.
The figure below shows the PWL block architecture
Figure 6-64 RAWFE PWL Block DiagramThe Wdr_clip parameter can be set to clip the output at the desired bit width (typically 20 bits).