Patent ID: 8660183

Claim:
A moving-picture compression-encoding apparatus that selectively compression-encodes a moving picture that has not been compression-encoded and a moving picture obtained by decoding a compression-encoded moving picture, comprising: a mode determining unit, implemented by a hardware processor, that determines which mode, out of a plurality of encoding modes, is used to encode an input moving picture, by using a mode determining coefficient that serves as a threshold for a mode determination; an encoding unit, implemented by the processor, that performs an encoding process on the input moving picture with the mode determined by the mode determining unit; an acquiring unit, implemented by the processor, that acquires re-encoding information indicating whether or not the input moving picture has been compression-encoded; and a changing unit, implemented by the processor, that changes a mode determining operation in the mode determining unit according to the re-encoding information acquired by the acquiring unit; wherein the changing unit sets up the mode determining operation as a level of influence of information amount used for transmitting a side information containing prediction direction and where a motion vector is a value utilized with the re-encoding information acquired by the acquiring unit indicating that the input moving picture has not been compression-encoded and changing the mode determining operation so that the level becomes smaller than the value according to degree of compression when the re-encoding information is indicating that the input moving picture has been compression-encoded.