Patent ID: 8520742

Claim:
A moving image compression-coding device comprising: a pixel determination module configured to determine whether a color of each pixel in a macro block having a plurality of pixels in an input image is a predetermined color; a memory configured to store a determination result of whether the color of the each macro block is considered as the predetermined color; a pixel counter configured to count a number of the pixels having the predetermined color in the macro block and: add the count result by a first constant according to the determination result of whether the color of the macro block located on the left side of the macro block to be determined is considered as the predetermined color when the macro block to be determined is located on a top end but not a left end in a frame of the input image; add the count result by a second constant according to the determination result of whether the color of the macro block located on the upper side of the macro block to be determined is considered as the predetermined color when the macro block to be compression-coded is located on the left end but not the top end in the frame of the input image; and add the count result by the first constant according to the determination result of whether the color of the macro block located on the left side of the macro block to be determined is considered as the predetermined color, add the count result by the second constant according to the determination result of whether the macro block located on the upper side of the macro block to be determined is considered as the predetermined color, and add the count result by a third constant according to the determination result of whether the macro block located on the upper left side of the macro block to be determined is considered as the predetermined color, when the macro block to be determined is located on neither the left end nor the top end in the frame of the input image; a macro block determination module configured to determine whether a color of the macro block is considered to be the predetermined color according to the count result in consideration of whether a macro block which is located near the macro block to be determined and has already been compression-coded is considered as the predetermined color; and a compression-coded data generator configured to compression-code the input image with a compression ratio depending on the determination result.