Lines Matching refs:dataPtr

513     sp<IMemory> dataPtr;  in releaseRecordingFrameHandle()  local
517 dataPtr = mAvailableCallbackBuffers.back(); in releaseRecordingFrameHandle()
522 if (dataPtr == nullptr) { in releaseRecordingFrameHandle()
528 } else if (dataPtr->size() != sizeof(VideoNativeHandleMetadata)) { in releaseRecordingFrameHandle()
537 … VideoNativeHandleMetadata *metadata = (VideoNativeHandleMetadata*)(dataPtr->unsecurePointer()); in releaseRecordingFrameHandle()
540 mHardware->releaseRecordingFrame(dataPtr); in releaseRecordingFrameHandle()
554 sp<IMemory> dataPtr; in releaseRecordingFrameHandleBatch() local
558 dataPtr = mAvailableCallbackBuffers.back(); in releaseRecordingFrameHandleBatch()
563 if (dataPtr == nullptr) { in releaseRecordingFrameHandleBatch()
568 } else if (dataPtr->size() != sizeof(VideoNativeHandleMetadata)) { in releaseRecordingFrameHandleBatch()
576 … VideoNativeHandleMetadata *metadata = (VideoNativeHandleMetadata*)(dataPtr->unsecurePointer()); in releaseRecordingFrameHandleBatch()
579 frames.push_back(dataPtr); in releaseRecordingFrameHandleBatch()
848 const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) { in dataCallback() argument
855 if (dataPtr == 0 && metadata == NULL) { in dataCallback()
863 client->handlePreviewData(msgType, dataPtr, metadata); in dataCallback()
866 client->handlePostview(dataPtr); in dataCallback()
869 client->handleRawPicture(dataPtr); in dataCallback()
872 client->handleCompressedPicture(dataPtr); in dataCallback()
875 client->handleGenericData(msgType, dataPtr, metadata); in dataCallback()
881 int32_t msgType, const sp<IMemory>& dataPtr, void* user) { in dataCallbackTimestamp() argument
889 if (dataPtr == 0) { in dataCallbackTimestamp()
895 client->handleGenericDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
915 if (msg.dataPtr->size() != sizeof(VideoNativeHandleMetadata)) { in handleCallbackTimestampBatch()
924 (VideoNativeHandleMetadata*)(msg.dataPtr->unsecurePointer()); in handleCallbackTimestampBatch()
936 client->mAvailableCallbackBuffers.push_back(msg.dataPtr); in handleCallbackTimestampBatch()
1063 const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) { in handleGenericData() argument
1067 c->dataCallback(msgType, dataPtr, metadata); in handleGenericData()
1072 int32_t msgType, const sp<IMemory>& dataPtr) { in handleGenericDataTimestamp() argument
1075 if (c != 0 && dataPtr != nullptr) { in handleGenericDataTimestamp()
1079 if (dataPtr->size() == sizeof(VideoNativeHandleMetadata)) { in handleGenericDataTimestamp()
1085 (VideoNativeHandleMetadata*)(dataPtr->unsecurePointer()); in handleGenericDataTimestamp()
1095 mAvailableCallbackBuffers.push_back(dataPtr); in handleGenericDataTimestamp()
1099 c->dataCallbackTimestamp(timestamp, msgType, dataPtr); in handleGenericDataTimestamp()