Moving image coding method and apparatus for determining a position of a macro block which is intra-coded or inter-coded
First Claim
1. A moving image coding method for coding a moving image, every macro block which forms a predetermined area of a present image, with using intra coding in which image data are orthogonal-transformed, and then image data after the orthogonal-transformation are quantized and variable-length coded, and inter coding in which a motion vector of the present image relative to a reference image is detected, motion compensation for the reference image with using the motion vector is performed, differential data between the present image and the reference image after the motion compensation are orthogonal-transformed, and then differential data after the orthogonal transformation are quantized and variable-length coded, andfor storing, for purpose of the inter coding, a reference image of image frame next to the present image generated by inverse-quantizing and inverse-orthogonal-transforming image data after the quantization or differential data after the quantization in a reference image memory, comprising the step of:
- determining position of a macro block which is intra-coded or inter-coded, in a range of the maximum number of macro blocks inter-coded in one image frame, when an image (Mth frame M≦
N−
1) prior to a present image (Nth frame) is coded.
4 Assignments
0 Petitions
Accused Products
Abstract
A memory controller controls so that the number of maximum macro blocks for which inter coding is performed in one image frame is set to a smaller value than the number of macro blocks configuring the image frame, the capacity of the reference image memory is reduced to capacity for the maximum macro blocks for which inter coding is performed, macro block positions for which intra coding and inter coding are performed in the next frame are determined based upon image information and the quantity of codes in the coding of a present image and reference image macro blocks equivalent to only macro block positions for which inter coding is determined to be performed in the next frame are stored in the reference image memory.
18 Citations
43 Claims
-
1. A moving image coding method for coding a moving image, every macro block which forms a predetermined area of a present image, with using intra coding in which image data are orthogonal-transformed, and then image data after the orthogonal-transformation are quantized and variable-length coded, and inter coding in which a motion vector of the present image relative to a reference image is detected, motion compensation for the reference image with using the motion vector is performed, differential data between the present image and the reference image after the motion compensation are orthogonal-transformed, and then differential data after the orthogonal transformation are quantized and variable-length coded, and
for storing, for purpose of the inter coding, a reference image of image frame next to the present image generated by inverse-quantizing and inverse-orthogonal-transforming image data after the quantization or differential data after the quantization in a reference image memory, comprising the step of: determining position of a macro block which is intra-coded or inter-coded, in a range of the maximum number of macro blocks inter-coded in one image frame, when an image (Mth frame M≦
N−
1) prior to a present image (Nth frame) is coded.- View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
27. A moving image coding apparatus provided with encoding means for encoding a moving image using intra coding or inter coding for each macro block which is a part of a present image, wherein, in intra coding, image data are orthogonal-transformed, then image data after the orthogonal-transformation are quantized and variable-length coded, and wherein, in inter coding, a motion vector of the present image relative to a reference image is detected, motion compensation for the reference image using the motion vector is performed, differential data between the present image and the reference image after the motion compensation are orthogonal-transformed, then differential data after the orthogonal transformation are quantized and variable-length coded, and
a reference image memory for storing, for purpose of the inter coding, a reference image of image frame next to the present image generated by reverse-quantizing and reverse-orthogonal-transforming image data after the quantization or differential data after the quantization, comprising: -
setting means for setting a maximum number of macro books that are inter-coded being a value smaller than the number of macro blocks configuring an image frame so as to reduce the capacity of a reference image memory; and determining means for determining position of a macro block which is intra-coded or inter-coded so as that the number of macro blocks which are inter-coded are within a range of the maximum number of macro blocks inter-coded in one image frame when an image which corresponds to Mth frame, wherein M≦
N−
1, prior to a present image which corresponds to Nth frame is coded,wherein the capacity of the reference image memory is smaller than a size of the number of macro blocks configuring an image frame. - View Dependent Claims (28, 29)
-
-
30. A moving image coding apparatus provided with encoding means for encoding a moving image, every macro block which forms a predetermined area of a present image, with using intra coding for in which image data are orthogonal-transformed, and then image data after the orthogonal transformation are quantized and variable-length coded, and inter coding in which a motion vector of the present image relative to a reference image is detected, motion compensation for the reference image with using the motion vector is performed, differential data between the present image and the reference image after the motion compensation are orthogonal-transformed, and then differential data after the orthogonal transformation are quantized and variable-length coded, and
a reference image memory for storing, for purpose of the inter coding, a reference image of image frame next to the present image generated by inverse-quantizing and inverse-orthogonal-transforming image data after the quantization or differential data after the quantization, comprising: determining means for determining position of a macro block which is intra-coded or inter-coded in a range of the maximum number of macro blocks which is inter-coded in one image frame when an image (Mth frame, M≦
N−
1) prior to a present image (Nth frame) is coded.- View Dependent Claims (31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43)
Specification