CS6100 Amphion Semiconductor Ltd., CS6100 Datasheet - Page 9

no-image

CS6100

Manufacturer Part Number
CS6100
Description
Motion JPEG Encoder
Manufacturer
Amphion Semiconductor Ltd.
Datasheet
The status register flags (EncFlags[7:0]) indicate the current
state of the CS6100 operation. When an error is detected dur-
ing the coding process, the compression process is suspended
and the CS6100 waits until a reset process is invoked by sig-
Table 5: Status Register Pin Definitions
BIT
7
6
5
4
3
2
1
0
EncHfError
EncInProg
JpgInProg
PixInProg
EncError
CtlError
HtError
QtError
NAME
Set when an undefined Huffman table symbol is referenced during encoding
Set when an invalid SOF parameter is detected. This includes detecting:
Set when an invalid SOS parameter is detected. This includes detecting:
Set when EncFlags[7] is set
Set when there is a mismatch between the DNL segment input to the core and the
number of lines in the input image which have already been encoded
Set when an invalid DHT segment is detected. This includes detecting:
Set when an invalid DQT segment is detected. This includes detecting:
Set when the parser detects an error in the configuration stream
Set when any of EncFlags[7:4] are set
Set when any SOF marker is detected other than SOF0
Set when anything other than a JPEG marker or the defined Bit Rate Control marker
segment is input
This includes the restart marker which should not be included in the configuration stream
Set if incomplete Huffman or quantization definition is detected (Huffman/Quantization Table
should be complete before the end of the configuration stream )
Set when the first sample of the first 8x8 block is input into the core and de-asserted when
the last pixel of last block of the scan is input
Set when encoding and de-asserted when encoding of scan is complete
The signal is asserted after the SigSOS signal has been output and remains valid until the
last Huffman code has been loaded into the data stream generator
Set when core starts to process input CfgIn and when it accepts AutoStart. De-asserted when
encoding has been completed, i.e. when the EOI marker has been processed by the core
• A sample precision which is not equal to 8-bit
• The horizontal size of the image set to zero
• The number of components in a frame set to zero
• Any of the horizontal or vertical sampling ratios set to be greater than 5
• The quantization table ID greater than 3
• A reference to an undefined Huffman or quantization table
• The number of components in a scan to be zero or more than 4
• More than 10 blocks in an MCU
• Incorrect SOS fixed parameter settings
• An all one Huffman code
• An invalid Huffman Table class (this should be ‘0’ for DC tables and ‘1’
• An invalid Huffman table identifier (this should be in the range 0 to 3)
• The L value limit has been exceeded (this should be 12 for a DC table and
• A zero quantization coefficient
• An invalid quantization level precision (this should be set to zero for baseline JPEG)
• An invalid quantization table identifier (this should be in range 0 to 3)
(these should be as follows:Ss=0 Se=63 AhAl=0)
for AC tables)
162 for an AC DC table)
STATUS REGISTERS
nal RSTn or CLR. The individual bits are set to zero at reset
and active high to indicate an error condition as defined in
Table 5:
DESCRIPTION
9

Related parts for CS6100