Home | History | Annotate | Download | only in camera

Lines Matching defs:fmt

113     mm_camera_ch_image_fmt_parm_t fmt;
133 memset(&fmt, 0, sizeof(mm_camera_ch_image_fmt_parm_t));
134 fmt.ch_type = MM_CAMERA_CH_PREVIEW;
135 fmt.def.fmt = CAMERA_YUV_420_NV12; //dim.prev_format;
136 fmt.def.dim.width = dim.display_width;
137 fmt.def.dim.height = dim.display_height;
138 ALOGV("%s: preview channel fmt = %d", __func__,
143 rc = cam_config_set_parm(cameraId, MM_CAMERA_PARM_CH_IMAGE_FMT, &fmt);
165 memset(&fmt, 0, sizeof(mm_camera_ch_image_fmt_parm_t));
166 fmt.ch_type = MM_CAMERA_CH_VIDEO;
167 fmt.video.video.fmt = CAMERA_YUV_420_NV12; //dim.enc_format;
168 fmt.video.video.dim.width = dim.video_width;
169 fmt.video.video.dim.height = dim.video_height;
170 ALOGV("%s: video channel fmt = %d", __func__,
175 rc = cam_config_set_parm(cameraId, MM_CAMERA_PARM_CH_IMAGE_FMT, &fmt);
265 mm_camera_ch_image_fmt_parm_t fmt;
277 memset(&fmt, 0, sizeof(mm_camera_ch_image_fmt_parm_t));
279 fmt.ch_type = MM_CAMERA_CH_PREVIEW;
280 fmt.def.fmt = (cam_format_t)previewFmt;
281 fmt.def.dim.width = dim.display_width;
282 fmt.def.dim.height = dim.display_height;
284 fmt.ch_type = MM_CAMERA_CH_VIDEO;
285 fmt.video.video.fmt = CAMERA_YUV_420_NV21; //dim.enc_format;
286 fmt.video.video.dim.width = dim.video_width;
287 fmt.video.video.dim.height = dim.video_height;
290 fmt.ch_type = MM_CAMERA_CH_RAW;
291 fmt.def.fmt = CAMERA_BAYER_SBGGR10;
292 fmt.def.dim.width = dim.raw_picture_width;
293 fmt.def.dim.height = dim.raw_picture_height;
296 fmt.ch_type = MM_CAMERA_CH_SNAPSHOT;
297 fmt.snapshot.main.fmt = dim.main_img_format;
298 fmt.snapshot.main.dim.width = dim.picture_width;
299 fmt.snapshot.main.dim.height = dim.picture_height;
301 fmt.snapshot.thumbnail.fmt = dim.thumb_format;
302 fmt.snapshot.thumbnail.dim.width = dim.ui_thumbnail_width;
303 fmt.snapshot.thumbnail.dim.height = dim.ui_thumbnail_height;
307 rc = cam_config_set_parm(mCameraId, MM_CAMERA_PARM_CH_IMAGE_FMT, &fmt);