Home
last modified time | relevance | path

Searched refs:client_data (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/module/extractors/flac/
DFLACExtractor.cpp197 void *client_data);
201 void *client_data);
205 void *client_data);
209 void *client_data);
212 void *client_data);
216 void *client_data);
220 void *client_data);
224 void *client_data);
236 size_t *bytes, void *client_data) in read_callback() argument
238 return ((FLACParser *) client_data)->readCallback(buffer, bytes); in read_callback()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_UsbRequest.cpp104 request->client_data = (void *)env->NewGlobalRef(thiz); in android_hardware_UsbRequest_queue_array()
112 env->DeleteGlobalRef((jobject)request->client_data); in android_hardware_UsbRequest_queue_array()
133 env->DeleteGlobalRef((jobject)request->client_data); in android_hardware_UsbRequest_dequeue_array()
159 request->client_data = (void *)env->NewGlobalRef(thiz); in android_hardware_UsbRequest_queue_direct()
163 env->DeleteGlobalRef((jobject)request->client_data); in android_hardware_UsbRequest_queue_direct()
189 request->client_data = (void *)env->NewGlobalRef(thiz); in android_hardware_UsbRequest_queue()
195 env->DeleteGlobalRef((jobject)request->client_data); in android_hardware_UsbRequest_queue()
210 env->DeleteGlobalRef((jobject)request->client_data); in android_hardware_UsbRequest_dequeue_direct()
Dandroid_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp410 cinfo.client_data = &clientData; in compress()
416 ClientData& cdata = *reinterpret_cast<ClientData*>(cinfo->client_data); in compress()
423 ClientData& cdata = *reinterpret_cast<ClientData*>(cinfo->client_data); in compress()
Dandroid_hardware_UsbDeviceConnection.cpp248 return (jobject)request->client_data; in android_hardware_UsbDeviceConnection_request_wait()
/frameworks/av/media/module/codecs/flac/dec/
DFLACDecoder.cpp221 void *client_data) -> FLAC__StreamDecoderReadStatus { in init() argument
222 return ((FLACDecoder *) client_data)->readCallback(buffer, bytes); }; in init()
228 void *client_data) -> FLAC__StreamDecoderWriteStatus { in init() argument
229 return ((FLACDecoder *) client_data)->writeCallback(frame, buffer); }; in init()
234 void *client_data) { in init() argument
235 ((FLACDecoder *) client_data)->metadataCallback(metadata); }; in init()
240 void *client_data) { in init() argument
241 ((FLACDecoder *) client_data)->errorCallback(status); }; in init()
/frameworks/base/libs/usb/tests/accessorytest/
Dusb.c86 static int usb_device_added(const char *devname, void* client_data) { in usb_device_added() argument
89 int enable_accessory = (int)client_data; in usb_device_added()
197 static int usb_device_removed(const char *devname, void* client_data) { in usb_device_removed() argument
/frameworks/av/services/camera/virtualcamera/tests/
DJpegUtilTest.cc102 ctx.client_data = &result; in verifyHeaderAndGetResolution()
106 reinterpret_cast<DecompressionError*>(cinfo->client_data)->success = false; in verifyHeaderAndGetResolution()
111 reinterpret_cast<DecompressionError*>(cinfo->client_data)->error = buffer; in verifyHeaderAndGetResolution()
/frameworks/av/services/camera/virtualcamera/util/
DJpegUtil.cc66 mCompressStruct.client_data = this; in LibJpegContext()
252 static_cast<LibJpegContext*>(cinfo->client_data)->setSuccess(false); in onErrorExit()
256 static_cast<LibJpegContext*>(cinfo->client_data)->initDestination(); in onInitDestination()
265 static_cast<LibJpegContext*>(cinfo->client_data)->termDestination(); in onTermDestination()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h306 [](int functor, void* client_data, const WebViewSyncData& data) { in createMockFunctorCallbacks()
311 [](int functor, void* client_data) { in createMockFunctorCallbacks()
316 [](int functor, void* client_data) { in createMockFunctorCallbacks()
329 callbacks.gles.draw = [](int functor, void* client_data, const DrawGlInfo& params, in createMockFunctorCallbacks()
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
Daccessorychat.c85 static int usb_device_added(const char *devname, void* client_data) { in usb_device_added() argument
175 static int usb_device_removed(const char *devname, void* client_data) { in usb_device_removed() argument
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.h80 size_t bytes, unsigned samples, unsigned current_frame, void *client_data);
DSoftFlacEncoder.cpp587 void *client_data) { in flacEncoderWriteCallback() argument
588 return ((SoftFlacEncoder*) client_data)->onEncodedFlacAvailable( in flacEncoderWriteCallback()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacEnc.h59 void *client_data);
DC2SoftFlacEnc.cpp479 void *client_data) { in flacEncoderWriteCallback() argument
480 return ((C2SoftFlacEnc*) client_data)->onEncodedFlacAvailable( in flacEncoderWriteCallback()
/frameworks/ex/camera2/extensions/jni/
DJpegEncoder.cpp408 cinfo.client_data = &clientData; in compress()
414 ClientData& cdata = *reinterpret_cast<ClientData*>(cinfo->client_data); in compress()
421 ClientData& cdata = *reinterpret_cast<ClientData*>(cinfo->client_data); in compress()
/frameworks/av/services/camera/libcameraservice/common/
DDepthPhotoProcessor.cpp151 if(cinfo->client_data) { in encodeGrayscaleJpeg()
152 auto & dmgr = *static_cast<CustomJpegDestMgr*>(cinfo->client_data); in encodeGrayscaleJpeg()
163 cinfo->client_data = static_cast<void*>(&dmgr); in encodeGrayscaleJpeg()
/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpPacketFuzzerUtils.h84 mUsbRequest.client_data = static_cast<void*>(clientBuffer.data()); in fillUsbRequest()