Video encoding/decoding method and apparatus, and recording medium in which bit stream is stored
An image encoding/decoding method and apparatus are provided. An image decoding method performed by an image decoding apparatus of the present invention may comprise decoding an indicator indicating whether or not partition information of a current block is derived from partition information of a corresponding block of the current block, obtaining the partition information of the current block based on the decoded indicator, and partitioning the current block based on the obtained partition information.
1 . An image decoding method performed by an image decoding apparatus, the method comprising:
based on decoding, at a level of a current block in a current slice to be decoded, coding parameter for the current block, determining coding mode information for the current block, wherein the coding mode information is not slice information of the current slice to which the current block belongs but block level information determined at the level of the current block, and represents which mode is allowed for the current block among a plurality of prediction modes including an inter prediction mode and an intra prediction mode;
determining a partitioning method of the current block based on the coding mode information;
obtaining a coding block by partitioning the current block using the determined partitioning method; and
reconstructing the obtained coding block,
wherein the partitioning method of the current block is determined based on the coding mode information among a plurality of partitioning methods including a first partitioning method and a second partitioning method,
wherein, in the first partitioning method, a luma block and a chroma block corresponding to the current block are partitioned by a same partitioning structure,
wherein, in the second partitioning method, the luma block and the chroma block corresponding to the current block are partitioned by different partitioning structures from each other.
2 . An image encoding method performed by an image encoding apparatus, the method comprising:
determining, at a level of a current block in a current slice to be dencoded, coding mode information for the current block and encoding at the level of the current block coding parameter for the coding mode information for the current block, wherein the coding mode information is not slice information of the current slice to which the current block belongs but block level information determined at the level of the current block, and represents which mode is allowed for the current block among a plurality of prediction modes including an inter prediction mode and an intra prediction mode;
determining a partitioning method of the current block based on the coding mode information;
obtaining a coding block by partitioning the current block using the determined partitioning method; and
encoding the obtained coding block,
wherein the partitioning method of the current block is determined based on the coding mode information among a plurality of partitioning methods including a first partitioning method and a second partitioning method,
wherein, in the first partitioning method, a luma block and a chroma block corresponding to the current block are partitioned by a same partitioning structure,
wherein, in the second partitioning method, the luma block and the chroma block corresponding to the current block are partitioned by different partitioning structures from each other.
3 . A method of transmitting a bitstream containing encoded video data, the method comprising:
generating the bitstream by a video encoding method;
transmitting the bitstream to a video decoding apparatus,
wherein generating the bitstream comprises:
determining, at a level of a current block in a current slice to be encoded, coding mode information for the current block and encoding at the level of the current block coding parameter for the coding mode information for the current block, wherein the coding mode information is not slice information of the current slice to which the current block belongs but block level information determined at the level of the current block, and represents which mode is allowed for the current block among a plurality of prediction modes including an inter prediction mode and an intra prediction mode;
determining a partitioning method of the current block based on the coding mode information;
obtaining a coding block by partitioning the current block using the determined partitioning method; and
encoding the obtained coding block,
wherein the partitioning method of the current block is determined based on the coding mode information among a plurality of partitioning methods including a first partitioning method and a second partitioning method,
wherein, in the first partitioning method, a luma block and a chroma block corresponding to the current block are partitioned by a same partitioning structure,
wherein, in the second partitioning method, the luma block and the chroma block corresponding to the current block are partitioned by different partitioning structures from each other.