Move uselessly global variables

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25697 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-01-12 15:43:32 +00:00
parent a61585625f
commit b0a11dd7e9
1 changed files with 2 additions and 3 deletions

View File

@ -80,15 +80,13 @@ int Init_2xSaI(int d)
+ ((((A & qlowpixelMask) + (B & qlowpixelMask) + (C & qlowpixelMask) + (D & qlowpixelMask)) >> 2) & qlowpixelMask)
static unsigned char *src_line[4];
static unsigned char *dst_line[2];
void Super2xSaI_ex(uint8_t *src, uint32_t src_pitch,
uint8_t *dst, uint32_t dst_pitch,
uint32_t width, uint32_t height, int sbpp) {
unsigned int x, y;
uint32_t color[16];
unsigned char *src_line[4];
/* Point to the first 3 lines. */
src_line[0] = src;
@ -120,6 +118,7 @@ void Super2xSaI_ex(uint8_t *src, uint32_t src_pitch,
}
for (y = 0; y < height; y++) {
unsigned char *dst_line[2];
dst_line[0] = dst + dst_pitch*2*y;
dst_line[1] = dst + dst_pitch*(2*y+1);