2017-11-09 5:41 GMT+08:00 Michael Goffioul <
michael....@gmail.com>:
> HW-accelerated decoders are implemented in external/stagefright-plugins
> (which depends on ffmpeg, libva and vaapi).
frameworks/av also needs patches to enable
ffmpeg plugins, as well as some minor patches
in system/{core,media}.
> On Wed, Nov 8, 2017 at 4:26 PM, Dmitry Karikh <
the.d...@gmail.com> wrote:
>> I am still trying to build Android-x86 for Asus T100TAM. This time I built
>> Marshmallow with some patches and it works very good: suspend, sound,
>> brightness, bluetooth, wi-fi, accelerometer and opengapps are working mostly
>> out of the box or with some Tasker scripts.
>>
>> But it looks like marshmallow still doesn't support hardware acceleration
>> on baytrail GPUs. I know it was fixed in 7.1-rc1, but I can't use Nougat on
>> my tablet yet.
>> I tried to override hardware/intel/common/libva and
The term "hardware acceleration" is unclear.
At first I thought you meant 3D hardware acceleration
by GPU (which supports Baytrail definitely)
until you mentioned libva & vaapi.
Then I understand you actually meant
hardware accelerated decoders.
>> hardware/intel/common/vaapi with nougat-x86 branch but it didn't affect the
>> performance. I encounter frame loss on 720p60 quality, but was able to play
>> 1080p60 on Nougat.
>>
>> Is it possible to port hardware acceleration from Nougat to Marshmallow
>> without massive changes in the whole project?
Basically yes, providing you know how to add
all the necessary changes.
You may also refer to Openthos (based on android-x86 5.1)
which also has hardware accelerated decoders.
https://github.com/openthos/OTO/commits/multiwindow
Nice. Thank you!
Could you briefly explain what patches are needed for it?
--
Chih-Wei
Android-x86 project
http://www.android-x86.org