Searched refs:kChunkSize (Results 1 – 2 of 2) sorted by relevance
117 const size_t kChunkSize = 32; in threadLoop() local119 JSAMPROW chunk[kChunkSize]; in threadLoop()120 for (size_t i = 0 ; i < kChunkSize; i++) { in threadLoop()124 jpeg_write_scanlines(&mCInfo, chunk, kChunkSize); in threadLoop()
167 static const size_t kChunkSize = 8192; in feedMore() local176 if (mBuffer->size() + kChunkSize > mBuffer->capacity()) { in feedMore()177 size_t newCapacity = mBuffer->capacity() + kChunkSize; in feedMore()185 mOffset, mBuffer->data() + mBuffer->size(), kChunkSize); in feedMore()187 if (n < (ssize_t)kChunkSize) { in feedMore()