Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/video_processing/
Ddeflickering.cc334 int32_t meanOfBuffer = 0; // Mean value of mean value buffer. in DetectFlicker() local
340 meanOfBuffer += mean_buffer_[i]; in DetectFlicker()
342 meanOfBuffer += (mean_buffer_length_ >> 1); // Rounding, not truncation. in DetectFlicker()
343 meanOfBuffer /= mean_buffer_length_; in DetectFlicker()
346 cntStateOld = (mean_buffer_[0] >= (meanOfBuffer + deadzone)); in DetectFlicker()
347 cntStateOld -= (mean_buffer_[0] <= (meanOfBuffer - deadzone)); in DetectFlicker()
349 cntState = (mean_buffer_[i] >= (meanOfBuffer + deadzone)); in DetectFlicker()
350 cntState -= (mean_buffer_[i] <= (meanOfBuffer - deadzone)); in DetectFlicker()