/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
H A D | mm_qcamera_display.c | 177 common_crop_t *crop = (common_crop_t *) (frame->cropinfo); local 203 if (crop->in2_w != 0 || crop->in2_h != 0) { 205 e->src_rect.x = (crop->out2_w - crop->in2_w + 1) / 2 - 1; 207 e->src_rect.y = (crop->out2_h - crop->in2_h + 1) / 2 - 1; 209 e->src_rect.w = crop->in2_w; 210 e->src_rect.h = crop->in2_h; 459 int v4l2_render(int frame_fd, struct v4l2_buffer *vb, struct v4l2_crop *crop) argument 516 common_crop_t *crop; local [all...] |
/device/lge/mako/camera/mm-camera-interface/ |
H A D | mm_camera_channel.c | 500 mm_camera_ch_crop_t *crop) 507 &crop->crop); 512 &crop->crop); 517 &crop->crop); 523 &crop->snapshot.main_crop); 528 &crop->snapshot.thumbnail_crop); 497 mm_camera_ch_util_get_crop(mm_camera_obj_t *my_obj, mm_camera_channel_type_t ch_type, mm_camera_state_evt_type_t evt, mm_camera_ch_crop_t *crop) argument
|
H A D | mm_camera_stream.c | 234 struct v4l2_crop crop; local 236 memset(&crop, 0, sizeof(crop)); 237 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 238 rc = ioctl(stream->fd, VIDIOC_G_CROP, &crop); 241 val->left = crop.c.left; 242 val->top = crop.c.top; 243 val->width = crop.c.width; 244 val->height = crop.c.height;
|
H A D | mm_camera_interface2.h | 145 mm_camera_rect_t crop; member in union:__anon1247::__anon1248
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
H A D | mm_qcamera_display.c | 176 common_crop_t *crop = (common_crop_t *) (frame->cropinfo); local 202 if (crop->in2_w != 0 || crop->in2_h != 0) { 204 e->src_rect.x = (crop->out2_w - crop->in2_w + 1) / 2 - 1; 206 e->src_rect.y = (crop->out2_h - crop->in2_h + 1) / 2 - 1; 208 e->src_rect.w = crop->in2_w; 209 e->src_rect.h = crop->in2_h; 458 int v4l2_render(int frame_fd, struct v4l2_buffer *vb, struct v4l2_crop *crop) argument 515 common_crop_t *crop; local [all...] |
/device/asus/flo/camera/QCamera2/HAL/ |
H A D | QCameraStream.cpp | 331 * @previewWindoe : preview window ops table to set preview crop window 332 * @crop_info : crop info 343 // get stream param for crop info 347 mCropInfo = crop_info.crop_info[i].crop; 350 // update preview window crop if it's preview/postview stream 790 * DESCRIPTION: query crop info of the stream 793 * @crop : reference to struct to store the queried crop info 799 int32_t QCameraStream::getCropInfo(cam_rect_t &crop) argument 802 crop [all...] |
H A D | QCameraPostProc.cpp | 1043 cam_rect_t crop; local 1044 memset(&crop, 0, sizeof(cam_rect_t)); 1045 main_stream->getCropInfo(crop); 1054 jpg_job.encode_job.main_dim.crop = crop; 1064 memset(&crop, 0, sizeof(cam_rect_t)); 1065 thumb_stream->getCropInfo(crop); 1078 jpg_job.encode_job.thumb_dim.crop = crop;
|
/device/asus/flo/camera/QCamera2/HAL3/ |
H A D | QCamera3PostProc.cpp | 893 cam_rect_t crop; local 894 memset(&crop, 0, sizeof(cam_rect_t)); 896 //main_stream->getCropInfo(crop); 909 jpg_job.encode_job.main_dim.crop = crop; 920 memset(&crop, 0, sizeof(cam_rect_t)); 922 //thumb_stream->getCropInfo(crop); 927 jpg_job.encode_job.thumb_dim.crop = crop;
|
/device/asus/flo/camera/QCamera2/stack/common/ |
H A D | mm_jpeg_interface.h | 93 /* crop information */ 94 cam_rect_t crop; member in struct:__anon202
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
H A D | QCameraStream.cpp | 331 * @previewWindoe : preview window ops table to set preview crop window 332 * @crop_info : crop info 343 // get stream param for crop info 347 mCropInfo = crop_info.crop_info[i].crop; 350 // update preview window crop if it's preview/postview stream 790 * DESCRIPTION: query crop info of the stream 793 * @crop : reference to struct to store the queried crop info 799 int32_t QCameraStream::getCropInfo(cam_rect_t &crop) argument 802 crop [all...] |
H A D | QCameraPostProc.cpp | 1043 cam_rect_t crop; local 1044 memset(&crop, 0, sizeof(cam_rect_t)); 1045 main_stream->getCropInfo(crop); 1054 jpg_job.encode_job.main_dim.crop = crop; 1064 memset(&crop, 0, sizeof(cam_rect_t)); 1065 thumb_stream->getCropInfo(crop); 1078 jpg_job.encode_job.thumb_dim.crop = crop;
|
/device/lge/hammerhead/camera/QCamera2/stack/common/ |
H A D | mm_jpeg_interface.h | 97 /* crop information */ 98 cam_rect_t crop; member in struct:__anon709
|
/device/lge/mako/camera/QCamera/stack/mm-jpeg-interface/inc/ |
H A D | mm_jpeg_interface.h | 112 /* crop information */ 113 image_crop_t crop; member in struct:__anon1058
|
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/inc/ |
H A D | mm_jpeg_interface.h | 112 /* crop information */
113 image_crop_t crop;
member in struct:__anon1548
|
/device/lge/hammerhead/camera/QCamera2/HAL3/ |
H A D | QCamera3PostProc.cpp | 911 cam_rect_t crop; local 912 memset(&crop, 0, sizeof(cam_rect_t)); 914 //main_stream->getCropInfo(crop); 927 jpg_job.encode_job.main_dim.crop = crop; 949 memset(&crop, 0, sizeof(cam_rect_t)); 951 //thumb_stream->getCropInfo(crop); 971 jpg_job.encode_job.thumb_dim.crop = crop;
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
H A D | mm_camera_stream.c | 59 mm_camera_rect_t *crop); 877 mm_camera_rect_t *crop) 886 crop->left = crop_info.c.left; 887 crop->top = crop_info.c.top; 888 crop->width = crop_info.c.width; 889 crop->height = crop_info.c.height; 930 mm_camera_rect_t *crop = (mm_camera_rect_t *)out_value; local 931 rc = mm_stream_get_crop(my_obj, crop); 973 mm_camera_rect_t *crop = (mm_camera_rect_t *)payload->value; local 974 rc = mm_stream_get_crop(my_obj, crop); 876 mm_stream_get_crop(mm_stream_t *my_obj, mm_camera_rect_t *crop) argument 1016 mm_camera_rect_t *crop = (mm_camera_rect_t *)payload->value; local [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
H A D | mm_camera_stream.c | 59 mm_camera_rect_t *crop); 961 mm_camera_rect_t *crop) 974 crop->left = crop_info.c.left; 975 crop->top = crop_info.c.top; 976 crop->width = crop_info.c.width; 977 crop->height = crop_info.c.height; 1024 mm_camera_rect_t *crop = (mm_camera_rect_t *)out_value; local 1025 rc = mm_stream_get_crop(my_obj, crop); 1073 mm_camera_rect_t *crop = (mm_camera_rect_t *)payload->value; local 1074 rc = mm_stream_get_crop(my_obj, crop); 960 mm_stream_get_crop(mm_stream_t *my_obj, mm_camera_rect_t *crop) argument 1122 mm_camera_rect_t *crop = (mm_camera_rect_t *)payload->value; local [all...] |
/device/moto/shamu/camera/QCamera2/HAL/ |
H A D | QCameraChannel.cpp | 381 * crop information 382 * @crop_info : crop info as a result of zoom operation 1121 cam_crop_data_t *crop = NULL; local 1123 crop = (cam_crop_data_t *) 1127 if ((NULL != crop) && (NULL != srcStream)) { 1129 if (crop->crop_info[j].stream_id == 1131 param.reprocess.frame_pp_config.crop.crop_enabled = 1; 1132 param.reprocess.frame_pp_config.crop.input_crop = 1133 crop->crop_info[j].crop; [all...] |
H A D | QCameraStream.cpp | 572 * DESCRIPTION: query and sync runtime parameters like output crop 590 ALOGE("%s: stream getParameter for output crop failed", __func__); 612 * @previewWindoe : preview window ops table to set preview crop window 613 * @crop_info : crop info 629 // get stream param for crop info 633 mCropInfo = crop_info.crop_info[i].crop; 636 // update preview window crop if it's preview/postview stream 1347 * DESCRIPTION: query crop info of the stream 1350 * @crop : reference to struct to store the queried crop inf 1356 getCropInfo(cam_rect_t &crop) argument 1376 setCropInfo(cam_rect_t crop) argument [all...] |
H A D | QCameraPostProc.cpp | 347 cam_rect_t crop; local 348 memset(&crop, 0, sizeof(cam_rect_t)); 349 main_stream->getCropInfo(crop); 357 if (hdr_output_crop && crop.height) { 358 dst_dim.height = crop.height; 362 if (hdr_output_crop && crop.width) { 363 dst_dim.width = crop.width; 457 // crop is the same if frame is the same 459 memset(&crop, 0, sizeof(cam_rect_t)); 460 thumb_stream->getCropInfo(crop); 1484 cam_rect_t crop; local [all...] |
/device/moto/shamu/camera/QCamera2/HAL3/ |
H A D | QCamera3PostProc.cpp | 1055 cam_rect_t crop; local 1056 memset(&crop, 0, sizeof(cam_rect_t)); 1058 //main_stream->getCropInfo(crop); 1063 jpg_job.encode_job.main_dim.crop = crop; 1077 memset(&crop, 0, sizeof(cam_rect_t)); 1096 jpg_job.encode_job.thumb_dim.crop = crop; 1296 cam_rect_t crop; local 1297 memset(&crop, [all...] |
/device/moto/shamu/camera/QCamera2/stack/common/ |
H A D | mm_jpeg_interface.h | 101 /* crop information */ 102 cam_rect_t crop; member in struct:__anon1806
|
/device/lge/mako/camera/QCamera/HAL/core/src/ |
H A D | QCameraHWI_Still.cpp | 1285 //common_crop_t crop; 1440 common_crop_t crop; local 1547 memset(&crop,0,sizeof(common_crop_t)); 1551 /* Setting crop info */ 1554 crop.in2_w=mCrop.snapshot.main_crop.width;// dimension.picture_width 1555 crop.in2_h=mCrop.snapshot.main_crop.height;// dimension.picture_height; 1557 crop.out2_w = mPictureWidth; 1558 crop.out2_h = mPictureHeight; 1560 crop.out2_w = mActualPictureWidth; 1561 crop 1634 notifyShutter(common_crop_t *crop, bool mPlayShutterSoundOnly) argument 1721 common_crop_t crop; local [all...] |
/device/lge/mako/camera/ |
H A D | QCameraHWI_Still.cpp | 1605 common_crop_t crop; local 1742 memset(&crop,0,sizeof(common_crop_t)); 1746 /* Setting crop info */ 1749 crop.in2_w=mCrop.snapshot.main_crop.width;// dimension.picture_width 1750 crop.in2_h=mCrop.snapshot.main_crop.height;// dimension.picture_height; 1752 crop.out2_w = mPictureWidth; 1753 crop.out2_h = mPictureHeight; 1755 crop.out2_w = mActualPictureWidth; 1756 crop.out2_h = mActualPictureHeight; 1757 if (!crop 1833 notifyShutter(common_crop_t *crop, bool mPlayShutterSoundOnly) argument 1919 common_crop_t crop; local [all...] |
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
H A D | QualcommUsbCamera.cpp | 1294 struct v4l2_crop crop; local 1328 crop.c = cropcap.defrect; 1329 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 1332 if (-1 == ioctlLoop(camHal->fd, VIDIOC_S_CROP, &crop)) { 2865 srcBuf->crop.offset_x = 0; 2866 srcBuf->crop.offset_y = 0; 2867 srcBuf->crop.width = srcBuf->src_dim.width; 2868 srcBuf->crop.height = srcBuf->src_dim.height;
|