/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
FFTConvolver.cpp | 52 size_t halfSize = fftSize() / 2; 54 // framesToProcess must be an exact multiple of halfSize, 55 // or halfSize is a multiple of framesToProcess when halfSize > framesToProcess. 56 bool isGood = !(halfSize % framesToProcess && framesToProcess % halfSize); 61 size_t numberOfDivisions = halfSize <= framesToProcess ? (framesToProcess / halfSize) : 1; 62 size_t divisionSize = numberOfDivisions == 1 ? framesToProcess : halfSize; 89 if (m_readWriteIndex == halfSize) { [all...] |
UpSampler.cpp | 60 int halfSize = n / 2; 65 double s = piDouble * (i - halfSize - subsampleOffset); 94 size_t halfSize = m_kernel.size() / 2; 97 bool isInputBufferGood = m_inputBuffer.size() == sourceFramesToProcess * 2 && halfSize <= sourceFramesToProcess; 107 destP[i * 2] = *((inputP - halfSize) + i);
|
DownSampler.cpp | 60 int halfSize = n / 2; 66 // right in the middle at halfSize, which is 0.5 and we'll handle specially during processing 70 double s = sincScaleFactor * piDouble * (i - halfSize); 104 size_t halfSize = DefaultKernelSize / 2; 107 bool isInputBufferGood = m_inputBuffer.size() == sourceFramesToProcess * 2 && halfSize <= sourceFramesToProcess; 126 // This amounts to a delay-line of length halfSize (at the source sample-rate), 131 destP[i] += 0.5 * *((inputP - halfSize) + i * 2);
|
ReverbConvolverStage.cpp | 73 size_t halfSize = fftSize / 2; 75 ASSERT(totalDelay >= halfSize); 76 if (totalDelay >= halfSize) 77 totalDelay -= halfSize; 82 int maxPreDelayLength = std::min(halfSize, totalDelay);
|
FFTFrame.cpp | 185 int halfSize = fftSize() / 2; 190 for (int i = 0; i < halfSize; i++) { 227 int halfSize = fftSize() / 2; 237 for (int i = 1; i < halfSize; i++) {
|
SincResampler.cpp | 107 int halfSize = n / 2; 116 double s = sincScaleFactor * piDouble * (i - halfSize - subsampleOffset);
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
PeriodicWave.cpp | 156 unsigned halfSize = fftSize / 2; 159 numberOfComponents = std::min(numberOfComponents, halfSize); 175 for (i = numberOfComponents; i < halfSize; ++i) { 182 vsmul(imagP, 1, &minusOne, imagP, 1, halfSize); 189 for (i = numberOfPartials + 1; i < halfSize; ++i) { 194 if (numberOfPartials < halfSize) 225 unsigned halfSize = fftSize / 2; 227 AudioFloatArray real(halfSize); 228 AudioFloatArray imag(halfSize); 236 for (unsigned n = 1; n < halfSize; ++n) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/audio/ffmpeg/ |
FFTFrameFFMPEG.cpp | 158 unsigned halfSize = fftSize() / 2; 162 VectorMath::zvmul(realP1, imagP1, realP2, imagP2, realP1, imagP1, halfSize); 174 VectorMath::vsmul(realP1, 1, &scale, realP1, 1, halfSize); 175 VectorMath::vsmul(imagP1, 1, &scale, imagP1, 1, halfSize);
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ipp/ |
FFTFrameIPP.cpp | 114 unsigned halfSize = fftSize() / 2; 118 VectorMath::zvmul(realP1, imagP1, realP2, imagP2, realP1, imagP1, halfSize); 130 VectorMath::vsmul(realP1, 1, &scale, realP1, 1, halfSize); 131 VectorMath::vsmul(imagP1, 1, &scale, imagP1, 1, halfSize);
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/mac/ |
FFTFrameMac.cpp | 111 unsigned halfSize = m_FFTSize / 2; 116 VectorMath::zvmul(realP1, imagP1, realP2, imagP2, realP1, imagP1, halfSize); 126 VectorMath::vsmul(realP1, 1, &scale, realP1, 1, halfSize); 127 VectorMath::vsmul(imagP1, 1, &scale, imagP1, 1, halfSize);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_build_util.cpp | 282 BuildUtil::mkSplit(Value *h[2], uint8_t halfSize, Value *val) 286 const DataType fTy = typeOfSize(halfSize * 2); 289 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); 294 h[0]->reg.size = halfSize; 295 h[1]->reg.size = halfSize; 296 h[1]->reg.data.offset += halfSize; 298 h[0] = getSSA(halfSize, val->reg.file); 299 h[1] = getSSA(halfSize, val->reg.file);
|
nv50_ir_lowering_nv50.cpp | 56 unsigned int halfSize = typeSizeof(hTy); 69 i[0] = bld->mkSplit(a, halfSize, mul->getSrc(0)); 70 i[1] = bld->mkSplit(b, halfSize, mul->getSrc(1)); 74 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8)); 79 Value *imm = bld->loadImm(NULL, 1 << (halfSize * 8)); 85 i[8] = bld->mkOp2(OP_SHR, fTy, r[0], t[1], bld->mkImm(halfSize * 8));
|
nv50_ir_build_util.h | 84 Instruction *mkSplit(Value *half[2], uint8_t halfSize, Value *);
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_build_util.cpp | 282 BuildUtil::mkSplit(Value *h[2], uint8_t halfSize, Value *val) 286 const DataType fTy = typeOfSize(halfSize * 2); 289 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); 294 h[0]->reg.size = halfSize; 295 h[1]->reg.size = halfSize; 296 h[1]->reg.data.offset += halfSize; 298 h[0] = getSSA(halfSize, val->reg.file); 299 h[1] = getSSA(halfSize, val->reg.file);
|
nv50_ir_lowering_nv50.cpp | 56 unsigned int halfSize = typeSizeof(hTy); 69 i[0] = bld->mkSplit(a, halfSize, mul->getSrc(0)); 70 i[1] = bld->mkSplit(b, halfSize, mul->getSrc(1)); 74 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8)); 79 Value *imm = bld->loadImm(NULL, 1 << (halfSize * 8)); 85 i[8] = bld->mkOp2(OP_SHR, fTy, r[0], t[1], bld->mkImm(halfSize * 8));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_mmap.py | 461 def make_mmap_file (self, f, halfsize): 463 f.write ('\0' * halfsize) 465 f.write ('\0' * (halfsize - 3)) 486 halfsize = mmap.ALLOCATIONGRANULARITY 487 m = self.make_mmap_file (f, halfsize) 491 mapsize = halfsize * 2 506 m = mmap.mmap(f.fileno(), mapsize - halfsize, offset=halfsize) 526 self.assertEqual(f.tell(), halfsize + 512) 528 self.assertEqual(m.size(), halfsize + 512 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_mmap.py | 461 def make_mmap_file (self, f, halfsize): 463 f.write ('\0' * halfsize) 465 f.write ('\0' * (halfsize - 3)) 486 halfsize = mmap.ALLOCATIONGRANULARITY 487 m = self.make_mmap_file (f, halfsize) 491 mapsize = halfsize * 2 506 m = mmap.mmap(f.fileno(), mapsize - halfsize, offset=halfsize) 526 self.assertEqual(f.tell(), halfsize + 512) 528 self.assertEqual(m.size(), halfsize + 512 [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/audio/chromium/ |
FFTFrameOpenMAXDLAndroid.cpp | 116 unsigned halfSize = fftSize() / 2; 120 VectorMath::zvmul(realP1, imagP1, realP2, imagP2, realP1, imagP1, halfSize);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
sobeloperator.cpp | 38 * halfSize: the length of filter is supposed to be (2 * halfSize + 1)
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Path.cpp | 363 FloatSize halfSize(rect.width() / 2, rect.height() / 2); 376 if (radius.width() > halfSize.width()) 377 radius.setWidth(halfSize.width()); 379 if (radius.height() > halfSize.height()) 380 radius.setHeight(halfSize.height());
|
/external/llvm/lib/Target/X86/Utils/ |
X86ShuffleDecode.cpp | 200 unsigned HalfSize = VT.getVectorNumElements()/2; 203 unsigned HalfBegin = ((Imm >> (l*4)) & 0x3) * HalfSize; 204 for (unsigned i = HalfBegin, e = HalfBegin+HalfSize; i != e; ++i)
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_setup.c | [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_setup.c | [all...] |
/system/core/libpixelflinger/ |
trap.cpp | 155 GGLcoord halfSize = TRI_ROUND(rad) >> 1; 156 if (halfSize == 0) 157 halfSize = TRI_HALF; 160 if (halfSize & TRI_HALF) { // size odd 167 GGLint l = (xc - halfSize) >> TRI_FRACTION_BITS; 168 GGLint t = (yc - halfSize) >> TRI_FRACTION_BITS; 169 GGLint r = (xc + halfSize) >> TRI_FRACTION_BITS; 170 GGLint b = (yc + halfSize) >> TRI_FRACTION_BITS; [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
TerrainQuad.java | 808 int halfSize = size >> 1;
819 Vector3f origin1 = new Vector3f(-halfSize * stepScale.x, 0, -halfSize
[all...] |