/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 249 cb_node->u.superbuf.bufs[i] = node->super_buf[i].buf; in mm_channel_process_stream_buf() 263 mm_channel_qbuf(ch_obj, node->super_buf[i].buf); in mm_channel_process_stream_buf() 270 mm_channel_qbuf(ch_obj, node->super_buf[i].buf); in mm_channel_process_stream_buf() 1556 mm_channel_queue_node_t* super_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local 1600 super_buf = (mm_channel_queue_node_t*)node->data; in mm_channel_superbuf_comp_and_enqueue() 1601 if (NULL != super_buf) { in mm_channel_superbuf_comp_and_enqueue() 1602 if (super_buf->matched) { in mm_channel_superbuf_comp_and_enqueue() 1606 } else if ( buf_info->frame_idx == super_buf->frame_idx ) { in mm_channel_superbuf_comp_and_enqueue() 1614 if ( super_buf->frame_idx < buf_info->frame_idx ) { in mm_channel_superbuf_comp_and_enqueue() 1619 if ( super_buf->frame_idx > buf_info->frame_idx ) { in mm_channel_superbuf_comp_and_enqueue() [all …]
|
D | mm_camera_stream.c | 264 mm_camera_super_buf_t super_buf; in mm_stream_dispatch_app_data() local 279 memset(&super_buf, 0, sizeof(mm_camera_super_buf_t)); in mm_stream_dispatch_app_data() 280 super_buf.num_bufs = 1; in mm_stream_dispatch_app_data() 281 super_buf.bufs[0] = buf_info->buf; in mm_stream_dispatch_app_data() 282 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_app_data() 283 super_buf.ch_id = my_obj->ch_obj->my_hdl; in mm_stream_dispatch_app_data() 299 my_obj->buf_cb[i].cb(&super_buf, in mm_stream_dispatch_app_data()
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 251 cb_node->u.superbuf.bufs[i] = node->super_buf[i].buf; in mm_channel_process_stream_buf() 265 mm_channel_qbuf(ch_obj, node->super_buf[i].buf); in mm_channel_process_stream_buf() 272 mm_channel_qbuf(ch_obj, node->super_buf[i].buf); in mm_channel_process_stream_buf() 1559 mm_channel_queue_node_t* super_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local 1603 super_buf = (mm_channel_queue_node_t*)node->data; in mm_channel_superbuf_comp_and_enqueue() 1604 if (NULL != super_buf) { in mm_channel_superbuf_comp_and_enqueue() 1605 if (super_buf->matched) { in mm_channel_superbuf_comp_and_enqueue() 1609 } else if ( buf_info->frame_idx == super_buf->frame_idx ) { in mm_channel_superbuf_comp_and_enqueue() 1617 if ( super_buf->frame_idx < buf_info->frame_idx ) { in mm_channel_superbuf_comp_and_enqueue() 1622 if ( super_buf->frame_idx > buf_info->frame_idx ) { in mm_channel_superbuf_comp_and_enqueue() [all …]
|
D | mm_camera_stream.c | 244 mm_camera_super_buf_t super_buf; in mm_stream_dispatch_app_data() local 260 memset(&super_buf, 0, sizeof(mm_camera_super_buf_t)); in mm_stream_dispatch_app_data() 261 super_buf.num_bufs = 1; in mm_stream_dispatch_app_data() 262 super_buf.bufs[0] = buf_info->buf; in mm_stream_dispatch_app_data() 263 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_app_data() 264 super_buf.ch_id = my_obj->ch_obj->my_hdl; in mm_stream_dispatch_app_data() 280 my_obj->buf_cb[i].cb(&super_buf, in mm_stream_dispatch_app_data()
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 383 cb_node->u.superbuf.bufs[i] = node->super_buf[i].buf; in mm_channel_process_stream_buf() 402 mm_channel_qbuf(ch_obj, node->super_buf[i].buf); in mm_channel_process_stream_buf() 409 mm_channel_qbuf(ch_obj, node->super_buf[i].buf); in mm_channel_process_stream_buf() 1974 mm_channel_queue_node_t* super_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local 2033 super_buf = (mm_channel_queue_node_t*)node->data; in mm_channel_superbuf_comp_and_enqueue() 2034 if (NULL != super_buf) { in mm_channel_superbuf_comp_and_enqueue() 2035 if (super_buf->matched) { in mm_channel_superbuf_comp_and_enqueue() 2039 } else if ( buf_info->frame_idx == super_buf->frame_idx ) { in mm_channel_superbuf_comp_and_enqueue() 2047 if ( super_buf->frame_idx < buf_info->frame_idx ) { in mm_channel_superbuf_comp_and_enqueue() 2052 if ( super_buf->frame_idx > buf_info->frame_idx ) { in mm_channel_superbuf_comp_and_enqueue() [all …]
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 100 mm_channel_queue_node_t *super_buf); 251 cb_node->u.superbuf.bufs[i] = node->super_buf[i].buf; in mm_channel_process_stream_buf() 265 mm_channel_qbuf(ch_obj, node->super_buf[i].buf); in mm_channel_process_stream_buf() 272 mm_channel_qbuf(ch_obj, node->super_buf[i].buf); in mm_channel_process_stream_buf() 1275 mm_channel_queue_node_t *super_buf) in mm_channel_do_post_processing() argument 1288 for (i = 0; i < super_buf->num_of_bufs; i++) { in mm_channel_do_post_processing() 1289 … s_obj = mm_channel_util_get_stream_by_handler(my_obj, super_buf->super_buf[i].stream_id); in mm_channel_do_post_processing() 1292 wnr_info.frames[j].frame_idx = super_buf->super_buf[i].buf->buf_idx; in mm_channel_do_post_processing() 1376 mm_channel_queue_node_t* super_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local 1410 super_buf = (mm_channel_queue_node_t*)node->data; in mm_channel_superbuf_comp_and_enqueue() [all …]
|
D | mm_camera_stream.c | 255 static void mm_stream_buf_notify(mm_camera_super_buf_t *super_buf, in mm_stream_buf_notify() argument 261 mm_camera_buf_def_t *buf = super_buf->bufs[0]; in mm_stream_buf_notify() 317 mm_camera_super_buf_t super_buf; in mm_stream_dispatch_app_data() local 334 memset(&super_buf, 0, sizeof(mm_camera_super_buf_t)); in mm_stream_dispatch_app_data() 335 super_buf.num_bufs = 1; in mm_stream_dispatch_app_data() 336 super_buf.bufs[0] = buf_info->buf; in mm_stream_dispatch_app_data() 337 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_app_data() 338 super_buf.ch_id = my_obj->ch_obj->my_hdl; in mm_stream_dispatch_app_data() 348 my_obj->buf_cb[i].cb(&super_buf, in mm_stream_dispatch_app_data()
|
/device/asus/flo/camera/QCamera2/HAL3/ |
D | QCamera3PostProc.cpp | 638 void QCamera3PostProcessor::releaseSuperBuf(mm_camera_super_buf_t *super_buf) in releaseSuperBuf() argument 640 if (NULL != super_buf) { in releaseSuperBuf() 642 m_parent->bufDone(super_buf); in releaseSuperBuf() 1136 mm_camera_super_buf_t *super_buf = in dataProcessRoutine() local 1138 if (NULL != super_buf) { in dataProcessRoutine() 1139 pme->releaseSuperBuf(super_buf); in dataProcessRoutine() 1140 free(super_buf); in dataProcessRoutine() 1142 super_buf = (mm_camera_super_buf_t *)pme->m_inputRawQ.dequeue(); in dataProcessRoutine() 1143 if (NULL != super_buf) { in dataProcessRoutine() 1144 pme->releaseSuperBuf(super_buf); in dataProcessRoutine() [all …]
|
D | QCamera3PostProc.h | 122 void releaseSuperBuf(mm_camera_super_buf_t *super_buf);
|
/device/lge/hammerhead/camera/QCamera2/HAL3/ |
D | QCamera3PostProc.cpp | 661 void QCamera3PostProcessor::releaseSuperBuf(mm_camera_super_buf_t *super_buf) in releaseSuperBuf() argument 663 if (NULL != super_buf) { in releaseSuperBuf() 665 m_parent->bufDone(super_buf); in releaseSuperBuf() 1161 mm_camera_super_buf_t *super_buf; in dataProcessRoutine() local 1167 super_buf = (mm_camera_super_buf_t *)pme->m_inputRawQ.dequeue(); in dataProcessRoutine() 1168 if (NULL != super_buf) { in dataProcessRoutine() 1169 pme->releaseSuperBuf(super_buf); in dataProcessRoutine() 1170 free(super_buf); in dataProcessRoutine() 1172 super_buf = (mm_camera_super_buf_t *)pme->m_inputPPQ.dequeue(); in dataProcessRoutine() 1173 if (NULL != super_buf) { in dataProcessRoutine() [all …]
|
D | QCamera3PostProc.h | 125 void releaseSuperBuf(mm_camera_super_buf_t *super_buf);
|
/device/asus/flo/camera/QCamera2/HAL/ |
D | QCameraPostProc.cpp | 797 void QCameraPostProcessor::releaseSuperBuf(mm_camera_super_buf_t *super_buf) in releaseSuperBuf() argument 801 if (NULL != super_buf) { in releaseSuperBuf() 802 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf() 806 m_pReprocChannel->getMyHandle() == super_buf->ch_id) { in releaseSuperBuf() 812 pChannel->bufDone(super_buf); in releaseSuperBuf() 816 super_buf->ch_id); in releaseSuperBuf() 1331 mm_camera_super_buf_t *super_buf = in dataProcessRoutine() local 1334 if (NULL != super_buf) { in dataProcessRoutine() 1337 ret = pme->processRawImageImpl(super_buf); in dataProcessRoutine() 1339 pme->releaseSuperBuf(super_buf); in dataProcessRoutine() [all …]
|
D | QCameraPostProc.h | 128 void releaseSuperBuf(mm_camera_super_buf_t *super_buf);
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
D | QCameraPostProc.cpp | 797 void QCameraPostProcessor::releaseSuperBuf(mm_camera_super_buf_t *super_buf) in releaseSuperBuf() argument 801 if (NULL != super_buf) { in releaseSuperBuf() 802 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf() 806 m_pReprocChannel->getMyHandle() == super_buf->ch_id) { in releaseSuperBuf() 812 pChannel->bufDone(super_buf); in releaseSuperBuf() 816 super_buf->ch_id); in releaseSuperBuf() 1331 mm_camera_super_buf_t *super_buf = in dataProcessRoutine() local 1334 if (NULL != super_buf) { in dataProcessRoutine() 1337 ret = pme->processRawImageImpl(super_buf); in dataProcessRoutine() 1339 pme->releaseSuperBuf(super_buf); in dataProcessRoutine() [all …]
|
D | QCameraPostProc.h | 128 void releaseSuperBuf(mm_camera_super_buf_t *super_buf);
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraPostProc.cpp | 1090 void QCameraPostProcessor::releaseSuperBuf(mm_camera_super_buf_t *super_buf) in releaseSuperBuf() argument 1094 if (NULL != super_buf) { in releaseSuperBuf() 1095 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf() 1099 m_pReprocChannel->getMyHandle() == super_buf->ch_id) { in releaseSuperBuf() 1105 pChannel->bufDone(super_buf); in releaseSuperBuf() 1109 super_buf->ch_id); in releaseSuperBuf() 1219 mm_camera_super_buf_t *super_buf = (mm_camera_super_buf_t *) data; in releaseRawData() local 1220 pme->releaseSuperBuf(super_buf); in releaseRawData() 2146 mm_camera_super_buf_t *super_buf = in dataProcessRoutine() local 2149 if (NULL != super_buf) { in dataProcessRoutine() [all …]
|
D | QCameraPostProc.h | 146 void releaseSuperBuf(mm_camera_super_buf_t *super_buf);
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3PostProc.cpp | 788 void QCamera3PostProcessor::releaseSuperBuf(mm_camera_super_buf_t *super_buf) in releaseSuperBuf() argument 790 if (NULL != super_buf) { in releaseSuperBuf() 792 m_parent->bufDone(super_buf); in releaseSuperBuf() 1603 mm_camera_super_buf_t *super_buf; in dataProcessRoutine() local 1604 super_buf = (mm_camera_super_buf_t *)pme->m_inputRawQ.dequeue(); in dataProcessRoutine() 1605 if (NULL != super_buf) { in dataProcessRoutine() 1606 pme->releaseSuperBuf(super_buf); in dataProcessRoutine() 1607 free(super_buf); in dataProcessRoutine() 1609 super_buf = (mm_camera_super_buf_t *)pme->m_inputPPQ.dequeue(); in dataProcessRoutine() 1610 if (NULL != super_buf) { in dataProcessRoutine() [all …]
|
D | QCamera3PostProc.h | 138 void releaseSuperBuf(mm_camera_super_buf_t *super_buf);
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI.cpp | 177 void QCameraHardwareInterface::releaseSuperBuf(mm_camera_super_buf_t *super_buf) in releaseSuperBuf() argument 179 if (NULL != super_buf) { in releaseSuperBuf() 180 for(int i = 0; i< super_buf->num_bufs; i++) { in releaseSuperBuf() 181 if (super_buf->bufs[i]->p_mobicat_info) { in releaseSuperBuf() 182 free(super_buf->bufs[i]->p_mobicat_info); in releaseSuperBuf() 183 super_buf->bufs[i]->p_mobicat_info = NULL; in releaseSuperBuf() 185 mCameraHandle->ops->qbuf(super_buf->camera_handle, in releaseSuperBuf() 186 super_buf->ch_id, in releaseSuperBuf() 187 super_buf->bufs[i]); in releaseSuperBuf() 188 cache_ops((QCameraHalMemInfo_t *)(super_buf->bufs[i]->mem_info), in releaseSuperBuf() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_reprocess.c | 280 mm_camera_super_buf_t *super_buf, in mm_app_do_reprocess() argument 289 ( NULL == super_buf )) { in mm_app_do_reprocess() 318 memcpy(src_buf, super_buf, sizeof(mm_camera_super_buf_t)); in mm_app_do_reprocess()
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 294 mm_camera_buf_info_t super_buf[MAX_STREAM_NUM_IN_BUNDLE]; member 351 mm_channel_queue_node_t* super_buf; member
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 296 mm_camera_buf_info_t super_buf[MAX_STREAM_NUM_IN_BUNDLE]; member 353 mm_channel_queue_node_t* super_buf; member
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 322 mm_camera_buf_info_t super_buf[MAX_STREAM_NUM_IN_BUNDLE]; member 401 mm_channel_queue_node_t* super_buf; member
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 358 mm_camera_buf_info_t super_buf[MM_CAMEAR_MAX_STRAEM_BUNDLE]; member 415 mm_channel_queue_node_t* super_buf; member
|