|
|
@ -3700,7 +3700,7 @@ static int encode_picture(MpegEncContext *s, int picture_number) |
|
|
|
if (s->codec_id == AV_CODEC_ID_AMV) { |
|
|
|
if (s->codec_id == AV_CODEC_ID_AMV) { |
|
|
|
static const uint8_t y[32] = {13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13}; |
|
|
|
static const uint8_t y[32] = {13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13}; |
|
|
|
static const uint8_t c[32] = {14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14}; |
|
|
|
static const uint8_t c[32] = {14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14}; |
|
|
|
for(i=1;i<64;i++){ |
|
|
|
for (int i = 1; i < 64; i++) { |
|
|
|
int j = s->idsp.idct_permutation[ff_zigzag_direct[i]]; |
|
|
|
int j = s->idsp.idct_permutation[ff_zigzag_direct[i]]; |
|
|
|
|
|
|
|
|
|
|
|
s->intra_matrix[j] = sp5x_qscale_five_quant_table[0][i]; |
|
|
|
s->intra_matrix[j] = sp5x_qscale_five_quant_table[0][i]; |
|
|
|