Mercurial > libavcodec.hg
comparison mpegvideo_enc.c @ 11195:d464f498e19f libavcodec
Use LOCAL_ALIGNED macro for local arrays
author | mru |
---|---|
date | Wed, 17 Feb 2010 20:36:20 +0000 |
parents | 34a65026fa06 |
children | 421c9441c11e |
comparison
equal
deleted
inserted
replaced
11194:7b3f6955462b | 11195:d464f498e19f |
---|---|
3309 | 3309 |
3310 static int dct_quantize_refine(MpegEncContext *s, //FIXME breaks denoise? | 3310 static int dct_quantize_refine(MpegEncContext *s, //FIXME breaks denoise? |
3311 DCTELEM *block, int16_t *weight, DCTELEM *orig, | 3311 DCTELEM *block, int16_t *weight, DCTELEM *orig, |
3312 int n, int qscale){ | 3312 int n, int qscale){ |
3313 int16_t rem[64]; | 3313 int16_t rem[64]; |
3314 DECLARE_ALIGNED_16(DCTELEM, d1)[64]; | 3314 LOCAL_ALIGNED_16(DCTELEM, d1, [64]); |
3315 const uint8_t *scantable= s->intra_scantable.scantable; | 3315 const uint8_t *scantable= s->intra_scantable.scantable; |
3316 const uint8_t *perm_scantable= s->intra_scantable.permutated; | 3316 const uint8_t *perm_scantable= s->intra_scantable.permutated; |
3317 // unsigned int threshold1, threshold2; | 3317 // unsigned int threshold1, threshold2; |
3318 // int bias=0; | 3318 // int bias=0; |
3319 int run_tab[65]; | 3319 int run_tab[65]; |