![]() |
libgpac
Documentation of the core library of GPAC
|
#include <gpac/tools.h>#include <gpac/constants.h>#include <android/native_window_jni.h>#include <android/asset_manager.h>#include <android/asset_manager_jni.h>#include <jni.h>#include "dec_mediacodec.h"
Include dependency graph for dec_mediacodec_jni.c:Macros | |
| #define | ALL_CODECS 1 |
Functions | |
| static void | HandleJNIError (JNIEnv *env) |
| static jclass | FindAppClass (JNIEnv *env, const char *name) |
| static GF_Err | CacheAppClassLoader (JNIEnv *env, const char *name) |
| jint | JNI_OnLoad (JavaVM *vm, void *reserved) |
| JNIEnv * | GetEnv () |
| JavaVM * | GetJavaVM () |
| u32 | mcdec_exit_callback (void *param) |
| GF_Err | mcdec_create_surface (GLuint tex_id, ANativeWindow **window, Bool *surface_rendering, GF_MCDecSurfaceTexture *surfaceTex) |
| static char * | mcdec_get_decoder_name (JNIEnv *env, jobject mediaCodecList, jmethodID findId, jobject mediaFomat) |
| char * | mcdec_find_decoder (const char *mime, u32 width, u32 height, Bool *is_adaptive) |
| GF_Err | mcdec_update_surface (GF_MCDecSurfaceTexture surfaceTex) |
| GF_Err | mcdec_get_transform_matrix (GF_Matrix *mx, GF_MCDecSurfaceTexture surfaceTex) |
| GF_Err | mcdec_delete_surface (GF_MCDecSurfaceTexture surfaceTex) |
Variables | |
| static jclass | cSurfaceTexture = NULL |
| static jclass | cSurface = NULL |
| static jclass | cMediaCodecList = NULL |
| static jclass | cMediaFormat = NULL |
| static jmethodID | mUpdateTexImage |
| static jmethodID | mSurfaceTexConstructor |
| static jmethodID | mSurfaceConstructor |
| static jmethodID | mSurfaceRelease |
| static jmethodID | mGetTransformMatrix |
| static jmethodID | mFindClassMethod |
| static jmethodID | mMediaCodecListConstructor |
| static jmethodID | mFindDecoderForFormat |
| static jmethodID | mCreateVideoFormat |
| static jmethodID | mSetFeatureEnabled |
| static jobject | oClassLoader = NULL |
| static JavaVM * | javaVM = 0 |
| #define ALL_CODECS 1 |
|
static |
Here is the caller graph for this function:
|
static |
|
static |
| jint JNI_OnLoad | ( | JavaVM * | vm, |
| void * | reserved | ||
| ) |
| JNIEnv * GetEnv | ( | ) |
Here is the caller graph for this function:| JavaVM * GetJavaVM | ( | ) |
Here is the caller graph for this function:| u32 mcdec_exit_callback | ( | void * | param | ) |
Here is the call graph for this function:| GF_Err mcdec_create_surface | ( | GLuint | tex_id, |
| ANativeWindow ** | window, | ||
| Bool * | surface_rendering, | ||
| GF_MCDecSurfaceTexture * | surfaceTex | ||
| ) |
Here is the call graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:| GF_Err mcdec_update_surface | ( | GF_MCDecSurfaceTexture | surfaceTex | ) |
Here is the call graph for this function:| GF_Err mcdec_get_transform_matrix | ( | GF_Matrix * | mx, |
| GF_MCDecSurfaceTexture | surfaceTex | ||
| ) |
Here is the call graph for this function:| GF_Err mcdec_delete_surface | ( | GF_MCDecSurfaceTexture | surfaceTex | ) |
Here is the call graph for this function:
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |