{"push_id":770285090,"size":5,"distinct_size":5,"ref":"refs/heads/cm-12.1","head":"ccf629304a13523dfd04c99321dbc3b2d0d0df59","before":"3184d0c103795a41b90d35fade45fc2730387241","commits":[{"sha":"664179aa5594465eaf39069aff814ca25c68d82c","author":{"email":"90b51f8a5079017e81711ae9317c35b0575b34e1@gmail.com","name":"Christopher R. Palmer"},"message":"libstagefright: Avoid cache thrashing by preserving more cached data\n\nInstead of a hard-coded 1MB \"gray area\" let's set a default of 4MB\nand adapt it based on any dynamic cache parameters.\n\nAt 1MB there are many videos that have mutiple streams and the\nstreams appear in very wide byte ranges of the data.  For example,\nepisode 6 of http://kissanime.com/Anime/Dragon-Ball-Super (when viewed\nat 720p) which has an almost 3MB gap between the audio and video\nstreams.\n\nDuring playback we buffer the default 20MB of data and then after\nplaying that data we throw it all (except 1MB) away and then we\nend up seeking because the data for the earlier stream is no longer\navailable.\n\nRather than just hard-coding the value, let's try to set some sensible\nranges based on the low/high water thresholds.\n\nChange-Id: Ic8f01b04215552157fda2549eab99c41b8ff5116\n\nPatchset: 1\nhttp://review.cyanogenmod.org/#/c/107668/","distinct":true,"url":"https://api.github.com/repos/mtshima/android_frameworks_av/commits/664179aa5594465eaf39069aff814ca25c68d82c"},{"sha":"7d3099274f118a9cb8ad668c04544c482e1a7cb3","author":{"email":"90b51f8a5079017e81711ae9317c35b0575b34e1@gmail.com","name":"Christopher R. Palmer"},"message":"libstagefright: Recover when we start to thrash the cache\n\nWhen you have multiple streams and we must \"seek\", there is a\nmagic parameter hard-coded to 256KB.  If the streams are within\nthat many bytes of each other then everything is okay.  For\nexample,\n\nStream A: asks for X + 200KB\nStream B: asks for X\n\nthen we either seek to X + 200KB - 256KB or X - 256KB (depending\non which seek happens first) and in either case there will be\n1 seek (aka audio/video glitch) and things are good.\n\nHowever if we exceed the magic constant then things degenerate.\n\nIf stream A asks for X + 260KB then we will seek to X + 4KB but\nstream B then reads @ X causing it to seek to X - 256KB.  If\nstream A then reads @ X + 270KB (because it's moving forward) we\nwill then seek to that location and bounce back and forth with\naudio and/or video going to hell until we happen to buffer\nenough data to cover the window.\n\nWork around this case by forcing buffering to happen if we\nare trying to read data that is in the window that would have\nbeen loaded if we had successfully prefetched at least the\nlowwater threshold amount of data (but we just haven't had a\nchance to actually prefetch it).\n\nChange-Id: I356f28ea1cfdc9cc11f56e1bcd3002a20feffd1c\n\nPatchset: 2\nhttp://review.cyanogenmod.org/#/c/107669/","distinct":true,"url":"https://api.github.com/repos/mtshima/android_frameworks_av/commits/7d3099274f118a9cb8ad668c04544c482e1a7cb3"},{"sha":"8ad9c3f0cfddeb4641727a9335eeeac30616b09b","author":{"email":"eb50ef317bd5a0f358eafe9f27516dbc53d44603@google.com","name":"Chad Brubaker"},"message":"Fix benign unsigned overflow in OggExtractor\n\nWhen computing mCurrentPageSamples it was possible to have a harmless\nunsigned integer overflow during the conf pages leading to false\npositives with fsanitize integer. To prevent the false positives clamp\nthe result to 0.\n\nBug: 23488745\nBug: 23110888\nChange-Id: I0769cb4a915d45b00ea43f2abbefe9ee46165cc7","distinct":true,"url":"https://api.github.com/repos/mtshima/android_frameworks_av/commits/8ad9c3f0cfddeb4641727a9335eeeac30616b09b"},{"sha":"86c16f72060cdc640b6ff463b7b133f14524cee7","author":{"email":"bc6501c174fe21162c67cfc51ecb38b9a4d035f0@gmail.com","name":"Ethan Chen"},"message":"Revert \"Revert \"stagefright: Remove deprecated Exynos platform variant logic\"\"\n\nThis reverts commit 9f12d3121ea71384ffbdba29c2e9ace4e9864725.\n\nChange-Id: I3b642d5940a57813520aefbb3e6be1fd53d267d7","distinct":true,"url":"https://api.github.com/repos/mtshima/android_frameworks_av/commits/86c16f72060cdc640b6ff463b7b133f14524cee7"},{"sha":"ccf629304a13523dfd04c99321dbc3b2d0d0df59","author":{"email":"543ecf593e2d3e8bb8090482ff87d7a6203e3e50@gmail.com","name":"chickenfactory"},"message":"Merge branch 'cm-12.1' of https://github.com/temasek/android_frameworks_av into HEAD","distinct":true,"url":"https://api.github.com/repos/mtshima/android_frameworks_av/commits/ccf629304a13523dfd04c99321dbc3b2d0d0df59"}]}