[vlc-commits] modules: add android_window vout

Thomas Guillem git at videolan.org
Sat Nov 15 12:27:22 CET 2014


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Nov 14 17:09:59 2014 +0100| [8a709642c0cbbbaa47506970d7b6a97337413128] | committer: Jean-Baptiste Kempf

modules: add android_window vout

 - used for direct and non direct rendering (replace opaque.c)

 - use nativewindowpriv: more control than the public api, since you can set
   orientation, crop, cancel a buffer without displaying it and allocate more
   than one buffers.

 - fallback to nativewindow if nativewindowpriv fails (with only one buffer in
   the pool then).

 - Only one way to display subtitles: use a seperate android surface.

 - Fix subtiles display in case or source aspect != 1.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8a709642c0cbbbaa47506970d7b6a97337413128
---

 configure.ac                                  |    2 +-
 modules/MODULES_LIST                          |    2 +-
 modules/codec/omxil/android_mediacodec.c      |   49 +-
 modules/codec/omxil/android_opaque.h          |    9 -
 modules/codec/omxil/omxil.c                   |   63 +-
 modules/video_output/Makefile.am              |   12 +-
 modules/video_output/android/android_window.c |  925 +++++++++++++++++++++++++
 modules/video_output/android/android_window.h |   59 ++
 modules/video_output/android/opaque.c         |  353 ----------
 9 files changed, 1040 insertions(+), 434 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=8a709642c0cbbbaa47506970d7b6a97337413128


More information about the vlc-commits mailing list