Mercurial > hg > wm
comparison Meerwald/dct.c @ 8:f83ef905a63d
fixing many warnings
increase capacity for coordinates in bruyn
fix some uninit. variables
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Tue, 22 Apr 2008 13:36:05 +0200 |
parents | acb6967ee76d |
children | 6f5fea21a43c |
comparison
equal
deleted
inserted
replaced
7:2b350281f8b0 | 8:f83ef905a63d |
---|---|
554 } | 554 } |
555 } | 555 } |
556 } | 556 } |
557 | 557 |
558 void fdct_block_8x8(gray **input, int col, int row, double **output) { | 558 void fdct_block_8x8(gray **input, int col, int row, double **output) { |
559 int i, j; | 559 int i; |
560 gray *input_array[NJPEG]; | 560 gray *input_array[NJPEG]; |
561 | 561 |
562 for (i = 0; i < NJPEG; i++) | 562 for (i = 0; i < NJPEG; i++) |
563 input_array[i] = &input[row + i][col]; | 563 input_array[i] = &input[row + i][col]; |
564 | 564 |
598 } | 598 } |
599 } | 599 } |
600 } | 600 } |
601 | 601 |
602 void idct_block_8x8(double **input, gray **output, int col, int row) { | 602 void idct_block_8x8(double **input, gray **output, int col, int row) { |
603 int i, j; | 603 int i; |
604 gray *output_array[NJPEG]; | 604 gray *output_array[NJPEG]; |
605 | 605 |
606 for (i = 0; i < NJPEG; i++) | 606 for (i = 0; i < NJPEG; i++) |
607 output_array[i] = &output[row + i][col]; | 607 output_array[i] = &output[row + i][col]; |
608 | 608 |