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

  /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...]
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);
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);
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 187 int halfSize = fftSize() / 2;
192 for (int i = 0; i < halfSize; i++) {
229 int halfSize = fftSize() / 2;
239 for (int i = 1; i < halfSize; i++) {
263 unsigned halfSize = fftSize() / 2;
267 VectorMath::zvmul(realP1, imagP1, realP2, imagP2, realP1, imagP1, halfSize);
SincResampler.cpp 108 int halfSize = n / 2;
117 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/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));
nv50_ir_build_util.h 84 Instruction *mkSplit(Value *half[2], uint8_t halfSize, Value *);
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
Path.cpp 399 FloatSize halfSize(rect.width() / 2, rect.height() / 2);
412 if (radius.width() > halfSize.width())
413 radius.setWidth(halfSize.width());
415 if (radius.height() > halfSize.height())
416 radius.setHeight(halfSize.height());
  /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...]

Completed in 442 milliseconds