Home
last modified time | relevance | path

Searched refs:halfSize (Results 1 – 12 of 12) 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/adhd/scripts/mic_testing/frontend/
Danalysis.js422 var halfSize = 1,
438 while (halfSize < bufferSize) {
439 phaseShiftStepReal = cosTable[halfSize];
440 phaseShiftStepImag = sinTable[halfSize];
445 for (var fftStep = 0; fftStep < halfSize; fftStep++) {
449 off = i + halfSize;
459 i += halfSize << 1;
469 halfSize = halfSize << 1;
/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.cpp275 const SkPoint halfSize = SkPoint::Make(dst.width() / 2.0f, dst.height() / 2.0f); in create_hemi_normal_map() local
281 norm.fX = (x + 0.5f - center.fX) / halfSize.fX; in create_hemi_normal_map()
282 norm.fY = (y + 0.5f - center.fY) / halfSize.fY; in create_hemi_normal_map()
/external/skqp/tools/
Dsk_tool_utils.cpp204 const SkPoint halfSize = SkPoint::Make(dst.width() / 2.0f, dst.height() / 2.0f); in create_hemi_normal_map() local
210 norm.fX = (x + 0.5f - center.fX) / halfSize.fX; in create_hemi_normal_map()
211 norm.fY = (y + 0.5f - center.fY) / halfSize.fY; in create_hemi_normal_map()
/external/skqp/tests/
DCodecPartialTest.cpp334 const size_t halfSize = file->size() / 2; in test_interleaved() local
336 skstd::make_unique<HaltingStream>(std::move(file), halfSize))); in test_interleaved()
/external/skia/tests/
DCodecPartialTest.cpp334 const size_t halfSize = file->size() / 2; in test_interleaved() local
336 std::make_unique<HaltingStream>(std::move(file), halfSize))); in test_interleaved()
/external/deqp/external/openglcts/modules/gles31/
Des31cDrawIndirectTests.cpp1686 const int halfSize = dataHeight / 2 * dataWidth; in Run() local
1695 halfSize * sizeof(unsigned int), GL_MAP_WRITE_BIT | GL_MAP_FLUSH_EXPLICIT_BIT); in Run()
1705 quarterSize * sizeof(unsigned int), halfSize * sizeof(unsigned int))); in Run()
1707 memcpy(buf, &dataRef2[quarterSize], halfSize * sizeof(unsigned int)); in Run()
1708 glFlushMappedBufferRange(GL_DRAW_INDIRECT_BUFFER, 0, halfSize * sizeof(unsigned int)); in Run()