OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [id-26.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
int find_sad_16x16(int *intra_mode)
2
{
3
  int current_intra_sad_2,best_intra_sad2;
4
  int M1[16][16],M0[4][4][4][4],M3[4],M4[4][4];
5
  int i,j,k;
6
  int ii,jj;
7
  int up_avail, left_avail, left_up_avail;
8
  for (i=0;i<17;i++)
9
    if (left_up_avail)
10
      {
11
        for (jj=0;jj<4;jj++)
12
          for (ii=0;ii<4;ii++)
13
            for (j=0;j<4;j++)
14
              for (i=0;i<4;i++)
15
                {
16
                  M0[i][ii][2][jj]=M3[0]-M3[1];
17
                  M0[i][ii][1][jj]=M3[2]+M3[3];
18
                  current_intra_sad_2 += abs(M0[i][ii][j][jj]);
19
                }
20
 
21
        if(current_intra_sad_2 < best_intra_sad2)
22
          best_intra_sad2=current_intra_sad_2;
23
      }
24
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.