Home
last modified time | relevance | path

Searched refs:roi (Results 1 – 16 of 16) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Dset_maps.c67 vpx_roi_map_t roi = {0}; in set_roi_map() local
69 roi.rows = (cfg->g_h + 15) / 16; in set_roi_map()
70 roi.cols = (cfg->g_w + 15) / 16; in set_roi_map()
72 roi.delta_q[0] = 0; in set_roi_map()
73 roi.delta_q[1] = -2; in set_roi_map()
74 roi.delta_q[2] = -4; in set_roi_map()
75 roi.delta_q[3] = -6; in set_roi_map()
77 roi.delta_lf[0] = 0; in set_roi_map()
78 roi.delta_lf[1] = 1; in set_roi_map()
79 roi.delta_lf[2] = 2; in set_roi_map()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_mdpcomp.cpp549 hwc_rect_t roi = ctx->listStats[mDpy].lRoi; in trimAgainstROI() local
550 dst = getIntersection(dst, roi); in trimAgainstROI()
605 struct hwc_rect roi = (struct hwc_rect){0, 0, 0, 0}; in generateROI() local
619 roi = getUnion(roi, dirtyRect); in generateROI()
624 if(!isValidRect(roi)) in generateROI()
628 roi = getSanitizeROI(roi, fullFrame); in generateROI()
630 ctx->listStats[mDpy].lRoi = roi; in generateROI()
641 hwc_rect roi = getUnion(ctx->listStats[mDpy].lRoi, in trimAgainstROI() local
643 hwc_rect tmpDst = getIntersection(dst, roi); in trimAgainstROI()
2684 struct hwc_rect roi = (struct hwc_rect){0, 0, 0, 0}; in generateROI() local
[all …]
Dhwc_utils.cpp2622 hwc_rect expandROIFromMidPoint(hwc_rect roi, hwc_rect fullFrame) { in expandROIFromMidPoint() argument
2631 hwc_rect lRoi = getIntersection(roi, lFrame); in expandROIFromMidPoint()
2632 hwc_rect rRoi = getIntersection(roi, rFrame); in expandROIFromMidPoint()
2639 roi.left = half_frame_width - rRoiWidth; in expandROIFromMidPoint()
2641 roi.right = half_frame_width + lRoiWidth; in expandROIFromMidPoint()
2643 return roi; in expandROIFromMidPoint()
2665 hwc_rect_t getSanitizeROI(struct hwc_rect roi, hwc_rect boundary) in getSanitizeROI() argument
2667 if(!isValidRect(roi)) in getSanitizeROI()
2668 return roi; in getSanitizeROI()
2670 struct hwc_rect t_roi = roi; in getSanitizeROI()
Dhwc_utils.h388 hwc_rect expandROIFromMidPoint(hwc_rect roi, hwc_rect fullFrame);
391 hwc_rect_t getSanitizeROI(struct hwc_rect roi, hwc_rect boundary);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/
Dvp8_cx_iface.c1134 vpx_roi_map_t *roi = (vpx_roi_map_t *)data; in vp8e_set_roi_map() local
1136 …if (!vp8_set_roimap(ctx->cpi, roi->roi_map, roi->rows, roi->cols, roi->delta_q, roi->delta_lf, roi in vp8e_set_roi_map()
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3HWI.cpp5242 void QCamera3HardwareInterface::convertFromRegions(cam_area_t &roi, in convertFromRegions() argument
5251 roi.weight = frame_settings.find(tag).data.i32[4]; in convertFromRegions()
5252 roi.rect.left = x_min; in convertFromRegions()
5253 roi.rect.top = y_min; in convertFromRegions()
5254 roi.rect.width = x_max - x_min; in convertFromRegions()
5255 roi.rect.height = y_max - y_min; in convertFromRegions()
5270 bool QCamera3HardwareInterface::resetIfNeededROI(cam_area_t* roi, in resetIfNeededROI() argument
5273 int32_t roi_x_max = roi->rect.width + roi->rect.left; in resetIfNeededROI()
5274 int32_t roi_y_max = roi->rect.height + roi->rect.top; in resetIfNeededROI()
5283 if (roi->weight == 0) { in resetIfNeededROI()
[all …]
DQCamera3HWI.h144 static void convertFromRegions(cam_area_t &roi, const camera_metadata_t *settings,
146 static bool resetIfNeededROI(cam_area_t* roi, const cam_crop_region_t* scalerCropRegion);
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_mdpcomp.cpp448 hwc_rect_t roi = ctx->listStats[mDpy].lRoi; in trimAgainstROI() local
449 fbRect = getIntersection(fbRect, roi); in trimAgainstROI()
502 struct hwc_rect roi = (struct hwc_rect){0, 0, 0, 0}; in generateROI() local
515 roi = getUnion(roi, dirtyRect); in generateROI()
520 if(!isValidRect(roi)) in generateROI()
524 roi = getSanitizeROI(roi, fullFrame); in generateROI()
526 ctx->listStats[mDpy].lRoi = roi; in generateROI()
Dhwc_utils.h310 hwc_rect_t getSanitizeROI(struct hwc_rect roi, hwc_rect boundary);
Dhwc_utils.cpp2232 hwc_rect_t getSanitizeROI(struct hwc_rect roi, hwc_rect boundary) in getSanitizeROI() argument
2234 if(!isValidRect(roi)) in getSanitizeROI()
2235 return roi; in getSanitizeROI()
2237 struct hwc_rect t_roi = roi; in getSanitizeROI()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_mdpcomp.cpp441 hwc_rect_t roi = ctx->listStats[mDpy].lRoi; in trimAgainstROI() local
442 fbRect = getIntersection(fbRect, roi); in trimAgainstROI()
495 struct hwc_rect roi = (struct hwc_rect){0, 0, 0, 0}; in generateROI() local
516 roi = getUnion(roi, updatingRect); in generateROI()
521 if(!isValidRect(roi)) in generateROI()
525 roi = getSanitizeROI(roi, fullFrame); in generateROI()
527 ctx->listStats[mDpy].lRoi = roi; in generateROI()
Dhwc_utils.h330 hwc_rect_t getSanitizeROI(struct hwc_rect roi, hwc_rect boundary);
Dhwc_utils.cpp2242 hwc_rect_t getSanitizeROI(struct hwc_rect roi, hwc_rect boundary) in getSanitizeROI() argument
2244 if(!isValidRect(roi)) in getSanitizeROI()
2245 return roi; in getSanitizeROI()
2247 struct hwc_rect t_roi = roi; in getSanitizeROI()
/hardware/qcom/camera/
DQCamera_Intf.h715 roi_t roi[MAX_ROI]; member
976 struct fd_roi_t roi; member
/hardware/qcom/camera/QCamera2/stack/common/
Dcam_types.h935 cam_rect_t roi[MAX_ROI]; member
/hardware/qcom/camera/QCamera2/HAL/
DQCameraParameters.cpp7535 af_roi_value.roi[i].left = in setFocusAreas()
7538 af_roi_value.roi[i].top = in setFocusAreas()
7541 af_roi_value.roi[i].width = in setFocusAreas()
7544 af_roi_value.roi[i].height = in setFocusAreas()