Mercurial > mplayer.hg
comparison libmpeg2/header.c @ 13123:34df725814e8
postproc fix
author | henry |
---|---|
date | Tue, 24 Aug 2004 20:23:11 +0000 |
parents | cda4ad0d3e70 |
children | 1385ec491ffb |
comparison
equal
deleted
inserted
replaced
13122:fcce0023bf55 | 13123:34df725814e8 |
---|---|
801 | 801 |
802 if (mpeg2dec->scaled[index] != mpeg2dec->q_scale_type) { | 802 if (mpeg2dec->scaled[index] != mpeg2dec->q_scale_type) { |
803 mpeg2dec->scaled[index] = mpeg2dec->q_scale_type; | 803 mpeg2dec->scaled[index] = mpeg2dec->q_scale_type; |
804 for (i = 0; i < 32; i++) { | 804 for (i = 0; i < 32; i++) { |
805 k = mpeg2dec->q_scale_type ? non_linear_scale[i] : (i << 1); | 805 k = mpeg2dec->q_scale_type ? non_linear_scale[i] : (i << 1); |
806 decoder->quantizer_scale = k; | 806 decoder->quantizer_scales[i] = k; |
807 for (j = 0; j < 64; j++) | 807 for (j = 0; j < 64; j++) |
808 decoder->quantizer_prescale[index][i][j] = | 808 decoder->quantizer_prescale[index][i][j] = |
809 k * mpeg2dec->quantizer_matrix[index][j]; | 809 k * mpeg2dec->quantizer_matrix[index][j]; |
810 } | 810 } |
811 } | 811 } |