主权项 |
1. An image encoding device, comprising:
a quantization unit configured to quantize uncompressed image data on which frequency conversion is carried out for each macro block, and generating a quantized macro block; an encoder configured to encode the quantized macro block, and generating encoded data; and an output unit configured to sequentially output the encoded data generated by the encoder, wherein, the encoder includes: a first setting unit configured to set any one of macro blocks including an end macro block of a first macro block line which is composed of horizontally-arranged macro blocks and a predetermined number of macro blocks which are successively encoded after the end macro block, as a first non-skipped macro block; and a second setting unit configured to set each of macro blocks which are successively encoded after the first non-skipped macro block as a second non-skipped macro block until an amount of codes of encoded data including the first non-skipped macro block which is encoded by the encoder becomes equal to or larger than the smallest unit of output by which the output unit is able to output encoded data, and, the output unit outputs first encoded data including the first non-skipped macro block by the smallest unit of output. |