Searched refs:context (Results 1 - 25 of 3259) sorted by path

1234567891011>>

/frameworks/av/camera/include/camera/ndk/
H A DNdkCameraCaptureSession.h58 * @param context The optional application context provided by user in
62 typedef void (*ACameraCaptureSession_stateCallback)(void* context, ACameraCaptureSession *session);
65 /// optional application context.
66 void* context; member in struct:ACameraCaptureSession_stateCallbacks
157 * @param context The optional application context provided by user in
169 void* context, ACameraCaptureSession* session,
175 * @param context The optional application context provide
251 void* context; member in struct:ACameraCaptureSession_captureCallbacks
[all...]
H A DNdkCameraDevice.h95 * @param context The optional context in {@link ACameraDevice_stateCallbacks} will be
99 typedef void (*ACameraDevice_StateCallback)(void* context, ACameraDevice* device);
104 * @param context The optional context in {@link ACameraDevice_stateCallbacks} will be
116 typedef void (*ACameraDevice_ErrorStateCallback)(void* context, ACameraDevice* device, int error);
119 /// optional application context.
120 void* context; member in struct:ACameraDevice_StateCallbacks
H A DNdkCameraManager.h117 * @param context The optional application context provided by user in
123 typedef void (*ACameraManager_AvailabilityCallback)(void* context, const char* cameraId);
136 /// Optional application context.
137 void* context; member in struct:ACameraManager_AvailabilityListener
/frameworks/av/camera/ndk/impl/
H A DACameraCaptureSession.cpp36 (*mUserSessionCallback.onClosed)(mUserSessionCallback.context, this);
H A DACameraDevice.cpp264 msg->setPointer(kContextKey, session->mUserSessionCallback.context);
420 msg->setPointer(kContextKey, session->mUserSessionCallback.context);
428 msg->setPointer(kContextKey, session->mUserSessionCallback.context);
567 msg->setPointer(kContextKey, mBusySession->mUserSessionCallback.context);
725 msg->setPointer(kContextKey, cbh.mCallbacks.context);
744 msg->setPointer(kContextKey, cbh.mCallbacks.context);
777 void* context; local
778 bool found = msg->findPointer(kContextKey, &context);
780 ALOGE("%s: Cannot find callback context!", __FUNCTION__);
801 (*onDisconnected)(context, de
[all...]
H A DACameraManager.cpp210 msg->setPointer(kContextKey, callback->context);
271 void* context; local
278 found = msg->findPointer(kContextKey, &context);
280 ALOGE("%s: Cannot find callback context!", __FUNCTION__);
288 (*cb)(context, cameraId.c_str());
H A DACameraManager.h97 mContext(callback->context) {}
/frameworks/av/cmds/stagefright/
H A Dmediafilter.cpp72 void init(const RSC::sp<RSC::RS> &context) { argument
73 mScript = new ScriptC_saturation(context);
93 void init(const RSC::sp<RSC::RS> &context) { argument
94 mScript = new ScriptC_nightvision(context);
113 void init(const RSC::sp<RSC::RS> &context) { argument
114 mScript = new ScriptC_argbtorgba(context);
380 // create RenderScript context for RSFilters
381 RSC::sp<RSC::RS> context = new RSC::RS(); local
382 context->init("/system/bin");
388 rsWrapper->mContext = context
[all...]
/frameworks/av/include/camera/ndk/
H A DNdkCameraCaptureSession.h58 * @param context The optional application context provided by user in
62 typedef void (*ACameraCaptureSession_stateCallback)(void* context, ACameraCaptureSession *session);
65 /// optional application context.
66 void* context; member in struct:ACameraCaptureSession_stateCallbacks
157 * @param context The optional application context provided by user in
169 void* context, ACameraCaptureSession* session,
175 * @param context The optional application context provide
251 void* context; member in struct:ACameraCaptureSession_captureCallbacks
[all...]
H A DNdkCameraDevice.h95 * @param context The optional context in {@link ACameraDevice_stateCallbacks} will be
99 typedef void (*ACameraDevice_StateCallback)(void* context, ACameraDevice* device);
104 * @param context The optional context in {@link ACameraDevice_stateCallbacks} will be
116 typedef void (*ACameraDevice_ErrorStateCallback)(void* context, ACameraDevice* device, int error);
119 /// optional application context.
120 void* context; member in struct:ACameraDevice_StateCallbacks
H A DNdkCameraManager.h117 * @param context The optional application context provided by user in
123 typedef void (*ACameraManager_AvailabilityCallback)(void* context, const char* cameraId);
136 /// Optional application context.
137 void* context; member in struct:ACameraManager_AvailabilityListener
/frameworks/av/include/ndk/
H A DNdkImageReader.h261 * @param context The optional application context provided by user in
265 typedef void (*AImageReader_ImageCallback)(void* context, AImageReader* reader);
268 /// optional application context.
269 void* context; member in struct:AImageReader_ImageListener
384 * @param context The optional application context provided by user in
389 typedef void (*AImageReader_BufferRemovedCallback)(void* context,
394 /// optional application context.
395 void* context; member in struct:AImageReader_BufferRemovedListener
[all...]
/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternal.cpp212 static void *aaudio_callback_thread_proc(void *context) argument
214 AudioStreamInternal *stream = (AudioStreamInternal *)context;
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c235 module->context.state = DOWNMIX_STATE_UNINITIALIZED;
260 pDwmModule->context.state = DOWNMIX_STATE_UNINITIALIZED;
309 pDownmixer = (downmix_object_t*) &pDwmModule->context;
396 if (pDwmModule == NULL || pDwmModule->context.state == DOWNMIX_STATE_UNINITIALIZED) {
400 pDownmixer = (downmix_object_t*) &pDwmModule->context;
535 pDwnmxModule->context.state == DOWNMIX_STATE_UNINITIALIZED) {
553 * Initialize downmix context and apply default parameters
565 * pDwmModule->context.type
566 * pDwmModule->context.apply_volume_correction
571 * pDwmModule->context
[all...]
H A DEffectDownmix.h49 downmix_object_t context; member in struct:downmix_module_s
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c133 module->context.mState = REVERB_STATE_UNINITIALIZED;
150 module->context.mState = REVERB_STATE_INITIALIZED;
165 pRvbModule->context.mState = REVERB_STATE_UNINITIALIZED;
210 pReverb = (reverb_object_t*) &pRvbModule->context;
289 pRvbModule->context.mState == REVERB_STATE_UNINITIALIZED) {
293 pReverb = (reverb_object_t*) &pRvbModule->context;
304 pRvbModule->context.mState = REVERB_STATE_INITIALIZED;
409 pRvbModule->context.mState == REVERB_STATE_UNINITIALIZED) {
413 pReverb = (reverb_object_t*) &pRvbModule->context;
442 * Initialize reverb context an
[all...]
H A DEffectReverb.h296 reverb_object_t context; member in struct:reverb_module_s
362 * Pointer to reverb context
/frameworks/av/media/ndk/
H A DNdkImageReader.cpp105 msg->setPointer(AImageReader::kContextKey, mListener.context);
113 mListener.context = nullptr;
142 msg->setPointer(AImageReader::kContextKey, mListener.context);
152 mListener.context = nullptr;
188 void* context; local
194 found = msg->findPointer(kContextKey, &context);
196 ALOGE("%s: Cannot find callback context!", __FUNCTION__);
212 (*onBufferRemoved)(context, mReader, outBuffer);
218 void* context; local
224 found = msg->findPointer(kContextKey, &context);
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
H A DInputSource.cpp25 const CMappingContext &context, core::log::Logger &logger)
31 context),
36 mId = static_cast<audio_source_t>(context.getItemAsInteger(MappingKeyIdentifier));
23 InputSource(const string &mappingValue, CInstanceConfigurableElement *instanceConfigurableElement, const CMappingContext &context, core::log::Logger &logger) argument
H A DInputSource.h32 const CMappingContext &context,
H A DStrategy.cpp26 const CMappingContext &context,
33 context),
38 mId = static_cast<routing_strategy>(context.getItemAsInteger(MappingKeyIdentifier));
24 Strategy(const string &mappingValue, CInstanceConfigurableElement *instanceConfigurableElement, const CMappingContext &context, core::log::Logger& logger) argument
H A DStrategy.h32 const CMappingContext &context,
H A DStream.cpp26 const CMappingContext &context, core::log::Logger &logger)
32 mId = static_cast<audio_stream_type_t>(context.getItemAsInteger(MappingKeyIdentifier));
24 Stream(const string & , CInstanceConfigurableElement *instanceConfigurableElement, const CMappingContext &context, core::log::Logger &logger) argument
H A DStream.h39 const CMappingContext &context,
H A DUsage.cpp26 const CMappingContext &context, core::log::Logger &logger)
32 context),
37 mId = static_cast<audio_usage_t>(context.getItemAsInteger(MappingKeyIdentifier));
24 Usage(const string &mappingValue, CInstanceConfigurableElement *instanceConfigurableElement, const CMappingContext &context, core::log::Logger &logger) argument

Completed in 365 milliseconds

1234567891011>>