发明名称 METHOD AND DEVICE FOR ENCODING VARIABLE LENGTH CODE
摘要 PURPOSE:To provide a method and device for encoding variable length code which can limit the code length of a code at the time of variable length encoding. CONSTITUTION:An encoding device 1 is provided with an encoding part 12 for encoding quantized data, code table preparing part 18 for preparing a code table for encoding, and memory 20 for storing the prepared code table. The code table preparing part 18 is provided with a function for calculating the appearance frequency of symbols in the quantized data, sort function for rearranging the calculated appearance frequency in the order of that appearance frequency, and function for preparing a Huffman code by allocating the codes to the sorted symbols. Further, the code table preparing part 18 is provided with a function for deciding whether the prepared Huffman code is within a prescribed code length or not. When it exceeds the prescribed code length, the value of the appearance frequency calculated up to that time is replaced with the other value by an appearance frequency replacing function and based on the new replaced appearance frequency, the code table preparing part 18 conducts processing again so that the Huffman code can be prepared within the prescribed code length.
申请公布号 JPH07212243(A) 申请公布日期 1995.08.11
申请号 JP19940002203 申请日期 1994.01.13
申请人 FUJI PHOTO FILM CO LTD 发明人 SHIGYO YUJI
分类号 H04N19/13;H03M7/40;H04N1/41;H04N7/24;H04N19/00;H04N19/134;H04N19/196;H04N19/33;H04N19/423;H04N19/50;H04N19/61;H04N19/625;H04N19/91 主分类号 H04N19/13
代理机构 代理人
主权项
地址