Lines Matching full:cbarg
336 qcamera_callback_argm_t cbArg;
337 memset(&cbArg, 0, sizeof(qcamera_callback_argm_t));
338 cbArg.cb_type = QCAMERA_DATA_CALLBACK;
339 cbArg.msg_type = CAMERA_MSG_PREVIEW_FRAME;
340 cbArg.data = data;
342 cbArg.user_data = previewMem;
343 cbArg.release_cb = releaseCameraMemory;
345 cbArg.cookie = pme;
346 pme->m_cbNotifier.notifyCallback(cbArg);
415 qcamera_callback_argm_t cbArg;
416 memset(&cbArg, 0, sizeof(qcamera_callback_argm_t));
417 cbArg.cb_type = QCAMERA_DATA_CALLBACK;
418 cbArg.msg_type = CAMERA_MSG_PREVIEW_FRAME;
419 cbArg.data = preview_mem;
421 cbArg.user_data = ( void * ) user_data;
422 cbArg.cookie = stream;
423 cbArg.release_cb = returnStreamBuffer;
424 pme->m_cbNotifier.notifyCallback(cbArg);
558 qcamera_callback_argm_t cbArg;
559 memset(&cbArg, 0, sizeof(qcamera_callback_argm_t));
560 cbArg.cb_type = QCAMERA_DATA_TIMESTAMP_CALLBACK;
561 cbArg.msg_type = CAMERA_MSG_VIDEO_FRAME;
562 cbArg.data = video_mem;
563 cbArg.timestamp = timeStamp;
564 pme->m_cbNotifier.notifyCallback(cbArg);
1205 qcamera_callback_argm_t *cbArg = new qcamera_callback_argm_t();
1206 if (NULL == cbArg) {
1210 memset(cbArg, 0, sizeof(qcamera_callback_argm_t));
1211 *cbArg = cbArgs;
1213 if (mDataQ.enqueue((void *)cbArg)) {
1217 delete cbArg;