Home | History | Annotate | Download | only in test

Lines Matching defs:testcases

23 static testcase_t testcases[] =
106 int n_test_cases = ARRAY_LENGTH (testcases);
160 src_img = pixman_image_create_bits (testcases[i].format,
161 testcases[i].width,
162 testcases[i].height,
163 testcases[i].src,
164 testcases[i].stride);
165 pixman_image_set_indexed(src_img, testcases[i].indexed);
168 testcases[i].width,
169 testcases[i].height,
171 testcases[i].width*4);
180 0, 0, 0, 0, 0, 0, testcases[i].width, testcases[i].height);
185 for (y = 0; y < testcases[i].height; ++y)
187 for (x = 0; x < testcases[i].width; ++x)
189 int offset = y * testcases[i].width + x;
191 if (dst[offset] != testcases[i].dst[offset])
196 testcases[i].dst[offset], dst[offset]);