/external/tensorflow/tensorflow/contrib/image/kernels/ |
D | adjust_hsv_in_yiq_op.cc | 41 const Tensor* delta_h = nullptr; member 52 const Tensor& delta_h = context->input(1); in Compute() local 58 OP_REQUIRES(context, TensorShapeUtils::IsScalar(delta_h.shape()), in Compute() 60 delta_h.shape().DebugString())); in Compute() 81 options.delta_h = &delta_h; in Compute() 106 const float delta_h = options.delta_h->scalar<float>()(); in DoCompute() local 112 delta_h, scale_s, scale_v, tranformation_matrix); in DoCompute() 155 const float* delta_h = options.delta_h->flat<float>().data(); in DoCompute() local 159 delta_h, scale_s, scale_v, options.output); in DoCompute()
|
D | adjust_hsv_in_yiq_op.h | 37 const float delta_h, const float scale_s, const float scale_v, in compute_tranformation_matrix() argument 55 float vsu = scale_v * scale_s * std::cos(delta_h); in compute_tranformation_matrix() 56 float vsw = scale_v * scale_s * std::sin(delta_h); in compute_tranformation_matrix() 76 const Tensor* const input, const float* const delta_h,
|
D | adjust_hsv_in_yiq_op_gpu.cu.cc | 27 __global__ void compute_tranformation_matrix_cuda(const float* const delta_h, in compute_tranformation_matrix_cuda() argument 34 *delta_h, *scale_s, *scale_v, matrix); in compute_tranformation_matrix_cuda() 43 const float* const delta_h, in operator ()() argument 59 delta_h, scale_s, scale_v, tranformation_matrix.flat<float>().data(), in operator ()()
|
/external/tensorflow/tensorflow/contrib/image/python/kernel_tests/ |
D | distort_image_ops_test.py | 44 def _adjust_hue_in_yiq_np(self, x_np, delta_h): argument 60 u = np.cos(delta_h) 61 w = np.sin(delta_h) 74 def _adjust_hue_in_yiq_tf(self, x_np, delta_h): argument 77 y = distort_image_ops.adjust_hsv_in_yiq(x, delta_h, 1, 1) 99 delta_h = (np.random.rand() * 2.0 - 1.0) * np.pi 113 y_np = self._adjust_hue_in_yiq_np(x_np, delta_h) 114 y_tf = self._adjust_hue_in_yiq_tf(x_np, delta_h) 119 delta_h = np.random.rand() * 2.0 - 1.0 121 self._adjust_hue_in_yiq_tf(x_np, delta_h) [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | adjust_hue_op.cc | 212 const float delta_h = delta->scalar<float>()(); in DoCompute() local 219 [channel_count, &input_data, &output_data, delta_h]( in DoCompute() 232 h += delta_h * kChannelRange; in DoCompute() 269 const float* delta_h = delta->flat<float>().data(); in DoCompute() local 271 functor::AdjustHueGPU()(&device, number_of_elements, input_data, delta_h, in DoCompute()
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | image_ops_test.py | 221 def _adjustHueNp(self, x_np, delta_h): argument 231 h += delta_h 239 def _adjustHueTf(self, x_np, delta_h): argument 243 y = gen_image_ops.adjust_hue(x, delta_h) 265 delta_h = np.random.rand() * 2.0 - 1.0 279 y_np = self._adjustHueNp(x_np, delta_h) 280 y_tf = self._adjustHueTf(x_np, delta_h) 290 delta_h = np.random.rand() * 2.0 - 1.0 293 self._adjustHueTf(x_np, delta_h) 295 delta_h = np.random.rand() * 2.0 - 1.0 [all …]
|
/external/webrtc/talk/media/base/ |
D | videocapturer.cc | 628 int64_t delta_h = supported.height - aspect_h; in GetFormatDistance() local 642 if (delta_h < 0) { in GetFormatDistance() 643 delta_h = delta_h * kDownPenalty; in GetFormatDistance() 664 (delta_w << 28) | (delta_h << 16) | (idelta_fps << 8) | delta_fourcc; in GetFormatDistance()
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_ops_test.py | 393 def _adjustHueNp(self, x_np, delta_h): argument 403 h += delta_h 411 def _adjustHueTf(self, x_np, delta_h): argument 414 y = image_ops.adjust_hue(x, delta_h) 436 delta_h = np.random.rand() * 2.0 - 1.0 450 y_np = self._adjustHueNp(x_np, delta_h) 451 y_tf = self._adjustHueTf(x_np, delta_h) 461 delta_h = np.random.rand() * 2.0 - 1.0 464 self._adjustHueTf(x_np, delta_h) 466 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()
|