Samsung S3C6400X User Manual page 727

Table of Contents

Advertisement

FIMV-MFC V1.0
Description of Run Commands
The command arguments registers must be set by host prior to executing the command. After completion of
command, return parameter registers are available to host. Host must set command at BusyFlag register is "0".
After BIT processor acknowledges new command, BusyFlag register is "1" and after the command completion
BusyFlag register is "0". Host may acknowledge the command completion by polling the BusyFlag register or
interrupt by BIT processor.
DEC_SEQ_INIT
This command initiates a decoding process. All of the DEC_SEQ_INIT command arguments register's value are
stored to internal memory during executing DEC_SEQ_INIT command by BIT processor and applied to current
process permanently. Therefore the value of DEC_SEQ_INIT command register will never be changed during
followed command (for example DEC_PIC_RUN)
At DEC_SEQ_INIT command, BIT processor finds sequence header and parsing the header to extract the bit
stream information such as picture size. Then the information is reported to DEC_SEQ_INIT return registers.
ENC_SEQ_INIT
This command initiates an encoding process. At ENC_SEQ_INIT command, BIT processor reads encoding
parameter from command argument registers and encodes sequence header. The encoding parameters which
exist in ENC_SEQ_INIT command argument register are applied to followed ENC_PIC_RUN commands and
never be changed. For example, [SliceMode] in CMD_ENC_SLICE_MODE register is applied to entire pictures
but [PictureQs] in CMD_ENC_PIC_QS register is changed at every ENC_PIC_RUN command. If invalid encoding
parameter is set by host, BIT processor reports error flag to RET_ENC_SEQ_SUCCESS register.
DEC_SEQ_END
This command terminates decoding process. After DEC_SEQ_END command, no further DEC_PIC_RUN
command will be accepted.
ENC_SEQ_END
This command terminates encoding process. BIT processor transfer remaining internal encoded bit stream data
to external bit stream buffer resides in SDRAM if [BufPicFlush] flag is "0" and [BufPicReset] flag is "0". After
ENC_SEQ_END command, no further ENC_PIC_RUN command will be accepted.
DEC_PIC_RUN
This command decodes one picture. After decoding one picture, BIT processor reports successful decoding flag
to RET_DEC_PIC_ERR_MB_NUM register and display frame buffer index to RET_DEC_PIC_IDX register.
ENC_PIC_RUN
This command encodes one picture. The SDRAM address of encoded source frame buffer must be set to
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.
MULTI-FORMAT
VIDEO
CODEC
21-101

Advertisement

Table of Contents
loading

Table of Contents