Home
last modified time | relevance | path

Searched refs:numSamples (Results 1 – 25 of 394) sorted by relevance

12345678910>>...16

/third_party/libsnd/src/ALAC/
Dalac_encoder.c55 … * 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 …]
Dalac_decoder.c137 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 …]
Dmatrix_dec.c63 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 …]
Dmatrixlib.h42 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 …]
Dmatrix_enc.c51 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/
Dcomplex_math_functions.h61 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 …]
Dcomplex_math_functions_f16.h53 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/
DCircularCaptureBuffer.java38 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 …]
DTapLatencyAnalyser.java37 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/vk-gl-cts/framework/referencerenderer/
DrrRasterizer.hpp42 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/
Darm_mat_scale_f32.c86 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 …]
Darm_mat_sub_f32.c67 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 …]
Darm_mat_add_f32.c69 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 …]
Darm_mat_scale_f16.c73 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()
Darm_mat_sub_f16.c61 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()
Darm_mat_add_f16.c63 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()
Darm_mat_add_q31.c60 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()
Darm_mat_sub_q31.c59 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()
Darm_mat_sub_q15.c60 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_sub_q15() local
93 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_q15()
94 blkCnt = numSamples >> 3; in arm_mat_sub_q15()
111 blkCnt = numSamples & 7; in arm_mat_sub_q15()
137 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_sub_q15() local
157 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_q15()
162 blkCnt = numSamples >> 2U; in arm_mat_sub_q15()
184 blkCnt = numSamples % 0x4U; in arm_mat_sub_q15()
189 blkCnt = numSamples; in arm_mat_sub_q15()
Darm_mat_scale_q31.c63 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()
Darm_mat_add_q15.c60 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_add_q15() local
94 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_q15()
95 blkCnt = numSamples >> 3; in arm_mat_add_q15()
113 blkCnt = numSamples & 7; in arm_mat_add_q15()
140 uint32_t numSamples; /* total number of elements in the matrix */ in arm_mat_add_q15() local
161 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_q15()
166 blkCnt = numSamples >> 2U; in arm_mat_add_q15()
192 blkCnt = numSamples % 0x4U; in arm_mat_add_q15()
197 blkCnt = numSamples; in arm_mat_add_q15()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp94 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/
Darm_cmplx_conj_f32.c76 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()
Darm_cmplx_mult_real_f32.c78 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()
/third_party/mesa3d/src/amd/addrlib/src/r800/
Degbaddrlib.cpp91 UINT_32 numSamples = pIn->numSamples; in DispatchComputeSurfaceInfo() local
92 UINT_32 numFrags = ((pIn->numFrags == 0) ? numSamples : pIn->numFrags); in DispatchComputeSurfaceInfo()
112 if (numFrags != numSamples) // This means EQAA in DispatchComputeSurfaceInfo()
115 numSamples = numFrags; in DispatchComputeSurfaceInfo()
119 pOut->numSamples = numSamples; in DispatchComputeSurfaceInfo()
149 numSamples, in DispatchComputeSurfaceInfo()
229 UINT_32 numSamples = pOut->numSamples; in ComputeSurfaceInfoLinear() local
263 numSamples, in ComputeSurfaceInfoLinear()
281 numSamples, in ComputeSurfaceInfoLinear()
366 UINT_32 numSamples = pOut->numSamples; in ComputeSurfaceInfoMicroTiled() local
[all …]

12345678910>>...16