Lines Matching defs:v4l2_crop
1886 mm_camera_ch_crop_t v4l2_crop;
1891 memset(&v4l2_crop,0,sizeof(v4l2_crop));
1892 v4l2_crop.ch_type=MM_CAMERA_CH_SNAPSHOT;
1895 cam_config_get_parm(mCameraId,MM_CAMERA_PARM_CROP,&v4l2_crop);
1898 v4l2_crop.snapshot.main_crop.left,
1899 v4l2_crop.snapshot.main_crop.top,
1900 v4l2_crop.snapshot.main_crop.width,
1901 v4l2_crop.snapshot.main_crop.height);
1903 v4l2_crop.snapshot.thumbnail_crop.left,
1904 v4l2_crop.snapshot.thumbnail_crop.top,
1905 v4l2_crop.snapshot.thumbnail_crop.width,
1906 v4l2_crop.snapshot.thumbnail_crop.height);
1910 memcpy(&(mStreamSnap->mCrop), &v4l2_crop, sizeof(v4l2_crop));
1914 memcpy(&(mStreamLiveSnap->mCrop), &v4l2_crop, sizeof(v4l2_crop));
1921 mm_camera_ch_crop_t v4l2_crop;
1927 memset(&v4l2_crop, 0, sizeof(v4l2_crop));
1928 v4l2_crop.ch_type = MM_CAMERA_CH_PREVIEW;
1931 cam_config_get_parm(mCameraId,MM_CAMERA_PARM_CROP,&v4l2_crop);
1934 v4l2_crop.crop.left,
1935 v4l2_crop.crop.top,
1936 v4l2_crop.crop.width,
1937 v4l2_crop.crop.height);
1940 v4l2_crop.crop.left,
1941 v4l2_crop.crop.top,
1942 v4l2_crop.crop.left + v4l2_crop.crop.width,
1943 v4l2_crop.crop.top + v4l2_crop.crop.height);