Samsung S3C6400X User Manual page 730

Table of Contents

Advertisement

MULTI-FORMAT VIDEO CODEC
S3C6400X RISC MICROPROCESSOR
This is the output return data for ENC_PIC_RUN command. If [MbBitReport] flag in CMD_ENC_SEQ_OPTION
register is "1", BIT processor stores the start bit position of each macro block from the beginning of picture to the
parameter buffer after ENC_PIC_RUN command completion. The start bit position is stored as unsigned 16 bit for
each macro block. The macro block row stride offset is 128 bytes so the last 128-720/16*2 = 38 bytes of each
macro block row area is never used. The byte address of macro block position <MbX, MbY> is {ParaBufAddr +
MbY * 128 + MbX * 2}. The maximum encoding source picture height is 576 so the maximum size of the macro
block bit number buffer is 128 * 576/16 = 4608 byte (4.5 KB). The detailed format is illustrated in the following
diagram.
Encoded Slice Information
This is the output return data for ENC_PIC_RUN command. If [SliceInfoReport] flag in CMD_ENC_SEQ_OPTION
register is "1", BIT processor stores the end SDRAM address in the external bit stream buffer of each encoded
slice to the parameter buffer after ENC_PIC_RUN command completion. The total number of generated slices is
stored to RET_ENC_PIC_SLICE_NUM register and the SDRAM address of the end position of each slice is
stored to parameter buffer. From the end position of each slice, host may calculate exact byte count size of each
slice. The start address of slice position buffer is {ParaBufAddr + 4608(0x1200)} just below macro block bit
number buffer. The SDRAM address of slice end position is unsigned 32 bit for each slice. The detailed format is
illustrated in the following diagram.
Preliminary product information describe products that are in development,
21-104
for which full characterization data and associated errata are not yet available.
Specifications and information herein are subject to change without notice.

Advertisement

Table of Contents
loading

Table of Contents