/external/OpenCL-CTS/test_conformance/basic/ |
D | test_imagerandomcopy.cpp | 177 unsigned int x[2], y[2], delta_w, delta_h ; in test_imagerandomcopy() local 215 delta_h = y[1] - y[0]; in test_imagerandomcopy() 216 …yImage for %s: x = %d, y = %d, w = %d, h = %d\n", test_str_names[i], x[0], y[0], delta_w, delta_h); in test_imagerandomcopy() 221 region[1] = delta_h; in test_imagerandomcopy() 241 … err = verify_rgba8_image(rgba8_inptr, rgba8_outptr, x[0], y[0], delta_w, delta_h, img_width); in test_imagerandomcopy() 244 … err = verify_rgba16_image(rgba16_inptr, rgba16_outptr, x[0], y[0], delta_w, delta_h, img_width); in test_imagerandomcopy() 247 … err = verify_rgbafp_image(rgbafp_inptr, rgbafp_outptr, x[0], y[0], delta_w, delta_h, img_width); in test_imagerandomcopy()
|
D | test_imagecopy.cpp | 163 int x, y, delta_w = img_width/8, delta_h = img_height/16; in test_imagecopy() local 189 for (y=0; y<img_height; y+=delta_h) in test_imagecopy() 194 size_t copy_origin[3] = {x,y,0}, copy_region[3]={delta_w, delta_h, 1}; in test_imagecopy() 199 …e [%d, %d], image size [%d x %d]) Failed\n", copy_number, x, y, delta_w, delta_h, img_width, img_h… in test_imagecopy()
|
D | test_imagecopy3d.cpp | 160 int x, y, z, delta_w = img_width/8, delta_h = img_height/16, delta_d = img_depth/4; in test_imagecopy3d() local 184 for (y=0; y<img_height; y+=delta_h) in test_imagecopy3d() 189 region[0] = delta_w; region[1] = delta_h; region[2] = delta_d; in test_imagecopy3d()
|
/external/tensorflow/tensorflow/core/kernels/image/ |
D | adjust_hue_op.cc | 212 const float delta_h = delta->scalar<float>()(); in DoCompute() local 219 [&input_data, &output_data, delta_h](int64_t start_channel, in DoCompute() 232 h += delta_h * kChannelRange; in DoCompute() 270 const float* delta_h = delta->flat<float>().data(); in DoCompute() local 273 delta_h, output_data); in DoCompute()
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | image_ops_test.py | 223 def _adjustHueNp(self, x_np, delta_h): argument 233 h += delta_h 241 def _adjustHueTf(self, x_np, delta_h): argument 245 y = gen_image_ops.adjust_hue(x, delta_h) 267 delta_h = np.random.rand() * 2.0 - 1.0 281 y_np = self._adjustHueNp(x_np, delta_h) 282 y_tf = self._adjustHueTf(x_np, delta_h) 292 delta_h = np.random.rand() * 2.0 - 1.0 295 self._adjustHueTf(x_np, delta_h) 297 delta_h = np.random.rand() * 2.0 - 1.0 [all …]
|
/external/pdfium/third_party/lcms/src/ |
D | cmspcs.c | 624 cmsFloat64Number delta_h = (hps_minus_hp) <= -180.000001 ? (hps_minus_hp + 360) : in cmsCIE2000DeltaE() local 631 cmsFloat64Number delta_H =2 * sqrt(C_ps*C_p) * sin(RADIANS(delta_h) / 2); in cmsCIE2000DeltaE()
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_ops_test.py | 474 def _adjustHueNp(self, x_np, delta_h): argument 484 h += delta_h 492 def _adjustHueTf(self, x_np, delta_h): argument 495 y = image_ops.adjust_hue(x, delta_h) 517 delta_h = np.random.rand() * 2.0 - 1.0 531 y_np = self._adjustHueNp(x_np, delta_h) 532 y_tf = self._adjustHueTf(x_np, delta_h) 542 delta_h = np.random.rand() * 2.0 - 1.0 545 self._adjustHueTf(x_np, delta_h) 547 delta_h = np.random.rand() * 2.0 - 1.0 [all …]
|