Home
last modified time | relevance | path

Searched refs:dataPtr (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dsobeloperator.cpp42 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/
Dparams.rsh99 uint8_t *dataPtr = NULL;
104 dataPtr = constantBuffer + p->bufferOffset;
112 writeFloatData((float*)dataPtr, &pData->float_value, p->float_vecSize);
115 writeFloatData((float*)dataPtr, &currentCam->position, p->float_vecSize);
119 writeFloatData((float*)dataPtr, &pLight->color, p->float_vecSize);
122 writeFloatData((float*)dataPtr, &pLight->position, p->float_vecSize);
127 rsMatrixLoad((rs_matrix4x4*)dataPtr, &pTransform->globalMat);
130 rsMatrixLoad((rs_matrix4x4*)dataPtr, &currentCam->view);
133 rsMatrixLoad((rs_matrix4x4*)dataPtr, &currentCam->proj);
136 rsMatrixLoad((rs_matrix4x4*)dataPtr, &currentCam->viewProj);
[all …]
/frameworks/av/include/camera/
DCamera.h41 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/
DCameraClient.cpp729 const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) { in dataCallback() argument
736 if (dataPtr == 0 && metadata == NULL) { in dataCallback()
744 client->handlePreviewData(msgType, dataPtr, metadata); in dataCallback()
747 client->handlePostview(dataPtr); in dataCallback()
750 client->handleRawPicture(dataPtr); in dataCallback()
753 client->handleCompressedPicture(dataPtr); in dataCallback()
756 client->handleGenericData(msgType, dataPtr, metadata); in dataCallback()
762 int32_t msgType, const sp<IMemory>& dataPtr, void* user) { in dataCallbackTimestamp() argument
770 if (dataPtr == 0) { in dataCallbackTimestamp()
776 client->handleGenericDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
[all …]
DCameraClient.h99 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/
DCamera.cpp303 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback() argument
312 listener->postData(msgType, dataPtr, metadata); in dataCallback()
317 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp() argument
328 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
339 listener->postDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
342 releaseRecordingFrame(dataPtr); in dataCallbackTimestamp()
/frameworks/av/media/libstagefright/
DCameraSource.cpp50 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()
938 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) { in dataCallbackTimestamp() argument
939 mSource->dataCallbackTimestamp(timestamp / 1000, msgType, dataPtr); in dataCallbackTimestamp()
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp77 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 …]
Dandroid_hardware_camera2_CameraMetadata.cpp140 const compile_type *dataPtr = \ in updateAny()
142 return metadata->update(tag, dataPtr, dataCount); \ in updateAny()
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h38 const sp<IMemory> &dataPtr,
44 const sp<IMemory> &dataPtr,