Moving picture coding method and moving picture coding apparatus
First Claim
1. A method for encoding a moving picture, comprising:
- supplying the moving picture to a moving picture coding device;
generating from the moving picture a plurality of prediction signals of a pixel block in an input picture by performing prediction in accordance with a plurality of prediction modes;
generating a plurality of prediction residual signals between the pixel block and each of the plurality of prediction signals;
estimating a plurality of first coding costs from the plurality of prediction residual signals and code amounts of prediction mode information, the prediction mode information indicating the plurality of prediction modes, each of the plurality of first coding costs being estimated for each of the plurality of prediction modes;
selecting a plurality of prediction mode candidates from the plurality of prediction modes in ascending order of the plurality of first coding costs, the plurality of prediction mode candidates corresponding in number to a quantization step width;
obtaining a plurality of coding distortions and a plurality of code amounts for the plurality of prediction mode candidates by coding the plurality of pixel blocks in accordance with the prediction mode candidates;
estimating second coding costs for the prediction mode candidates based on the coding distortions and the code amounts for the prediction mode candidates; and
selecting a prediction mode from the prediction mode candidates based on the second coding costs, the pixel block being coded in accordance with the selected one prediction mode in order to produce an encoded moving picture from the moving picture coding device,wherein the selecting the prediction mode candidates obtains the number of the prediction mode candidates by a relationship between the number of the prediction mode candidates and the quantization step width on the basis of correlation between the quantization step width and a coincident ratio of the first coding costs and the second coding costs.
1 Assignment
0 Petitions
Accused Products
Abstract
In an embodiment of the invention, a method for coding a moving picture comprises: dividing an inputted picture signal into fractionized signals respectively corresponding a plurality of pixel blocks; generating a prediction signal and coding mode information from each of said fractionized signals, for each coding mode; generating a prediction residual signal, from the prediction signal and said each of fractionized signals; estimating a first-estimate coding cost that is for coding the prediction residual signals for said each coding mode, from the prediction residual signals and the coding mode information; determining a candidates'"'"' number in accordance with step width of quantizing; selecting the coding modes having smallest ones of the first-estimate coding costs as candidates; estimating a second-estimate coding cost by coding the inputted signal and thereby finding a coding distortion and a code amount; and employing one coding mode from the candidates on basis of the second-estimate coding cost.
-
Citations
6 Claims
-
1. A method for encoding a moving picture, comprising:
-
supplying the moving picture to a moving picture coding device; generating from the moving picture a plurality of prediction signals of a pixel block in an input picture by performing prediction in accordance with a plurality of prediction modes; generating a plurality of prediction residual signals between the pixel block and each of the plurality of prediction signals; estimating a plurality of first coding costs from the plurality of prediction residual signals and code amounts of prediction mode information, the prediction mode information indicating the plurality of prediction modes, each of the plurality of first coding costs being estimated for each of the plurality of prediction modes; selecting a plurality of prediction mode candidates from the plurality of prediction modes in ascending order of the plurality of first coding costs, the plurality of prediction mode candidates corresponding in number to a quantization step width; obtaining a plurality of coding distortions and a plurality of code amounts for the plurality of prediction mode candidates by coding the plurality of pixel blocks in accordance with the prediction mode candidates; estimating second coding costs for the prediction mode candidates based on the coding distortions and the code amounts for the prediction mode candidates; and selecting a prediction mode from the prediction mode candidates based on the second coding costs, the pixel block being coded in accordance with the selected one prediction mode in order to produce an encoded moving picture from the moving picture coding device, wherein the selecting the prediction mode candidates obtains the number of the prediction mode candidates by a relationship between the number of the prediction mode candidates and the quantization step width on the basis of correlation between the quantization step width and a coincident ratio of the first coding costs and the second coding costs. - View Dependent Claims (2)
-
-
3. A method for encoding a moving picture, comprising:
-
supplying the moving picture to a moving picture coding device; generating from the moving picture a plurality of prediction signals of a pixel block in an input picture by performing prediction in accordance with a plurality of prediction modes; generating a plurality of prediction residual signals between the pixel block and each of the plurality of prediction signals; estimating a plurality of first coding costs from the plurality of prediction residual signals and code amounts of prediction mode information, the prediction mode information indicating the plurality of prediction modes, each of the plurality of first coding costs being estimated for each of the plurality of prediction modes; selecting a plurality of prediction mode candidates from the plurality of prediction modes in ascending order of the plurality of first coding costs, the plurality of prediction mode candidates corresponding in number to a quantization step width; obtaining a plurality of coding distortions and a plurality of code amounts for the plurality of prediction mode candidates by coding the plurality of pixel blocks in accordance with the prediction mode candidates; estimating second coding costs for the prediction mode candidates based on the coding distortions and the code amounts for the prediction mode candidates; and selecting a prediction mode from the prediction mode candidates based on the second coding costs, the pixel block being coded in accordance with the selected one prediction mode in order to produce an encoded moving picture from the moving picture coding device, wherein the selecting the prediction mode candidates selects the prediction mode candidates having the second coding costs smaller than a threshold, the threshold being given by monotonic function of the quantization step width.
-
-
4. An apparatus for encoding a moving picture, comprising:
-
a prediction unit configured to generate a plurality of prediction signals of a pixel block in an input picture by performing prediction in accordance with a plurality of prediction modes; a prediction residual generating unit configured to generate a plurality of prediction residual signals between the pixel block and each of the plurality of prediction signals; a first cost estimating unit configured to estimate a plurality of first coding costs from the plurality of prediction residual signals and code amounts of prediction mode information, the prediction mode information indicating the plurality of prediction modes, each of the plurality of first coding costs being estimated for each of the plurality of prediction modes; a first selecting unit configured to select a plurality of prediction mode candidates from the plurality of prediction modes in ascending order of the plurality of first coding costs, plurality of the prediction mode candidates corresponding in number to a quantization step width; an encoding unit configured to obtaining a plurality of coding distortions and a plurality of code amounts for the plurality of prediction mode candidates by encoding the plurality of pixel blocks in accordance with the prediction mode candidates; a second cost estimating unit configured to estimate second coding costs for the prediction mode candidates based on the coding distortions and the code amounts for the prediction mode candidates; and a second selecting unit configured to select a prediction mode from the prediction mode candidates based on the second coding costs, the pixel block being coded in accordance with the selected one prediction mode, wherein the first selecting unit obtains the number of the prediction mode candidates by a relationship between the number of the prediction mode candidates and the quantization step width on the basis of correlation between the quantization step width and a coincident ratio of the first coding costs and the second coding costs. - View Dependent Claims (5)
-
-
6. An apparatus for encoding a moving picture, comprising:
-
a prediction unit configured to generate a plurality of prediction signals of a pixel block in an input picture by performing prediction in accordance with a plurality of prediction modes; a prediction residual generating unit configured to generate a plurality of prediction residual signals between the pixel block and each of the plurality of prediction signals; a first cost estimating unit configured to estimate a plurality of first coding costs from the plurality of prediction residual signals and code amounts of prediction mode information, the prediction mode information indicating the plurality of prediction modes, each of the plurality of first coding costs being estimated for each of the plurality of prediction modes; a first selecting unit configured to select a plurality of prediction mode candidates from the plurality of prediction modes in ascending order of the plurality of first coding costs, plurality of the prediction mode candidates corresponding in number to a quantization step width; an encoding unit configured to obtaining a plurality of coding distortions and a plurality of code amounts for the plurality of prediction mode candidates by encoding the plurality of pixel blocks in accordance with the prediction mode candidates; a second cost estimating unit configured to estimate second coding costs for the prediction mode candidates based on the coding distortions and the code amounts for the prediction mode candidates; and a second selecting unit configured to select a prediction mode from the prediction mode candidates based on the second coding costs, the pixel block being coded in accordance with the selected one prediction mode, wherein the selecting unit selects the prediction mode candidates having the second coding costs smaller than a threshold, the threshold being given by monotonic function of the quantization step width.
-
Specification