Home
last modified time | relevance | path

Searched refs:dataCache (Results 1 – 2 of 2) sorted by relevance

/frameworks/wilhelm/tests/sandbox/streamSource/
DslesTestPlayStream.cpp42 char dataCache[BUFFER_SIZE * NB_BUFFERS]; variable
108 size_t nbRead = fread((void*)dataCache, 1, BUFFER_SIZE*(NB_BUFFERS/2), file); in AndroidBufferQueueCallback()
112 dataCache + i*BUFFER_SIZE, in AndroidBufferQueueCallback()
294 if (fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file) <= 0) { in TestPlayStream()
302 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0); in TestPlayStream()
308 if (fread(dataCache, 1, BUFFER_SIZE * 1, file) <= 0) { in TestPlayStream()
315 res = (*abqItf)->Enqueue(abqItf, dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0); in TestPlayStream()
/frameworks/wilhelm/tests/native-media/jni/
Dnative-media-jni.c64 char dataCache[BUFFER_SIZE * NB_BUFFERS]; variable
143 assert(dataCache <= (char *) pBufferData && (char *) pBufferData < in AndroidBufferQueueCallback()
144 &dataCache[BUFFER_SIZE * NB_BUFFERS]); in AndroidBufferQueueCallback()
145 assert(0 == (((char *) pBufferData - dataCache) % BUFFER_SIZE)); in AndroidBufferQueueCallback()
301 nbRead = fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file); in enqueueInitialBuffers()
324 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, items /*pMsg*/, in enqueueInitialBuffers()
330 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0); in enqueueInitialBuffers()