
AT32F435/437
Series Reference Manual
2022.11.11
Page 648
Rev 2.03
Figure 27-10 Crop window block diagram
Image
Image
(CHSTR,CVSTR)
CHNUM+1
CVNUM+1
CRP
Note: As the DVP packs the captured data into a 32-bit word for DMA access, the CHNUM bit has the
following limits while using crop feature: for 8-bit data (PDL=0), CHNUM+1 must be a multiple of 4; for
10-bit, 12-bit or 14-bit data (PDLǂ0), CHNUM+1 must be a multiple of 2.
27.6.3 Image resizing
The image resizing feature can be used to scale down the pixels or lines of an image. It consists of a
basic image capture/drop control and advanced image resizing feature.
Figure 27-11 Image resizing block diagram
Image
Image
PCDC/LCDC
or
EISR
Basic image capture/drop control feature
The basic image capture/drop control feature is enabled through the PCDC or LCDC bit in the
DVP_CTRL register. After the LCDC bit is set to 1, drop one out of every two captured image lines to
halve the size of the vertical axis of an image. The LCDS bit can be used to select whether to capture
the previous one but drop the next one, or vice versa. The PCDC bit can be used to adjust the horizontal
axis size of an image. The PCDS and PCDES bits determine which data to capture, as shown in Figure
27-12 and Figure 27-13.