| 数据搜索系统,热门电子元器件搜索 |
|
STV0974 数据表(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STV0974 数据表(HTML) 18 Page - STMicroelectronics |
|
18 / 69 page ![]() 18/61 STV0974 Functional description 4.4.5 Entropy coder This block performs the following functions: ● insertion of JPEG Markers ● runlength encoding ● Huffman encoding 4.4.5.1 JPEG markers These markers are compliant with ISO DIS 10918-1 Annex B. The output JPEG file includes markers defined in Table 7, in order of appearance. 4.4.5.2 Runlength and Huffman encoding Encoding of DC coefficient The so-called DC coefficient is the first coefficient of each DCT data block. This DC coefficient is coded through its DPCM difference with its previous value, which is huffman encoded. This is described in ISO DIS 10918-1 Annex A - Section F.1.2.1. The DC Huffman tables are described in ISO DIS 10918-1 Annex A - Section K.3. In the example from Figure 10, the DC coefficient in Block Y2 is equal to 4, the previous Luminance DC coefficient is 12 (DC coefficient of Block Y1). The DPCM value is 4-12 = -8 and the encoded value will be Huffman (-8). The code that is generated is Code = DC Huffman (-8). Encoding of AC coefficients The 63 left coefficients of each DCT block are called AC coefficients. They are encoded using run- length and Huffman encoder. The run-length encoding consists in counting the number of zero values between each non-zero coefficient. When a non zero coefficient is found, the Huffman code of the pair (number of preceding zero, Number value) is Huffman encoded. If a run contains more than 15 zeros, a specific number called ZRL is Huffman encoded. If all the values up to the end of the block are equal to zero, a specific code called EOB is Huffman encoded. Table 7: JPEG markers included in STV0974 output data stream Marker Function Name Value Start of image SOI FFD8 Define Quantization Table DQT FFDB Start of frame for baseline DCT SOF0 FFC0 Define Huffman Tables DHT FFC4 Start of Scan SOS FFDA End of image End of image FFD9 Figure 10: Encoding of DC coefficient 1 Block Y1 data values 12 234 DCT coefficient numbers in zigzag order 64 63 DC AC DC 234 63 1 AC Block Y2 data values 416 77 1 0 4 5 22 10 0 0 64 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |