Home
last modified time | relevance | path

Searched refs:frame_len (Results 1 – 25 of 72) sorted by relevance

123

/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_video.c105 (void *)pme->video_buf.frame[i].buffer, pme->video_buf.frame_len);
122 int i,j,num_planes, frame_len, y_off, cbcr_off;
133 frame_len = frame_offset_info->frame_len;
137 …DBG("Allocating video Memory for %d buffers frame_len = %d",num_bufs,frame_offset_info->frame_len);
144 pme->video_buf.frame_len = frame_len;
145 pme->video_buf.frame[i].ion_alloc.len = pme->video_buf.frame_len;
164 bufs[i].frame_len = pme->video_buf.frame[i].ion_alloc.len;
207 CDBG("%s: BEGIN - length=%d, frame idx = %d\n", __func__, frame->frame_len, frame->frame_idx); in mm_app_video_notify_cb()
Dmm_qcamera_preview.c307 … (void *)pme->preview_buf.frame[i].buffer, bufs[i].frame_len);
325 int i,j,num_planes, frame_len, y_off, cbcr_off;
336 frame_len = frame_offset_info->frame_len;
340 …G("Allocating Preview Memory for %d buffers frame_len = %d",num_bufs,frame_offset_info->frame_len);
347 pme->preview_buf.frame_len = frame_len;
348 pme->preview_buf.frame[i].ion_alloc.len = pme->preview_buf.frame_len;
367 bufs[i].frame_len = pme->preview_buf.frame[i].ion_alloc.len;
422 __func__, stream_id, frame_offset_info->frame_len); in mm_stream_initbuf()
622 CDBG("%s: BEGIN - length=%d, frame idx = %d\n", __func__, frame->frame_len, frame->frame_idx); in mm_app_preview_notify_cb()
661 CDBG("%s: BEGIN - length=%d, frame idx = %d\n", __func__, frame->frame_len, frame->frame_idx); in mm_app_aec_stats_notify_cb()
[all …]
Dmm_qcamera_snapshot.c249 …me_idx = %d fd = %d frame length = %d",main_frame->frame_idx,main_frame->fd,main_frame->frame_len); in encodeData()
253 …idx = %d fd = %d frame length = %d",thumb_frame->frame_idx,thumb_frame->fd,thumb_frame->frame_len); in encodeData()
310 main_buf_info->src_image[0].offset.frame_len, in encodeData()
342 job.encode_job.encode_parm.buf_info.sink_img.buf_len = pme->jpeg_buf.bufs[0].frame_len; in encodeData()
437 …me_idx = %d fd = %d frame length = %d",main_frame->frame_idx,main_frame->fd,main_frame->frame_len); in snapshot_raw_cb()
456 ret = encodeData(recvd_frame, pme->snapshot_buf.frame_len, in encodeDisplayAndSave()
722 CDBG_ERROR("%s : alloc jpeg buf (len=%d)",__func__, frame_offset_info.frame_len); in mm_app_start_snapshot()
876 …me_idx = %d fd = %d frame length = %d",main_frame->frame_idx,main_frame->fd,main_frame->frame_len); in mm_app_live_notify_cb()
Dmm_qcamera_app.c569 app_bufs->alloc[i].len = frame_offset_info->frame_len; in mm_stream_alloc_bufs()
582 app_bufs->bufs[i].frame_len = app_bufs->alloc[i].len; in mm_stream_alloc_bufs()
615 app_bufs->bufs[i].frame_len); in mm_stream_release_bufs()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1721 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_preview()
1756 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_preview()
1798 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_preview()
1829 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_preview()
1840 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_preview()
1854 buf_planes->plane_info.frame_len - buf_planes->plane_info.mp[0].len; in mm_stream_calc_offset_preview()
1927 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_post_view()
1962 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_post_view()
2004 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_post_view()
2035 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_post_view()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_reprocess.c46 __func__, frame->frame_len, frame->frame_idx); in mm_app_reprocess_notify_cb()
66 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len); in mm_app_reprocess_notify_cb()
72 pme->jpeg_buf.buf.frame_len = m_frame->frame_len; in mm_app_reprocess_notify_cb()
Dmm_qcamera_snapshot.c151 encode_param.src_main_buf[0].buf_size = m_frame->frame_len; in createEncodingSession()
160 encode_param.dest_buf[0].buf_size = test_obj->jpeg_buf.buf.frame_len; in createEncodingSession()
394 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len); in mm_app_snapshot_notify_cb()
400 pme->jpeg_buf.buf.frame_len = m_frame->frame_len; in mm_app_snapshot_notify_cb()
Dmm_qcamera_rdi.c71 __func__, frame->frame_len, frame->frame_idx, frame->stream_id); in mm_app_rdi_notify_cb()
161 buf_planes->plane_info.mp[0].len, buf_planes->plane_info.frame_len); in mm_app_add_rdi_stream()
Dmm_qcamera_app.c294 size_t m = frame_offset_info->frame_len / multipleOf; in mm_app_alloc_bufs()
295 if ( ( frame_offset_info->frame_len % multipleOf ) != 0 ) { in mm_app_alloc_bufs()
300 app_bufs[i].mem_info.size = frame_offset_info->frame_len; in mm_app_alloc_bufs()
307 app_bufs[i].buf.frame_len = app_bufs[i].mem_info.size; in mm_app_alloc_bufs()
362 frame_offset_info->frame_len, in mm_app_stream_initbuf()
399 pBufs[i].frame_len, in mm_app_stream_initbuf()
501 offset_info.frame_len = sizeof(cam_capability_t); in mm_app_open()
525 offset_info.frame_len = sizeof(parm_buffer_t); in mm_app_open()
774 offset_info.frame_len = sizeof(cam_stream_info_t); in mm_app_add_stream()
Dmm_qcamera_preview.c121 __func__, frame->frame_len, frame->frame_idx); in mm_app_preview_notify_cb()
310 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len); in mm_app_zsl_notify_cb()
316 pme->jpeg_buf.buf.frame_len = m_frame->frame_len; in mm_app_zsl_notify_cb()
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraStream_Preview.cpp78 uint32_t frame_len = mFrameOffsetInfo.frame_len; /* frame planner length */ in initBuffers() local
127 mDisplayBuf[i].frame_len = mFrameOffsetInfo.frame_len; in initBuffers()
196 len = newFrame->frame_len; in dumpFrameToFile()
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1688 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_preview()
1719 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_preview()
1755 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_preview()
1782 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_preview()
1867 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_snapshot()
1908 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_snapshot()
1938 buf_planes->plane_info.frame_len = PAD_TO_SIZE( in mm_stream_calc_offset_snapshot()
1990 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_raw()
2024 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_raw()
2045 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_raw()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1681 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_preview()
1712 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_preview()
1748 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_preview()
1775 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_preview()
1860 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_snapshot()
1901 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_snapshot()
1931 buf_planes->plane_info.frame_len = PAD_TO_SIZE( in mm_stream_calc_offset_snapshot()
1983 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_raw()
2017 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_raw()
2038 buf_planes->plane_info.frame_len = in mm_stream_calc_offset_raw()
[all …]
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Still.cpp112 mFrameOffsetInfo.frame_len, in getBuf()
215 mFrameOffsetInfo.frame_len, in getBuf()
DQCameraHWI_Rdi.cpp76 mFrameOffsetInfo.frame_len, in getBuf()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c287 app_bufs[i].mem_info.size = frame_offset_info->frame_len; in mm_app_alloc_bufs()
293 app_bufs[i].buf.frame_len = app_bufs[i].mem_info.size; in mm_app_alloc_bufs()
345 __func__, stream->s_id, frame_offset_info->frame_len); in mm_app_stream_initbuf()
379 pBufs[i].frame_len, in mm_app_stream_initbuf()
481 offset_info.frame_len = sizeof(cam_capability_t); in mm_app_open()
503 offset_info.frame_len = sizeof(parm_buffer_t); in mm_app_open()
666 offset_info.frame_len = sizeof(cam_stream_info_t); in mm_app_add_stream()
Dmm_qcamera_rdi.c69 __func__, frame->frame_len, frame->frame_idx, frame->stream_id); in mm_app_rdi_notify_cb()
154 buf_planes->plane_info.mp[0].len, buf_planes->plane_info.frame_len); in mm_app_add_rdi_stream()
Dmm_qcamera_snapshot.c139 encode_param.src_main_buf[0].buf_size = m_frame->frame_len; in createEncodingSession()
148 encode_param.dest_buf[0].buf_size = test_obj->jpeg_buf.buf.frame_len; in createEncodingSession()
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c287 app_bufs[i].mem_info.size = frame_offset_info->frame_len; in mm_app_alloc_bufs()
293 app_bufs[i].buf.frame_len = app_bufs[i].mem_info.size; in mm_app_alloc_bufs()
345 __func__, stream->s_id, frame_offset_info->frame_len); in mm_app_stream_initbuf()
379 pBufs[i].frame_len, in mm_app_stream_initbuf()
481 offset_info.frame_len = sizeof(cam_capability_t); in mm_app_open()
503 offset_info.frame_len = sizeof(parm_buffer_t); in mm_app_open()
666 offset_info.frame_len = sizeof(cam_stream_info_t); in mm_app_add_stream()
Dmm_qcamera_rdi.c69 __func__, frame->frame_len, frame->frame_idx, frame->stream_id); in mm_app_rdi_notify_cb()
154 buf_planes->plane_info.mp[0].len, buf_planes->plane_info.frame_len); in mm_app_add_rdi_stream()
Dmm_qcamera_snapshot.c139 encode_param.src_main_buf[0].buf_size = m_frame->frame_len; in createEncodingSession()
148 encode_param.dest_buf[0].buf_size = test_obj->jpeg_buf.buf.frame_len; in createEncodingSession()
Dmm_qcamera_video.c41 __func__, frame->frame_len, frame->frame_idx); in mm_app_video_notify_cb()
/device/asus/flo/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp284 pme->dumpFrameToFile(frame->buffer, frame->frame_len, in preview_stream_cb_routine()
409 pme->dumpFrameToFile(frame->buffer, frame->frame_len, in nodisplay_preview_stream_cb_routine()
478 pme->dumpFrameToFile(frame->buffer, frame->frame_len, in postview_stream_cb_routine()
554 pme->dumpFrameToFile(frame->buffer, frame->frame_len, in video_stream_cb_routine()
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp284 pme->dumpFrameToFile(frame->buffer, frame->frame_len, in preview_stream_cb_routine()
409 pme->dumpFrameToFile(frame->buffer, frame->frame_len, in nodisplay_preview_stream_cb_routine()
478 pme->dumpFrameToFile(frame->buffer, frame->frame_len, in postview_stream_cb_routine()
554 pme->dumpFrameToFile(frame->buffer, frame->frame_len, in video_stream_cb_routine()
/device/asus/flo/camera/QCamera2/stack/common/
Dmm_camera_interface.h75 uint32_t frame_len; member

123