Home
last modified time | relevance | path

Searched refs:buf_info (Results 1 – 13 of 13) sorted by relevance

/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c2073 mm_camera_buf_info_t *buf_info) in mm_channel_handle_metadata() argument
2079 buf_info->stream_id); in mm_channel_handle_metadata()
2095 __func__, buf_info->stream_id); in mm_channel_handle_metadata()
2101 __func__, buf_info->stream_id); in mm_channel_handle_metadata()
2109 metadata = (const metadata_buffer_t *)buf_info->buf->buffer; in mm_channel_handle_metadata()
2161 if (divert_info->frame_id >= buf_info->frame_idx) { in mm_channel_handle_metadata()
2171 queue->expected_frame_id = buf_info->frame_idx + 1; in mm_channel_handle_metadata()
2257 buf_info->frame_idx); in mm_channel_handle_metadata()
2266 if((buf_info->frame_idx >= queue->led_off_start_frame_id) in mm_channel_handle_metadata()
2277 __func__, buf_info->frame_idx, queue->expected_frame_id); in mm_channel_handle_metadata()
[all …]
Dmm_camera_stream.c68 mm_camera_buf_info_t* buf_info,
71 mm_camera_buf_info_t* buf_info);
150 mm_camera_buf_info_t *buf_info) in mm_stream_notify_channel() argument
155 if ((NULL == ch_obj) || (NULL == buf_info)) { in mm_stream_notify_channel()
166 node->u.buf = *buf_info; in mm_stream_notify_channel()
193 mm_camera_buf_info_t *buf_info, in mm_stream_handle_rcvd_buf() argument
202 rc = mm_stream_notify_channel(my_obj->ch_obj, buf_info); in mm_stream_handle_rcvd_buf()
211 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_handle_rcvd_buf()
213 rc = mm_stream_notify_channel(my_obj->linked_obj, buf_info); in mm_stream_handle_rcvd_buf()
228 node->u.buf = *buf_info; in mm_stream_handle_rcvd_buf()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c2073 mm_camera_buf_info_t *buf_info) in mm_channel_handle_metadata() argument
2079 buf_info->stream_id); in mm_channel_handle_metadata()
2095 __func__, buf_info->stream_id); in mm_channel_handle_metadata()
2101 __func__, buf_info->stream_id); in mm_channel_handle_metadata()
2109 metadata = (const metadata_buffer_t *)buf_info->buf->buffer; in mm_channel_handle_metadata()
2161 if (divert_info->frame_id >= buf_info->frame_idx) { in mm_channel_handle_metadata()
2171 queue->expected_frame_id = buf_info->frame_idx + 1; in mm_channel_handle_metadata()
2257 buf_info->frame_idx); in mm_channel_handle_metadata()
2266 if((buf_info->frame_idx >= queue->led_off_start_frame_id) in mm_channel_handle_metadata()
2277 __func__, buf_info->frame_idx, queue->expected_frame_id); in mm_channel_handle_metadata()
[all …]
Dmm_camera_stream.c68 mm_camera_buf_info_t* buf_info,
71 mm_camera_buf_info_t* buf_info);
150 mm_camera_buf_info_t *buf_info) in mm_stream_notify_channel() argument
155 if ((NULL == ch_obj) || (NULL == buf_info)) { in mm_stream_notify_channel()
166 node->u.buf = *buf_info; in mm_stream_notify_channel()
193 mm_camera_buf_info_t *buf_info, in mm_stream_handle_rcvd_buf() argument
202 rc = mm_stream_notify_channel(my_obj->ch_obj, buf_info); in mm_stream_handle_rcvd_buf()
211 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_handle_rcvd_buf()
213 rc = mm_stream_notify_channel(my_obj->linked_obj, buf_info); in mm_stream_handle_rcvd_buf()
228 node->u.buf = *buf_info; in mm_stream_handle_rcvd_buf()
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c2415 mm_channel_queue_t *queue, mm_camera_buf_info_t *buf_info) in mm_channel_validate_super_buf() argument
2435 (buf_info->frame_idx == super_buf->frame_idx)) { in mm_channel_validate_super_buf()
2466 mm_camera_buf_info_t *buf_info) in mm_channel_handle_metadata() argument
2472 buf_info->stream_id); in mm_channel_handle_metadata()
2488 buf_info->stream_id); in mm_channel_handle_metadata()
2494 buf_info->stream_id); in mm_channel_handle_metadata()
2504 metadata = (const metadata_buffer_t *)buf_info->buf->buffer; in mm_channel_handle_metadata()
2556 if (divert_info.frame_id >= buf_info->frame_idx) { in mm_channel_handle_metadata()
2566 queue->expected_frame_id = buf_info->frame_idx + 1; in mm_channel_handle_metadata()
2577 buf_info->frame_idx, queue->expected_frame_id, in mm_channel_handle_metadata()
[all …]
Dmm_camera_stream.c72 mm_camera_buf_info_t* buf_info,
75 mm_camera_buf_info_t* buf_info);
157 mm_camera_buf_info_t *buf_info) in mm_stream_notify_channel() argument
162 if ((NULL == ch_obj) || (NULL == buf_info)) { in mm_stream_notify_channel()
173 node->u.buf = *buf_info; in mm_stream_notify_channel()
200 mm_camera_buf_info_t *buf_info, in mm_stream_handle_rcvd_buf() argument
209 rc = mm_stream_notify_channel(my_obj->ch_obj, buf_info); in mm_stream_handle_rcvd_buf()
218 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_handle_rcvd_buf()
220 rc = mm_stream_notify_channel(my_obj->linked_obj, buf_info); in mm_stream_handle_rcvd_buf()
236 node->u.buf = *buf_info; in mm_stream_handle_rcvd_buf()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraMem.cpp277 int32_t QCameraMemory::getUserBufDef(const cam_stream_user_buf_info_t &buf_info, in getUserBufDef() argument
285 uint32_t plane_idx = (index * buf_info.frame_buf_cnt); in getUserBufDef()
295 bufDef.frame_len = buf_info.size; in getUserBufDef()
298 + (index * buf_info.size)); in getUserBufDef()
300 bufDef.user_buf.num_buffers = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
301 bufDef.user_buf.bufs_used = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
DQCameraMem.h88 int32_t getUserBufDef(const cam_stream_user_buf_info_t &buf_info,
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraMem.cpp277 int32_t QCameraMemory::getUserBufDef(const cam_stream_user_buf_info_t &buf_info, in getUserBufDef() argument
285 uint32_t plane_idx = (index * buf_info.frame_buf_cnt); in getUserBufDef()
295 bufDef.frame_len = buf_info.size; in getUserBufDef()
298 + (index * buf_info.size)); in getUserBufDef()
300 bufDef.user_buf.num_buffers = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
301 bufDef.user_buf.bufs_used = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
DQCameraMem.h88 int32_t getUserBufDef(const cam_stream_user_buf_info_t &buf_info,
/device/google/marlin/camera/QCamera2/HAL/
DQCameraMem.cpp319 int32_t QCameraMemory::getUserBufDef(const cam_stream_user_buf_info_t &buf_info, in getUserBufDef() argument
327 uint32_t plane_idx = (index * buf_info.frame_buf_cnt); in getUserBufDef()
337 bufDef.frame_len = buf_info.size; in getUserBufDef()
340 + (index * buf_info.size)); in getUserBufDef()
342 bufDef.user_buf.num_buffers = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
343 bufDef.user_buf.bufs_used = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
DQCameraMem.h104 int32_t getUserBufDef(const cam_stream_user_buf_info_t &buf_info,
/device/google/marlin/camera/usbcamcore/src/
DQualcommUsbCamera.cpp2848 mmJpegJob.encode_job.encode_parm.buf_info.src_imgs.src_img_num = 1; in encodeJpeg()
2849 mmJpegJob.encode_job.encode_parm.buf_info.src_imgs.is_video_frame = 0; in encodeJpeg()
2852 srcBuf = &mmJpegJob.encode_job.encode_parm.buf_info.src_imgs.src_img[0]; in encodeJpeg()
2874 mmJpegJob.encode_job.encode_parm.buf_info.sink_img.buf_vaddr = in encodeJpeg()
2876 mmJpegJob.encode_job.encode_parm.buf_info.sink_img.fd = 0; in encodeJpeg()
2878 mmJpegJob.encode_job.encode_parm.buf_info.sink_img.buf_len = in encodeJpeg()