CPC H04N 19/119 (2014.11) [H04N 19/176 (2014.11); H04N 19/423 (2014.11); H04N 19/63 (2014.11)] | 4 Claims |
1. An encoder that encodes a current block in a picture, the encoder comprising:
circuitry; and
memory, wherein
using the memory, the circuitry, in operation:
splits the current block into a first sub block, a second sub block, and a third sub block in a first direction, the second sub block being larger than and located between the first sub block and the third sub block;
when the second sub block is to be split into a plurality of partitions:
writes, into a bitstream, a split direction parameter indicating a direction in which the second sub block is to be split;
when the split direction parameter indicates the first direction, prohibits splitting the second sub block into two partitions in the first direction, without writing a split mode parameter into the bitstream; and
when the split direction parameter indicates a second direction different from the first direction, writes a split mode parameter indicating a number of partitions into which the second sub block is to be split into the bitstream and splits the second sub block into the number of partitions indicated by the split mode parameter written into the bitstream; and
encodes the first sub block, the second sub block, and the third sub block.
|