Lines Matching refs:super_frame
694 mm_camera_super_buf_t *super_frame, QCameraStream * stream, in synchronous_stream_cb_routine() argument
708 if (super_frame == NULL) { in synchronous_stream_cb_routine()
712 mm_camera_buf_def_t *frame = super_frame->bufs[0]; in synchronous_stream_cb_routine()
798 void QCamera2HardwareInterface::preview_stream_cb_routine(mm_camera_super_buf_t *super_frame, in preview_stream_cb_routine() argument
807 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; in preview_stream_cb_routine()
812 free(super_frame); in preview_stream_cb_routine()
817 free(super_frame); in preview_stream_cb_routine()
821 mm_camera_buf_def_t *frame = super_frame->bufs[0]; in preview_stream_cb_routine()
824 free(super_frame); in preview_stream_cb_routine()
954 free(super_frame); in preview_stream_cb_routine()
1156 mm_camera_super_buf_t *super_frame, in nodisplay_preview_stream_cb_routine() argument
1166 super_frame->camera_handle)){ in nodisplay_preview_stream_cb_routine()
1169 free(super_frame); in nodisplay_preview_stream_cb_routine()
1172 mm_camera_buf_def_t *frame = super_frame->bufs[0]; in nodisplay_preview_stream_cb_routine()
1175 free(super_frame); in nodisplay_preview_stream_cb_routine()
1182 free(super_frame); in nodisplay_preview_stream_cb_routine()
1220 free(super_frame); in nodisplay_preview_stream_cb_routine()
1240 mm_camera_super_buf_t *super_frame, in secure_stream_cb_routine() argument
1248 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in secure_stream_cb_routine()
1250 free(super_frame); in secure_stream_cb_routine()
1253 mm_camera_buf_def_t *frame = super_frame->bufs[0]; in secure_stream_cb_routine()
1295 free(super_frame); in secure_stream_cb_routine()
1317 mm_camera_super_buf_t *super_frame, in rdi_mode_stream_cb_routine() argument
1330 super_frame->camera_handle)){ in rdi_mode_stream_cb_routine()
1332 free(super_frame); in rdi_mode_stream_cb_routine()
1335 mm_camera_buf_def_t *frame = super_frame->bufs[0]; in rdi_mode_stream_cb_routine()
1385 free(super_frame); in rdi_mode_stream_cb_routine()
1405 void QCamera2HardwareInterface::postview_stream_cb_routine(mm_camera_super_buf_t *super_frame, in postview_stream_cb_routine() argument
1412 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; in postview_stream_cb_routine()
1416 free(super_frame); in postview_stream_cb_routine()
1421 free(super_frame); in postview_stream_cb_routine()
1427 mm_camera_buf_def_t *frame = super_frame->bufs[0]; in postview_stream_cb_routine()
1430 free(super_frame); in postview_stream_cb_routine()
1445 free(super_frame); in postview_stream_cb_routine()
1468 void QCamera2HardwareInterface::video_stream_cb_routine(mm_camera_super_buf_t *super_frame, in video_stream_cb_routine() argument
1483 super_frame->camera_handle)) { in video_stream_cb_routine()
1485 free(super_frame); in video_stream_cb_routine()
1489 mm_camera_buf_def_t *frame = super_frame->bufs[0]; in video_stream_cb_routine()
1541 free(super_frame); in video_stream_cb_routine()
1617 stream->bufDone(super_frame->bufs[0]->buf_idx); in video_stream_cb_routine()
1647 free(super_frame); in video_stream_cb_routine()
1666 void QCamera2HardwareInterface::snapshot_channel_cb_routine(mm_camera_super_buf_t *super_frame, in snapshot_channel_cb_routine() argument
1678 super_frame->camera_handle)){ in snapshot_channel_cb_routine()
1681 free(super_frame); in snapshot_channel_cb_routine()
1693 super_frame->ch_id))) { in snapshot_channel_cb_routine()
1703 for (uint32_t i = 0; i < super_frame->num_bufs; i++) { in snapshot_channel_cb_routine()
1704 pStream = pChannel->getStreamByHandle(super_frame->bufs[i]->stream_id); in snapshot_channel_cb_routine()
1707 pMetaFrame = super_frame->bufs[i]; //find the metadata in snapshot_channel_cb_routine()
1722 pChannel->bufDone(super_frame); in snapshot_channel_cb_routine()
1725 *frame = *super_frame; in snapshot_channel_cb_routine()
1735 pChannel->bufDone(super_frame); in snapshot_channel_cb_routine()
1763 void QCamera2HardwareInterface::raw_stream_cb_routine(mm_camera_super_buf_t * super_frame, in raw_stream_cb_routine() argument
1773 super_frame->camera_handle)){ in raw_stream_cb_routine()
1776 free(super_frame); in raw_stream_cb_routine()
1780 pme->m_postprocessor.processRawData(super_frame); in raw_stream_cb_routine()
1800 void QCamera2HardwareInterface::raw_channel_cb_routine(mm_camera_super_buf_t *super_frame, in raw_channel_cb_routine() argument
1812 super_frame->camera_handle)){ in raw_channel_cb_routine()
1815 free(super_frame); in raw_channel_cb_routine()
1825 if (!validate_handle(pChannel->getMyHandle(), super_frame->ch_id)) { in raw_channel_cb_routine()
1827 pChannel->bufDone(super_frame); in raw_channel_cb_routine()
1836 for (uint32_t i = 0; i < super_frame->num_bufs; i++) { in raw_channel_cb_routine()
1837 pStream = pChannel->getStreamByHandle(super_frame->bufs[i]->stream_id); in raw_channel_cb_routine()
1840 pMetaFrame = super_frame->bufs[i]; //find the metadata in raw_channel_cb_routine()
1855 pChannel->bufDone(super_frame); in raw_channel_cb_routine()
1858 *frame = *super_frame; in raw_channel_cb_routine()
1870 pChannel->bufDone(super_frame); in raw_channel_cb_routine()
1895 void QCamera2HardwareInterface::preview_raw_stream_cb_routine(mm_camera_super_buf_t * super_frame, in preview_raw_stream_cb_routine() argument
1908 super_frame->camera_handle)){ in preview_raw_stream_cb_routine()
1911 free(super_frame); in preview_raw_stream_cb_routine()
1915 mm_camera_buf_def_t *raw_frame = super_frame->bufs[0]; in preview_raw_stream_cb_routine()
1928 free(super_frame); in preview_raw_stream_cb_routine()
1948 void QCamera2HardwareInterface::snapshot_raw_stream_cb_routine(mm_camera_super_buf_t * super_frame, in snapshot_raw_stream_cb_routine() argument
1961 super_frame->camera_handle)){ in snapshot_raw_stream_cb_routine()
1964 free(super_frame); in snapshot_raw_stream_cb_routine()
1971 for (uint32_t i = 0; i < super_frame->num_bufs; i++) { in snapshot_raw_stream_cb_routine()
1972 if (super_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_RAW) { in snapshot_raw_stream_cb_routine()
1973 mm_camera_buf_def_t * raw_frame = super_frame->bufs[i]; in snapshot_raw_stream_cb_routine()
1978 stream->bufDone(super_frame->bufs[i]->buf_idx); in snapshot_raw_stream_cb_routine()
1984 free(super_frame); in snapshot_raw_stream_cb_routine()
2113 void QCamera2HardwareInterface::metadata_stream_cb_routine(mm_camera_super_buf_t * super_frame, in metadata_stream_cb_routine() argument
2124 super_frame->camera_handle)) { in metadata_stream_cb_routine()
2126 free(super_frame); in metadata_stream_cb_routine()
2130 mm_camera_buf_def_t *frame = super_frame->bufs[0]; in metadata_stream_cb_routine()
2139 if (super_frame->num_bufs == MM_CAMERA_MAX_CAM_CNT) { in metadata_stream_cb_routine()
2140 if (get_main_camera_handle(super_frame->bufs[0]->stream_id)) { in metadata_stream_cb_routine()
2141 frameMain = super_frame->bufs[0]; in metadata_stream_cb_routine()
2142 frameAux = super_frame->bufs[1]; in metadata_stream_cb_routine()
2144 frameMain = super_frame->bufs[1]; in metadata_stream_cb_routine()
2145 frameAux = super_frame->bufs[0]; in metadata_stream_cb_routine()
2150 if (super_frame->camera_handle == in metadata_stream_cb_routine()
2154 } else if (super_frame->camera_handle == in metadata_stream_cb_routine()
2166 stream->bufDone(super_frame); in metadata_stream_cb_routine()
2167 free(super_frame); in metadata_stream_cb_routine()
2603 stream->bufDone(super_frame); in metadata_stream_cb_routine()
2604 free(super_frame); in metadata_stream_cb_routine()
2628 void QCamera2HardwareInterface::reprocess_stream_cb_routine(mm_camera_super_buf_t * super_frame, in reprocess_stream_cb_routine() argument
2638 super_frame->camera_handle)){ in reprocess_stream_cb_routine()
2641 free(super_frame); in reprocess_stream_cb_routine()
2645 pme->m_postprocessor.processPPData(super_frame); in reprocess_stream_cb_routine()
2663 void QCamera2HardwareInterface::callback_stream_cb_routine(mm_camera_super_buf_t *super_frame, in callback_stream_cb_routine() argument
2673 super_frame->camera_handle)) { in callback_stream_cb_routine()
2675 free(super_frame); in callback_stream_cb_routine()
2679 mm_camera_buf_def_t *frame = super_frame->bufs[0]; in callback_stream_cb_routine()
2682 free(super_frame); in callback_stream_cb_routine()
2689 free(super_frame); in callback_stream_cb_routine()
2706 free(super_frame); in callback_stream_cb_routine()