Searched refs:pixel_ptr (Results 1 – 6 of 6) sorted by relevance
293 T* pixel_ptr = (*this)[y]; in DownsampleInterpolateNearest() local299 *pixel_ptr++ = row_data[nearest_x]; in DownsampleInterpolateNearest()358 T* pixel_ptr = (*this)[y]; in DownsampleInterpolateLinear() local399 *pixel_ptr++ = value; in DownsampleInterpolateLinear()
108 uint8_t *pixel_ptr = dst_image.TopLeftPixel(); in TEST_P() local111 ASSERT_EQ(kExpectedOutput[i], pixel_ptr[j]) in TEST_P()114 pixel_ptr += dst_image.stride(); in TEST_P()
8426 const PixelData* pixel_ptr = pixels[n_pixel]; in getRawDataFromPixelData() local8432 channels[0] = &pixel_ptr->alpha; in getRawDataFromPixelData()8433 channels[1] = &pixel_ptr->blue; in getRawDataFromPixelData()8434 channels[2] = &pixel_ptr->green; in getRawDataFromPixelData()8435 channels[3] = &pixel_ptr->red; in getRawDataFromPixelData()8441 channels[0] = &pixel_ptr->blue; in getRawDataFromPixelData()8442 channels[1] = &pixel_ptr->green; in getRawDataFromPixelData()8443 channels[2] = &pixel_ptr->red; in getRawDataFromPixelData()8449 channels[0] = &pixel_ptr->blue; in getRawDataFromPixelData()8450 channels[1] = &pixel_ptr->green; in getRawDataFromPixelData()[all …]
9351 const float* pixel_ptr = row_ptr + 4 /* rgba */ * x; in verifyRenderedData() local9353 if (de::abs(pixel_ptr[0] - expected_data[0]) > epsilon || in verifyRenderedData()9354 de::abs(pixel_ptr[1] - expected_data[1]) > epsilon || in verifyRenderedData()9355 de::abs(pixel_ptr[2] - expected_data[2]) > epsilon || in verifyRenderedData()9356 de::abs(pixel_ptr[3] - expected_data[3]) > epsilon) in verifyRenderedData()9362 << expected_data[3] << "), found:(" << pixel_ptr[0] << ", " << pixel_ptr[1] << ", " in verifyRenderedData()9363 << pixel_ptr[2] << ", " << pixel_ptr[3] << ")." << tcu::TestLog::EndMessage; in verifyRenderedData()
4676 const unsigned char* pixel_ptr = row_ptr + x * 4 /* RGBA */; in executeTest() local4678 if (pixel_ptr[0] != 255 || pixel_ptr[1] != 255 || pixel_ptr[2] != 255 || pixel_ptr[3] != 255) in executeTest()
9218 const unsigned char* pixel_ptr = row_ptr + 4 /* rgba */ * x; in executeFunctionalTest() local9220 if (de::abs(pixel_ptr[0]) > epsilon || de::abs(pixel_ptr[1] - 255) > epsilon || in executeFunctionalTest()9221 de::abs(pixel_ptr[2]) > epsilon || de::abs(pixel_ptr[3]) > epsilon) in executeFunctionalTest()9226 << (int)pixel_ptr[0] << ", " << (int)pixel_ptr[1] << ", " << (int)pixel_ptr[2] in executeFunctionalTest()9227 << ", " << (int)pixel_ptr[3] in executeFunctionalTest()