/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
D | FFTConvolver.cpp | 52 size_t halfSize = fftSize() / 2; in process() local 56 bool isGood = !(halfSize % framesToProcess && framesToProcess % halfSize); in process() 61 size_t numberOfDivisions = halfSize <= framesToProcess ? (framesToProcess / halfSize) : 1; in process() 62 size_t divisionSize = numberOfDivisions == 1 ? framesToProcess : halfSize; in process() 89 if (m_readWriteIndex == halfSize) { in process() 96 … vadd(m_outputBuffer.data(), 1, m_lastOverlapBuffer.data(), 1, m_outputBuffer.data(), 1, halfSize); in process() 99 …bool isCopyGood3 = m_outputBuffer.size() == 2 * halfSize && m_lastOverlapBuffer.size() == halfSize; in process() 104 … memcpy(m_lastOverlapBuffer.data(), m_outputBuffer.data() + halfSize, sizeof(float) * halfSize); in process()
|
D | UpSampler.cpp | 60 int halfSize = n / 2; in initializeKernel() local 65 double s = piDouble * (i - halfSize - subsampleOffset); in initializeKernel() 94 size_t halfSize = m_kernel.size() / 2; in process() local 97 …bool isInputBufferGood = m_inputBuffer.size() == sourceFramesToProcess * 2 && halfSize <= sourceFr… in process() 107 destP[i * 2] = *((inputP - halfSize) + i); in process()
|
D | DownSampler.cpp | 60 int halfSize = n / 2; in initializeKernel() local 70 double s = sincScaleFactor * piDouble * (i - halfSize); in initializeKernel() 104 size_t halfSize = DefaultKernelSize / 2; in process() local 107 …bool isInputBufferGood = m_inputBuffer.size() == sourceFramesToProcess * 2 && halfSize <= sourceFr… in process() 131 destP[i] += 0.5 * *((inputP - halfSize) + i * 2); in process()
|
D | ReverbConvolverStage.cpp | 73 size_t halfSize = fftSize / 2; in ReverbConvolverStage() local 75 ASSERT(totalDelay >= halfSize); in ReverbConvolverStage() 76 if (totalDelay >= halfSize) in ReverbConvolverStage() 77 totalDelay -= halfSize; in ReverbConvolverStage() 82 int maxPreDelayLength = std::min(halfSize, totalDelay); in ReverbConvolverStage()
|
D | FFTFrame.cpp | 185 int halfSize = fftSize() / 2; in extractAverageGroupDelay() local 190 for (int i = 0; i < halfSize; i++) { in extractAverageGroupDelay() 227 int halfSize = fftSize() / 2; in addConstantGroupDelay() local 237 for (int i = 1; i < halfSize; i++) { in addConstantGroupDelay()
|
D | SincResampler.cpp | 107 int halfSize = n / 2; in initializeKernel() local 116 double s = sincScaleFactor * piDouble * (i - halfSize - subsampleOffset); in initializeKernel()
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
D | PeriodicWave.cpp | 156 unsigned halfSize = fftSize / 2; in createBandLimitedTables() local 159 numberOfComponents = std::min(numberOfComponents, halfSize); in createBandLimitedTables() 175 for (i = numberOfComponents; i < halfSize; ++i) { in createBandLimitedTables() 182 vsmul(imagP, 1, &minusOne, imagP, 1, halfSize); in createBandLimitedTables() 189 for (i = numberOfPartials + 1; i < halfSize; ++i) { in createBandLimitedTables() 194 if (numberOfPartials < halfSize) in createBandLimitedTables() 225 unsigned halfSize = fftSize / 2; in generateBasicWaveform() local 227 AudioFloatArray real(halfSize); in generateBasicWaveform() 228 AudioFloatArray imag(halfSize); in generateBasicWaveform() 236 for (unsigned n = 1; n < halfSize; ++n) { in generateBasicWaveform() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ipp/ |
D | FFTFrameIPP.cpp | 114 unsigned halfSize = fftSize() / 2; in multiply() local 118 VectorMath::zvmul(realP1, imagP1, realP2, imagP2, realP1, imagP1, halfSize); in multiply() 130 VectorMath::vsmul(realP1, 1, &scale, realP1, 1, halfSize); in multiply() 131 VectorMath::vsmul(imagP1, 1, &scale, imagP1, 1, halfSize); in multiply()
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/mac/ |
D | FFTFrameMac.cpp | 111 unsigned halfSize = m_FFTSize / 2; in multiply() local 116 VectorMath::zvmul(realP1, imagP1, realP2, imagP2, realP1, imagP1, halfSize); in multiply() 126 VectorMath::vsmul(realP1, 1, &scale, realP1, 1, halfSize); in multiply() 127 VectorMath::vsmul(imagP1, 1, &scale, imagP1, 1, halfSize); in multiply()
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ffmpeg/ |
D | FFTFrameFFMPEG.cpp | 158 unsigned halfSize = fftSize() / 2; in multiply() local 162 VectorMath::zvmul(realP1, imagP1, realP2, imagP2, realP1, imagP1, halfSize); in multiply() 174 VectorMath::vsmul(realP1, 1, &scale, realP1, 1, halfSize); in multiply() 175 VectorMath::vsmul(imagP1, 1, &scale, imagP1, 1, halfSize); in multiply()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
D | nv50_ir_build_util.cpp | 282 BuildUtil::mkSplit(Value *h[2], uint8_t halfSize, Value *val) in mkSplit() argument 286 const DataType fTy = typeOfSize(halfSize * 2); in mkSplit() 289 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); in mkSplit() 294 h[0]->reg.size = halfSize; in mkSplit() 295 h[1]->reg.size = halfSize; in mkSplit() 296 h[1]->reg.data.offset += halfSize; in mkSplit() 298 h[0] = getSSA(halfSize, val->reg.file); in mkSplit() 299 h[1] = getSSA(halfSize, val->reg.file); in mkSplit()
|
D | nv50_ir_lowering_nv50.cpp | 56 unsigned int halfSize = typeSizeof(hTy); in expandIntegerMUL() local 69 i[0] = bld->mkSplit(a, halfSize, mul->getSrc(0)); in expandIntegerMUL() 70 i[1] = bld->mkSplit(b, halfSize, mul->getSrc(1)); in expandIntegerMUL() 74 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL() 79 Value *imm = bld->loadImm(NULL, 1 << (halfSize * 8)); in expandIntegerMUL() 85 i[8] = bld->mkOp2(OP_SHR, fTy, r[0], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL()
|
D | nv50_ir_build_util.h | 84 Instruction *mkSplit(Value *half[2], uint8_t halfSize, Value *);
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
D | nv50_ir_build_util.cpp | 282 BuildUtil::mkSplit(Value *h[2], uint8_t halfSize, Value *val) in mkSplit() argument 286 const DataType fTy = typeOfSize(halfSize * 2); in mkSplit() 289 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); in mkSplit() 294 h[0]->reg.size = halfSize; in mkSplit() 295 h[1]->reg.size = halfSize; in mkSplit() 296 h[1]->reg.data.offset += halfSize; in mkSplit() 298 h[0] = getSSA(halfSize, val->reg.file); in mkSplit() 299 h[1] = getSSA(halfSize, val->reg.file); in mkSplit()
|
D | nv50_ir_lowering_nv50.cpp | 56 unsigned int halfSize = typeSizeof(hTy); in expandIntegerMUL() local 69 i[0] = bld->mkSplit(a, halfSize, mul->getSrc(0)); in expandIntegerMUL() 70 i[1] = bld->mkSplit(b, halfSize, mul->getSrc(1)); in expandIntegerMUL() 74 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL() 79 Value *imm = bld->loadImm(NULL, 1 << (halfSize * 8)); in expandIntegerMUL() 85 i[8] = bld->mkOp2(OP_SHR, fTy, r[0], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL()
|
D | nv50_ir_build_util.h | 84 Instruction *mkSplit(Value *half[2], uint8_t halfSize, Value *);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | Path.cpp | 363 FloatSize halfSize(rect.width() / 2, rect.height() / 2); in addRoundedRect() local 376 if (radius.width() > halfSize.width()) in addRoundedRect() 377 radius.setWidth(halfSize.width()); in addRoundedRect() 379 if (radius.height() > halfSize.height()) in addRoundedRect() 380 radius.setHeight(halfSize.height()); in addRoundedRect()
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/chromium/ |
D | FFTFrameOpenMAXDLAndroid.cpp | 116 unsigned halfSize = fftSize() / 2; in multiply() local 120 VectorMath::zvmul(realP1, imagP1, realP2, imagP2, realP1, imagP1, halfSize); in multiply()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
D | sp_setup.c | 1204 const float halfSize = 0.5F * size; in sp_setup_point() local 1275 if (halfSize <= 0.5 && !round) { in sp_setup_point() 1287 const int ixmin = block((int) (x - halfSize)); in sp_setup_point() 1288 const int ixmax = block((int) (x + halfSize)); in sp_setup_point() 1289 const int iymin = block((int) (y - halfSize)); in sp_setup_point() 1290 const int iymax = block((int) (y + halfSize)); in sp_setup_point() 1291 const float rmin = halfSize - 0.7071F; /* 0.7071 = sqrt(2)/2 */ in sp_setup_point() 1292 const float rmax = halfSize + 0.7071F; in sp_setup_point() 1350 const int xmin = (int) (x + 0.75 - halfSize); in sp_setup_point() 1351 const int ymin = (int) (y + 0.25 - halfSize); in sp_setup_point()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_setup.c | 1204 const float halfSize = 0.5F * size; in sp_setup_point() local 1275 if (halfSize <= 0.5 && !round) { in sp_setup_point() 1287 const int ixmin = block((int) (x - halfSize)); in sp_setup_point() 1288 const int ixmax = block((int) (x + halfSize)); in sp_setup_point() 1289 const int iymin = block((int) (y - halfSize)); in sp_setup_point() 1290 const int iymax = block((int) (y + halfSize)); in sp_setup_point() 1291 const float rmin = halfSize - 0.7071F; /* 0.7071 = sqrt(2)/2 */ in sp_setup_point() 1292 const float rmax = halfSize + 0.7071F; in sp_setup_point() 1350 const int xmin = (int) (x + 0.75 - halfSize); in sp_setup_point() 1351 const int ymin = (int) (y + 0.25 - halfSize); in sp_setup_point()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
D | TerrainQuad.java | 808 int halfSize = size >> 1; 819 Vector3f origin1 = new Vector3f(-halfSize * stepScale.x, 0, -halfSize 842 Vector3f origin2 = new Vector3f(-halfSize * stepScale.x, 0, 0); 864 Vector3f origin3 = new Vector3f(0, 0, -halfSize * stepScale.z); 997 int halfSize = totalSize / 2; 998 int x = Math.round((xz.x / getWorldScale().x) + halfSize); 999 int z = Math.round((xz.y / getWorldScale().z) + halfSize); 1200 int halfSize = totalSize / 2; 1206 int x = Math.round((xz.get(i).x / getWorldScale().x) + halfSize); 1207 int z = Math.round((xz.get(i).y / getWorldScale().z) + halfSize);
|