/third_party/libsnd/src/ALAC/ |
D | alac_encoder.c | 55 … * bitstream, const int32_t * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ; 56 … * bitstream, const int32_t * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ; 57 …ER *p, struct BitBuffer * bitstream, const int32_t * input, uint32_t stride, uint32_t numSamples) ; 58 … * bitstream, const int32_t * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ; 222 …itstream, const int32_t * inputBuffer, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) in EncodeStereo() argument 269 partialFrame = (numSamples == p->mFrameSize) ? 0 : 1 ; in EncodeStereo() 290 …mix16 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples / dilate, mixBits, mixRes) ; in EncodeStereo() 293 …mix20 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples / dilate, mixBits, mixRes) ; in EncodeStereo() 297 mix24 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples / dilate, in EncodeStereo() 302 mix32 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples / dilate, in EncodeStereo() [all …]
|
D | alac_decoder.c | 137 alac_decode (ALAC_DECODER *p, struct BitBuffer * bits, int32_t * sampleBuffer, uint32_t numSamples,… in alac_decode() argument 175 *outNumSamples = numSamples ; in alac_decode() 217 numSamples = BitBufferRead (bits, 16) << 16 ; in alac_decode() 218 numSamples |= BitBufferRead (bits, 16) ; in alac_decode() 220 RequireAction (numSamples < kALACDefaultFramesPerPacket, return kALAC_NumSamplesTooBig ;) ; in alac_decode() 245 BitBufferAdvance (bits, (bytesShifted * 8) * numSamples) ; in alac_decode() 249 … (&agParams, p->mConfig.mb, (pb * pbFactorU) / 4, p->mConfig.kb, numSamples, numSamples, p->mConfi… in alac_decode() 250 status = dyn_decomp (&agParams, bits, p->mPredictor, numSamples, chanBits, &bits1) ; in alac_decode() 255 … unpc_block (p->mPredictor, p->mMixBufferU, numSamples, &coefsU [0], numU, chanBits, denShiftU) ; in alac_decode() 260 unpc_block (p->mPredictor, p->mPredictor, numSamples, NULL, 31, chanBits, 0) ; in alac_decode() [all …]
|
D | matrixlib.h | 42 void mix16 (const int32_t * in, uint32_t stride, int32_t * u, int32_t * v, int32_t numSamples, int3… 43 void unmix16 (const int32_t * u, int32_t * v, int32_t * out, uint32_t stride, int32_t numSamples, i… 46 void mix20 (const int32_t * in, uint32_t stride, int32_t * u, int32_t * v, int32_t numSamples, int3… 47 void unmix20 (const int32_t * u, int32_t * v, int32_t * out, uint32_t stride, int32_t numSamples, i… 52 void mix24 (const int32_t * in, uint32_t stride, int32_t * u, int32_t * v, int32_t numSamples, 54 void unmix24 (const int32_t * u, int32_t * v, int32_t * out, uint32_t stride, int32_t numSamples, 61 void mix32 (const int32_t * in, uint32_t stride, int32_t * u, int32_t * v, int32_t numSamples, 63 void unmix32 (const int32_t * u, int32_t * v, int32_t * out, uint32_t stride, int32_t numSamples, 67 void copy20ToPredictor (const int32_t * in, uint32_t stride, int32_t * out, int32_t numSamples) ; 68 void copy24ToPredictor (const int32_t * in, uint32_t stride, int32_t * out, int32_t numSamples) ; [all …]
|
D | matrix_dec.c | 63 unmix16 (const int32_t * u, int32_t * v, int32_t * out, uint32_t stride, int32_t numSamples, int32_… in unmix16() argument 70 for (j = 0 ; j < numSamples ; j++) in unmix16() 85 for (j = 0 ; j < numSamples ; j++) in unmix16() 98 unmix20 (const int32_t * u, int32_t * v, int32_t * out, uint32_t stride, int32_t numSamples, int32_… in unmix20() argument 105 for (j = 0 ; j < numSamples ; j++) in unmix20() 120 for (j = 0 ; j < numSamples ; j++) in unmix20() 133 unmix24 (const int32_t * u, int32_t * v, int32_t * out, uint32_t stride, int32_t numSamples, in unmix24() argument 145 for (j = 0, k = 0 ; j < numSamples ; j++, k += 2) in unmix24() 160 for (j = 0 ; j < numSamples ; j++) in unmix24() 176 for (j = 0, k = 0 ; j < numSamples ; j++, k += 2) in unmix24() [all …]
|
D | matrix_enc.c | 51 mix16 (const int32_t * in, uint32_t stride, int32_t * u, int32_t * v, int32_t numSamples, int32_t m… in mix16() argument 62 for (j = 0 ; j < numSamples ; j++) in mix16() 76 for (j = 0 ; j < numSamples ; j++) in mix16() 89 mix20 (const int32_t * in, uint32_t stride, int32_t * u, int32_t * v, int32_t numSamples, int32_t m… in mix20() argument 100 for (j = 0 ; j < numSamples ; j++) in mix20() 113 for (j = 0 ; j < numSamples ; j++) in mix20() 126 mix24 (const int32_t * in, uint32_t stride, int32_t * u, int32_t * v, int32_t numSamples, in mix24() argument 142 for (j = 0, k = 0 ; j < numSamples ; j++, k += 2) in mix24() 160 for (j = 0 ; j < numSamples ; j++) in mix24() 176 for (j = 0, k = 0 ; j < numSamples ; j++, k += 2) in mix24() [all …]
|
/third_party/cmsis/CMSIS/DSP/Include/dsp/ |
D | complex_math_functions.h | 61 uint32_t numSamples); 72 uint32_t numSamples); 84 uint32_t numSamples); 96 uint32_t numSamples); 108 uint32_t numSamples); 120 uint32_t numSamples); 132 uint32_t numSamples); 144 uint32_t numSamples); 156 uint32_t numSamples); 170 uint32_t numSamples, [all …]
|
D | complex_math_functions_f16.h | 53 uint32_t numSamples); 64 uint32_t numSamples); 75 uint32_t numSamples); 88 uint32_t numSamples, 103 uint32_t numSamples); 116 uint32_t numSamples);
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
D | CircularCaptureBuffer.java | 38 public int write(float[] buffer, int offset, int numSamples) { in write() argument 39 if (numSamples > mData.length) { in write() 42 if ((mCursor + numSamples) > mData.length) { in write() 47 int numWrite2 = numSamples - numWrite1; in write() 51 System.arraycopy(buffer, offset, mData, mCursor, numSamples); in write() 52 mCursor += numSamples; in write() 57 mNumValidSamples += numSamples; in write() 61 return numSamples; in write() 75 public int readMostRecent(float[] buffer, int offset, int numSamples) { in readMostRecent() argument 77 if (numSamples > mNumValidSamples) { in readMostRecent() [all …]
|
D | TapLatencyAnalyser.java | 37 public TapLatencyEvent[] analyze(float[] buffer, int offset, int numSamples) { in analyze() argument 39 mHighPassBuffer = new float[numSamples]; in analyze() 40 highPassFilter(buffer, offset, numSamples, mHighPassBuffer); in analyze() 41 float[] peakBuffer = new float[numSamples]; in analyze() 42 fillPeakBuffer(mHighPassBuffer, 0, numSamples, peakBuffer); in analyze() 43 return scanForEdges(peakBuffer, numSamples); in analyze() 50 … private void highPassFilter(float[] buffer, int offset, int numSamples, float[] highPassBuffer) { in highPassFilter() argument 54 for (int i = 0; i < numSamples; i++) { in highPassFilter() 63 private TapLatencyEvent[] scanForEdges(float[] peakBuffer, int numSamples) { in scanForEdges() argument 88 private void fillPeakBuffer(float[] buffer, int offset, int numSamples, float[] peakBuffer) { in fillPeakBuffer() argument [all …]
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | multisample.h | 37 SWR_MULTISAMPLE_COUNT GetSampleCount(uint32_t numSamples) in GetSampleCount() argument 39 switch (numSamples) in GetSampleCount() 67 static const uint32_t numSamples = 0; member 77 static const uint32_t numSamples = 1; 93 static const uint32_t numSamples = 1; 107 SWR_ASSERT(sampleNum < numSamples); 112 SWR_ASSERT(sampleNum < numSamples); 121 static const uint32_t numSamples = 2; 140 static const uint32_t numSamples = 2; 154 SWR_ASSERT(sampleNum < numSamples); [all …]
|
D | tilemgr.cpp | 97 uint32_t numSamples, in GetHotTile() argument 112 uint32_t size = numSamples * mHotTileSize[attachment]; in GetHotTile() 117 hotTile.numSamples = numSamples; in GetHotTile() 128 if (numSamples > hotTile.numSamples) in GetHotTile() 136 uint32_t size = numSamples * mHotTileSize[attachment]; in GetHotTile() 141 hotTile.numSamples = numSamples; in GetHotTile() 218 uint32_t numSamples) in GetHotTileNoLoad() argument 232 uint32_t size = numSamples * mHotTileSize[attachment]; in GetHotTileNoLoad() 235 hotTile.numSamples = numSamples; in GetHotTileNoLoad() 258 uint32_t numSamples = pHotTile->numSamples; in ClearColorHotTile() local [all …]
|
D | state_funcs.h | 41 INLINE void SWR_MULTISAMPLE_POS::PrecalcSampleData(int numSamples) in PrecalcSampleData() argument 43 for (int i = 0; i < numSamples; i++) in PrecalcSampleData() 51 CalcTileSampleOffsets(numSamples); in PrecalcSampleData() 54 INLINE void SWR_MULTISAMPLE_POS::CalcTileSampleOffsets(int numSamples) in CalcTileSampleOffsets() argument 56 auto minXi = std::min_element(std::begin(_xi), &_xi[numSamples]); in CalcTileSampleOffsets() 57 auto maxXi = std::max_element(std::begin(_xi), &_xi[numSamples]); in CalcTileSampleOffsets() 62 auto minYi = std::min_element(std::begin(_yi), &_yi[numSamples]); in CalcTileSampleOffsets() 63 auto maxYi = std::max_element(std::begin(_yi), &_yi[numSamples]); in CalcTileSampleOffsets()
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrRasterizer.hpp | 42 inline deUint64 getCoverageBit (int numSamples, int x, int y, int sampleNdx) in getCoverageBit() argument 47 …DE_ASSERT(de::inRange(numSamples, 1, maxSamples) && de::inBounds(x, 0, 2) && de::inBounds(y, 0, 2)… in getCoverageBit() 48 return 1ull << ((x*2 + y)*numSamples + sampleNdx); in getCoverageBit() 52 inline deUint64 getCoverageFragmentSampleBits (int numSamples, int x, int y) in getCoverageFragmentSampleBits() argument 55 const deUint64 fragMask = (1ull << numSamples) - 1; in getCoverageFragmentSampleBits() 56 return fragMask << (x*2 + y)*numSamples; in getCoverageFragmentSampleBits() 60 inline deUint64 setCoverageValue (deUint64 mask, int numSamples, int x, int y, int sampleNdx, bool … in setCoverageValue() argument 62 const deUint64 bit = getCoverageBit(numSamples, x, y, sampleNdx); in setCoverageValue() 67 inline bool getCoverageValue (deUint64 mask, int numSamples, int x, int y, int sampleNdx) in getCoverageValue() argument 69 return (mask & getCoverageBit(numSamples, x, y, sampleNdx)) != 0; in getCoverageValue() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/MatrixFunctions/ |
D | arm_mat_scale_f32.c | 86 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_scale_f32() local 95 numSamples = (uint32_t) pSrc->numRows * pSrc->numCols; in arm_mat_scale_f32() 96 blkCnt = numSamples >> 2; in arm_mat_scale_f32() 118 blkCnt = numSamples & 3; in arm_mat_scale_f32() 144 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_scale_f32() local 163 numSamples = (uint32_t) pSrc->numRows * pSrc->numCols; in arm_mat_scale_f32() 165 blkCnt = numSamples >> 2; in arm_mat_scale_f32() 187 blkCnt = numSamples % 0x4U; in arm_mat_scale_f32() 214 uint32_t numSamples; /* Total number of elements in the matrix */ in arm_mat_scale_f32() local 233 numSamples = (uint32_t) pSrc->numRows * pSrc->numCols; in arm_mat_scale_f32() [all …]
|
D | arm_mat_add_f32.c | 69 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_add_f32() local 97 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_f32() 98 blkCnt = numSamples >> 2; in arm_mat_add_f32() 118 blkCnt = numSamples & 3; in arm_mat_add_f32() 151 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_add_f32() local 172 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_f32() 174 blkCnt = numSamples >> 2U; in arm_mat_add_f32() 197 blkCnt = numSamples % 0x4U; in arm_mat_add_f32() 226 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_add_f32() local 247 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_f32() [all …]
|
D | arm_mat_sub_f32.c | 67 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_sub_f32() local 95 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_f32() 96 blkCnt = numSamples >> 2; in arm_mat_sub_f32() 117 blkCnt = numSamples & 3; in arm_mat_sub_f32() 145 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_sub_f32() local 166 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_f32() 168 blkCnt = numSamples >> 2U; in arm_mat_sub_f32() 193 blkCnt = numSamples % 0x4U; in arm_mat_sub_f32() 223 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_sub_f32() local 244 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_f32() [all …]
|
D | arm_mat_scale_f16.c | 73 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_scale_f16() local 84 numSamples = (uint32_t) pSrc->numRows * pSrc->numCols; in arm_mat_scale_f16() 85 blkCnt = numSamples >> 3; in arm_mat_scale_f16() 107 blkCnt = numSamples & 7; in arm_mat_scale_f16() 133 uint32_t numSamples; /* Total number of elements in the matrix */ in arm_mat_scale_f16() local 152 numSamples = (uint32_t) pSrc->numRows * pSrc->numCols; in arm_mat_scale_f16() 157 blkCnt = numSamples >> 2U; in arm_mat_scale_f16() 174 blkCnt = numSamples % 0x4U; in arm_mat_scale_f16() 179 blkCnt = numSamples; in arm_mat_scale_f16()
|
D | arm_mat_sub_f16.c | 61 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_sub_f16() local 89 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_f16() 90 blkCnt = numSamples >> 3; in arm_mat_sub_f16() 111 blkCnt = numSamples & 7; in arm_mat_sub_f16() 138 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_sub_f16() local 159 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_f16() 164 blkCnt = numSamples >> 2U; in arm_mat_sub_f16() 181 blkCnt = numSamples % 0x4U; in arm_mat_sub_f16() 186 blkCnt = numSamples; in arm_mat_sub_f16()
|
D | arm_mat_add_f16.c | 63 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_add_f16() local 91 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_f16() 92 blkCnt = numSamples >> 3; in arm_mat_add_f16() 112 blkCnt = numSamples & 7; in arm_mat_add_f16() 137 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_add_f16() local 158 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_f16() 163 blkCnt = numSamples >> 2U; in arm_mat_add_f16() 183 blkCnt = numSamples % 0x4U; in arm_mat_add_f16() 188 blkCnt = numSamples; in arm_mat_add_f16()
|
D | arm_mat_sub_q31.c | 59 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_sub_q31() local 92 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_q31() 93 blkCnt = numSamples >> 2; in arm_mat_sub_q31() 113 blkCnt = numSamples & 3; in arm_mat_sub_q31() 141 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_sub_q31() local 162 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_q31() 167 blkCnt = numSamples >> 2U; in arm_mat_sub_q31() 187 blkCnt = numSamples % 0x4U; in arm_mat_sub_q31() 192 blkCnt = numSamples; in arm_mat_sub_q31()
|
D | arm_mat_add_q31.c | 60 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_add_q31() local 90 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_q31() 91 blkCnt = numSamples >> 2; in arm_mat_add_q31() 111 blkCnt = numSamples & 3; in arm_mat_add_q31() 139 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_add_q31() local 160 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_q31() 165 blkCnt = numSamples >> 2U; in arm_mat_add_q31() 185 blkCnt = numSamples % 0x4U; in arm_mat_add_q31() 190 blkCnt = numSamples; in arm_mat_add_q31()
|
D | arm_mat_scale_q31.c | 63 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_scale_q31() local 88 numSamples = (uint32_t) pSrc->numRows * pSrc->numCols; in arm_mat_scale_q31() 89 blkCnt = numSamples >> 2; in arm_mat_scale_q31() 113 blkCnt = numSamples & 3; in arm_mat_scale_q31() 140 uint32_t numSamples; /* Total number of elements in the matrix */ in arm_mat_scale_q31() local 161 numSamples = (uint32_t) pSrc->numRows * pSrc->numCols; in arm_mat_scale_q31() 166 blkCnt = numSamples >> 2U; in arm_mat_scale_q31() 206 blkCnt = numSamples % 0x4U; in arm_mat_scale_q31() 211 blkCnt = numSamples; in arm_mat_scale_q31()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp | 94 imageMSParams.numSamples, // VkSampleCountFlagBits rasterizationSamples; in getMSStateCreateInfo() 148 imageMSInfo.samples = m_imageMSParams.numSamples; in iterate() 173 const deUint32 numSamples = static_cast<deUint32>(imageMSInfo.samples); in iterate() local 175 std::vector<de::SharedPtr<Image> > imagesPerSampleVec(numSamples); in iterate() 177 for (deUint32 sampleNdx = 0u; sampleNdx < numSamples; ++sampleNdx) in iterate() 183 std::vector<VkAttachmentDescription> attachments(firstSubpassAttachmentsCount + numSamples); in iterate() 216 for (deUint32 sampleNdx = 0u; sampleNdx < numSamples; ++sampleNdx) in iterate() 240 std::vector<VkAttachmentReference> perSampleAttachmentRef(numSamples); in iterate() 242 for (deUint32 sampleNdx = 0u; sampleNdx < numSamples; ++sampleNdx) in iterate() 253 std::vector<deUint32> preserveAttachments(1u + numSamples); in iterate() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/ComplexMathFunctions/ |
D | arm_cmplx_conj_f32.c | 76 uint32_t numSamples) in arm_cmplx_conj_f32() argument 79 uint32_t blockSize = numSamples * CMPLX_DIM; /* loop counters */ in arm_cmplx_conj_f32() 126 uint32_t numSamples) in arm_cmplx_conj_f32() argument 137 blkCnt = numSamples >> 2U; in arm_cmplx_conj_f32() 156 blkCnt = numSamples & 0x3; in arm_cmplx_conj_f32() 162 blkCnt = numSamples >> 2U; in arm_cmplx_conj_f32() 186 blkCnt = numSamples % 0x4U; in arm_cmplx_conj_f32() 191 blkCnt = numSamples; in arm_cmplx_conj_f32()
|
D | arm_cmplx_mult_real_f32.c | 78 uint32_t numSamples) in arm_cmplx_mult_real_f32() argument 82 uint32_t blockSizeC = numSamples * CMPLX_DIM; /* loop counters */ in arm_cmplx_mult_real_f32() 130 uint32_t numSamples) in arm_cmplx_mult_real_f32() argument 140 blkCnt = numSamples >> 2U; in arm_cmplx_mult_real_f32() 161 blkCnt = numSamples & 3; in arm_cmplx_mult_real_f32() 166 blkCnt = numSamples >> 2U; in arm_cmplx_mult_real_f32() 195 blkCnt = numSamples % 0x4U; in arm_cmplx_mult_real_f32() 200 blkCnt = numSamples; in arm_cmplx_mult_real_f32()
|