@@ -680,8 +680,12 @@ void computeLevelScale4x4(DecodingContext_t *dc, h264_sps_t *sps)
680
680
{
681
681
TRACE_1(TRANS, "YCbCr: %i / Qp: %i", YCbCr, q);
682
682
for (i = 0; i < 4; i++)
683
+ {
683
684
for (j = 0; j < 4; j++)
685
+ {
684
686
TRACE_1(TRANS, "levelscale_4x4: %i", sps->LevelScale4x4[YCbCr][q][i][j]);
687
+ }
688
+ }
685
689
}
686
690
}
687
691
*/
@@ -732,8 +736,12 @@ void computeLevelScale8x8(DecodingContext_t *dc, h264_sps_t *sps)
732
736
{
733
737
TRACE_1(TRANS, "YCbCr: %i / Qp: %i", YCbCr, q);
734
738
for (i = 0; i < 8; i++)
739
+ {
735
740
for (j = 0; j < 8; j++)
741
+ {
736
742
TRACE_1(TRANS, " levelscale_8x8[%i][%i]: %i", i, j, sps->LevelScale8x8[YCbCr][q][i][j]);
743
+ }
744
+ }
737
745
}
738
746
}
739
747
*/
@@ -750,7 +758,7 @@ void computeLevelScale8x8(DecodingContext_t *dc, h264_sps_t *sps)
750
758
* From 'ITU-T H.264' recommendation:
751
759
* 8.5.10 Scaling and transformation process for DC transform coefficients for Intra_16x16 macroblock type.
752
760
*
753
- * Note: For DC coefficients, the quantization is done after the idct .
761
+ * Note: For DC coefficients, the quantization is done after the IDCT .
754
762
*/
755
763
static int transform_16x16_lumadc (DecodingContext_t *dc, const int c[4 ][4 ], int dcY[4 ][4 ])
756
764
{
@@ -821,7 +829,7 @@ static int transform_16x16_lumadc(DecodingContext_t *dc, const int c[4][4], int
821
829
* From 'ITU-T H.264' recommendation:
822
830
* 8.5.11 Scaling and transformation process for chroma DC transform coefficients.
823
831
*
824
- * Note: For DC coefficients, the quantization is done after the idct .
832
+ * Note: For DC coefficients, the quantization is done after the IDCT .
825
833
*/
826
834
static int transform_2x2_chromadc (DecodingContext_t *dc, const int YCbCr,
827
835
const int c[2 ][2 ], int dcC[2 ][2 ])
@@ -867,7 +875,7 @@ static int transform_2x2_chromadc(DecodingContext_t *dc, const int YCbCr,
867
875
* From 'ITU-T H.264' recommendation:
868
876
* 8.5.11 Scaling and transformation process for chroma DC transform coefficients.
869
877
*
870
- * Note: For DC coefficients, the quantization is done after the idct .
878
+ * Note: For DC coefficients, the quantization is done after the IDCT .
871
879
*/
872
880
static int transform_4x4_chromadc (DecodingContext_t *dc, const int YCbCr,
873
881
const int c[4 ][4 ], int dcC[4 ][4 ])
0 commit comments