A method of decoding video data in a Quadtree-based Adaptive Loop Filter, QALF, scheme with multiple filters, the method comprising: generating a mapping of range combinations to said multiple filters, wherein a range combination comprises a range of values for a first metric indicative of pixel variance and a range of values for a second metric indicative of pixel variance in a specific direction, wherein the first metric is determined based on pixel values of a block of pixels, wherein the second metric is determined based on the pixel values of said blocks of pixels, and wherein the second metric is different than the first metric, wherein the mapping of range combinations to said multiple filters is generated based on a first codeword and a second codeword received from an encoder, wherein some of the range combinations are mapped to a same filter; in response to receiving the first codeword, wherein the first codeword signals that a current range combination is mapped to the same filter as a previous range combination that comprises the same range of values for the first metric, mapping the current range combination to the same filter, wherein the current range combination is determined based on a known transmission order of the range combinations; in response to receiving the second codeword, wherein the second codeword signals that the current range combination is mapped to a different filter than the previous range combination, mapping the current range combination to a new filter, wherein the new filter is determined based on a transmission order in which filter coefficients are signaled. generating a mapping of range combinations to said multiple filters, wherein a range combination comprises a range of values for a first metric indicative of pixel variance and a range of values for a second metric indicative of pixel variance in a specific direction, wherein the first metric is determined based on pixel values of a block of pixels, wherein the second metric is determined based on the pixel values of said blocks of pixels, and wherein the second metric is different than the first metric, wherein the mapping of range combinations to said multiple filters is generated based on a first codeword and a second codeword received from an encoder, wherein some of the range combinations are mapped to a same filter; in response to receiving the first codeword, wherein the first codeword signals that a current range combination is mapped to the same filter as a previous range combination that comprises the same range of values for the first metric, mapping the current range combination to the same filter, wherein the current range combination is determined based on a known transmission order of the range combinations; wherein a range combination comprises a range of values for a first metric indicative of pixel variance and a range of values for a second metric indicative of pixel variance in a specific direction, wherein the first metric is determined based on pixel values of a block of pixels, wherein the second metric is determined based on the pixel values of said blocks of pixels, and wherein the second metric is different than the first metric, wherein the mapping of range combinations to said multiple filters is generated based on a first codeword and a second codeword received from an encoder, wherein some of the range combinations are mapped to a same filter; in response to receiving the first codeword, wherein the first codeword signals that a current range combination is mapped to the same filter as a previous range combination that comprises the same range of values for the first metric, mapping the current range combination to the same filter, wherein the current range combination is determined based on a known transmission order of the range combinations; in response to receiving the second codeword, wherein the second codeword signals that the current range combination is mapped to a different filter than the previous range combination, mapping the current range combination to a new filter, wherein the new filter is determined based on a transmission order in which filter coefficients are signaled.