/external/tensorflow/tensorflow/core/kernels/image/ |
D | crop_and_resize_op_test.cc | 417 const int kHalf = (kLength + 1) / 2; // Half size for the cropped result. in TEST_F() local 429 AddInputFromArray<int32>(TensorShape({2}), {kHalf, kHalf}); in TEST_F() 438 Tensor result1(allocator(), DT_FLOAT, TensorShape({1, kHalf, kHalf, 1})); in TEST_F() 439 test::FillFn<float>(&result1, [=](int i) -> float { return i % kHalf; }); in TEST_F() 445 Tensor result2(allocator(), DT_FLOAT, TensorShape({1, kHalf, kHalf, 1})); in TEST_F() 447 [=](int i) -> float { return i % kHalf + kHalf - 1; }); in TEST_F() 450 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, kHalf, kHalf, 1})); in TEST_F()
|
/external/OpenCL-CTS/test_conformance/gl/ |
D | test_images_write_common.cpp | 187 if (type == kHalf) in get_appropriate_write_kernel() 193 if (type == kHalf) in get_appropriate_write_kernel() 199 if (type == kHalf) in get_appropriate_write_kernel() 213 if (type == kHalf) in get_appropriate_write_kernel() 224 if (type == kHalf) in get_appropriate_write_kernel() 231 if (type == kHalf) in get_appropriate_write_kernel() 324 if (*outType == kHalf && !supports_half) { in test_cl_image_write() 493 if( type == kHalf ) in test_image_format_write() 577 if( error != 0 || ((sourceType == kHalf ) && !supports_half)) { in test_image_format_write() 588 if ( sourceType == kHalf ) in test_image_format_write() [all …]
|
D | test_renderbuffer.cpp | 91 if( type == kHalf ) in test_renderbuffer_read_image() 188 { GL_RGBA16F_ARB, GL_RGBA, GL_HALF_FLOAT, kHalf } in test_renderbuffer_read() 292 if( type == kHalf ) in test_renderbuffer_image_write() 325 if( error != 0 || ((sourceType == kHalf ) && !supports_half)) in test_renderbuffer_image_write() 329 if( sourceType == kHalf ) in test_renderbuffer_image_write() 367 if( sourceType == kFloat || sourceType == kHalf ) in test_renderbuffer_image_write() 405 { GL_RGBA16F_ARB, GL_RGBA, GL_HALF_FLOAT, kHalf } in test_renderbuffer_write()
|
D | test_renderbuffer_info.cpp | 31 if( type == kHalf ) in test_renderbuffer_object_info() 68 { GL_RGBA16F_ARB, GL_RGBA, GL_HALF_FLOAT, kHalf } in test_renderbuffer_getinfo()
|
D | test_images_getinfo_common.cpp | 99 if( fmt->type == kHalf ) in test_image_format_get_info() 126 if( fmt->type == kHalf ) in test_image_format_get_info()
|
D | common.h | 52 { GL_RGBA16F_ARB, GL_RGBA, GL_HALF_FLOAT, kHalf }
|
D | helpers.cpp | 95 return kHalf; in get_write_kernel_type() 360 else if( inType == kHalf ) in convert_to_expected()
|
/external/skqp/src/core/ |
D | SkMaskBlurFilter.cpp | 198 static constexpr uint64_t kHalf = static_cast<uint64_t>(1) << 31; member in __anon6ecf4bab0111::PlanGauss::Scan 201 return SkTo<uint8_t>((fWeight * sum + kHalf) >> 32); in finalScale() 328 static constexpr uint16_t kHalf = 0x80u; variable 553 Sk8h d0{kHalf}, d8{kHalf}; in blur_row() 563 d8 = Sk8h{kHalf}; in blur_row() 695 *d12 = v1 + kHalf; in blur_y_radius_1() 712 *d34 = v2 + kHalf; in blur_y_radius_2() 732 *d56 = v3 + kHalf; in blur_y_radius_3() 755 *d78 = v4 + kHalf; in blur_y_radius_4() 769 Sk8h d01{kHalf}, d12{kHalf}, d23{kHalf}, d34{kHalf}, in blur_column() [all …]
|
/external/skia/src/core/ |
D | SkMaskBlurFilter.cpp | 199 static constexpr uint64_t kHalf = static_cast<uint64_t>(1) << 31; member in __anon4450e0540111::PlanGauss::Scan 202 return SkTo<uint8_t>((fWeight * sum + kHalf) >> 32); in finalScale() 331 static constexpr uint16_t kHalf = 0x80u; variable 556 Sk8h d0{kHalf}, d8{kHalf}; in blur_row() 566 d8 = Sk8h{kHalf}; in blur_row() 698 *d12 = v1 + kHalf; in blur_y_radius_1() 715 *d34 = v2 + kHalf; in blur_y_radius_2() 735 *d56 = v3 + kHalf; in blur_y_radius_3() 758 *d78 = v4 + kHalf; in blur_y_radius_4() 772 Sk8h d01{kHalf}, d12{kHalf}, d23{kHalf}, d34{kHalf}, in blur_column() [all …]
|
/external/webrtc/api/video/test/ |
D | color_space_unittest.cc | 68 static_cast<uint8_t>(ColorSpace::ChromaSiting::kHalf))); in TEST() 69 EXPECT_EQ(ColorSpace::ChromaSiting::kHalf, in TEST()
|
/external/skqp/src/gpu/ops/ |
D | GrQuadPerEdgeAA.h | 26 enum class ColorType { kNone, kByte, kHalf, kLast = kHalf }; enumerator
|
D | GrQuadPerEdgeAA.cpp | 405 bool wideColor = GrQuadPerEdgeAA::ColorType::kHalf == spec.colorType(); in Tessellate() 724 } else if (ColorType::kHalf == spec.colorType()) { in initializeAttrs()
|
/external/tensorflow/tensorflow/stream_executor/ |
D | host_or_device_scalar.h | 74 : half_(value), is_pointer_(false), dtype_(DataType::kHalf) {} in HostOrDeviceScalar() 134 case DataType::kHalf: in opaque_value()
|
D | data_type.h | 44 static constexpr DataType value = DataType::kHalf;
|
D | blas.cc | 100 case DataType::kHalf: in DataTypeString()
|
D | dnn.proto | 12 kHalf = 2; enumerator
|
/external/OpenCL-CTS/test_common/harness/ |
D | conversions.h | 46 kHalf, enumerator
|
/external/skia/modules/skottie/src/effects/ |
D | DisplacementMapEffect.cpp | 104 kHalf, enumerator 158 || s == Selector::kHalf in IsConst()
|
/external/webrtc/api/video/ |
D | color_space.h | 120 kHalf = 2, enumerator
|
D | color_space.cc | 58 ColorSpace::ChromaSiting::kCollocated, ColorSpace::ChromaSiting::kHalf}; in SetChromaSitingFromUint8()
|
/external/OpenCL-CTS/test_conformance/gles/ |
D | helpers.cpp | 56 return kHalf; in get_read_kernel_type() 83 return kHalf; in get_write_kernel_type()
|
D | test_images_2D_info.cpp | 95 { GL_RGBA, GL_RGBA, GL_HALF_FLOAT_OES, kHalf }, in test_images_2D_getinfo()
|
/external/OpenCL-CTS/test_common/gles/ |
D | helpers.cpp | 677 case kHalf: in GetGLTypeForExplicitType() 740 return kHalf; in GetExplicitTypeForGLType() 1054 case (kHalf): in CreateRandomData()
|
/external/skqp/gm/ |
D | bleed.cpp | 123 constexpr uint8_t kHalf = 0x80; in make_ringed_alpha_bitmap() local 127 kPremul_SkAlphaType, kZero, kOne, k3Q, kHalf); in make_ringed_alpha_bitmap()
|
/external/OpenCL-CTS/test_common/gl/ |
D | helpers.cpp | 1280 case kHalf: *((cl_half *)p) = convert_float_to_half(val); break; in CreateGLTexture2DMultisample() 1542 case kHalf: *((cl_half *)p) = convert_float_to_half(val); break; in CreateGLTexture2DArrayMultisample() 1847 case kHalf: in GetGLTypeForExplicitType() 1917 return kHalf; in GetExplicitTypeForGLType() 2248 case (kHalf): in CreateRandomData()
|