History log of /frameworks/av/media/libstagefright/VideoFrameScheduler.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
19d80c34be7ddd3818839a10ef4df80fa7362841 12-Apr-2018 Android Build Merger (Role) <noreply-android-build-merger@google.com> [automerger] Add check preventing div0 issue am: 27e47ce3c3 am: 357017a262 am: fef8617324 am: a7d57f7a14

Change-Id: I5c31a6a207b2b153872e75258c7527760e162aa0
27e47ce3c3bbc0b4dc629163de7ebbba7e80b149 29-Dec-2015 Ryszard Grzesica <ryszard.grzesica@sonymobile.com> Add check preventing div0 issue

There might be a scenario while period is zero or after including
precision would be zero, prevent from division in that case and
return false (to use previously used period).

Bug: 73898703
bug: 74067957
Test: run playback as stability test

Change-Id: I3fad1060b095b7b5ea4c1f9cb3f9d42a4c503560
/frameworks/av/media/libstagefright/VideoFrameScheduler.cpp
702ca6fa3349ebe01f47aeca773ce42820fe559c 23-Mar-2016 Pawin Vongmasa <pawin@google.com> VideoFrameScheduler: Fixed integer underflow due to mismatched
signedness.

Action: Added explicit unsigned->signed conversions in
schedule() and addSample() to prevent automatic signed->unsigned
conversion. (nsecs_t is signed.)

Bug: 26962365
Change-Id: I090aecce2c729af9bc10de32bf5e74d282d02e8c
/frameworks/av/media/libstagefright/VideoFrameScheduler.cpp
c1d653bbb1a99908aaf385a830aa101a3c5f1aa8 15-Oct-2015 Dan Austin <danielaustin@google.com> Fix benign integer overflow conditions for VSYNC add and removal.

There are integer overflow conditions that could occur on
vsyncsForLastFrame in VideoFrameScheduler::schedule upon a VSYNC
add or removal. Additional checks have been put in place to
remove the overflowable conditions.

Bug: 24980200
Change-Id: I7dfc25ae1d2f3e3b3382e990adb3c56518c64e8d
/frameworks/av/media/libstagefright/VideoFrameScheduler.cpp
a3725d7b0cb79ddb49f81cba00a0164d8e645acd 02-Jul-2015 Lajos Molnar <lajos@google.com> stagefright: MediaSync: use VideoFrameScheduler

Move VideoFrameScheduler to libstagefright as part of this change.

Bug: 22234976
Change-Id: Ib23fb52399cb700a1dcf789e8486b94a3edf9d95
/frameworks/av/media/libstagefright/VideoFrameScheduler.cpp