Apparatus and method for coding moving picture
First Claim
1. A moving picture coding apparatus comprising:
- a coding processing means for coding a video signal in a frame for each block of a prescribed area; and
a rate control means for controlling the coding processing means so that a generated code amount after coding of the video signal is fixed for each code amount control unit as a unit of the frame or a unit which is smaller than the frame.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides an apparatus and method for coding moving pictures, which reduces a delay time generated by buffering of a decoding apparatus in compressive coding of the moving pictures. In this invention, the target number of bits of one picture P as a target value of the number of generated bits per one picture is set as well as the upper limit number of bits uCg as an upper limit value of the number of generated bits of the picture is set. Then, when the cumulative number of generated bits Cg generated from the first macroblock to a macroblock which is being coded in the picture exceeds the upper limit number of bits uCg in the middle of the picture which is being coded, the coding of a macroblock is skipped to avoid underflow. When the cumulative number of generated bits Cg does not reach the target number of bits of one picture P after the picture has been coded to the end, the stuffing is performed so that the cumulative number of generated bits of one picture Cg reaches the target number of bits of one picture P.
45 Citations
14 Claims
-
1. A moving picture coding apparatus comprising:
-
a coding processing means for coding a video signal in a frame for each block of a prescribed area; and
a rate control means for controlling the coding processing means so that a generated code amount after coding of the video signal is fixed for each code amount control unit as a unit of the frame or a unit which is smaller than the frame. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A moving picture coding method for coding a video signal for each block of a prescribed area in a frame and controlling an amount of generated codes in a unit of the frame or a unit which is smaller than the frame comprising steps of:
-
detecting a cumulative amount of generated codes as a cumulative value of amounts of codes generated from a first block to a block which is being coded in a code amount control unit which is being coded;
calculating a target generated code amount per code amount control unit as a target value of an amount of generated codes per code amount control unit;
calculating a target code amount as a target value of accumulation of amounts of codes generated from the first block to the block which is being coded in the code amount control unit on the basis of the target generated code amount per code amount control unit;
calculating an upper limit code amount as an upper limit value of accumulation of amounts of generated codes per code amount control unit on the basis of the target generated code amount per code amount control unit;
calculating a tolerance generated code amount as a difference between the upper limit code amount and the target code amount;
calculating a generated code amount error as a difference between the cumulative generated code amount and the target code amount; and
obtaining a value of the generated code amount error with respect to the tolerance generated code amount, and calculating a quantization scale of a block which is being coded using a quantization scale decision function whose inclination is changed according to the value of the generated code amount error with respect to the tolerance generated code amount. - View Dependent Claims (14)
-
Specification