Home
last modified time | relevance | path

Searched refs:kChunkSize (Results 1 – 4 of 4) 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.cpp163 static const size_t kChunkSize = 8192; in feedMore() local
172 if (mBuffer->size() + kChunkSize > mBuffer->capacity()) { in feedMore()
173 size_t newCapacity = mBuffer->capacity() + kChunkSize; in feedMore()
181 mOffset, mBuffer->data() + mBuffer->size(), kChunkSize); in feedMore()
183 if (n < (ssize_t)kChunkSize) { in feedMore()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBArray.m42 #define kChunkSize 16 macro
43 #define CapacityFromCount(x) (((x / kChunkSize) + 1) * kChunkSize)
63 //% if ((NEW_COUNT + (2 * kChunkSize)) < _capacity) {
513 if ((newCount + (2 * kChunkSize)) < _capacity) {
520 if ((0 + (2 * kChunkSize)) < _capacity) {
761 if ((newCount + (2 * kChunkSize)) < _capacity) {
768 if ((0 + (2 * kChunkSize)) < _capacity) {
1009 if ((newCount + (2 * kChunkSize)) < _capacity) {
1016 if ((0 + (2 * kChunkSize)) < _capacity) {
1257 if ((newCount + (2 * kChunkSize)) < _capacity) {
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmap_test.cc341 const int kChunkSize = 1000; in TEST_P() local
342 GOOGLE_CHECK_EQ(kTestSize % kChunkSize, 0); in TEST_P()
345 for (int i = 0; i < kChunkSize; i++) { in TEST_P()
353 if (times.size() < .99 * kTestSize / kChunkSize) { in TEST_P()