Lines Matching refs:cbArg

1108     qcamera_callback_argm_t cbArg;  in sendPreviewCallback()  local
1109 memset(&cbArg, 0, sizeof(qcamera_callback_argm_t)); in sendPreviewCallback()
1110 cbArg.cb_type = QCAMERA_DATA_CALLBACK; in sendPreviewCallback()
1111 cbArg.msg_type = CAMERA_MSG_PREVIEW_FRAME; in sendPreviewCallback()
1114 cbArg.data = data; in sendPreviewCallback()
1116 cbArg.data = dataToApp; in sendPreviewCallback()
1119 cbArg.user_data = previewMem; in sendPreviewCallback()
1120 cbArg.release_cb = releaseCameraMemory; in sendPreviewCallback()
1122 cbArg.user_data = dataToApp; in sendPreviewCallback()
1123 cbArg.release_cb = releaseCameraMemory; in sendPreviewCallback()
1125 cbArg.cookie = this; in sendPreviewCallback()
1126 rc = m_cbNotifier.notifyCallback(cbArg); in sendPreviewCallback()
1201 qcamera_callback_argm_t cbArg; in nodisplay_preview_stream_cb_routine() local
1202 memset(&cbArg, 0, sizeof(qcamera_callback_argm_t)); in nodisplay_preview_stream_cb_routine()
1203 cbArg.cb_type = QCAMERA_DATA_CALLBACK; in nodisplay_preview_stream_cb_routine()
1204 cbArg.msg_type = CAMERA_MSG_PREVIEW_FRAME; in nodisplay_preview_stream_cb_routine()
1205 cbArg.data = preview_mem; in nodisplay_preview_stream_cb_routine()
1206 cbArg.user_data = (void *) &frame->buf_idx; in nodisplay_preview_stream_cb_routine()
1207 cbArg.cookie = stream; in nodisplay_preview_stream_cb_routine()
1208 cbArg.release_cb = returnStreamBuffer; in nodisplay_preview_stream_cb_routine()
1211 int32_t rc = pme->m_cbNotifier.notifyCallback(cbArg); in nodisplay_preview_stream_cb_routine()
1274 qcamera_callback_argm_t cbArg; in secure_stream_cb_routine() local
1275 memset(&cbArg, 0, sizeof(qcamera_callback_argm_t)); in secure_stream_cb_routine()
1276 cbArg.cb_type = QCAMERA_NOTIFY_CALLBACK; in secure_stream_cb_routine()
1277 cbArg.msg_type = CAMERA_MSG_PREVIEW_FRAME; in secure_stream_cb_routine()
1279 cbArg.ext1 = CAMERA_FRAME_DATA_FD; in secure_stream_cb_routine()
1280 cbArg.ext2 = fd; in secure_stream_cb_routine()
1282 cbArg.user_data = (void *) &frame->buf_idx; in secure_stream_cb_routine()
1283 cbArg.cookie = stream; in secure_stream_cb_routine()
1284 cbArg.release_cb = returnStreamBuffer; in secure_stream_cb_routine()
1285 pme->m_cbNotifier.notifyCallback(cbArg); in secure_stream_cb_routine()
1365 qcamera_callback_argm_t cbArg; in rdi_mode_stream_cb_routine() local
1366 memset(&cbArg, 0, sizeof(qcamera_callback_argm_t)); in rdi_mode_stream_cb_routine()
1367 cbArg.cb_type = QCAMERA_DATA_CALLBACK; in rdi_mode_stream_cb_routine()
1368 cbArg.msg_type = CAMERA_MSG_PREVIEW_FRAME; in rdi_mode_stream_cb_routine()
1369 cbArg.data = preview_mem; in rdi_mode_stream_cb_routine()
1370 cbArg.user_data = (void *) &frame->buf_idx; in rdi_mode_stream_cb_routine()
1371 cbArg.cookie = stream; in rdi_mode_stream_cb_routine()
1372 cbArg.release_cb = returnStreamBuffer; in rdi_mode_stream_cb_routine()
1375 pme->m_cbNotifier.notifyCallback(cbArg); in rdi_mode_stream_cb_routine()
1624 qcamera_callback_argm_t cbArg; in video_stream_cb_routine() local
1625 memset(&cbArg, 0, sizeof(qcamera_callback_argm_t)); in video_stream_cb_routine()
1626 cbArg.cb_type = QCAMERA_DATA_TIMESTAMP_CALLBACK; in video_stream_cb_routine()
1627 cbArg.msg_type = CAMERA_MSG_VIDEO_FRAME; in video_stream_cb_routine()
1628 cbArg.data = video_mem; in video_stream_cb_routine()
1638 cbArg.timestamp = timeStamp; in video_stream_cb_routine()
1639 int32_t rc = pme->m_cbNotifier.notifyCallback(cbArg); in video_stream_cb_routine()
3545 qcamera_callback_argm_t *cbArg = new qcamera_callback_argm_t(); in notifyCallback() local
3546 if (NULL == cbArg) { in notifyCallback()
3550 memset(cbArg, 0, sizeof(qcamera_callback_argm_t)); in notifyCallback()
3551 *cbArg = cbArgs; in notifyCallback()
3553 if (mDataQ.enqueue((void *)cbArg)) { in notifyCallback()
3557 delete cbArg; in notifyCallback()