| CPC H04N 19/119 (2014.11) [H04N 19/174 (2014.11); H04N 19/176 (2014.11); H04N 19/436 (2014.11); H04N 19/463 (2014.11)] | 10 Claims |

|
1. An image encoding apparatus for encoding an image including (a) a rectangular region including at least one block row formed from a plurality of blocks and (b) a tile including a plurality of blocks, comprising:
an encoding unit configured to:
encode, into a bitstream, first information for identifying the number of blocks, in a vertical direction, of the rectangular region in the image;
encode, into the bitstream, a first flag related to enablement of a parallel processing;
encode, into a picture parameter set in the bitstream, a second flag which indicates, when a value of the second flag is 1, that each rectangular region consists of one slice; and
encode, into a slice header of the bitstream, second information indicating an ID of a rectangular region corresponding to a target slice in the image, wherein the second information is capable of being encoded into the slice header even if the second flag indicates that each rectangular region consists of one slice; and
an identifying unit configured to identify, for the target slice, the number of syntax elements each of which is used to identify a start position of coded data of a block row, based on the first information and the second information, in a state where (a) a value of the first flag is 1, (b) the second flag indicates that each rectangular region consists of one slice, (c) the number of blocks, in the vertical direction, of a rectangular region corresponding to the target slice in the image is smaller than the number of blocks, in the vertical direction, of a tile including the rectangular region, and (d) the target slice is rectangular,
wherein third information for determining a size of each of blocks forming the block row is encoded into a sequence parameter set in the bitstream, and the syntax elements the number of which is the number identified by the identifying unit are included in the slice header in the bitstream.
|