Searched refs:count (Results 1 - 25 of 1384) sorted by last modified time

1234567891011>>

/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL_Android.h95 XAuint32 count; member in struct:XAAndroidBufferQueueState_
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h1381 SLuint32 count; member in struct:SLBufferQueueState_
H A DOpenSLES_Android.h64 // corresponding to the maximum channel count (currently FCC_8).
241 SLuint32 count; member in struct:SLAndroidSimpleBufferQueueState_
310 SLuint32 count; member in struct:SLAndroidBufferQueueState_
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp160 if (ap->mBufferQueue.mState.count != 0) {
184 ap->mBufferQueue.mState.count--;
219 // the source's channel count, where zero means unknown
267 // channel mute and solo are ignored for mono and unknown channel count sources
346 // panning law depends on content channel count: mono to stereo panning vs stereo balance
352 // channel count is 0 (unknown), 2 (stereo), or > 2 (multi-channel)
989 SL_LOGE("Channel mask %#x does not match channel count %u", mask, numChans);
1267 if (ap->mBufferQueue.mState.count != 0) {
1268 //SL_LOGV("nbBuffers in queue = %u",ap->mBufferQueue.mState.count);
1295 ap->mBufferQueue.mState.count
[all...]
H A DAudioRecorder_to_android.cpp327 if (ar->mBufferQueue.mState.count != 0) {
352 ar->mBufferQueue.mState.count--;
683 "channel count of %d)", df_pcm->channelMask, channelMask,
H A DBufferQueueSource.cpp72 if (mAndroidBufferQueueSource->mState.count == 0) {
116 mAndroidBufferQueueSource->mState.count--;
H A Dandroid_StreamPlayer.cpp113 // Force binder to push the decremented reference count for sp<IStreamListener>.
115 // reference count, binder doesn't push that to the other process immediately.
144 if (mAndroidBufferQueue->mState.count != 0) {
145 // SL_LOGD("nbBuffers in ABQ = %u, buffSize=%u",abq->mState.count, buffSize);
229 mAndroidBufferQueue->mState.count--;
/frameworks/wilhelm/src/
H A Ddata.cpp444 // We can derive the channel mask from the channel count,
453 "requested speaker count of %u", pDataFormat->mPCM.numChannels);
458 "speaker count of %u",
465 SLuint32 count = sles_channel_count_from_mask(mask); local
466 if (count != pDataFormat->mPCM.numChannels) {
471 count);
H A Dentry.cpp88 // if an engine already exists, then increment its ref count
186 SLuint32 count = 0; local
195 ++count;
204 *pNumSupportedInterfaces = count;
/frameworks/wilhelm/src/desktop/
H A DSndFile.cpp46 sf_count_t count; local
47 count = sf_read_short(thiz->mSNDFILE, pBuffer, (sf_count_t) SndFile_BUFSIZE);
75 if (0 < count) {
77 SLuint32 size = (SLuint32) (count * sizeof(short));
194 SLboolean empty = 0 == audioPlayer->mBufferQueue.mState.count;
/frameworks/wilhelm/src/itf/
H A DIAndroidBufferQueue.cpp273 thiz->mState.count = 0;
380 ++thiz->mState.count;
385 (1 == thiz->mState.count) && (SL_PLAYSTATE_PLAYING == getAssociatedState(thiz))) ?
407 pState->count = thiz->mState.count;
474 thiz->mState.count = 0;
508 SL_LOGI(" mState.count=%u mState.index=%u mCallback=%p mContext=%p",
509 thiz->mState.count, thiz->mState.index, thiz->mCallback, thiz->mContext);
H A DIBufferQueue.cpp67 ++thiz->mState.count;
72 (1 == thiz->mState.count) && (SL_PLAYSTATE_PLAYING == getAssociatedState(thiz))) ?
97 thiz->mState.count = 0;
135 state.count = thiz->mState.count;
181 thiz->mState.count = 0;
H A DIEngine.cpp289 // copy the buffer queue count from source locator (for playback) / from the
454 // always PCM buffer queue, so we know the channel count and sample rate early.
798 SLuint32 count = 0; local
807 ++count;
816 *pNumSupportedInterfaces = count;
H A DIMetadataTraversal.cpp55 SLuint32 count = thiz->mCount; local
57 *pCount = count;
H A DIOutputMixExt.cpp75 audioPlayer->mBufferQueue.mState.count = 0;
110 assert(0 < audioPlayer->mBufferQueue.mState.count);
137 assert(0 < audioPlayer->mBufferQueue.mState.count);
285 assert(0 < bufferQueue->mState.count);
286 --bufferQueue->mState.count;
290 assert(0 < bufferQueue->mState.count);
/frameworks/wilhelm/tests/automated/
H A DBufferQueue_test.cpp209 ASSERT_EQ((SLuint32) 0, bufferqueueState.count);
219 // verify that each buffer is enqueued properly and increments the buffer count
222 ASSERT_EQ(j + 1, bufferqueueState.count);
231 // verify that the failed enqueue did not affect the buffer count
234 ASSERT_EQ(numBuffers, bufferqueueState.count);
258 ASSERT_EQ((SLuint32) 0, bufferqueueState.count);
263 // changing the play state should not affect the buffer count
266 ASSERT_EQ(ExpectedCount, bufferqueueState.count);
285 ASSERT_EQ((SLuint32) 1, bufferqueueState.count);
299 ASSERT_EQ((SLuint32) 0, bufferqueueState.count);
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeToBuffQueue.cpp212 "count=%u playIndex=%u\n",
213 pCntxt->pData, decQueueState.count, decQueueState.index);
255 fprintf(stdout, " channel count = %d\n", *((SLuint32*)pcmMetaData->data));
H A DslesTestSawtoothBufferQueue.cpp248 played. This is indicated by waiting for the count member of the
255 while (state.count) {
/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c203 if (state.count == 0)
H A Dintbufq.c171 uintptr_t count = 0; local
182 count = count * 10 + (ch - '0');
184 count = ch - '0';
203 expectedContext = (void *) count;
216 for (i = 0; i < (in_count ? count : 1); ++i) {
227 if (bufqstate.count != 0)
228 printf("\rcount=%u\r\n", (unsigned) bufqstate.count);
239 printf("count=%u\r\n", (unsigned) bufqstate.count);
[all...]
H A Dplaybq.cpp97 ssize_t count = fifoReader->read(buffer, framesPerBuffer); local
99 if (0 >= count) {
101 count = framesPerBuffer;
104 if (count > 0) {
105 SLuint32 nbytes = count * sfframesize;
122 sf_count_t count; local
126 count = sf_readf_float(sndfile, (float *) temp, READ_FRAMES);
130 count = sf_readf_int(sndfile, (int *) temp, READ_FRAMES);
134 count = sf_readf_short(sndfile, (short *) temp, READ_FRAMES);
137 count
501 sf_count_t count; local
[all...]
H A Dreverb.c322 SLuint32 count = 0; local
324 mix_req[count] = SL_BOOLEAN_TRUE;
325 mix_ids[count++] = SL_IID_PRESETREVERB;
328 mix_req[count] = SL_BOOLEAN_TRUE;
329 mix_ids[count++] = SL_IID_ENVIRONMENTALREVERB;
332 result = (*engineEngine)->CreateOutputMix(engineEngine, &mixObject, count, mix_ids, mix_req);
409 count = 0;
411 player_req[count] = SL_BOOLEAN_TRUE;
412 player_ids[count++] = SL_IID_PRESETREVERB;
415 player_req[count]
[all...]
/frameworks/wilhelm/tools/permute/
H A Dpermute.c243 sf_count_t count; local
244 count = sf_readf_short(sf_in, ptr, sfinfo_in.frames);
245 if (count != sfinfo_in.frames) {
247 (int) sfinfo_in.frames, (int) count);
270 count = sf_writef_short(sf_out, &((short *) ptr)[sfinfo_in.channels * s.mSegmentArray[i]
272 if (count != s.mSegmentArray[i].mFrameLength) {
274 path_out, (int) s.mSegmentArray[i].mFrameLength, (int) count);
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/data/
H A DVideoProvider.java66 int count = 0;
81 String studio = String.format(Locale.US, "Studio %d", count % STUDIO_COUNT);
84 videoInfo.setId(Integer.toString(count));
90 int videoNumber = useSingleBitmap ? 0 : count;
97 count++;
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...

Completed in 7657 milliseconds

1234567891011>>