Searched refs:msm_fmt (Results 1 – 3 of 3) sorted by relevance
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 2453 struct msm_v4l2_format_data msm_fmt; in mm_stream_set_fmt() local 2470 memset(&msm_fmt, 0, sizeof(msm_fmt)); in mm_stream_set_fmt() 2472 msm_fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_stream_set_fmt() 2473 msm_fmt.width = my_obj->stream_info->dim.width; in mm_stream_set_fmt() 2474 msm_fmt.height = my_obj->stream_info->dim.height; in mm_stream_set_fmt() 2475 msm_fmt.pixelformat = mm_stream_get_v4l2_fmt(my_obj->stream_info->fmt); in mm_stream_set_fmt() 2476 msm_fmt.num_planes = my_obj->frame_offset.num_planes; in mm_stream_set_fmt() 2477 for (i = 0; i < msm_fmt.num_planes; i++) { in mm_stream_set_fmt() 2478 msm_fmt.plane_sizes[i] = my_obj->frame_offset.mp[i].len; in mm_stream_set_fmt() 2481 memcpy(fmt.fmt.raw_data, &msm_fmt, sizeof(msm_fmt)); in mm_stream_set_fmt()
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 2455 struct msm_v4l2_format_data msm_fmt; in mm_stream_set_fmt() local 2472 memset(&msm_fmt, 0, sizeof(msm_fmt)); in mm_stream_set_fmt() 2474 msm_fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_stream_set_fmt() 2475 msm_fmt.width = my_obj->stream_info->dim.width; in mm_stream_set_fmt() 2476 msm_fmt.height = my_obj->stream_info->dim.height; in mm_stream_set_fmt() 2477 msm_fmt.pixelformat = mm_stream_get_v4l2_fmt(my_obj->stream_info->fmt); in mm_stream_set_fmt() 2478 msm_fmt.num_planes = my_obj->frame_offset.num_planes; in mm_stream_set_fmt() 2479 for (i = 0; i < msm_fmt.num_planes; i++) { in mm_stream_set_fmt() 2480 msm_fmt.plane_sizes[i] = my_obj->frame_offset.mp[i].len; in mm_stream_set_fmt() 2483 memcpy(fmt.fmt.raw_data, &msm_fmt, sizeof(msm_fmt)); in mm_stream_set_fmt()
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 2807 struct msm_v4l2_format_data msm_fmt; in mm_stream_set_fmt() local 2824 memset(&msm_fmt, 0, sizeof(msm_fmt)); in mm_stream_set_fmt() 2826 msm_fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_stream_set_fmt() 2827 msm_fmt.width = my_obj->stream_info->dim.width; in mm_stream_set_fmt() 2828 msm_fmt.height = my_obj->stream_info->dim.height; in mm_stream_set_fmt() 2829 msm_fmt.pixelformat = mm_stream_get_v4l2_fmt(my_obj->stream_info->fmt); in mm_stream_set_fmt() 2830 msm_fmt.num_planes = my_obj->frame_offset.num_planes; in mm_stream_set_fmt() 2831 for (i = 0; i < msm_fmt.num_planes; i++) { in mm_stream_set_fmt() 2832 msm_fmt.plane_sizes[i] = my_obj->frame_offset.mp[i].len; in mm_stream_set_fmt() 2835 memcpy(fmt.fmt.raw_data, &msm_fmt, sizeof(msm_fmt)); in mm_stream_set_fmt()
|