OSDN Git Service

Add hardware accelerated codecs
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 9 May 2017 05:49:24 +0000 (13:49 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 9 May 2017 05:49:24 +0000 (13:49 +0800)
commit6ff29c422913f6bd224dbcbae5e3ae22670c06fb
treec653254dbeb794de187b8cd53461713fb13ef44f
parent947466dd2dfca20744b828531845071abb3e3b43
Add hardware accelerated codecs

Inspired by the nice work from Michael Goffioul and Jaap Jan Meijer.

The patch adds hardware accelerated codecs via ffmpeg vaapi support.
It is still experimental and unstable so it's disabled by default.
To enable it, set the property media.sf.hwaccel=1.
omx/Android.mk
omx/SoftFFmpegVideo.cpp
omx/ffmpeg_hwaccel.c [new file with mode: 0644]
omx/ffmpeg_hwaccel.h [new file with mode: 0644]