Home
last modified time | relevance | path

Searched refs:halfSize (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/tools/android/test/jni/
Dimageutils_jni.cc36 jint width, jint height, jboolean halfSize);
41 jint uv_row_stride, jint uv_pixel_stride, jboolean halfSize);
64 jint width, jint height, jboolean halfSize) { in IMAGEUTILS_METHOD()
71 if (halfSize) { in IMAGEUTILS_METHOD()
88 jint uv_row_stride, jint uv_pixel_stride, jboolean halfSize) { in IMAGEUTILS_METHOD()
94 if (halfSize) { in IMAGEUTILS_METHOD()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_build_util.cpp285 BuildUtil::mkSplit(Value *h[2], uint8_t halfSize, Value *val) in mkSplit() argument
289 const DataType fTy = typeOfSize(halfSize * 2); in mkSplit()
292 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); in mkSplit()
297 h[0]->reg.size = halfSize; in mkSplit()
298 h[1]->reg.size = halfSize; in mkSplit()
299 h[1]->reg.data.offset += halfSize; in mkSplit()
301 h[0] = getSSA(halfSize, val->reg.file); in mkSplit()
302 h[1] = getSSA(halfSize, val->reg.file); in mkSplit()
Dnv50_ir_lowering_nv50.cpp65 unsigned int halfSize = typeSizeof(hTy); in expandIntegerMUL() local
89 i[0] = bld->mkSplit(a, halfSize, s[0]); in expandIntegerMUL()
90 i[1] = bld->mkSplit(b, halfSize, s[1]); in expandIntegerMUL()
105 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL()
116 Value *imm = bld->loadImm(NULL, 1 << (halfSize * 8)); in expandIntegerMUL()
122 i[8] = bld->mkOp2(OP_SHR, fTy, r[0], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL()
Dnv50_ir_build_util.h88 Instruction *mkSplit(Value *half[2], uint8_t halfSize, Value *);
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c1231 const float halfSize = 0.5F * size; in sp_setup_point() local
1318 if (halfSize <= 0.5 && !round) { in sp_setup_point()
1330 const int ixmin = block((int) (x - halfSize)); in sp_setup_point()
1331 const int ixmax = block((int) (x + halfSize)); in sp_setup_point()
1332 const int iymin = block((int) (y - halfSize)); in sp_setup_point()
1333 const int iymax = block((int) (y + halfSize)); in sp_setup_point()
1334 const float rmin = halfSize - 0.7071F; /* 0.7071 = sqrt(2)/2 */ in sp_setup_point()
1335 const float rmax = halfSize + 0.7071F; in sp_setup_point()
1393 const int xmin = (int) (x + 0.75 - halfSize); in sp_setup_point()
1394 const int ymin = (int) (y + 0.25 - halfSize); in sp_setup_point()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/env/
DImageUtils.java212 byte[] input, int[] output, int width, int height, boolean halfSize); in convertYUV420SPToARGB8888() argument
238 boolean halfSize); in convertYUV420ToARGB8888() argument
/external/skia/tools/
DToolUtils.cpp331 const SkPoint halfSize = SkPoint::Make(dst.width() / 2.0f, dst.height() / 2.0f); in create_hemi_normal_map() local
337 norm.fX = (x + 0.5f - center.fX) / halfSize.fX; in create_hemi_normal_map()
338 norm.fY = (y + 0.5f - center.fY) / halfSize.fY; in create_hemi_normal_map()
/external/skia/tests/
DCodecPartialTest.cpp336 const size_t halfSize = file->size() / 2; in test_interleaved() local
338 std::make_unique<HaltingStream>(std::move(file), halfSize))); in test_interleaved()
/external/deqp/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderMiscTests.cpp4702 …const tcu::Vec4 halfSize (static_cast<float>(iExtent.x()) / 2.0f, static_cast<float>(iExtent.y())… in testMixedPipelines()
4708 const auto absOffset = (offset - fbOffset) * halfSize; in testMixedPipelines()
4712 static_cast<int>(halfSize.x()), in testMixedPipelines()
4713 static_cast<int>(halfSize.y())); in testMixedPipelines()
/external/deqp/external/openglcts/modules/gles31/
Des31cDrawIndirectTests.cpp1680 const int halfSize = dataHeight / 2 * dataWidth; in Run() local
1689 halfSize * sizeof(unsigned int), GL_MAP_WRITE_BIT | GL_MAP_FLUSH_EXPLICIT_BIT); in Run()
1699 quarterSize * sizeof(unsigned int), halfSize * sizeof(unsigned int))); in Run()
1701 memcpy(buf, &dataRef2[quarterSize], halfSize * sizeof(unsigned int)); in Run()
1702 glFlushMappedBufferRange(GL_DRAW_INDIRECT_BUFFER, 0, halfSize * sizeof(unsigned int)); in Run()