Home | History | Annotate | Download | only in src

Lines Matching refs:dim

102 void mm_app_set_dim_def(cam_ctrl_dimension_t *dim)
104 dim->display_width = WVGA_WIDTH;
105 dim->display_height = WVGA_HEIGHT;
106 input_display.user_input_display_width = dim->display_width;
107 input_display.user_input_display_height = dim->display_height;
108 dim->video_width = WVGA_WIDTH;
109 dim->video_width = CEILING32(dim->video_width);
110 dim->video_height = WVGA_HEIGHT;
111 dim->orig_video_width = dim->video_width;
112 dim->orig_video_height = dim->video_height;
113 dim->picture_width = MP1_WIDTH;
114 dim->picture_height = MP1_HEIGHT;
115 dim->orig_picture_dx = dim->picture_width;
116 dim->orig_picture_dy = dim->picture_height;
117 dim->ui_thumbnail_height = QVGA_HEIGHT;
118 dim->ui_thumbnail_width = QVGA_WIDTH;
119 dim->thumbnail_height = dim->ui_thumbnail_height;
120 dim->thumbnail_width = dim->ui_thumbnail_width;
121 dim->orig_picture_width = dim->picture_width;
122 dim->orig_picture_height = dim->picture_height;
123 dim->orig_thumb_width = dim->thumbnail_width;
124 dim->orig_thumb_height = dim->thumbnail_height;
125 dim->raw_picture_height = MP1_HEIGHT;
126 dim->raw_picture_width = MP1_WIDTH;
127 dim->hjr_xtra_buff_for_bayer_filtering;
128 dim->prev_format = CAMERA_YUV_420_NV21;
129 dim->enc_format = CAMERA_YUV_420_NV12;
130 dim->thumb_format = CAMERA_YUV_420_NV21;
131 dim->main_img_format = CAMERA_YUV_420_NV21;
132 dim->prev_padding_format = CAMERA_PAD_TO_4K;
133 dim->display_luma_width = dim->display_width;
134 dim->display_luma_height = dim->display_height;
135 dim->display_chroma_width = dim->display_width;
136 dim->display_chroma_height = dim->display_height;
137 dim->video_luma_width = dim->orig_video_width;
138 dim->video_luma_height = dim->orig_video_height;
139 dim->video_chroma_width = dim->orig_video_width;
140 dim->video_chroma_height = dim->orig_video_height;
141 dim->thumbnail_luma_width = dim->thumbnail_width;
142 dim->thumbnail_luma_height = dim->thumbnail_height;
143 dim->thumbnail_chroma_width = dim->thumbnail_width;
144 dim->thumbnail_chroma_height = dim->thumbnail_height;
145 dim->main_img_luma_width = dim->picture_width;
146 dim->main_img_luma_height = dim->picture_height;
147 dim->main_img_chroma_width = dim->picture_width;
148 dim->main_img_chroma_height = dim->picture_height;
242 mm_app_set_dim_def(&pme->dim);
277 memset(&pme->dim, 0, sizeof(pme->dim));
278 memset(&pme->dim, 0, sizeof(pme->dim));
340 int mm_app_set_dim(int8_t cam_id, cam_ctrl_dimension_t *dim)
347 memcpy(&pme->dim, dim, sizeof(cam_ctrl_dimension_t));
349 pme->cam->camera_handle,MM_CAMERA_PARM_DIMENSION, &pme->dim)))
357 int mm_app_get_dim(int8_t cam_id, cam_ctrl_dimension_t *dim)
369 //memcpy(&pme->dim, dim, sizeof(cam_ctrl_dimension_t));
371 MM_CAMERA_PARM_DIMENSION, &pme->dim))) {
375 __func__, pme->dim.orig_picture_width, pme->dim.orig_picture_height);
376 if(dim)
377 memcpy(dim, &pme->dim, sizeof(cam_ctrl_dimension_t));