Lines Matching refs:cbArg
1075 qcamera_callback_argm_t cbArg; in sendPreviewCallback() local
1076 memset(&cbArg, 0, sizeof(qcamera_callback_argm_t)); in sendPreviewCallback()
1077 cbArg.cb_type = QCAMERA_DATA_CALLBACK; in sendPreviewCallback()
1078 cbArg.msg_type = CAMERA_MSG_PREVIEW_FRAME; in sendPreviewCallback()
1081 cbArg.data = data; in sendPreviewCallback()
1083 cbArg.data = dataToApp; in sendPreviewCallback()
1086 cbArg.user_data = previewMem; in sendPreviewCallback()
1087 cbArg.release_cb = releaseCameraMemory; in sendPreviewCallback()
1089 cbArg.user_data = dataToApp; in sendPreviewCallback()
1090 cbArg.release_cb = releaseCameraMemory; in sendPreviewCallback()
1092 cbArg.cookie = this; in sendPreviewCallback()
1093 rc = m_cbNotifier.notifyCallback(cbArg); in sendPreviewCallback()
1167 qcamera_callback_argm_t cbArg; in nodisplay_preview_stream_cb_routine() local
1168 memset(&cbArg, 0, sizeof(qcamera_callback_argm_t)); in nodisplay_preview_stream_cb_routine()
1169 cbArg.cb_type = QCAMERA_DATA_CALLBACK; in nodisplay_preview_stream_cb_routine()
1170 cbArg.msg_type = CAMERA_MSG_PREVIEW_FRAME; in nodisplay_preview_stream_cb_routine()
1171 cbArg.data = preview_mem; in nodisplay_preview_stream_cb_routine()
1172 cbArg.user_data = (void *) &frame->buf_idx; in nodisplay_preview_stream_cb_routine()
1173 cbArg.cookie = stream; in nodisplay_preview_stream_cb_routine()
1174 cbArg.release_cb = returnStreamBuffer; in nodisplay_preview_stream_cb_routine()
1177 int32_t rc = pme->m_cbNotifier.notifyCallback(cbArg); in nodisplay_preview_stream_cb_routine()
1252 qcamera_callback_argm_t cbArg; in rdi_mode_stream_cb_routine() local
1253 memset(&cbArg, 0, sizeof(qcamera_callback_argm_t)); in rdi_mode_stream_cb_routine()
1254 cbArg.cb_type = QCAMERA_DATA_CALLBACK; in rdi_mode_stream_cb_routine()
1255 cbArg.msg_type = CAMERA_MSG_PREVIEW_FRAME; in rdi_mode_stream_cb_routine()
1256 cbArg.data = preview_mem; in rdi_mode_stream_cb_routine()
1257 cbArg.user_data = (void *) &frame->buf_idx; in rdi_mode_stream_cb_routine()
1258 cbArg.cookie = stream; in rdi_mode_stream_cb_routine()
1259 cbArg.release_cb = returnStreamBuffer; in rdi_mode_stream_cb_routine()
1262 pme->m_cbNotifier.notifyCallback(cbArg); in rdi_mode_stream_cb_routine()
1288 qcamera_callback_argm_t cbArg; in rdi_mode_stream_cb_routine() local
1289 memset(&cbArg, 0, sizeof(qcamera_callback_argm_t)); in rdi_mode_stream_cb_routine()
1290 cbArg.cb_type = QCAMERA_NOTIFY_CALLBACK; in rdi_mode_stream_cb_routine()
1291 cbArg.msg_type = CAMERA_MSG_PREVIEW_FRAME; in rdi_mode_stream_cb_routine()
1293 cbArg.ext1 = CAMERA_FRAME_DATA_FD; in rdi_mode_stream_cb_routine()
1294 cbArg.ext2 = fd; in rdi_mode_stream_cb_routine()
1296 cbArg.user_data = (void *) &frame->buf_idx; in rdi_mode_stream_cb_routine()
1297 cbArg.cookie = stream; in rdi_mode_stream_cb_routine()
1298 cbArg.release_cb = returnStreamBuffer; in rdi_mode_stream_cb_routine()
1301 pme->m_cbNotifier.notifyCallback(cbArg); in rdi_mode_stream_cb_routine()
1563 qcamera_callback_argm_t cbArg; in video_stream_cb_routine() local
1564 memset(&cbArg, 0, sizeof(qcamera_callback_argm_t)); in video_stream_cb_routine()
1565 cbArg.cb_type = QCAMERA_DATA_TIMESTAMP_CALLBACK; in video_stream_cb_routine()
1566 cbArg.msg_type = CAMERA_MSG_VIDEO_FRAME; in video_stream_cb_routine()
1567 cbArg.data = video_mem; in video_stream_cb_routine()
1568 cbArg.timestamp = timeStamp; in video_stream_cb_routine()
1569 int32_t rc = pme->m_cbNotifier.notifyCallback(cbArg); in video_stream_cb_routine()
3378 qcamera_callback_argm_t *cbArg = new qcamera_callback_argm_t(); in notifyCallback() local
3379 if (NULL == cbArg) { in notifyCallback()
3383 memset(cbArg, 0, sizeof(qcamera_callback_argm_t)); in notifyCallback()
3384 *cbArg = cbArgs; in notifyCallback()
3386 if (mDataQ.enqueue((void *)cbArg)) { in notifyCallback()
3390 delete cbArg; in notifyCallback()