主权项 |
1. An image processing device comprising:
a setting unit that sets the position of a boundary of image data in an upper hierarchy unit to be in a lower hierarchy unit that is lower than the upper hierarchy unit when the image data is encoded in a unit with a hierarchical structure; an encoding unit that generates encoded data by encoding the image data according to the position of the boundary set by the setting unit; and an addition unit that adds information on the image data in the upper hierarchy unit before encoded data in an intermediate hierarchy unit that includes the boundary set by the setting unit, is lower than the upper hierarchy unit, and is higher than the lower hierarchy unit, wherein the upper hierarchy unit is a slice, the intermediate hierarchy unit is an LCU (Largest Coding Unit) that is a unit of encoding having a maximum size, and the lower hierarchy unit is a CU (Coding Unit) that is a unit of encoding, wherein the addition unit sets the information on the image data in the upper hierarchy unit to be a slice header of the encoded data, wherein the addition unit sets a slice boundary address indicating the position of the boundary set by the setting unit as the slice header, and adds the set slice header before the LCU that includes the boundary, wherein, when a plurality of boundaries of slices are set in one LCU by the setting unit, the addition unit organizes and disposes the address of the unit of encoding indicating the position of the unit of encoding positioned in the head of the slices before the LCU as a slice header, and wherein the setting unit, the encoding unit, and the addition unit are each implemented via at least one processor. |