CPC H04N 19/159 (2014.11) [H04N 19/119 (2014.11); H04N 19/172 (2014.11); H04N 19/174 (2014.11); H04N 19/44 (2014.11); H04N 19/70 (2014.11)] | 20 Claims |
1. A method for video encoding in an encoder, comprising:
determining whether to generate inter syntax elements used only for coding inter-coded sub-partitions based on whether an inter-coded sub-partition is included in a picture;
generating the inter syntax elements to be included in coding information based on a determination to generate the inter syntax elements;
determining whether to generate intra syntax elements used only for coding intra-coded sub-partitions based on whether an intra-coded sub-partition is included in the picture;
generating the intra syntax elements to be included in the coding information based on a determination to generate the intra syntax elements;
setting a first flag in the coding information based on whether the inter syntax elements are generated, wherein the first flag being equal to 0 indicates that all coded slices of the picture have a slice type equal to 2, and the first flag being equal to 1 indicates that there might or might not be one or more coded slices in the picture that have a slice type of 0 or 1;
in response to the first flag being equal to 1, setting a second flag in the coding information based on whether the intra syntax elements are generated, wherein the second flag being equal to 0 indicates that all the coded slices of the picture have the slice type of 0 or 1, and wherein the second flag being equal to 1 indicates that there might or might not be one or more coded slices in the picture that have the slice type equal to 2;
and
generating a coded bit stream including the coding information.
|