/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | sobeloperator.cpp | 42 void computeGradient(unsigned char* dataPtr, int width, int height, short* gxPtr, short* gyPtr) { in computeGradient() argument 53 (*(dataPtr + curr + c + right) - *(dataPtr + curr + c + left)) * 2 + in computeGradient() 54 *(dataPtr + above + c + right) - *(dataPtr + above + c + left) + in computeGradient() 55 *(dataPtr + below + c + right) - *(dataPtr + below + c + left); in computeGradient() 57 (*(dataPtr + c + below) - *(dataPtr + c + above)) * 2 + in computeGradient() 58 *(dataPtr + left + c + below) - *(dataPtr + left + c + above) + in computeGradient() 59 *(dataPtr + right + c + below) - *(dataPtr + right + c + above); in computeGradient()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | params.rsh | 100 uint8_t *dataPtr = NULL; 105 dataPtr = constantBuffer + p->bufferOffset; 113 writeFloatData((float*)dataPtr, &pData->float_value, p->float_vecSize); 116 writeFloatData((float*)dataPtr, ¤tCam->position, p->float_vecSize); 120 writeFloatData((float*)dataPtr, &pLight->color, p->float_vecSize); 123 writeFloatData((float*)dataPtr, &pLight->position, p->float_vecSize); 128 rsMatrixLoad((rs_matrix4x4*)dataPtr, &pTransform->globalMat); 131 rsMatrixLoad((rs_matrix4x4*)dataPtr, ¤tCam->view); 134 rsMatrixLoad((rs_matrix4x4*)dataPtr, ¤tCam->proj); 137 rsMatrixLoad((rs_matrix4x4*)dataPtr, ¤tCam->viewProj); [all …]
|
/frameworks/av/include/camera/ |
D | Camera.h | 41 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr, 43 …virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0; 148 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 150 … void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.cpp | 739 const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) { in dataCallback() argument 751 if (dataPtr == 0 && metadata == NULL) { in dataCallback() 759 client->handlePreviewData(msgType, dataPtr, metadata); in dataCallback() 762 client->handlePostview(dataPtr); in dataCallback() 765 client->handleRawPicture(dataPtr); in dataCallback() 768 client->handleCompressedPicture(dataPtr); in dataCallback() 771 client->handleGenericData(msgType, dataPtr, metadata); in dataCallback() 777 int32_t msgType, const sp<IMemory>& dataPtr, void* user) { in dataCallbackTimestamp() argument 790 if (dataPtr == 0) { in dataCallbackTimestamp() 796 client->handleGenericDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp() [all …]
|
D | CameraClient.h | 99 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 101 … dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user); 110 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, 112 … handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
|
/frameworks/av/camera/ |
D | Camera.cpp | 302 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback() argument 311 listener->postData(msgType, dataPtr, metadata); in dataCallback() 316 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp() argument 327 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp() 338 listener->postDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp() 341 releaseRecordingFrame(dataPtr); in dataCallbackTimestamp()
|
/frameworks/av/media/libstagefright/ |
D | CameraSource.cpp | 50 virtual void postData(int32_t msgType, const sp<IMemory> &dataPtr, 54 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr); 80 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr, in postData() argument 83 msgType, dataPtr->pointer(), dataPtr->size()); in postData() 87 source->dataCallback(msgType, dataPtr); in postData() 92 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) { in postDataTimestamp() argument 96 source->dataCallbackTimestamp(timestamp/1000, msgType, dataPtr); in postDataTimestamp() 912 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) { in dataCallbackTimestamp() argument 913 mSource->dataCallbackTimestamp(timestamp / 1000, msgType, dataPtr); in dataCallbackTimestamp()
|
/frameworks/base/core/jni/ |
D | android_hardware_Camera.cpp | 77 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr, 79 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr); 88 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType); 246 void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType) in copyAndPost() argument 251 if (dataPtr != NULL) { in copyAndPost() 254 sp<IMemoryHeap> heap = dataPtr->getMemory(&offset, &size); in copyAndPost() 299 void JNICameraContext::postData(int32_t msgType, const sp<IMemory>& dataPtr, in postData() argument 326 copyAndPost(env, dataPtr, dataMsgType); in postData() 335 ALOGV("dataCallback(%d, %p)", dataMsgType, dataPtr.get()); in postData() 336 copyAndPost(env, dataPtr, dataMsgType); in postData() [all …]
|
D | android_hardware_camera2_CameraMetadata.cpp | 124 const compile_type *dataPtr = \ in updateAny() 126 return metadata->update(tag, dataPtr, dataCount); \ in updateAny()
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.h | 38 const sp<IMemory> &dataPtr, 44 const sp<IMemory> &dataPtr,
|