Image decoding device, image decoding method, and program
An image decoding device according to the present invention includes a circuit, wherein the circuit controls decoding of syntax that specifies whether or not merge with motion vector difference is applied to a partitioned region 0, which is partitioned in a geometric partitioning mode of a decoding target block, in accordance with a value of syntax that specifies whether or not a prediction mode of the partitioned region 0 is an intra prediction mode.
1 . An image decoding device comprising a circuit, wherein the circuit executes control to:
decode a first syntax that controls applicability of a geometric partitioning mode of a decoding target sequence;
control, in accordance with a value of the first syntax, whether or not to decode a second syntax that controls applicability of an intra prediction mode to the geometric partitioning mode of the decoding target sequence;
not decode a fourth syntax that specifies whether or not a prediction mode of a partitioned region 1 partitioned in the geometric partitioning mode of a decoding target block is the intra prediction mode, in a case where a first internal parameter that controls applicability of the geometric partitioning mode of the decoding target block is valid, a value of the second syntax is 1, and a third syntax that specifies whether or not a prediction mode of a partitioned region 0 partitioned in the geometric partitioning mode of the decoding target block is the intra prediction mode is valid;
decode the fourth syntax, in a case where the first internal parameter is valid, the value of the second syntax is 1, the third syntax is not valid, and a slice type to which the decoding target block belongs is a B-slice;
not decode the fourth syntax, in a case where the first internal parameter is valid, the value of the second syntax is 1, the third syntax is not valid, and the slice type is not the B-slice; and
not decode the fourth syntax, in a case where the first internal parameter is not valid, or the value of the second syntax is not 1.
2 . An image decoding method comprising:
decoding a first syntax that controls applicability of a geometric partitioning mode of a decoding target sequence;
controlling, in accordance with a value of the first syntax, whether or not to decode a second syntax that controls applicability of an intra prediction mode to the geometric partitioning mode of the decoding target sequence;
not decoding a fourth syntax that specifies whether or not a prediction mode of a partitioned region 1 partitioned in the geometric partitioning mode of a decoding target block is the intra prediction mode, in a case where a first internal parameter that controls applicability of the geometric partitioning mode of the decoding target block is valid, a value of the second syntax is 1, and a third syntax that specifies whether or not a prediction mode of a partitioned region 0 partitioned in the geometric partitioning mode of the decoding target block is the intra prediction mode is valid;
decoding the fourth syntax, in a case where the first internal parameter is valid, the value of the second syntax is 1, the third syntax is not valid, and a slice type to which the decoding target block belongs is a B-slice;
not decoding the fourth syntax, in a case where the first internal parameter is valid, the value of the second syntax is 1, the third syntax is not valid, and the slice type is not the B-slice; and
not decoding the fourth syntax, in a case where the first internal parameter is not valid, or the value of the second syntax is not 1.
3 . A non-transitory computer-readable medium storing a program thereon for controlling a computer to function as an image decoding device, the computer comprising a circuit, and the program being executable to control the computer to execute processes comprising:
decoding a first syntax that controls applicability of a geometric partitioning mode of a decoding target sequence;
controlling, in accordance with a value of the first syntax, whether or not to decode a second syntax that controls applicability of an intra prediction mode to the geometric partitioning mode of the decoding target sequence;
not decoding a fourth syntax that specifies whether or not a prediction mode of a partitioned region 1 partitioned in the geometric partitioning mode of a decoding target block is the intra prediction mode, in a case where a first internal parameter that controls applicability of the geometric partitioning mode of the decoding target block is valid, a value of the second syntax is 1, and a third syntax that specifies whether or not a prediction mode of a partitioned region 0 partitioned in the geometric partitioning mode of the decoding target block is the intra prediction mode is valid;
decoding the fourth syntax, in a case where the first internal parameter is valid, the value of the second syntax is 1, the third syntax is not valid, and a slice type to which the decoding target block belongs is a B-slice;
not decoding the fourth syntax, in a case where the first internal parameter is valid, the value of the second syntax is 1, the third syntax is not valid, and the slice type is not the B-slice; and
not decoding the fourth syntax, in a case where the first internal parameter is not valid, or the value of the second syntax is not 1.