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

Claim 1:
2. A video encoding method performed by a video encoding apparatus, the method comprising:
determining types of slices in a current picture, wherein the slices are included in the current picture;
generating a first flag and a second flag, wherein the first flag equal to 1 represents that information for an inter slice is present in a picture header associated with the current picture 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 inter slice 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;
generating information for the inter slice and information for the intra slice; and
encoding image information including the first flag, the second flag, the information for the inter slice, and the information for the intra slice,
wherein the first flag and the second flag are comprised in the picture header of the image information,
wherein based on whether a value of the first flag is equal to 0 or 1, it is determined whether the information for the inter slice is signaled in the picture header, and wherein based on whether a value of the second flag is equal to 0 or 1, it is determined whether the information for the intra slice is signaled in 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 signaled in 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 signaled in the picture header.