Lines Matching defs:BUFFER_SIZE
38 #define BUFFER_SIZE (20*MPEG2_TS_BLOCK_SIZE)
42 char dataCache[BUFFER_SIZE * NB_BUFFERS];
83 // assert(BUFFER_SIZE <= dataSize);
108 size_t nbRead = fread((void*)dataCache, 1, BUFFER_SIZE*(NB_BUFFERS/2), file);
109 if (nbRead == BUFFER_SIZE*(NB_BUFFERS/2)) {
112 dataCache + i*BUFFER_SIZE,
113 BUFFER_SIZE, NULL, 0);
150 size_t nbRead = fread((void*)pBufferData, 1, BUFFER_SIZE, file);
297 if (fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file) <= 0) {
305 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0);
311 if (fread(dataCache, 1, BUFFER_SIZE * 1, file) <= 0) {
318 res = (*abqItf)->Enqueue(abqItf, dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0);