Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fe783a0 authored by Dichen Zhang's avatar Dichen Zhang Committed by android-build-merger
Browse files

Add comments

am: 09940bbc

Change-Id: Iab76fe0d71cb546fc45d89fe63067fbc9afc8d95
parents 14f70460 09940bbc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -115,6 +115,9 @@ void VideoFrameSchedulerBase::PLL::test() {

#endif

// If overflow happens, the value is already incorrect, and no mater what value we get is OK.
// And this part of calculation is not important, so it's OK to simply disable overflow check
// instead of using double which makes code more complicated.
__attribute__((no_sanitize("integer")))
bool VideoFrameSchedulerBase::PLL::fit(
        nsecs_t phase, nsecs_t period, size_t numSamplesToUse,