summaryrefslogtreecommitdiff
path: root/sys/androidmedia/gstjniutils.h
Commit message (Collapse)AuthorAgeFilesLines
* androidmedia: Allow the application to provide the Java VMSebastian Dröge2015-06-181-0/+2
| | | | | | | | | | | In JNI_OnLoad() we will already get the Java VM passed and could just directly use that. gstreamer_android-1.0.c will now provide this to us. Reason for this is that apparently not all Android system are providing the JNI functions to get the currently running Java VMs, so we would fail to get. With this we will always be able to get the Java VM on such systems.
* androidmedia: Conditionally use get_{input,output}_buffer() Android 21 APIsSebastian Dröge2015-05-311-0/+6
| | | | | Also properly set limit/position on byte buffer, some codecs prefer to have correct values there.
* amc: Allow creating global and local references of objectsSebastian Dröge2015-04-111-0/+3
|
* amc: Make GError argument order more consistentSebastian Dröge2015-04-111-15/+15
|
* amc: Add helper function for getting a direct buffer arraySebastian Dröge2015-04-111-0/+11
|
* amc: Java longs are gint64sSebastian Dröge2015-04-111-4/+4
|
* amc: Improve JNI utilities and add some missing onesSebastian Dröge2015-04-111-16/+51
| | | | | | We now fill GErrors for everything that could throw an exception, and method calls now always return a gboolean and their value in an out-parameter to distinguish failures from other values.
* androidmedia: Add helpers for calling static methodsSebastian Dröge2015-03-151-1/+19
|
* androidmedia: Fix indentionSebastian Dröge2015-03-151-14/+14
|
* androidmedia: Add more JNI helper functionsMatthieu Bouron2015-03-151-0/+69
|
* androidmedia: Split jni code to gstjniutils.cMatthieu Bouron2015-03-151-0/+45