Samsung S3C6400X User Manual page 672

Table of Contents

Advertisement

S3C6400X RISC MICROPROCESSOR
Reordering coefficients
Reordering is performed based on scan types set by the BIT processor. The scan types are listed below.
H.264
The H.264 baseline profile uses only the zig-zag scan type.
MPEG-4/H.263P3
The MPEG-4/H.263P3 uses 3 scan types zig-zag, alternative horizontal, and alternative vertical scan
type. Which scan type is selected based on the AC/DC prediction flag and macroblock type. In case of inter-
macroblock type, only zig-zag scan type is used. For intra-macroblock, if AC prediction flag is '1', the scan type is
dependent on the prediction direction of DC coefficient. If AC prediction flag is '0', only zig-zag scan type is
applied.
Accessing the coefficient memory
The BIT processor reads or writes coefficient in the coefficient memory by specifying the block index, scan type,
and the corresponding coefficient index. Figure 21.36 illustrates how the BIT processor accesses the coefficient
memory.
― block index : In case of the MPEG-4/H.263P3, each 8x8 block has its own index in range from 0 to 6.
For the H.264, the range for the block index- the size of block is 4x4- is from -1 to 25. The assignment of
the index is based on the standard.
― scan type : The BIT processor does not have to consider it should write or read coefficient to which
position of the coefficient memory for both encoding and decoding. The coefficient memory interface
writes or reads coefficients after reordering them based on the specified scan type.
15
F[0][0]
F[0][1]
F[0][63]
F[1][0]
F[1][1]
F[1][63]
F[5][63]
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available.
21-46
Specifications and information herein are subject to change without notice.
0
Coeff[0][0]
Coeff[0][1]
Coeff[0][63]
Coeff[1][0]
Coeff[1][1]
Coeff[0][63]
Coeff[5][63]
Figure 21.36 Coefficient memory access
Coefficient memory I/F registers
Block Index (0~5)
Scan type
Address Generator & Reordering
Reordered
coefficient or
concatenated
flags for specified
block
(in case of
encoding)
IPB read data bus
MULTI-FORMAT VIDEO CODEC
Coeff. Index(IPB
Address
Bus[7:2]) (0~63)
Decoded
coefficient (in
case of decoding)
IPB write data bus

Advertisement

Table of Contents
loading

Table of Contents