comparison mpegvideo.c @ 2289:5443c3fc2448 libavcodec

Quantizer noise shaping crashes on SSE2 machines patch by (Milan Cutka <cutka at szm dot sk>)
author michael
date Fri, 08 Oct 2004 10:37:45 +0000
parents 514949de5d15
children c4e882a7c07c
comparison
equal deleted inserted replaced
2288:3d4a1f8e6a27 2289:5443c3fc2448
5492 5492
5493 static int dct_quantize_refine(MpegEncContext *s, //FIXME breaks denoise? 5493 static int dct_quantize_refine(MpegEncContext *s, //FIXME breaks denoise?
5494 DCTELEM *block, int16_t *weight, DCTELEM *orig, 5494 DCTELEM *block, int16_t *weight, DCTELEM *orig,
5495 int n, int qscale){ 5495 int n, int qscale){
5496 int16_t rem[64]; 5496 int16_t rem[64];
5497 DCTELEM d1[64]; 5497 DCTELEM d1[64] __align16;
5498 const int *qmat; 5498 const int *qmat;
5499 const uint8_t *scantable= s->intra_scantable.scantable; 5499 const uint8_t *scantable= s->intra_scantable.scantable;
5500 const uint8_t *perm_scantable= s->intra_scantable.permutated; 5500 const uint8_t *perm_scantable= s->intra_scantable.permutated;
5501 // unsigned int threshold1, threshold2; 5501 // unsigned int threshold1, threshold2;
5502 // int bias=0; 5502 // int bias=0;