2018-04-02 15:17 GMT+08:00 Kitsune <
kitsu...@gmail.com>:
> I'm early wrote about it, but again write. On my tablet is atom Z3745.
>
>> How did you confirm it doesn't work?
>
>
> 1. If in MX Player i'm play video 1080x1920 (h264, mp4), high CPU load,
> frequency 1.87 GHz on all cores and 50-60% load. HW, HW+ decoder - no
> differences. In YouTube app, and other videoplayers - the same. With use SW
> decoder CPU load above, 80-85%. It seems right? But, high CPU load HW
> decoder, and see below.
>
> 2. If play 1080x1920 60 FPS (and other 1440x2560, 2160x3840) i'm not see 60
> FPS, maximum 40, i'm see frame loss. CPU load 100% all time (HW+, SW). In
> Windows 10 i'm can play 2160x3840 60 FPS and cpu load ~10%.
You can turn off HW decoding to see the difference.
Bartrail even can't play 1080p 30FPS with SW codec.
The CPU load is still high because the limitation
of our graphic stack.
See the discussion in android-x86-devel.
> 3.
>
>> 05-09 11:00:40.626 1540 4537 I HWACCEL : hw codec h264 enabled:
>> s=0xf64a2c00 ist=0xf64a5f00 pix_fmts=53
That means HW codec is using.
> Hmm, this is in logcat, but why SoftFFmpegVideo write? And why high CPU load
> 50%? Why i'm can't play 60fps video, and more than 1080p quality? If using
> HW decoding in Windows CPU load is very small ~5-10%
>
> 4. In logcat, spam SoftFFmpegVideo for every frame, it mean Software Decoder
> using?
No. It just means ffmpeg plugin (with vaapi) is using.
> D SoftFFmpegVideo: drainOneOutputBuffer: frame_width=1920 frame_height=1080
> buffer_width=1920 buffer_height=1080 ctx_width=1920 ctx_height=1080
> mIsAdaptive=0
> D SoftFFmpegVideo: drainOneOutputBuffer: frame_width=1920 frame_height=1080
> buffer_width=1920 buffer_height=1080 ctx_width=1920 ctx_height=1080
> mIsAdaptive=0
>
> D SoftFFmpegVideo: drainOneOutputBuffer: frame_width=1920 frame_height=1080
> buffer_width=1920 buffer_height=1080 ctx_width=1920 ctx_height=1080
> mIsAdaptive=0
>
> P.S.
> 5. I'm try on amd gpu in notebook, there HW work, and logcat not be this
> messages:
Only Intel CPU/GPU supports HW accelerated decoding
at this moment.