20 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
21 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 |
* |
* |
23 |
* $Id: sad.c,v 1.17 2010-11-28 15:18:21 Isibaar Exp $ |
* $Id: sad.c,v 1.18 2010-12-28 19:19:43 Isibaar Exp $ |
24 |
* |
* |
25 |
****************************************************************************/ |
****************************************************************************/ |
26 |
|
|
402 |
/* Sums all pixels of 8x8 block */ |
/* Sums all pixels of 8x8 block */ |
403 |
|
|
404 |
uint32_t |
uint32_t |
405 |
blocksum8_c(const int8_t * cur, int stride, uint16_t sums[4], uint32_t squares[4]) |
blocksum8_c(const uint8_t * cur, int stride, uint16_t sums[4], uint32_t squares[4]) |
406 |
{ |
{ |
407 |
int i, j; |
int i, j; |
408 |
uint32_t sum = 0; |
uint32_t sum = 0; |