Patent ID: 11936894
Assignee: LG ELECTRONICS INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A video decoding method performed by a video decoding apparatus, the method comprising:
receiving a bitstream, wherein image information of the bitstream includes a picture header associated with a current picture, and a plurality of slices are included in the current picture;
parsing from the picture header a first flag and a second flag, wherein the first flag equal to 1 represents that information for an inter slice is present in the picture header and one or more slices in the current picture have a P slice type or B slice type, and the first flag equal to 0 represents that the information for the interslice is not present in the picture header and all slices in the current picture have an I slice type, and wherein the second flag equal to 1 represents that information for an intra slice is present in the picture header and one or more slices in the current picture have an I slice type, and the second flag equal to 0 represents that the information for the intra slice is not present in the picture header and all slices in the current picture have a P slice type or B slice type;
parsing from the picture header the information for the inter slice based on a value of the first flag being equal to 1 and the information for the intra slice based on a value of the second flag being equal to 1; and
generating prediction samples for blocks in the slices in the current picture based on the information for the interslice and the information for the intra slice, wherein the prediction samples are generated based on intra prediction or inter prediction,
wherein based on whether the value of the first flag is equal to 0 or 1, it is determined whether the information for the inter slice is parsed from the picture header, and wherein based on whether the value of the second flag is equal to 0 or 1, it is determined whether the information for the intra slice is parsed from the picture header,
wherein based on the value of the second flag being equal to 1 represents that the information for the intra slice is present in the picture header and one or more slices in the current picture have an I slice type, the information for the intra slice including a syntax element representing a maximum hierarchy depth for a coding unit resulting from multi-type tree splitting in the intra slice in the current picture is parsed from the picture header, and
wherein based on the value of the second flag being equal to 0 represents that the information for the intra slice is not present in the picture header and all slices in the current picture have a P slice type or B slice type, the information for the intra slice including the syntax element is not parsed from the picture header.