rename libiomx-<sdk_str> to libiomx.<sdk_int>

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
android-libs: add libhardware

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
add libanw.*

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
build: remove unused defines

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
jni: don't export jni_SetAndroidSurfaceSizeEnv

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
jni: fix potential leak

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
jni: don't attach thread if already attached

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
jni: add jni_AndroidJavaSurfaceToNativeSurface

And remove jni_LockAndGetAndroidSurface.

The mNativeSurface or mSurface pointer can change if surface size or color
change. The added call allow to get an up to date native_surface.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
rename mSurface to mSurfaceView

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
rename setSurfaceSize to setSurfaceLayout

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
VideoPlayer: Surface size and color is now set from jni

jni_ConfigureSurface calls VideoPlayerActivity.configureSurface.

configureSurface is only used for gingerbread and before.
After gingerbread, there are fully native way to configure the surface.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
use android_window vout starting gingerbread

This vout always use subtitle surface.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Update vlc HASH