Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegCompressor.cpp117 const size_t kChunkSize = 32; in threadLoop() local
119 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()
/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp167 static const size_t kChunkSize = 8192; in feedMore() local
176 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()