Samsung S3C6400X User Manual page 592

Table of Contents

Advertisement

S3C6400X RISC MICROPROCESSOR
640 x (1 word / 2 pixel) = 320 words , 320 % 16 = 0 → Wanted main burst = 16, Wanted remained burst = 16
If output format RGB888/666 mode (1 word = 1 pixel)
640 x (1 word / 1 pixels) = 640 words, 640 % 16 = 0 → Wanted main burst = 16, Wanted remained burst = 16
Example 3: Target image size : QCIF (horizontal C width = 88 pixels. 1 pixel = 1 Byte)
If output format non-interleave YCbCr 4:2:2,0 (1 word = 4 pixel)
88 / 4 = 22 word. , 22 % 4 = 2 → main burst = 4, remained burst = 2 (HTRANS==INCR)
C
aution! CAMERA INTERFACE in S3C6400X generates INCR (HBURST of AMBA) transfer type at
abnormal burst length as 2, and at crossing 1024 address boundary by single transfer. System controller
including CAMERA INTERFACE in S3C6400X must support to treat INCR burst as several single transfer
accesses. Watch over your memory controller and system arbiter specification!
REGISTER SETTING GUIDE FOR CODEC SCALER AND PREVIEW SCALER
SRC_Width and DST_Width satisfy the word boundary constraints such that the number of horizontal pixel can
be represented to kn where n = 1,2,3, ... and k = 1 / 2 / 8 for 24bppRGB / 16bppRGB / YCbCr420 image,
respectively. TargetHsize must not be larger than Camera SourceHsize. Similarly, TargetVsize must not be larger
than Camera SourceVsize. DMA input source size can be ignored.
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.
S o u rc e H s iz e
O r ig in a l In p u t
S R C _ W id th = S o u rc e H s iz e
S R C _ H e ig h t = S o u rc e V s iz e
S o u rc e H s iz e
O r ig in a l In p u t
① ,
: W in H o rO fs t, W in H o rO fs t2
③ , ④
: W in V e rO fs t, W in V e rO fs t2
S R C _ W id th = S o u rc e H s iz e - (W in H o rO fs t + W in H o rO fs t2 )
S R C _ H e ig h t = S o u rc e V s iz e - (W in V e rO fs t + W in V e rO fs t2 )
Figure 20-19 Scaling scheme
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.
T a rg e tH s iz e _ x x
S c a le D o w n
T a rg e tH s iz e _ x x = T a rg e tH s iz e _ C o o r T a rg e tH s iz e _ P r
D S T _ W id th = T a rg e tH s iz e _ x x
D S T _ H e ig h t = T a rg e tV s iz e _ x x
T a rg e tH s iz e _ x x
Z o o m In
T a rg e tH s iz e _ x x = T a rg e tH s iz e _ C o o r T a rg e tH s iz e _ P r
D S T _ W id th = T a rg e tH s iz e _ x x
D S T _ H e ig h t = T a rg e tV s iz e _ x x
CAMERA INTERFACE
20-27

Advertisement

Table of Contents
loading

Table of Contents