Searched refs:nbRead (Results 1 – 2 of 2) sorted by relevance
/frameworks/wilhelm/tests/native-media/jni/ |
D | native-media-jni.c | 191 size_t nbRead; in AndroidBufferQueueCallback() local 193 nbRead = fread(pBufferData, BUFFER_SIZE, 1, file); in AndroidBufferQueueCallback() 194 if (nbRead > 0) { in AndroidBufferQueueCallback() 195 assert(1 == nbRead); in AndroidBufferQueueCallback() 198 nbRead * BUFFER_SIZE /*dataLength*/, in AndroidBufferQueueCallback() 300 size_t nbRead; in enqueueInitialBuffers() local 301 nbRead = fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file); in enqueueInitialBuffers() 302 if (nbRead <= 0) { in enqueueInitialBuffers() 307 assert(1 <= nbRead && nbRead <= NB_BUFFERS); in enqueueInitialBuffers() 308 ALOGV("Initially queueing %zu buffers of %u bytes each", nbRead, BUFFER_SIZE); in enqueueInitialBuffers() [all …]
|
/frameworks/wilhelm/tests/sandbox/streamSource/ |
D | slesTestPlayStream.cpp | 108 size_t nbRead = fread((void*)dataCache, 1, BUFFER_SIZE*(NB_BUFFERS/2), file); in AndroidBufferQueueCallback() local 109 if (nbRead == BUFFER_SIZE*(NB_BUFFERS/2)) { in AndroidBufferQueueCallback() 150 size_t nbRead = fread((void*)pBufferData, 1, BUFFER_SIZE, file); in AndroidBufferQueueCallback() local 151 if (nbRead > 0) { in AndroidBufferQueueCallback() 154 nbRead /*dataLength*/, in AndroidBufferQueueCallback()
|