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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [pr39335.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-options "-O2" } */
2
 
3
typedef unsigned char byte;
4
typedef struct gx_device_s gx_device;
5
typedef struct gs_devn_params_s gs_devn_params;
6
typedef struct gs_devn_params_s {
7
   struct compressed_color_list_s * compressed_color_list;
8
} gs_devn_params_t;
9
int devn_unpack_row(gx_device * dev, int num_comp,
10
                   gs_devn_params * pdevn_params, int width, byte * in,
11
                   byte * out)
12
{
13
 int i, comp_num, pixel_num;
14
 if (pdevn_params->compressed_color_list == ((void *)0))
15
   {
16
     for (pixel_num = 0; pixel_num < width; pixel_num++)
17
       for (i = 0; i < num_comp; i++)
18
         *out++ = *in++;
19
   }
20
}

powered by: WebSVN 2.1.0

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