/system/media/mca/filterfw/jni/ |
H A D | jni_gl_environment.cpp | 65 jboolean Java_android_filterfw_core_GLEnvironment_nativeAllocate(JNIEnv* env, jobject thiz) { argument 66 return ToJBool(WrapObjectInJava(new GLEnv(), env, thiz, true)); 69 jboolean Java_android_filterfw_core_GLEnvironment_nativeDeallocate(JNIEnv* env, jobject thiz) { argument 70 return ToJBool(DeleteNativeObject<GLEnv>(env, thiz)); 74 jobject thiz) { 75 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); 80 jobject thiz) { 81 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); 85 jboolean Java_android_filterfw_core_GLEnvironment_nativeIsActive(JNIEnv* env, jobject thiz) { argument 86 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); 73 Java_android_filterfw_core_GLEnvironment_nativeInitWithNewContext(JNIEnv* env, jobject thiz) argument 79 Java_android_filterfw_core_GLEnvironment_nativeInitWithCurrentContext(JNIEnv* env, jobject thiz) argument 90 Java_android_filterfw_core_GLEnvironment_nativeIsContextActive(JNIEnv* env, jobject thiz) argument 100 Java_android_filterfw_core_GLEnvironment_nativeActivate(JNIEnv* env, jobject thiz) argument 105 Java_android_filterfw_core_GLEnvironment_nativeDeactivate(JNIEnv* env, jobject thiz) argument 110 Java_android_filterfw_core_GLEnvironment_nativeSwapBuffers(JNIEnv* env, jobject thiz) argument 133 Java_android_filterfw_core_GLEnvironment_nativeAddSurface(JNIEnv* env, jobject thiz, jobject surface) argument 193 Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceTexture(JNIEnv* env, jobject thiz, jobject surfaceTexture, jint width, jint height) argument 268 Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder( JNIEnv* env, jobject thiz, jobject jmediarecorder) argument 357 Java_android_filterfw_core_GLEnvironment_nativeActivateSurfaceId(JNIEnv* env, jobject thiz, jint surfaceId) argument 364 Java_android_filterfw_core_GLEnvironment_nativeRemoveSurfaceId(JNIEnv* env, jobject thiz, jint surfaceId) argument 371 Java_android_filterfw_core_GLEnvironment_nativeSetSurfaceTimestamp(JNIEnv* env, jobject thiz, jlong timestamp) argument [all...] |
H A D | jni_gl_frame.cpp | 45 jobject thiz, 53 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 61 jobject thiz, 70 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 78 jobject thiz, 87 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 95 jobject thiz, 101 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 108 jboolean Java_android_filterfw_core_GLFrame_nativeDeallocate(JNIEnv* env, jobject thiz) { argument 109 return ToJBool(DeleteNativeObject<GLFrame>(env, thiz)); 44 Java_android_filterfw_core_GLFrame_nativeAllocate(JNIEnv* env, jobject thiz, jobject gl_env, jint width, jint height) argument 60 Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture(JNIEnv* env, jobject thiz, jobject gl_env, jint tex_id, jint width, jint height) argument 77 Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo(JNIEnv* env, jobject thiz, jobject gl_env, jint fbo_id, jint width, jint height) argument 94 Java_android_filterfw_core_GLFrame_nativeAllocateExternal(JNIEnv* env, jobject thiz, jobject gl_env) argument 112 Java_android_filterfw_core_GLFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument 129 Java_android_filterfw_core_GLFrame_getNativeData(JNIEnv* env, jobject thiz) argument 141 Java_android_filterfw_core_GLFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints) argument 158 Java_android_filterfw_core_GLFrame_getNativeInts(JNIEnv* env, jobject thiz) argument 170 Java_android_filterfw_core_GLFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray floats) argument 194 Java_android_filterfw_core_GLFrame_getNativeFloats(JNIEnv* env, jobject thiz) argument 216 Java_android_filterfw_core_GLFrame_setNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size) argument 233 Java_android_filterfw_core_GLFrame_getNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap) argument 248 Java_android_filterfw_core_GLFrame_setNativeViewport(JNIEnv* env, jobject thiz, jint x, jint y, jint width, jint height) argument 258 Java_android_filterfw_core_GLFrame_getNativeTextureId(JNIEnv* env, jobject thiz) argument 263 Java_android_filterfw_core_GLFrame_getNativeFboId(JNIEnv* env, jobject thiz) argument 268 Java_android_filterfw_core_GLFrame_generateNativeMipMap(JNIEnv* env, jobject thiz) argument 273 Java_android_filterfw_core_GLFrame_setNativeTextureParam(JNIEnv* env, jobject thiz, jint param, jint value) argument 281 Java_android_filterfw_core_GLFrame_nativeResetParams(JNIEnv* env, jobject thiz) argument 286 Java_android_filterfw_core_GLFrame_nativeCopyFromNative(JNIEnv* env, jobject thiz, jobject frame) argument 297 Java_android_filterfw_core_GLFrame_nativeCopyFromGL(JNIEnv* env, jobject thiz, jobject frame) argument 308 Java_android_filterfw_core_GLFrame_nativeFocus(JNIEnv* env, jobject thiz) argument 313 Java_android_filterfw_core_GLFrame_nativeReattachTexToFbo(JNIEnv* env, jobject thiz) argument 318 Java_android_filterfw_core_GLFrame_nativeDetachTexFromFbo(JNIEnv* env, jobject thiz) argument [all...] |
H A D | jni_native_buffer.cpp | 53 jboolean Java_android_filterfw_core_NativeBuffer_allocate(JNIEnv* env, jobject thiz, jint size) { argument 55 return ToJBool(AttachDataToJBuffer(env, thiz, data, size)); 59 jobject thiz, 62 char* data = GetJBufferData(env, thiz, NULL); 69 jobject thiz, 73 char* source_data = GetJBufferData(env, thiz, &size); 58 Java_android_filterfw_core_NativeBuffer_deallocate(JNIEnv* env, jobject thiz, jboolean owns_data) argument 68 Java_android_filterfw_core_NativeBuffer_nativeCopyTo(JNIEnv* env, jobject thiz, jobject new_buffer) argument
|
H A D | jni_native_frame.cpp | 36 jobject thiz, 38 return ToJBool(WrapObjectInJava(new NativeFrame(size), env, thiz, true)); 41 jboolean Java_android_filterfw_core_NativeFrame_nativeDeallocate(JNIEnv* env, jobject thiz) { argument 42 return ToJBool(DeleteNativeObject<NativeFrame>(env, thiz)); 54 jobject thiz, 58 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz); 73 jobject thiz, 75 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz); 88 jobject thiz, 90 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz); 35 Java_android_filterfw_core_NativeFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size) argument 53 Java_android_filterfw_core_NativeFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument 72 Java_android_filterfw_core_NativeFrame_getNativeData(JNIEnv* env, jobject thiz, jint size) argument 87 Java_android_filterfw_core_NativeFrame_getNativeBuffer(JNIEnv* env, jobject thiz, jobject buffer) argument 98 Java_android_filterfw_core_NativeFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints) argument 116 Java_android_filterfw_core_NativeFrame_getNativeInts(JNIEnv* env, jobject thiz, jint size) argument 132 Java_android_filterfw_core_NativeFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray floats) argument 150 Java_android_filterfw_core_NativeFrame_getNativeFloats(JNIEnv* env, jobject thiz, jint size) argument 166 Java_android_filterfw_core_NativeFrame_setNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size, jint bytes_per_sample) argument 216 Java_android_filterfw_core_NativeFrame_getNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size, jint bytes_per_sample) argument 268 Java_android_filterfw_core_NativeFrame_getNativeCapacity(JNIEnv* env, jobject thiz) argument 273 Java_android_filterfw_core_NativeFrame_nativeCopyFromNative(JNIEnv* env, jobject thiz, jobject frame) argument 284 Java_android_filterfw_core_NativeFrame_nativeCopyFromGL(JNIEnv* env, jobject thiz, jobject frame) argument [all...] |
H A D | jni_native_program.cpp | 30 jboolean Java_android_filterfw_core_NativeProgram_allocate(JNIEnv* env, jobject thiz) { argument 31 return ToJBool(WrapObjectInJava(new NativeProgram(), env, thiz, true)); 34 jboolean Java_android_filterfw_core_NativeProgram_deallocate(JNIEnv* env, jobject thiz) { argument 35 return ToJBool(DeleteNativeObject<NativeProgram>(env, thiz)); 38 jboolean Java_android_filterfw_core_NativeProgram_nativeInit(JNIEnv* env, jobject thiz) { argument 39 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); 44 jobject thiz, 46 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); 51 jobject thiz, 53 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); 43 Java_android_filterfw_core_NativeProgram_openNativeLibrary(JNIEnv* env, jobject thiz, jstring lib_name) argument 50 Java_android_filterfw_core_NativeProgram_bindInitFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 57 Java_android_filterfw_core_NativeProgram_bindSetValueFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 66 Java_android_filterfw_core_NativeProgram_bindGetValueFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 75 Java_android_filterfw_core_NativeProgram_bindProcessFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 82 Java_android_filterfw_core_NativeProgram_bindResetFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 91 Java_android_filterfw_core_NativeProgram_bindTeardownFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 100 Java_android_filterfw_core_NativeProgram_callNativeInit(JNIEnv* env, jobject thiz) argument 105 Java_android_filterfw_core_NativeProgram_callNativeSetValue(JNIEnv* env, jobject thiz, jstring key, jstring value) argument 119 Java_android_filterfw_core_NativeProgram_callNativeGetValue(JNIEnv* env, jobject thiz, jstring key) argument 130 Java_android_filterfw_core_NativeProgram_callNativeProcess(JNIEnv* env, jobject thiz, jobjectArray inputs, jobject output) argument 179 Java_android_filterfw_core_NativeProgram_callNativeReset(JNIEnv* env, jobject thiz) argument 184 Java_android_filterfw_core_NativeProgram_callNativeTeardown(JNIEnv* env, jobject thiz) argument [all...] |
H A D | jni_shader_program.cpp | 39 jobject thiz, 54 thiz, 62 thiz, 66 jboolean Java_android_filterfw_core_ShaderProgram_deallocate(JNIEnv* env, jobject thiz) { argument 67 return ToJBool(DeleteNativeObject<ShaderProgram>(env, thiz)); 70 jboolean Java_android_filterfw_core_ShaderProgram_compileAndLink(JNIEnv* env, jobject thiz) { argument 71 ShaderProgram* program = ConvertFromJava<ShaderProgram>(env, thiz); 76 jobject thiz, 79 ShaderProgram* program = ConvertFromJava<ShaderProgram>(env, thiz); 91 jobject thiz, 38 Java_android_filterfw_core_ShaderProgram_allocate(JNIEnv* env, jobject thiz, jobject gl_env, jstring vertex_shader, jstring fragment_shader) argument 75 Java_android_filterfw_core_ShaderProgram_setUniformValue(JNIEnv* env, jobject thiz, jstring key, jobject value) argument 90 Java_android_filterfw_core_ShaderProgram_getUniformValue(JNIEnv* env, jobject thiz, jstring key) argument 98 Java_android_filterfw_core_ShaderProgram_shaderProcess(JNIEnv* env, jobject thiz, jobjectArray inputs, jobject output) argument 143 Java_android_filterfw_core_ShaderProgram_setSourceRegion(JNIEnv* env, jobject thiz, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument 161 Java_android_filterfw_core_ShaderProgram_setTargetRegion(JNIEnv* env, jobject thiz, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument 179 Java_android_filterfw_core_ShaderProgram_setShaderClearsOutput(JNIEnv* env, jobject thiz, jboolean clears) argument 190 Java_android_filterfw_core_ShaderProgram_setShaderBlendEnabled(JNIEnv* env, jobject thiz, jboolean enable) argument 201 Java_android_filterfw_core_ShaderProgram_setShaderBlendFunc(JNIEnv* env, jobject thiz, jint sfactor, jint dfactor) argument 213 Java_android_filterfw_core_ShaderProgram_setShaderClearColor(JNIEnv* env, jobject thiz, jfloat r, jfloat g, jfloat b) argument 226 Java_android_filterfw_core_ShaderProgram_setShaderDrawMode(JNIEnv* env, jobject thiz, jint draw_mode) argument 237 Java_android_filterfw_core_ShaderProgram_setShaderTileCounts(JNIEnv* env, jobject thiz, jint x_count, jint y_count) argument 249 Java_android_filterfw_core_ShaderProgram_setShaderVertexCount(JNIEnv* env, jobject thiz, jint vertex_count) argument 260 Java_android_filterfw_core_ShaderProgram_beginShaderDrawing(JNIEnv* env, jobject thiz) argument 265 Java_android_filterfw_core_ShaderProgram_setShaderAttributeValues( JNIEnv* env, jobject thiz, jstring attr_name, jfloatArray values, jint component_count) argument 294 Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame( JNIEnv* env, jobject thiz, jstring attr_name, jobject vertex_frame, jint type, jint component_count, jint stride, jint offset, jboolean normalize) argument [all...] |
H A D | jni_vertex_frame.cpp | 25 jobject thiz, 27 return ToJBool(WrapObjectInJava(new VertexFrame(size), env, thiz, true)); 30 jboolean Java_android_filterfw_core_VertexFrame_nativeDeallocate(JNIEnv* env, jobject thiz) { argument 31 return ToJBool(DeleteNativeObject<VertexFrame>(env, thiz)); 35 jobject thiz, 38 VertexFrame* frame = ConvertFromJava<VertexFrame>(env, thiz); 53 jobject thiz, 55 VertexFrame* frame = ConvertFromJava<VertexFrame>(env, thiz); 70 jobject thiz, 74 VertexFrame* frame = ConvertFromJava<VertexFrame>(env, thiz); 24 Java_android_filterfw_core_VertexFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size) argument 34 Java_android_filterfw_core_VertexFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints) argument 52 Java_android_filterfw_core_VertexFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray floats) argument 69 Java_android_filterfw_core_VertexFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument 87 Java_android_filterfw_core_VertexFrame_getNativeVboId(JNIEnv* env, jobject thiz) argument [all...] |
/system/media/wilhelm/src/desktop/ |
H A D | SndFile.c | 35 struct SndFile *thiz = &thisAP->mSndFile; local 37 pthread_mutex_lock(&thiz->mMutex); 38 if (thiz->mEOF) { 39 pthread_mutex_unlock(&thiz->mMutex); 42 short *pBuffer = &thiz->mBuffer[thiz->mWhich * SndFile_BUFSIZE]; 43 if (++thiz->mWhich >= SndFile_NUMBUFS) { 44 thiz->mWhich = 0; 47 count = sf_read_short(thiz->mSNDFILE, pBuffer, (sf_count_t) SndFile_BUFSIZE); 48 pthread_mutex_unlock(&thiz 137 SndFile_checkAudioPlayerSourceSink(CAudioPlayer *thiz) argument 239 SndFile_Realize(CAudioPlayer *thiz) argument 277 SndFile_Destroy(CAudioPlayer *thiz) argument [all...] |
/system/media/wilhelm/src/ |
H A D | entry.c | 90 CEngine *thiz = theOneTrueEngine; local 91 if (NULL != thiz) { 101 object_lock_exclusive(&thiz->mObject); 105 SLuint8 *interfaceStateP = thiz->mObject.mInterfaceStates; 116 if ((NULL == expose) || (*expose)((char *) thiz + x->mOffset)) { 129 object_unlock_exclusive(&thiz->mObject); 131 *pEngine = &thiz->mObject.mItf; 143 thiz = (CEngine *) construct(pCEngine_class, exposedMask, NULL); 144 if (NULL == thiz) { 151 memset(&thiz [all...] |
H A D | handler_bodies.c | 25 unsigned handler_AudioPlayer_gain(IObject *thiz) argument 27 CAudioPlayer *ap = (CAudioPlayer *) thiz; 34 unsigned handler_OutputMix_gain(IObject *thiz) argument 43 unsigned handler_MidiPlayer_gain(IObject *thiz) argument 51 unsigned handler_MediaPlayer_gain(IObject *thiz) argument 53 CMediaPlayer *mp = (CMediaPlayer *) thiz; 60 unsigned handler_AudioPlayer_position(IObject *thiz) argument 63 ap = (CAudioPlayer *) thiz; 71 unsigned handler_MidiPlayer_position(IObject *thiz) argument 79 unsigned handler_AudioPlayer_transport(IObject *thiz) argument 88 handler_AudioPlayer_play_state(IObject *thiz) argument 97 handler_AudioRecorder_transport(IObject *thiz) argument 106 handler_MediaPlayer_transport(IObject *thiz) argument 115 handler_MediaPlayer_play_state(IObject *thiz) argument 127 handler_AudioPlayer_bq_enqueue(IObject *thiz) argument 138 handler_AudioPlayer_abq_enqueue(IObject *thiz) argument 149 handler_MediaPlayer_abq_enqueue(IObject *thiz) argument 159 handler_MediaPlayer_position(IObject *thiz) argument 170 handler_AudioPlayer_gain(IObject *thiz) argument [all...] |
/system/media/wilhelm/src/itf/ |
H A D | I3DCommit.c | 26 I3DCommit *thiz = (I3DCommit *) self; local 27 IObject *thisObject = InterfaceToIObject(thiz); 29 if (thiz->mDeferred) { 30 SLuint32 myGeneration = thiz->mGeneration; 32 ++thiz->mWaiting; 34 } while (thiz->mGeneration == myGeneration); 47 I3DCommit *thiz = (I3DCommit *) self; local 48 IObject *thisObject = InterfaceToIObject(thiz); 50 thiz->mDeferred = SL_BOOLEAN_FALSE != deferred; // normalize 65 I3DCommit *thiz local [all...] |
H A D | I3DDoppler.c | 29 I3DDoppler *thiz = (I3DDoppler *) self; local 31 interface_lock_exclusive(thiz); 32 thiz->mVelocityCartesian = velocityCartesian; 33 thiz->mVelocityActive = CARTESIAN_SET_SPHERICAL_UNKNOWN; 34 interface_unlock_exclusive(thiz); 47 I3DDoppler *thiz = (I3DDoppler *) self; local 48 interface_lock_exclusive(thiz); 49 thiz->mVelocitySpherical.mAzimuth = azimuth; 50 thiz->mVelocitySpherical.mElevation = elevation; 51 thiz 67 I3DDoppler *thiz = (I3DDoppler *) self; local 114 I3DDoppler *thiz = (I3DDoppler *) self; local 131 I3DDoppler *thiz = (I3DDoppler *) self; local 153 I3DDoppler *thiz = (I3DDoppler *) self; local [all...] |
H A D | I3DGrouping.c | 37 I3DGrouping *thiz = (I3DGrouping *) self; local 38 IObject *thisObject = InterfaceToIObject(thiz); 44 interface_lock_exclusive(thiz); 45 C3DGroup *oldGroup = thiz->mGroup; 66 thiz->mGroup = newGroup; 68 interface_unlock_exclusive(thiz); 82 I3DGrouping *thiz = (I3DGrouping *) self; local 83 interface_lock_shared(thiz); 84 C3DGroup *group = thiz->mGroup; 86 interface_unlock_shared(thiz); 101 I3DGrouping *thiz = (I3DGrouping *) self; local 108 I3DGrouping *thiz = (I3DGrouping *) self; local [all...] |
H A D | I3DLocation.c | 29 I3DLocation *thiz = (I3DLocation *) self; local 31 interface_lock_exclusive(thiz); 32 thiz->mLocationCartesian = locationCartesian; 33 thiz->mLocationActive = CARTESIAN_SET_SPHERICAL_UNKNOWN; 34 interface_unlock_exclusive(thiz); 52 I3DLocation *thiz = (I3DLocation *) self; local 53 interface_lock_exclusive(thiz); 54 thiz->mLocationSpherical.mAzimuth = azimuth; 55 thiz->mLocationSpherical.mElevation = elevation; 56 thiz 73 I3DLocation *thiz = (I3DLocation *) self; local 120 I3DLocation *thiz = (I3DLocation *) self; local 174 I3DLocation *thiz = (I3DLocation *) self; local 198 I3DLocation *thiz = (I3DLocation *) self; local 222 I3DLocation *thiz = (I3DLocation *) self; local 249 I3DLocation *thiz = (I3DLocation *) self; local 276 I3DLocation *thiz = (I3DLocation *) self; local [all...] |
H A D | I3DMacroscopic.c | 32 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local 33 interface_lock_exclusive(thiz); 34 thiz->mSize.mWidth = width; 35 thiz->mSize.mHeight = height; 36 thiz->mSize.mDepth = depth; 37 interface_unlock_exclusive(thiz); 53 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local 54 interface_lock_shared(thiz); 55 SLmillimeter width = thiz->mSize.mWidth; 56 SLmillimeter height = thiz 79 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local 103 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local 131 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local 154 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local 213 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local [all...] |
H A D | I3DSource.c | 26 I3DSource *thiz = (I3DSource *) self; local 27 interface_lock_poke(thiz); 28 thiz->mHeadRelative = SL_BOOLEAN_FALSE != headRelative; // normalize 29 interface_unlock_poke(thiz); 43 I3DSource *thiz = (I3DSource *) self; local 44 interface_lock_peek(thiz); 45 SLboolean headRelative = thiz->mHeadRelative; 46 interface_unlock_peek(thiz); 64 I3DSource *thiz = (I3DSource *) self; local 65 interface_lock_exclusive(thiz); 84 I3DSource *thiz = (I3DSource *) self; interface_lock_shared(thiz); local 101 I3DSource *thiz = (I3DSource *) self; local 118 I3DSource *thiz = (I3DSource *) self; local 137 I3DSource *thiz = (I3DSource *) self; local 152 I3DSource *thiz = (I3DSource *) self; local 170 I3DSource *thiz = (I3DSource *) self; local 185 I3DSource *thiz = (I3DSource *) self; local 204 I3DSource *thiz = (I3DSource *) self; local 224 I3DSource *thiz = (I3DSource *) self; local 245 I3DSource *thiz = (I3DSource *) self; local 266 I3DSource *thiz = (I3DSource *) self; local 301 I3DSource *thiz = (I3DSource *) self; local [all...] |
H A D | IAndroidBufferQueue.c | 30 static SLuint32 getAssociatedState(IAndroidBufferQueue *thiz) argument 33 switch (InterfaceToObjectID(thiz)) { 35 state = ((CMediaPlayer *) thiz->mThis)->mPlay.mState; 38 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState; 229 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 231 interface_lock_exclusive(thiz); 234 if (SL_PLAYSTATE_STOPPED == getAssociatedState(thiz)) { 235 thiz->mCallback = callback; 236 thiz->mContext = pContext; 239 switch (InterfaceToObjectID(thiz)) { 266 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 343 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 414 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 435 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 459 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 483 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 502 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local [all...] |
H A D | IAndroidConfiguration.c | 34 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local 35 interface_lock_exclusive(thiz); 38 switch (IObjectToObjectID((thiz)->mThis)) { 42 result = android_audioRecorder_setConfig((CAudioRecorder *) thiz->mThis, configKey, 48 result = android_audioPlayer_setConfig((CAudioPlayer *) thiz->mThis, configKey, 56 interface_unlock_exclusive(thiz); 75 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local 76 interface_lock_exclusive(thiz); 79 switch (IObjectToObjectID((thiz)->mThis)) { 81 result = android_audioRecorder_getConfig((CAudioRecorder *) thiz 106 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local [all...] |
H A D | IAndroidEffect.cpp | 28 IAndroidEffect *thiz = (IAndroidEffect *) self; local 29 if (SL_OBJECTID_AUDIOPLAYER == IObjectToObjectID(thiz->mThis)) { 30 CAudioPlayer *ap = (CAudioPlayer *)thiz->mThis; 32 result = android_genericFx_createEffect(thiz, effectImplementationId, ap->mSessionId); 36 } else if (SL_OBJECTID_OUTPUTMIX == IObjectToObjectID(thiz->mThis)) { 37 result = android_genericFx_createEffect(thiz, effectImplementationId, 54 IAndroidEffect *thiz = (IAndroidEffect *) self; local 55 result = android_genericFx_releaseEffect(thiz, effectImplementationId); 66 IAndroidEffect *thiz = (IAndroidEffect *) self; local 67 result = android_genericFx_setEnabled(thiz, effectImplementationI 78 IAndroidEffect *thiz = (IAndroidEffect *) self; local 91 IAndroidEffect *thiz = (IAndroidEffect *) self; local 109 IAndroidEffect *thiz = (IAndroidEffect *) self; local 116 IAndroidEffect *thiz = (IAndroidEffect *) self; local [all...] |
H A D | IAndroidEffectCapabilities.c | 30 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local 31 interface_lock_shared(thiz); 33 *pNumSupportedAudioEffects = thiz->mNumFx; 36 interface_unlock_shared(thiz); 49 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local 50 if (index > thiz->mNumFx) { 53 interface_lock_shared(thiz); 55 *pEffectType = (SLInterfaceID) &thiz->mFxDescriptors[index].type; 58 *pEffectImplementation = (SLInterfaceID) &thiz->mFxDescriptors[index].uuid; 61 int len = strlen(thiz 81 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local 91 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local 133 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local [all...] |
H A D | IAndroidEffectSend.c | 32 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 33 interface_lock_exclusive(thiz); 35 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 36 (CAudioPlayer *) thiz->mThis : NULL; 49 thiz->mSendLevel = initialLevel; 50 thiz->mEnabled = enable; 53 interface_unlock_exclusive(thiz); 68 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 69 interface_lock_shared(thiz); 71 SLboolean enable = thiz 91 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 124 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 152 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 191 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 232 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local [all...] |
H A D | IAudioDecoderCapabilities.c | 67 IAudioDecoderCapabilities *thiz = (IAudioDecoderCapabilities *) self; local 68 thiz->mItf = &IAudioDecoderCapabilities_Itf;
|
H A D | IAudioEncoder.c | 30 IAudioEncoder *thiz = (IAudioEncoder *) self; local 32 interface_lock_exclusive(thiz); 33 thiz->mSettings = settings; 34 interface_unlock_exclusive(thiz); 50 IAudioEncoder *thiz = (IAudioEncoder *) self; local 51 interface_lock_shared(thiz); 52 SLAudioEncoderSettings settings = thiz->mSettings; 53 interface_unlock_shared(thiz); 69 IAudioEncoder *thiz = (IAudioEncoder *) self; local 70 thiz [all...] |
H A D | IAudioEncoderCapabilities.c | 68 IAudioEncoderCapabilities *thiz = (IAudioEncoderCapabilities *) self; local 69 thiz->mItf = &IAudioEncoderCapabilities_Itf;
|
H A D | IAudioIODeviceCapabilities.c | 76 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local 77 interface_lock_exclusive(thiz); 78 thiz->mAvailableAudioInputsChangedCallback = callback; 79 thiz->mAvailableAudioInputsChangedContext = pContext; 80 interface_unlock_exclusive(thiz); 146 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local 147 interface_lock_exclusive(thiz); 148 thiz->mAvailableAudioOutputsChangedCallback = callback; 149 thiz->mAvailableAudioOutputsChangedContext = pContext; 150 interface_unlock_exclusive(thiz); 163 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local 315 IAudioIODeviceCapabilities *thiz = (IAudioIODeviceCapabilities *) self; local [all...] |