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

Commit 09940bbc authored by Dichen Zhang's avatar Dichen Zhang
Browse files

Add comments

This follows Id9b4bc0d2e53c1b4c239027c8b087020019a0147

Bug: 129491498
Test: TBD
Change-Id: I8070836b24d46b1152c0af3584ffd444008632f6
parent a66ea4b9
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,