| /external/mesa3d/src/mesa/state_tracker/ |
| st_scissor.c | 44 const struct gl_scissor_rect *src_rect = &ctx->Scissor.WindowRects[i]; local 46 dst_rect->minx = MAX2(src_rect->X, 0); 47 dst_rect->miny = MAX2(src_rect->Y, 0); 48 dst_rect->maxx = MAX2(src_rect->X + src_rect->Width, 0); 49 dst_rect->maxy = MAX2(src_rect->Y + src_rect->Height, 0);
|
| /hardware/qcom/display/msm8960/libcopybit/ |
| copybit.cpp | 174 e->src_rect.w = (clip.b - clip.t); 175 e->src_rect.h = (clip.r - clip.l); 181 e->src_rect.w = (clip.r - clip.l); 182 e->src_rect.h = (clip.b - clip.t); 187 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); 188 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); 190 e->src_rect.x = delta_x + src->l; 191 e->src_rect.y = delta_y + src->t; 195 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w) [all...] |
| /hardware/intel/common/libva/test/common/ |
| va_display_android.cpp | 83 const VARectangle *src_rect, 91 src_rect->x, src_rect->y, 92 src_rect->width, src_rect->height,
|
| va_display_x11.c | 108 const VARectangle *src_rect, 118 if (!validate_rect(src_rect) || !validate_rect(dst_rect)) 126 src_rect->x, src_rect->y, 127 src_rect->width, src_rect->height,
|
| va_display.h | 39 const VARectangle *src_rect, 56 const VARectangle *src_rect,
|
| /hardware/qcom/display/msm8084/libcopybit/ |
| copybit.cpp | 178 e->src_rect.w = (clip.b - clip.t); 179 e->src_rect.h = (clip.r - clip.l); 185 e->src_rect.w = (clip.r - clip.l); 186 e->src_rect.h = (clip.b - clip.t); 191 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); 192 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); 194 e->src_rect.x = delta_x + src->l; 195 e->src_rect.y = delta_y + src->t; 199 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w) [all...] |
| /hardware/qcom/display/msm8226/libcopybit/ |
| copybit.cpp | 178 e->src_rect.w = (clip.b - clip.t); 179 e->src_rect.h = (clip.r - clip.l); 185 e->src_rect.w = (clip.r - clip.l); 186 e->src_rect.h = (clip.b - clip.t); 191 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); 192 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); 194 e->src_rect.x = delta_x + src->l; 195 e->src_rect.y = delta_y + src->t; 199 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w) [all...] |
| /hardware/qcom/display/msm8909/libcopybit/ |
| copybit.cpp | 192 e->src_rect.w = (clip.b - clip.t); 193 e->src_rect.h = (clip.r - clip.l); 199 e->src_rect.w = (clip.r - clip.l); 200 e->src_rect.h = (clip.b - clip.t); 205 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); 206 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); 208 e->src_rect.x = delta_x + src->l; 209 e->src_rect.y = delta_y + src->t; 213 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w) [all...] |
| /hardware/qcom/display/msm8909w_3100/libcopybit/ |
| copybit.cpp | 192 e->src_rect.w = (clip.b - clip.t); 193 e->src_rect.h = (clip.r - clip.l); 199 e->src_rect.w = (clip.r - clip.l); 200 e->src_rect.h = (clip.b - clip.t); 205 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); 206 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); 208 e->src_rect.x = delta_x + src->l; 209 e->src_rect.y = delta_y + src->t; 213 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w) [all...] |
| /hardware/qcom/display/msm8994/libcopybit/ |
| copybit.cpp | 181 e->src_rect.w = (clip.b - clip.t); 182 e->src_rect.h = (clip.r - clip.l); 188 e->src_rect.w = (clip.r - clip.l); 189 e->src_rect.h = (clip.b - clip.t); 194 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); 195 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); 197 e->src_rect.x = delta_x + src->l; 198 e->src_rect.y = delta_y + src->t; 202 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w) [all...] |
| /hardware/qcom/display/msm8996/libcopybit/ |
| copybit.cpp | 190 e->src_rect.w = (clip.b - clip.t); 191 e->src_rect.h = (clip.r - clip.l); 197 e->src_rect.w = (clip.r - clip.l); 198 e->src_rect.h = (clip.b - clip.t); 203 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); 204 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); 206 e->src_rect.x = delta_x + src->l; 207 e->src_rect.y = delta_y + src->t; 211 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w) [all...] |
| /hardware/qcom/display/msm8998/libcopybit/ |
| copybit.cpp | 190 e->src_rect.w = (clip.b - clip.t); 191 e->src_rect.h = (clip.r - clip.l); 197 e->src_rect.w = (clip.r - clip.l); 198 e->src_rect.h = (clip.b - clip.t); 203 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); 204 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); 206 e->src_rect.x = delta_x + src->l; 207 e->src_rect.y = delta_y + src->t; 211 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w) [all...] |
| /hardware/intel/common/libmix/mix_video/src/ |
| mixvideorenderparams.c | 44 memset(&(self->src_rect), 0, sizeof(MixRect)); 177 this_target->src_rect = this_src->src_rect; 221 this_second->display)) && mix_rect_equal(this_first->src_rect, 222 this_second->src_rect) && mix_rect_equal(this_first->dst_rect, 283 MixRect src_rect) { 287 obj->src_rect = src_rect; 293 MixRect * src_rect) { 295 MIX_VIDEORENDERPARAMS_GETTER_CHECK_INPUT (obj, src_rect); [all...] |
| /hardware/qcom/display/msm8226/liboverlay/ |
| overlayMdp.cpp | 150 utils::getDecimationFactor(mOVInfo.src_rect.w, mOVInfo.src_rect.h, 162 utils::normalizeCrop(mOVInfo.src_rect.x, mOVInfo.src_rect.w); 163 utils::normalizeCrop(mOVInfo.src_rect.y, mOVInfo.src_rect.h); 170 (mOVInfo.src_rect.h % 4)) 171 mOVInfo.src_rect.h = utils::aligndown(mOVInfo.src_rect.h, 4); 174 (mOVInfo.src_rect.w % 4) [all...] |
| overlayMdssRot.cpp | 100 mRotInfo.src_rect.x = crop.x; 101 mRotInfo.src_rect.y = crop.y; 102 mRotInfo.src_rect.w = crop.w; 103 mRotInfo.src_rect.h = crop.h; 132 utils::normalizeCrop(mRotInfo.src_rect.x, mRotInfo.src_rect.w); 133 utils::normalizeCrop(mRotInfo.src_rect.y, mRotInfo.src_rect.h); 136 (mRotInfo.src_rect.h % 4)) 137 mRotInfo.src_rect.h = utils::aligndown(mRotInfo.src_rect.h, 4) [all...] |
| /hardware/qcom/display/msm8960/liboverlay/ |
| overlayMdpRot.cpp | 54 if((utils::ROT_DS_HALF == ds) && (mRotImgInfo.src_rect.h &0x3)) 55 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 4); 56 else if(((utils::ROT_DS_FOURTH == ds) && (mRotImgInfo.src_rect.h &0x7))) 57 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 8); 58 else if(((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h &0xf))) 59 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 16); 60 } else if ((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h & 0xF)) [all...] |
| /hardware/qcom/display/msm8084/liboverlay/ |
| overlayMdp.cpp | 135 mOVInfo.src_rect.x >>= mDownscale; 136 mOVInfo.src_rect.y >>= mDownscale; 137 mOVInfo.src_rect.w >>= mDownscale; 138 mOVInfo.src_rect.h >>= mDownscale; 144 if(mOVInfo.src_rect.w > 2048) { 155 utils::getDecimationFactor(mOVInfo.src_rect.w, mOVInfo.src_rect.h, 175 utils::normalizeCrop(mOVInfo.src_rect.x, mOVInfo.src_rect.w); 176 utils::normalizeCrop(mOVInfo.src_rect.y, mOVInfo.src_rect.h) [all...] |
| /hardware/qcom/display/msm8909/sdm/libs/core/ |
| resource_default.cpp | 464 const LayerRect &src_rect, const LayerRect &dst_rect, 468 float src_width = src_rect.right - src_rect.left; 473 SplitRect(src_rect, dst_rect, &left_pipe->src_roi, &left_pipe->dst_roi, &right_pipe->src_roi, 478 left_pipe->src_roi = src_rect; 488 const LayerRect &src_rect, const LayerRect &dst_rect, 505 crop_left = src_rect; 553 LayerRect src_rect = layer.src_rect; local 556 error = ValidateDimensions(src_rect, dst_rect) 722 const LayerRect &src_rect = pipe_info->src_roi; local [all...] |
| /hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
| resource_default.cpp | 464 const LayerRect &src_rect, const LayerRect &dst_rect, 468 float src_width = src_rect.right - src_rect.left; 473 SplitRect(src_rect, dst_rect, &left_pipe->src_roi, &left_pipe->dst_roi, &right_pipe->src_roi, 478 left_pipe->src_roi = src_rect; 488 const LayerRect &src_rect, const LayerRect &dst_rect, 505 crop_left = src_rect; 553 LayerRect src_rect = layer.src_rect; local 556 error = ValidateDimensions(src_rect, dst_rect) 722 const LayerRect &src_rect = pipe_info->src_roi; local [all...] |
| /hardware/qcom/display/msm8996/sdm/libs/core/ |
| resource_default.cpp | 427 const LayerRect &src_rect, const LayerRect &dst_rect, 431 float src_width = src_rect.right - src_rect.left; 436 SplitRect(src_rect, dst_rect, &left_pipe->src_roi, &left_pipe->dst_roi, &right_pipe->src_roi, 441 left_pipe->src_roi = src_rect; 451 const LayerRect &src_rect, const LayerRect &dst_rect, 468 crop_left = src_rect; 516 LayerRect src_rect = layer->src_rect; local 519 error = ValidateDimensions(src_rect, dst_rect) 685 const LayerRect &src_rect = pipe_info->src_roi; local [all...] |
| /hardware/qcom/display/msm8998/sdm/libs/core/ |
| resource_default.cpp | 464 const LayerRect &src_rect, const LayerRect &dst_rect, 468 float src_width = src_rect.right - src_rect.left; 473 SplitRect(src_rect, dst_rect, &left_pipe->src_roi, &left_pipe->dst_roi, &right_pipe->src_roi, 478 left_pipe->src_roi = src_rect; 488 const LayerRect &src_rect, const LayerRect &dst_rect, 505 crop_left = src_rect; 553 LayerRect src_rect = layer.src_rect; local 556 error = ValidateDimensions(src_rect, dst_rect) 722 const LayerRect &src_rect = pipe_info->src_roi; local [all...] |
| /hardware/qcom/display/msm8994/liboverlay/ |
| overlayMdp.cpp | 150 utils::getDecimationFactor(mOVInfo.src_rect.w, mOVInfo.src_rect.h, 162 utils::normalizeCrop(mOVInfo.src_rect.x, mOVInfo.src_rect.w); 163 utils::normalizeCrop(mOVInfo.src_rect.y, mOVInfo.src_rect.h); 170 (mOVInfo.src_rect.h % 4)) 171 mOVInfo.src_rect.h = utils::aligndown(mOVInfo.src_rect.h, 4); 174 (mOVInfo.src_rect.w % 4) [all...] |
| overlayMdssRot.cpp | 122 mRotInfo.src_rect.x = crop.x; 123 mRotInfo.src_rect.y = crop.y; 124 mRotInfo.src_rect.w = crop.w; 125 mRotInfo.src_rect.h = crop.h; 154 Dim adjCrop(mRotInfo.src_rect.x,mRotInfo.src_rect.y, 155 mRotInfo.src_rect.w,mRotInfo.src_rect.h); 160 mRotInfo.src_rect.x = adjCrop.x; 161 mRotInfo.src_rect.y = adjCrop.y [all...] |
| /hardware/qcom/msm8960/original-kernel-headers/linux/ |
| msm_rotator.h | 37 struct mdp_rect src_rect; member in struct:msm_rotator_img_info
|
| /hardware/qcom/msm8994/original-kernel-headers/linux/ |
| msm_rotator.h | 28 struct mdp_rect src_rect; member in struct:msm_rotator_img_info
|