Home | History | Annotate | Download | only in src

Lines Matching defs:dim

918 bool QCameraHardwareInterface::preview_parm_config (cam_ctrl_dimension_t* dim,
931 matching = (display_width == dim->display_width) &&
932 (display_height == dim->display_height);
935 dim->display_width = display_width;
936 dim->display_height = display_height;
944 if(value != NOT_FOUND && value != dim->prev_format ) {
946 dim->prev_format = value;
949 dim->prev_format = CAMERA_YUV_420_NV21;
951 mPreviewFormat = dim->prev_format;
953 dim->prev_padding_format = getPreviewPadding( );
955 dim->enc_format = CAMERA_YUV_420_NV12;
956 dim->orig_video_width = mDimension.orig_video_width;
957 dim->orig_video_height = mDimension.orig_video_height;
958 dim->video_width = mDimension.video_width;
959 dim->video_height = mDimension.video_height;
960 dim->video_chroma_width = mDimension.video_width;
961 dim->video_chroma_height = mDimension.video_height;
966 dim->main_img_format = CAMERA_YUV_422_NV61;
968 dim->main_img_format = CAMERA_YUV_420_NV21;
969 dim->thumb_format = CAMERA_YUV_420_NV21;
1015 cam_ctrl_dimension_t dim;
1026 dim, 0, sizeof(cam_ctrl_dimension_t));
1027 ret = cam_config_get_parm(mCameraId, MM_CAMERA_PARM_DIMENSION,&dim);
1036 initPreview = preview_parm_config (&dim, mParameters);
1053 dim.picture_width = maxDim.width;
1054 dim.picture_height = maxDim.height;
1055 mParameters.setPictureSize(dim.picture_width, dim.picture_height);
1064 matching = (mPictureWidth == dim.picture_width) &&
1065 (mPictureHeight == dim.picture_height);
1068 dim.picture_width = mPictureWidth;
1069 dim.picture_height = mPictureHeight;
1070 dim.ui_thumbnail_height = dim.display_height;
1071 dim.ui_thumbnail_width = dim.display_width;
1074 dim.picture_width, dim.picture_height);
1075 mParameters.setPictureSize(dim.picture_width, dim.picture_height);
1078 ret = cam_config_set_parm(mCameraId, MM_CAMERA_PARM_DIMENSION,&dim);
1476 cam_ctrl_dimension_t dim;
1492 memset(&dim, 0, sizeof(cam_ctrl_dimension_t));
1493 ret = cam_config_get_parm(pme->mCameraId, MM_CAMERA_PARM_DIMENSION, &dim);
1506 dim.picture_width = pme->mDimension.video_width;
1507 dim.picture_height = pme->mDimension.video_height;
1508 dim.ui_thumbnail_width = pme->mDimension.video_width;
1509 dim.ui_thumbnail_height = pme->mDimension.video_height;
1510 dim.main_img_format = pme->mDimension.enc_format;
1511 dim.thumb_format = pme->mDimension.enc_format;
1515 LOGE("Picture w = %d , h = %d, size = %d",dim.picture_width,dim.picture_height,mJpegMaxSize);
1531 pme->mStreamLiveSnap->initSnapshotBuffers(&dim,1);
1535 ((QCameraStream_Snapshot*)(pme->mStreamLiveSnap))->takePictureLiveshot(frame,&dim,mJpegMaxSize);