HomeSort by relevance Sort by last modified time
    Searched refs:delta_h (Results 1 - 9 of 9) sorted by null

  /external/tensorflow/tensorflow/contrib/image/kernels/
adjust_hsv_in_yiq_op.h 37 const float delta_h, const float scale_s, const float scale_v,
55 float vsu = scale_v * scale_s * std::cos(delta_h);
56 float vsw = scale_v * scale_s * std::sin(delta_h);
76 const Tensor* const input, const float* const delta_h,
adjust_hsv_in_yiq_op_gpu.cu.cc 27 __global__ void compute_tranformation_matrix_cuda(const float* const delta_h,
34 *delta_h, *scale_s, *scale_v, matrix);
43 const float* const delta_h,
59 delta_h, scale_s, scale_v, tranformation_matrix.flat<float>().data(),
adjust_hsv_in_yiq_op.cc 41 const Tensor* delta_h = nullptr; member in struct:tensorflow::AdjustHsvInYiqOpBase::ComputeOptions
52 const Tensor& delta_h = context->input(1); variable
58 OP_REQUIRES(context, TensorShapeUtils::IsScalar(delta_h.shape()),
59 errors::InvalidArgument("delta_h must be scalar: ",
60 delta_h.shape().DebugString()));
81 options.delta_h = &delta_h;
106 const float delta_h = options.delta_h->scalar<float>()(); variable
112 delta_h, scale_s, scale_v, tranformation_matrix)
155 const float* delta_h = options.delta_h->flat<float>().data(); variable
    [all...]
  /external/tensorflow/tensorflow/contrib/image/python/kernel_tests/
distort_image_ops_test.py 44 def _adjust_hue_in_yiq_np(self, x_np, delta_h):
52 delta_h: degree of hue rotation, in radians.
60 u = np.cos(delta_h)
61 w = np.sin(delta_h)
74 def _adjust_hue_in_yiq_tf(self, x_np, delta_h):
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.
    [all...]
  /external/tensorflow/tensorflow/core/kernels/
adjust_hue_op.cc 212 const float delta_h = delta->scalar<float>()(); variable
219 [channel_count, &input_data, &output_data, delta_h](
232 h += delta_h * kChannelRange;
269 const float* delta_h = delta->flat<float>().data(); variable
271 functor::AdjustHueGPU()(&device, number_of_elements, input_data, delta_h,
  /external/tensorflow/tensorflow/compiler/tests/
image_ops_test.py 221 def _adjustHueNp(self, x_np, delta_h):
231 h += delta_h
239 def _adjustHueTf(self, x_np, delta_h):
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.
    [all...]
  /external/webrtc/talk/media/base/
videocapturer.cc 628 int64_t delta_h = supported.height - aspect_h; local
642 if (delta_h < 0) {
643 delta_h = delta_h * kDownPenalty;
664 (delta_w << 28) | (delta_h << 16) | (idelta_fps << 8) | delta_fourcc;
  /external/tensorflow/tensorflow/python/ops/
image_ops_test.py 393 def _adjustHueNp(self, x_np, delta_h):
403 h += delta_h
411 def _adjustHueTf(self, x_np, delta_h):
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.
    [all...]
  /external/pdfium/third_party/lcms/src/
cmspcs.c 624 cmsFloat64Number delta_h = (hps_minus_hp) <= -180.000001 ? (hps_minus_hp + 360) : local
631 cmsFloat64Number delta_H =2 * sqrt(C_ps*C_p) * sin(RADIANS(delta_h) / 2);
651 Sqr(delta_H/(Sh * Kh)) +
652 Rt*(delta_C/(Sc * Kc)) * (delta_H / (Sh * Kh)));

Completed in 184 milliseconds