Mercurial > libavcodec.hg
comparison mpegvideo.c @ 4179:46d38e3d7038 libavcodec
rename squareTbl -> ff_squareTbl
author | mru |
---|---|
date | Sun, 12 Nov 2006 21:48:04 +0000 |
parents | 0f28fc219799 |
children | 3c98b0938897 |
comparison
equal
deleted
inserted
replaced
4178:f623a9939995 | 4179:46d38e3d7038 |
---|---|
4749 copy_context_after_encode(best, s, type); | 4749 copy_context_after_encode(best, s, type); |
4750 } | 4750 } |
4751 } | 4751 } |
4752 | 4752 |
4753 static int sse(MpegEncContext *s, uint8_t *src1, uint8_t *src2, int w, int h, int stride){ | 4753 static int sse(MpegEncContext *s, uint8_t *src1, uint8_t *src2, int w, int h, int stride){ |
4754 uint32_t *sq = squareTbl + 256; | 4754 uint32_t *sq = ff_squareTbl + 256; |
4755 int acc=0; | 4755 int acc=0; |
4756 int x,y; | 4756 int x,y; |
4757 | 4757 |
4758 if(w==16 && h==16) | 4758 if(w==16 && h==16) |
4759 return s->dsp.sse[0](NULL, src1, src2, stride, 16); | 4759 return s->dsp.sse[0](NULL, src1, src2, stride, 16); |