Image signal coding apparatus with bit stream buffer of reduced storage capacity
AssigneeMitsubishi Denki Kabushiki Kaisha
InventorSatoshi Kumaki
Life of this patent
Estimating the term…
Abstract
The number of stuff bytes to be inserted is calculated using a stuff code inserter in a difference detection circuit, inserted as a stuff code into a bit stream of coded data and stored into a bit stream buffer. The stuff code is detected in a multiplexed bit stream read out from the bit stream buffer, read of a coded bit stream is ceased and stuff bytes indicated by the stuff code are inserted into the coded bit stream. Therefore, stuff bytes generated in great amount can be easily inserted into an output bit stream even with a small data transfer capacity of the bit stream buffer.
Claims11
An image signal coding apparatus comprising:
- bit stream generation circuitry for coding an image signal to generate a bit stream of coded image data;
- difference detection circuitry calculating a number of bits of coded image data for each predetermined processing unit section of the bit stream from said bit stream generation circuitry and obtaining a difference between the calculated number of bits and a predetermined reference number of bits;
- insertion circuitry generating a difference code indicating the difference detected by said difference detection circuitry and a stuff start code indicating an inserting position of said difference code, and outputting the bit stream to a bit stream memory after inserting the difference code and the stuff code into the processing unit section of the bit stream;
- output circuitry extracting said stuff start code and said difference code from the bit stream read out from said bit stream memory and inserting stuff bits by a number indicated by said difference code into a corresponding processing unit section, starting at a position indicated by said stuff start code, to generate and output a multiplexed bit stream;
- addition circuitry adding an amount of data bits written in said bit stream memory and an amount of data bits indicated by said difference code;
- and
- subtraction circuitry subtracting an amount of stuff bits inserted by said output circuitry from an output value of said addition circuitry, when the difference code is extracted by said output circuitry, to generate information indicating an amount of virtual storage data of said bit stream memory.
An image signal coding apparatus comprising:
- bit stream generation circuitry for coding an image signal to generate a bit stream of coded image data;
- difference detection circuitry calculating a number of bits of coded image data for each predetermined processing unit section of the bit stream from said bit stream generation circuitry and obtaining a difference between the calculated number of bits and a predetermined reference number of bits;
- insertion circuitry generating a difference code indicating the difference detected by said difference detection circuitry, outputting the coded image data with a flag of a first logic state linked thereto, to a bit stream memory, in a unit of a predetermined number of bits in parallel and outputting said difference code with a flag of a second logic state different from the first logic state linked thereto, to the bit stream memory, in the unit of the predetermined number of bits in parallel;
- and
- output circuitry extracting said difference code according to said flag from the bit stream read out from said bit stream memory and inserting stuff bits by a number indicated by said difference code into a corresponding processing unit section, starting at a position indicated by said flag.
An image signal coding apparatus comprising:
- bit stream generation circuitry for coding an image signal to generate a bit stream of coded image data;
- difference detection circuitry calculating a number of bits of said coded image data for each predetermined processing unit section of the bit stream from said bit stream generation circuitry and obtaining a difference between the calculated number of bits and a predetermined reference number of bits;
- insertion circuitry generating a difference code indicating the difference detected by said difference detection circuitry and a stuff insert position indicating code indicating an inserting position of the difference code and generating a multiplexed bit stream by inserting said difference code and said stuff insert position indicating code into a corresponding processing unit section of the bit stream to output said multiplexed bit stream;
- a bit stream memory for storing a bit stream generated by said insertion means;
- output circuitry extracting said stuff insert position indicating code and said difference code from the bit stream read out from said bit stream memory and inserting stuff bits by a number indicated by said difference code into a corresponding processing unit section, starting at a position indicated by said stuff insert position indicating code.
Dependencies are inferred from the claim text.