SIGNALING METHOD AND DEVICE FOR MERGE DATA SYNTAX IN VIDEO/IMAGE CODING SYSTEM
A decoding method performed by a decoding device according to the present document comprises: a step for determining the prediction mode of a current block on the basis of information on a prediction mode acquired from a bitstream; a step for deriving movement information on the current block on the basis of the prediction mode; a step for generating prediction samples of the current block on the basis of the movement information; and a step for generating reconstructed samples on the basis of the prediction samples, wherein the step for determining the prediction mode may include a step for acquiring a regular merge flag from the bitstream on the basis of a combined inter-picture merge and intra-picture prediction (CIIP) available flag that indicates whether or not a CIIP is available.
1 . A decoding apparatus for an image decoding, the decoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
parse a general merge flag from a bitstream;
parse prediction information from the bitstream based on the general merge flag;
generate prediction samples of a current block based on the prediction information; and
generate reconstructed samples based on the prediction samples,
wherein the bitstream includes an enabled flag for a partitioning mode in which prediction is performed by dividing the current block into two partitions,
wherein a regular merge flag is included in the prediction information based on values of the general merge flag and the enabled flag for the partitioning mode, and
wherein the regular merge flag is included in the prediction information based on the value of the general merge flag being equal to 1, and the value of the enabled flag for the partitioning mode being equal to 1.
2 . An encoding apparatus for an image encoding, the encoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
determine a prediction mode of a current block;
generate prediction information based on the prediction mode; and
encode image information including the prediction information,
wherein the image information includes a general merge flag and an enabled flag for a partitioning mode in which prediction is performed by dividing the current block into two partitions,
wherein a regular merge flag is included in the prediction information based on values of the general merge flag and the enabled flag for the partitioning mode, and
wherein the regular merge flag is included in the prediction information based on the value of the general merge flag being equal to 1, and the value of the enabled flag for the partitioning mode being equal to 1.
3 . An apparatus for transmitting data for an image, the apparatus comprising:
at least one processor configured to obtain a bitstream for the image, wherein the bitstream is generated based on:
determining a prediction mode of a current block,
generating prediction information based on the prediction mode, and
encoding image information including the prediction information; and
a transmitter configured to transmit the data comprising the bitstream,
wherein the image information includes a general merge flag and an enabled flag for a partitioning mode in which prediction is performed by dividing the current block into two partitions,
wherein a regular merge flag is included in the prediction information based on values of the general merge flag and the enabled flag for the partitioning mode, and
wherein the regular merge flag is included in the prediction information based on the value of the general merge flag being equal to 1, and the value of the enabled flag for the partitioning mode being equal to 1.