Methods and devices for decoder-side intra mode derivation
Methods, apparatuses, and non-transitory computer-readable storage mediums are provided for video coding. In one method, a decoder obtains a first flag that indicates whether a template-based intra mode derivation (TIMD) mode is applied to a current video block; and in response to determining that the TIMD mode is applied to the current video block based on the first flag, the decoder obtains a set of candidate list for the TIMD mode, where the set of candidate list includes a set of reference line list or a set of template candidate list.
1 . A method for video decoding, comprising:
obtaining a first flag that indicates whether a template-based intra mode derivation (TIMD) mode is applied to a current video block; and
in response to determining that the TIMD mode is applied to the current video block based on the first flag, obtaining a set of candidate lists for the TIMD mode and selecting a candidate list from the set of candidate lists based on a quantization parameter applied to one coding unit (CU), wherein the set of candidate lists comprises a set of reference line candidate lists or a set of template candidate lists.
2 . The method for video decoding of claim 1 , wherein
the quantization parameter is included in coded information of the current video block,
wherein the coded information of the current video block further comprises at least one of a block size, transform types, prediction mode types associated with a transform block (TB) or a coding block (CB), or a slice or profile.
3 . The method for video decoding of claim 1 , further comprising:
selecting a reference line candidate list based on a set of predefined thresholds for the quantization parameter and a set of predefined reference line candidate lists; or
selecting a template candidate list based on a set of predefined thresholds for the quantization parameter and a set of predefined template candidate lists.
4 . An apparatus, comprising:
one or more processors; and
a memory configured to store instructions; wherein the one or more processors, upon execution of the instructions, are configured to:
obtain a first flag that indicates whether a template-based intra mode derivation (TIMD) mode is applied to a current video block; and
in response to determining that the TIMD mode is applied to the current video block based on the first flag, obtain a set of candidate lists for the TIMD mode and select a candidate list from the set of candidate lists based on a quantization parameter applied to one coding unit (CU), wherein the set of candidate lists comprises a set of reference line candidate lists or a set of template candidate lists.
5 . The apparatus of claim 4 , wherein
the quantization parameter is included in coded information of the current video block,
wherein the coded information of the current video block comprises at least one of, a block size, transform types, prediction mode types associated with a transform block (TB) or a coding block (CB), or a slice or profile.
6 . The apparatus of claim 4 , wherein the one or more processors are further configured to:
select a reference line candidate list based on a set of predefined thresholds for the quantization parameter and a set of predefined reference line candidate lists, or
select a template candidate list based on a set of predefined thresholds for the quantization parameter and a set of predefined template candidate lists.
7 . A method for video encoding, comprising:
obtaining a first flag that indicates whether a template-based intra mode derivation (TIMD) mode is applied to a current video block;
in response to determining that the TIMD mode is applied to the current video block based on the first flag, obtaining a set of reference line candidate lists for the TIMD mode and selecting a candidate list from the set of candidate lists based on a quantization parameter applied to one coding unit (CU), wherein the set of candidate lists comprises a set of reference line candidate lists or a set of template candidate lists; and
encoding video information regarding the current video block into a bitstream.
8 . The method of claim 7 , wherein
the quantization parameter is included in coded information of the current video block,
wherein the coded information of the current video block comprises at least one of a block size, transform types, prediction mode types associated with a transform block (TB) or a coding block (CB), or a slice or profile.
9 . The method of claim 7 , further comprising:
selecting a reference line candidate list based on a set of predefined thresholds for the quantization parameter and a set of reference line predefined candidate lists, or
selecting a template candidate list based on a set of predefined thresholds for the quantization parameter and a set of predefined template candidate lists.
10 . A non-transitory computer-readable storage medium storing a bitstream generated by the method for video encoding according to claim 7 .
11 . A method for storing a bitstream, comprising:
performing the method for video encoding according to claim 7 to generate the bitstream; and
storing the bitstream on a non-transitory computer-readable storage medium.
12 . A method for transmitting a bitstream, comprising:
performing the method for video encoding according to claim 7 to generate the bitstream; and
transmitting the bitstream.