摘要:
5 n7 A variable-length-code decoder of this invention decodes an input bit stream including an input bit string having a codeword of a fixed-length code and a plurality of codewords of variable-length codes combined in a predetermined format. The decoder includes: a shifter for shifting the input bit string by a desired number of bits; a pattern detector for detecting a specific pattern in the bit string, and outputting a detection signal; two code tables provided for the respective variable-length codes, each code table having the length of each codeword (codeword length) and the decoded-word corresponding to the codeword, and outputting a codeword length and a decoded-word of a corresponding codeword based on the bit string output from the shifter; a processor for storing the format of the input bit string, outputting the length of the fixed-length code and decoded data of the fixed-length code, and selecting, for each of the variable-length codewords, one of the code tables to which the variable-length codeword belongs to, based on the detection signal and the format; a codelength selector for selecting the codeword length or the fixed-length code, and for setting the shift amount for the input bit string in the shifter; and an output circuit for selectively outputting the decoded-word or the decoded data.
摘要:
A decoding device 1 decodes a bit stream including a plurality of packets. Data corresponding to an access unit includes a first data portion 150a-1 and a second data portion 150a-2 . The decoding device 1 includes a packet regeneration section 10 for receiving a first packet 130 and a second packet 130 following the first packet 130 , and when the first packet 130 includes the first data portion 150a-1 and the second packet 130 includes the second data portion 150a-2 , producing a new packet 164 including the data corresponding to the access unit by combining the first data portion 150a-1 and the second data portion 150a-2 . The decoding device 1 also includes a decoding section 40 for decoding the data corresponding to the access unit. The new packet 164 includes information indicating a length of the data corresponding to the access unit.
摘要:
A coded signal reproduction apparatus comprising end code sequence detection means for detecting, from code sequences of coded data, a code sequence indicating the end of the coded data; and formatter means for adding a predetermined number of pseudo data to the rear of the code sequence indicating the end of the coded data so that the data bus width of pipeline transfer including the end of the coded data becomes equal to the bus width of pipeline transfer including other data, when a code sequence indicating the end of the code data is detected. Data transfers inside the pipeline in the reproduction apparatus can be performed to the end of coded data which is shorter than the data bus width in the pipeline. The coded signal reproduction apparatus inserts a specific code sequence in the last packet of the packet sequence before adding pseudo data.
摘要:
A formatter 2s13 is provided and, when a code sequence which matches a part ('00') of the head of a predetermined code sequence detected by a start code prefix detection unit 2s3, is detected, the start code prefix detection unit 2s3 detects the residual part ('00','00','01','E0') of the detected predetermined code sequence to detect a pattern of ('00','00','00'), and the formatter 2s13 outputs one ('00'). After the boundary of packets is defined, amongst data which are not transferred to a decoding buffer 2s9, data corresponding to code sequences other than the code sequence ('00','00','01','E0') indicating the packet boundary are output to the decoding buffer 2s9. Therefore, when separating a coded and multiplexed signal, control of an input buffer reading control circuit 2s4 is simplified, and thereby the hardware scale is reduced, resulting in an inexpensive apparatus for reproducing a digital code sequence.
摘要:
A frame memory is provided which has five fields each having N slots, and three additional slots. Each slot has a storage capacity to store eight image lines. Four fields of the five fields serve to store motion compensation reference frames. The remaining one field and the three additional slots are used for B-picture interlace conversion. Disposed in a control unit are a slot control memory, a write slot pointer, and a read slot pointer. For an image output unit to acquire information from the frame memory in a correct slot order, the contents of the slot control memory are updated at the time of performing write operation to enter information into the frame memory by a bit stream analysis unit.
摘要:
When a digitized broadcast is recorded in a storage medium, a required capacity of the storage medium is firstly calculated on the basis of a bit-rate of digitized broadcast data and a recording time which is known in advance. If the remaining capacity of the storage medium is smaller than the required capacity of the storage medium, for example, a frame rate decimation and pixel reduction are performed upon a broadcast to be newly stored, a re-encoding processing is performed for the broadcast and then the resultant broadcast is stored in the storage medium. If the remaining storage capacity of the storage medium is larger than the required capacity of the storage medium and thus remains, a frame interpolation and pixel interpolation are performed for the broadcast to be stored and then a re-encoding processing is performed for the resultant broadcast in order to improve its image quality. As a result, recording of the broadcast data in the storage medium can be ensured.
摘要:
A frame memory is provided which has five fields each having N slots, and three additional slots. Each slot has a storage capacity to store eight image lines. Four fields of the five fields serve to store motion compensation reference frames. The remaining one field and the three additional slots are used for B-picture interlace conversion. Disposed in a control unit are a slot control memory, a write slot pointer, and a read slot pointer. For an image output unit to acquire information from the frame memory in a correct slot order, the contents of the slot control memory are updated at the time of performing write operation to enter information into the frame memory by a bit stream analysis unit.
摘要:
5 n7 A variable-length-code decoder of this invention decodes an input bit stream including an input bit string having a codeword of a fixed-length code and a plurality of codewords of variable-length codes combined in a predetermined format. The decoder includes: a shifter for shifting the input bit string by a desired number of bits; a pattern detector for detecting a specific pattern in the bit string, and outputting a detection signal; two code tables provided for the respective variable-length codes, each code table having the length of each codeword (codeword length) and the decoded-word corresponding to the codeword, and outputting a codeword length and a decoded-word of a corresponding codeword based on the bit string output from the shifter; a processor for storing the format of the input bit string, outputting the length of the fixed-length code and decoded data of the fixed-length code, and selecting, for each of the variable-length codewords, one of the code tables to which the variable-length codeword belongs to, based on the detection signal and the format; a codelength selector for selecting the codeword length or the fixed-length code, and for setting the shift amount for the input bit string in the shifter; and an output circuit for selectively outputting the decoded-word or the decoded data.