
PRELIMINARY
POST PROCESSOR
S3C6400X RISC MICROPROCESSOR
15-8
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available.
Specifications and information herein are subject to change without notice.
such a way that the number of horizontal pixel can be represented by kn where n = 1,2,3, … and k = 1 / 2 / 8 for
24bppRGB / 16bppRGB / YCbCr420 image, respectively. Also SRC_Width must be multiples of 4
PreScale_H_Ratio and SRC_Height must be multiple of PreScale_V_Ratio.
Figure 15-5 Source destination image size Block Diagram
The other control registers of pre-scaled image size, pre-scale ratio, pre-scale shift ratio and main scale ratio
are defined according to the following equations.
If ( SRC_Width >= 64 × DST_Width ) { Exit(-1); /* Out Of Horizontal Scale Range */ }
else if (SRC_Width >= 32 × DST_Width) { PreScale_H_Ratio = 32; H_Shift = 5; }
else if (SRC_Width >= 16 × DST_Width) { PreScale_H_Ratio = 16; H_Shift = 4; }
else if (SRC_Width >= 8 × DST_Width) { PreScale_H_Ratio = 8; H_Shift = 3; }
else if (SRC_Width >= 4 × DST_Width) { PreScale_H_Ratio = 4; H_Shift = 2; }
else if (SRC_Width >= 2 × DST_Width) { PreScale_H_Ratio = 2; H_Shift = 1; }
else { PreScale_H_Ratio = 1; H_Shift = 0; }
PreScale_DSTWidth = SRC_Width / PreScale_H_Ratio;
dx = ( SRC_Width << 8 ) / ( DST_Width << H_Shift);
If ( SRC_Height >= 64 × DST_Height ) { Exit(-1); /* Out Of Vertical Scale Range */ }
else if (SRC_Height >= 32 × DST_Height) { PreScale_V_Ratio = 32; V_Shift = 5; }
Source Image Destination
Image
SRC_Width
0
1
1
SRC
H
i
h
DST_Width
DST_
Heigh
t