A video encoder comprising a prediction loop, the prediction loop comprising: a) a transform module for performing integer transformation of an image block to obtain a first matrix of integer transformed coefficients K 1 [i][j], wherein the transform module uses an integer transform having basis functions with different norms; b) a quantization module for performing a combined quantization and normalization of the first matrix of integer transformed coefficients K 1 [i][j] to derive a quantized data matrix L[i][j], wherein the quantization module uses a combined quantization and normalization matrix A [i][j]; c) a dequantization module for performing a combined dequantization and normalization of the quantized data matrix L[i][j] to obtain a second matrix of integer transform coefficients K 2 [i][j] wherein the combined dequantization and normalization includes: c1) inputting a quantization parameter QP; c2) defining a combined dequantization and normalization matrix B [i][j] so that all integer transform coefficients K 2 [i][j] have the same normalization, wherein the combined quantization and normalization matrix A [i][j] and the combined dequantization and normalization matrix B [i][j] are linked by a normalization relation being A [i][j]*B [i][j] = N[i][j]; d) an inverse transform module for performing an inverse integer transformation of the second matrix of integer transform coefficients K2[i][j], where the basis functions of the inverse integer transformation have different norms, to obtain an inverse integer transformed coefficient matrix; and e) a module for performing a further normalization on the inverse integer transformed coefficient matrix using a single scalar value 2 N; characterized in that the combined quantization and normalization matrix A [i][j] is factored into mantissa and exponent terms and the combined dequantization and normalization of point c) further includes c3) representing said combined dequantization and normalization matrix B [i][j] in mantissa exponent format with a mantissa portion matrix Bm [i][j] being a function of the quantization parameter QP and an exponential portion matrix Be [i][j] being a function of the quantization parameter QP and being independent of i, j and QP in the range [0,P-1], where Bm [i][j] and Be [i][j] satisfy Bm [i][j] = Bm(QP mod P)[i][j] and Be [i][j] = Be + QP/P where P is an integer and QP/P represents the integer obtained truncating towards zero the result of dividing QP by P; c4) calculating the second matrix of integer transform coefficients K 2 [i][j] using K 2 [i][j] = [L[i][j]*Bm [i][j]] << Be [i][j], where "<<" expresses a left-shift operation. a) a transform module for performing integer transformation of an image block to obtain a first matrix of integer transformed coefficients K 1 [i][j], wherein the transform module uses an integer transform having basis functions with different norms; b) a quantization module for performing a combined quantization and normalization of the first matrix of integer transformed coefficients K 1 [i][j] to derive a quantized data matrix L[i][j], wherein the quantization module uses a combined quantization and normalization matrix A [i][j]; c) a dequantization module for performing a combined dequantization and normalization of the quantized data matrix L[i][j] to obtain a second matrix of integer transform coefficients K 2 [i][j] wherein the combined dequantization and normalization includes: c1) inputting a quantization parameter QP; c2) defining a combined dequantization and normalization matrix B [i][j] so that all integer transform coefficients K 2 [i][j] have the same normalization, wherein the combined quantization and normalization matrix A [i][j] and the combined dequantization and normalization matrix B [i][j] are linked by a normalization relation being A [i][j]*B [i][j] = N[i][j]; c1) inputting a quantization parameter QP; c2) defining a combined dequantization and normalization matrix B [i][j] so that all integer transform coefficients K 2 [i][j] have the same normalization, wherein the combined quantization and normalization matrix A [i][j] and the combined dequantization and normalization matrix B [i][j] are linked by a normalization relation being A [i][j]*B [i][j] = N[i][j]; d) an inverse transform module for performing an inverse integer transformation of the second matrix of integer transform coefficients K2[i][j], where the basis functions of the inverse integer transformation have different norms, to obtain an inverse integer transformed coefficient matrix; and e) a module for performing a further normalization on the inverse integer transformed coefficient matrix using a single scalar value 2 N; c3) representing said combined dequantization and normalization matrix B [i][j] in mantissa exponent format with a mantissa portion matrix Bm [i][j] being a function of the quantization parameter QP and an exponential portion matrix Be [i][j] being a function of the quantization parameter QP and being independent of i, j and QP in the range [0,P-1], where Bm [i][j] and Be [i][j] satisfy Bm [i][j] = Bm(QP mod P)[i][j] and Be [i][j] = Be + QP/P where P is an integer and QP/P represents the integer obtained truncating towards zero the result of dividing QP by P; c4) calculating the second matrix of integer transform coefficients K 2 [i][j] using K 2 [i][j] = [L[i][j]*Bm [i][j]] << Be [i][j], where "<<" expresses a left-shift operation.