Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
ADD: [droid] surface rendering mediacodec #8277
This creates a virtual codec from mediacodec, where only the rendering path changes.
Besides the fact that it's the android "by-the-book" way, it also enables 4K video playing on 720p/1080p framebuffer, composition being left to the FW.
At the same time, this also de-activate libstagefright.
Initially, I planned to implement this in videoplayer only, but I'd rather have a smoother transition in 16, rather than a big-bang in 17. Furthermore, more 4K devices (TV's, AFTV2) are coming, and waiting till 17 will make us quite behind.
@FernetMenta Hope you don't mind. I've limited the impact to the maximum (no cleanup whatsoever) to limit the rebasing issues on videplayer. If you still have some, I suggest to plainly revert 76c4415 in your branch, and I'll re-implement in videoplayer.
@MartijnKaijser Hope it's not too late for 16?