Lines Matching refs:dataPtr
495 sp<IMemory> dataPtr; in releaseRecordingFrameHandle() local
499 dataPtr = mAvailableCallbackBuffers.back(); in releaseRecordingFrameHandle()
504 if (dataPtr == nullptr) { in releaseRecordingFrameHandle()
510 } else if (dataPtr->size() != sizeof(VideoNativeHandleMetadata)) { in releaseRecordingFrameHandle()
518 VideoNativeHandleMetadata *metadata = (VideoNativeHandleMetadata*)(dataPtr->pointer()); in releaseRecordingFrameHandle()
522 mHardware->releaseRecordingFrame(dataPtr); in releaseRecordingFrameHandle()
787 const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) { in dataCallback() argument
794 if (dataPtr == 0 && metadata == NULL) { in dataCallback()
802 client->handlePreviewData(msgType, dataPtr, metadata); in dataCallback()
805 client->handlePostview(dataPtr); in dataCallback()
808 client->handleRawPicture(dataPtr); in dataCallback()
811 client->handleCompressedPicture(dataPtr); in dataCallback()
814 client->handleGenericData(msgType, dataPtr, metadata); in dataCallback()
820 int32_t msgType, const sp<IMemory>& dataPtr, void* user) { in dataCallbackTimestamp() argument
828 if (dataPtr == 0) { in dataCallbackTimestamp()
834 client->handleGenericDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
954 const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) { in handleGenericData() argument
958 c->dataCallback(msgType, dataPtr, metadata); in handleGenericData()
963 int32_t msgType, const sp<IMemory>& dataPtr) { in handleGenericDataTimestamp() argument
966 if (c != 0 && dataPtr != nullptr) { in handleGenericDataTimestamp()
970 if (dataPtr->size() == sizeof(VideoNativeHandleMetadata)) { in handleGenericDataTimestamp()
972 (VideoNativeHandleMetadata*)(dataPtr->pointer()); in handleGenericDataTimestamp()
982 mAvailableCallbackBuffers.push_back(dataPtr); in handleGenericDataTimestamp()
986 c->dataCallbackTimestamp(timestamp, msgType, dataPtr); in handleGenericDataTimestamp()