Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/
H A Daudio_deferred_process.cpp96 if (oneUnprocessedSize_ * PROCESS_BATCH_SIZE > maxUnprocessedBufferSize_ || in GetMaxBufferSize()
97 oneProcessedSize_ * PROCESS_BATCH_SIZE > maxProcessedBufferSize_) { in GetMaxBufferSize()
128 …ique_ptr<uint8_t[]> rawArr = std::make_unique<uint8_t[]>(oneUnprocessedSize_ * PROCESS_BATCH_SIZE); in Process()
129 …_ptr<uint8_t[]> processedArr = std::make_unique<uint8_t[]>(oneProcessedSize_ * PROCESS_BATCH_SIZE); in Process()
134 … int32_t ret = offlineEffectChain_->Process(rawArr.get(), oneUnprocessedSize_ * PROCESS_BATCH_SIZE, in Process()
135 processedArr.get(), oneProcessedSize_ * PROCESS_BATCH_SIZE); in Process()
149 if (count == PROCESS_BATCH_SIZE - 1) { in Process()
150 returnToRecords(i, PROCESS_BATCH_SIZE); in Process()
154 count = (count + 1) % PROCESS_BATCH_SIZE; in Process()
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/avcodec/
H A Daudio_deferred_process.h47 static constexpr int32_t PROCESS_BATCH_SIZE = 5; variable