Patent ID: 9485509
Filing Date: 2016-11-01
CPC Classification: H04N

Claim Text:
1. An image compression device comprising: a first encoder that encodes a target block included in a segment in a first encoding mode and obtains a first encoded data and an amount of first encoded data, the amount of the first encoded data not being a fixed value; a second encoder that encodes the target block in a second encoding mode using a fixed-length coding to obtain a second encoded data, an amount of the second encoded data being a predetermined bit number; a calculator that calculates an accumulated amount of the first encoded data of the blocks including the target block and blocks which are encoded before the target block and included in the segment; a selector that selects an encoding mode to be used to encode the target block from among the first encoding mode and the second encoding mode and generates encoding mode information indicating the selected encoding mode; and a determiner that determines whether to encode the encoding mode information according to a predetermined condition; wherein the selector selects the second encoding mode if a sum of the accumulated amount and an amount of the second encoded data of all remaining blocks in the segment exceeds a target value.