mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
amvenc: another quant table fix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2aaf32f52f
commit
a2eae0ffd4
@ -2955,13 +2955,17 @@ static int encode_picture(MpegEncContext *s, int picture_number)
|
||||
for(i=1;i<64;i++){
|
||||
int j= s->dsp.idct_permutation[ff_zigzag_direct[i]];
|
||||
|
||||
s->intra_matrix[j] = sp5x_quant_table[5*2][i];
|
||||
s->intra_matrix[j] = sp5x_quant_table[5*2+0][i];
|
||||
s->chroma_intra_matrix[j] = sp5x_quant_table[5*2+1][i];
|
||||
}
|
||||
s->y_dc_scale_table= y;
|
||||
s->c_dc_scale_table= c;
|
||||
s->intra_matrix[0] = 14;
|
||||
s->intra_matrix[0] = 13;
|
||||
s->chroma_intra_matrix[0] = 14;
|
||||
ff_convert_matrix(&s->dsp, s->q_intra_matrix, s->q_intra_matrix16,
|
||||
s->intra_matrix, s->intra_quant_bias, 8, 8, 1);
|
||||
ff_convert_matrix(&s->dsp, s->q_chroma_intra_matrix, s->q_chroma_intra_matrix16,
|
||||
s->chroma_intra_matrix, s->intra_quant_bias, 8, 8, 1);
|
||||
s->qscale= 8;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user