Home
last modified time | relevance | path

Searched refs:dst_rect (Results 1 – 25 of 141) sorted by relevance

123456

/hardware/qcom/display/msm8226/liboverlay/
DoverlayMdssRot.cpp72 return utils::Whf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in getDstWhf()
77 return utils::Dim(mRotInfo.dst_rect.x, mRotInfo.dst_rect.y, in getDstDimensions()
78 mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in getDstDimensions()
127 utils::swap(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in doTransform()
140 mRotInfo.dst_rect.x = 0; in commit()
141 mRotInfo.dst_rect.y = 0; in commit()
142 mRotInfo.dst_rect.w = mRotInfo.src_rect.w; in commit()
143 mRotInfo.dst_rect.h = mRotInfo.src_rect.h; in commit()
274 ovutils::Whf destWhf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in calcOutputBufSize()
DoverlayMdp.h256 return utils::Dim( mOVInfo.dst_rect.x, in getDstRectDim()
257 mOVInfo.dst_rect.y, in getDstRectDim()
258 mOVInfo.dst_rect.w, in getDstRectDim()
259 mOVInfo.dst_rect.h); in getDstRectDim()
263 mOVInfo.dst_rect.x = d.x; in setDstRectDim()
264 mOVInfo.dst_rect.y = d.y; in setDstRectDim()
265 mOVInfo.dst_rect.w = d.w; in setDstRectDim()
266 mOVInfo.dst_rect.h = d.h; in setDstRectDim()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayMdssRot.cpp81 return utils::Whf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in getDstWhf()
86 return utils::Dim(mRotInfo.dst_rect.x, mRotInfo.dst_rect.y, in getDstDimensions()
87 mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in getDstDimensions()
150 utils::swap(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in doTransform()
165 mRotInfo.dst_rect.x = 0; in commit()
166 mRotInfo.dst_rect.y = 0; in commit()
167 mRotInfo.dst_rect.w = mDownscale ? in commit()
169 mRotInfo.dst_rect.h = mDownscale ? in commit()
311 ovutils::Whf destWhf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in calcOutputBufSize()
DoverlayMdp.h250 return utils::Dim( mOVInfo.dst_rect.x, in getDstRectDim()
251 mOVInfo.dst_rect.y, in getDstRectDim()
252 mOVInfo.dst_rect.w, in getDstRectDim()
253 mOVInfo.dst_rect.h); in getDstRectDim()
257 mOVInfo.dst_rect.x = d.x; in setDstRectDim()
258 mOVInfo.dst_rect.y = d.y; in setDstRectDim()
259 mOVInfo.dst_rect.w = d.w; in setDstRectDim()
260 mOVInfo.dst_rect.h = d.h; in setDstRectDim()
/hardware/qcom/display/msm8996/sdm/libs/core/
Dresource_default.cpp427 const LayerRect &src_rect, const LayerRect &dst_rect, in SrcSplitConfig() argument
432 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig()
436 SplitRect(src_rect, dst_rect, &left_pipe->src_roi, &left_pipe->dst_roi, &right_pipe->src_roi, in SrcSplitConfig()
442 left_pipe->dst_roi = dst_rect; in SrcSplitConfig()
451 const LayerRect &src_rect, const LayerRect &dst_rect, in DisplaySplitConfig() argument
469 dst_left = dst_rect; in DisplaySplitConfig()
517 LayerRect dst_rect = layer->dst_rect; in Config() local
519 error = ValidateDimensions(src_rect, dst_rect); in Config()
525 error = ValidateScaling(src_rect, dst_rect, false /*rotated90 */, ubwc_tiled, in Config()
532 error = SrcSplitConfig(display_resource_ctx, src_rect, dst_rect, layer_config); in Config()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/core/
Dresource_default.cpp464 const LayerRect &src_rect, const LayerRect &dst_rect, in SrcSplitConfig() argument
469 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig()
473 SplitRect(src_rect, dst_rect, &left_pipe->src_roi, &left_pipe->dst_roi, &right_pipe->src_roi, in SrcSplitConfig()
479 left_pipe->dst_roi = dst_rect; in SrcSplitConfig()
488 const LayerRect &src_rect, const LayerRect &dst_rect, in DisplaySplitConfig() argument
506 dst_left = dst_rect; in DisplaySplitConfig()
554 LayerRect dst_rect = layer.dst_rect; in Config() local
556 error = ValidateDimensions(src_rect, dst_rect); in Config()
562 error = ValidateScaling(src_rect, dst_rect, false /*rotated90 */, layout, in Config()
569 error = SrcSplitConfig(display_resource_ctx, src_rect, dst_rect, layer_config); in Config()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Dresource_default.cpp464 const LayerRect &src_rect, const LayerRect &dst_rect, in SrcSplitConfig() argument
469 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig()
473 SplitRect(src_rect, dst_rect, &left_pipe->src_roi, &left_pipe->dst_roi, &right_pipe->src_roi, in SrcSplitConfig()
479 left_pipe->dst_roi = dst_rect; in SrcSplitConfig()
488 const LayerRect &src_rect, const LayerRect &dst_rect, in DisplaySplitConfig() argument
506 dst_left = dst_rect; in DisplaySplitConfig()
554 LayerRect dst_rect = layer.dst_rect; in Config() local
556 error = ValidateDimensions(src_rect, dst_rect); in Config()
562 error = ValidateScaling(src_rect, dst_rect, false /*rotated90 */, layout, in Config()
569 error = SrcSplitConfig(display_resource_ctx, src_rect, dst_rect, layer_config); in Config()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/core/
Dresource_default.cpp464 const LayerRect &src_rect, const LayerRect &dst_rect, in SrcSplitConfig() argument
469 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig()
473 SplitRect(src_rect, dst_rect, &left_pipe->src_roi, &left_pipe->dst_roi, &right_pipe->src_roi, in SrcSplitConfig()
479 left_pipe->dst_roi = dst_rect; in SrcSplitConfig()
488 const LayerRect &src_rect, const LayerRect &dst_rect, in DisplaySplitConfig() argument
506 dst_left = dst_rect; in DisplaySplitConfig()
554 LayerRect dst_rect = layer.dst_rect; in Config() local
556 error = ValidateDimensions(src_rect, dst_rect); in Config()
562 error = ValidateScaling(src_rect, dst_rect, false /*rotated90 */, layout, in Config()
569 error = SrcSplitConfig(display_resource_ctx, src_rect, dst_rect, layer_config); in Config()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/
Dresource_default.cpp464 const LayerRect &src_rect, const LayerRect &dst_rect, in SrcSplitConfig() argument
469 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig()
473 SplitRect(src_rect, dst_rect, &left_pipe->src_roi, &left_pipe->dst_roi, &right_pipe->src_roi, in SrcSplitConfig()
479 left_pipe->dst_roi = dst_rect; in SrcSplitConfig()
488 const LayerRect &src_rect, const LayerRect &dst_rect, in DisplaySplitConfig() argument
506 dst_left = dst_rect; in DisplaySplitConfig()
554 LayerRect dst_rect = layer.dst_rect; in Config() local
556 error = ValidateDimensions(src_rect, dst_rect); in Config()
562 error = ValidateScaling(src_rect, dst_rect, false /*rotated90 */, layout, in Config()
569 error = SrcSplitConfig(display_resource_ctx, src_rect, dst_rect, layer_config); in Config()
[all …]
/hardware/qcom/display/msm8996/libcopybit/
Dcopybit.cpp181 e->dst_rect.x = clip.l; in set_rects()
182 e->dst_rect.y = clip.t; in set_rects()
183 e->dst_rect.w = clip.r - clip.l; in set_rects()
184 e->dst_rect.h = clip.b - clip.t; in set_rects()
277 l->req[i].dst_rect.x, in msm_copybit()
278 l->req[i].dst_rect.y, in msm_copybit()
279 l->req[i].dst_rect.w, in msm_copybit()
280 l->req[i].dst_rect.h, in msm_copybit()
443 struct copybit_rect_t const *dst_rect, in stretch_copybit() argument
542 if (set_rects(ctx, req, dst_rect, src_rect, &clip) == false) in stretch_copybit()
[all …]
/hardware/qcom/sdm845/display/libcopybit/
Dcopybit.cpp183 e->dst_rect.x = clip.l; in set_rects()
184 e->dst_rect.y = clip.t; in set_rects()
185 e->dst_rect.w = clip.r - clip.l; in set_rects()
186 e->dst_rect.h = clip.b - clip.t; in set_rects()
279 l->req[i].dst_rect.x, in msm_copybit()
280 l->req[i].dst_rect.y, in msm_copybit()
281 l->req[i].dst_rect.w, in msm_copybit()
282 l->req[i].dst_rect.h, in msm_copybit()
445 struct copybit_rect_t const *dst_rect, in stretch_copybit() argument
544 if (set_rects(ctx, req, dst_rect, src_rect, &clip) == false) in stretch_copybit()
[all …]
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit.cpp172 e->dst_rect.x = clip.l; in set_rects()
173 e->dst_rect.y = clip.t; in set_rects()
174 e->dst_rect.w = clip.r - clip.l; in set_rects()
175 e->dst_rect.h = clip.b - clip.t; in set_rects()
266 l->req[i].dst_rect.x, in msm_copybit()
267 l->req[i].dst_rect.y, in msm_copybit()
268 l->req[i].dst_rect.w, in msm_copybit()
269 l->req[i].dst_rect.h, in msm_copybit()
428 struct copybit_rect_t const *dst_rect, in stretch_copybit() argument
523 set_rects(ctx, req, dst_rect, src_rect, &clip); in stretch_copybit()
[all …]
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit.cpp183 e->dst_rect.x = clip.l; in set_rects()
184 e->dst_rect.y = clip.t; in set_rects()
185 e->dst_rect.w = clip.r - clip.l; in set_rects()
186 e->dst_rect.h = clip.b - clip.t; in set_rects()
279 l->req[i].dst_rect.x, in msm_copybit()
280 l->req[i].dst_rect.y, in msm_copybit()
281 l->req[i].dst_rect.w, in msm_copybit()
282 l->req[i].dst_rect.h, in msm_copybit()
445 struct copybit_rect_t const *dst_rect, in stretch_copybit() argument
544 if (set_rects(ctx, req, dst_rect, src_rect, &clip) == false) in stretch_copybit()
[all …]
/hardware/qcom/display/msm8909w_3100/libcopybit/
Dcopybit.cpp183 e->dst_rect.x = clip.l; in set_rects()
184 e->dst_rect.y = clip.t; in set_rects()
185 e->dst_rect.w = clip.r - clip.l; in set_rects()
186 e->dst_rect.h = clip.b - clip.t; in set_rects()
279 l->req[i].dst_rect.x, in msm_copybit()
280 l->req[i].dst_rect.y, in msm_copybit()
281 l->req[i].dst_rect.w, in msm_copybit()
282 l->req[i].dst_rect.h, in msm_copybit()
445 struct copybit_rect_t const *dst_rect, in stretch_copybit() argument
544 if (set_rects(ctx, req, dst_rect, src_rect, &clip) == false) in stretch_copybit()
[all …]
/hardware/qcom/display/msm8998/libcopybit/
Dcopybit.cpp181 e->dst_rect.x = clip.l; in set_rects()
182 e->dst_rect.y = clip.t; in set_rects()
183 e->dst_rect.w = clip.r - clip.l; in set_rects()
184 e->dst_rect.h = clip.b - clip.t; in set_rects()
277 l->req[i].dst_rect.x, in msm_copybit()
278 l->req[i].dst_rect.y, in msm_copybit()
279 l->req[i].dst_rect.w, in msm_copybit()
280 l->req[i].dst_rect.h, in msm_copybit()
443 struct copybit_rect_t const *dst_rect, in stretch_copybit() argument
542 if (set_rects(ctx, req, dst_rect, src_rect, &clip) == false) in stretch_copybit()
[all …]
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit.cpp169 e->dst_rect.x = clip.l; in set_rects()
170 e->dst_rect.y = clip.t; in set_rects()
171 e->dst_rect.w = clip.r - clip.l; in set_rects()
172 e->dst_rect.h = clip.b - clip.t; in set_rects()
263 l->req[i].dst_rect.x, in msm_copybit()
264 l->req[i].dst_rect.y, in msm_copybit()
265 l->req[i].dst_rect.w, in msm_copybit()
266 l->req[i].dst_rect.h, in msm_copybit()
425 struct copybit_rect_t const *dst_rect, in stretch_copybit() argument
510 set_rects(ctx, req, dst_rect, src_rect, &clip); in stretch_copybit()
[all …]
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit.cpp169 e->dst_rect.x = clip.l; in set_rects()
170 e->dst_rect.y = clip.t; in set_rects()
171 e->dst_rect.w = clip.r - clip.l; in set_rects()
172 e->dst_rect.h = clip.b - clip.t; in set_rects()
263 l->req[i].dst_rect.x, in msm_copybit()
264 l->req[i].dst_rect.y, in msm_copybit()
265 l->req[i].dst_rect.w, in msm_copybit()
266 l->req[i].dst_rect.h, in msm_copybit()
425 struct copybit_rect_t const *dst_rect, in stretch_copybit() argument
510 set_rects(ctx, req, dst_rect, src_rect, &clip); in stretch_copybit()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dblit_engine_c2d.cpp335 int width = INT(layer->dst_rect.right - layer->dst_rect.left); in PreCommit()
336 int height = INT(layer->dst_rect.bottom - layer->dst_rect.top); in PreCommit()
351 (layer->dst_rect.right - layer->dst_rect.left); in PreCommit()
353 (layer->dst_rect.bottom - layer->dst_rect.top)); in PreCommit()
429 LayerRect inter_sect = Intersection(layer->dst_rect, bottom_layer->dst_rect); in Commit()
505 copybit_rect_t dst_rect = {INT(blit_dest_Rect.left), INT(blit_dest_Rect.top), in DrawRectUsingCopybit() local
518 region_rect.left = FLOAT(dst_rect.l); in DrawRectUsingCopybit()
519 region_rect.top = FLOAT(dst_rect.t); in DrawRectUsingCopybit()
520 region_rect.right = FLOAT(dst_rect.r); in DrawRectUsingCopybit()
521 region_rect.bottom = FLOAT(dst_rect.b); in DrawRectUsingCopybit()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dblit_engine_c2d.cpp343 int width = INT(layer->dst_rect.right - layer->dst_rect.left); in PreCommit()
344 int height = INT(layer->dst_rect.bottom - layer->dst_rect.top); in PreCommit()
364 (layer->dst_rect.right - layer->dst_rect.left); in PreCommit()
366 (layer->dst_rect.bottom - layer->dst_rect.top)); in PreCommit()
444 LayerRect inter_sect = Intersection(layer->dst_rect, bottom_layer->dst_rect); in Commit()
520 copybit_rect_t dst_rect = {INT(blit_dest_Rect.left), INT(blit_dest_Rect.top), in DrawRectUsingCopybit() local
533 region_rect.left = FLOAT(dst_rect.l); in DrawRectUsingCopybit()
534 region_rect.top = FLOAT(dst_rect.t); in DrawRectUsingCopybit()
535 region_rect.right = FLOAT(dst_rect.r); in DrawRectUsingCopybit()
536 region_rect.bottom = FLOAT(dst_rect.b); in DrawRectUsingCopybit()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dblit_engine_c2d.cpp343 int width = INT(layer->dst_rect.right - layer->dst_rect.left); in PreCommit()
344 int height = INT(layer->dst_rect.bottom - layer->dst_rect.top); in PreCommit()
364 (layer->dst_rect.right - layer->dst_rect.left); in PreCommit()
366 (layer->dst_rect.bottom - layer->dst_rect.top)); in PreCommit()
444 LayerRect inter_sect = Intersection(layer->dst_rect, bottom_layer->dst_rect); in Commit()
520 copybit_rect_t dst_rect = {INT(blit_dest_Rect.left), INT(blit_dest_Rect.top), in DrawRectUsingCopybit() local
533 region_rect.left = FLOAT(dst_rect.l); in DrawRectUsingCopybit()
534 region_rect.top = FLOAT(dst_rect.t); in DrawRectUsingCopybit()
535 region_rect.right = FLOAT(dst_rect.r); in DrawRectUsingCopybit()
536 region_rect.bottom = FLOAT(dst_rect.b); in DrawRectUsingCopybit()
[all …]
/hardware/qcom/display/msm8084/liboverlay/
DoverlayMdp.h286 return utils::Dim( mOVInfo.dst_rect.x, in getDstRectDim()
287 mOVInfo.dst_rect.y, in getDstRectDim()
288 mOVInfo.dst_rect.w, in getDstRectDim()
289 mOVInfo.dst_rect.h); in getDstRectDim()
293 mOVInfo.dst_rect.x = d.x; in setDstRectDim()
294 mOVInfo.dst_rect.y = d.y; in setDstRectDim()
295 mOVInfo.dst_rect.w = d.w; in setDstRectDim()
296 mOVInfo.dst_rect.h = d.h; in setDstRectDim()
DoverlayMdssRot.cpp91 mRotInfo.dst_rect.x = 0; in setCrop()
92 mRotInfo.dst_rect.y = 0; in setCrop()
93 mRotInfo.dst_rect.w = crop.w; in setCrop()
94 mRotInfo.dst_rect.h = crop.h; in setCrop()
118 utils::swap(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in doTransform()
250 ovutils::Whf destWhf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in calcOutputBufSize()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayMdp.h324 return utils::Dim( mOVInfo.dst_rect.x, in getDstRectDim()
325 mOVInfo.dst_rect.y, in getDstRectDim()
326 mOVInfo.dst_rect.w, in getDstRectDim()
327 mOVInfo.dst_rect.h); in getDstRectDim()
331 mOVInfo.dst_rect.x = d.x; in setDstRectDim()
332 mOVInfo.dst_rect.y = d.y; in setDstRectDim()
333 mOVInfo.dst_rect.w = d.w; in setDstRectDim()
334 mOVInfo.dst_rect.h = d.h; in setDstRectDim()
DoverlayMdssRot.cpp84 mRotInfo.dst_rect.w = whf.w; in setSource()
85 mRotInfo.dst_rect.h = whf.h; in setSource()
114 utils::swap(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in doTransform()
253 ovutils::Whf destWhf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in calcOutputBufSize()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit.cpp165 e->dst_rect.x = clip.l; in set_rects()
166 e->dst_rect.y = clip.t; in set_rects()
167 e->dst_rect.w = clip.r - clip.l; in set_rects()
168 e->dst_rect.h = clip.b - clip.t; in set_rects()
254 l->req[i].dst_rect.x, in msm_copybit()
255 l->req[i].dst_rect.y, in msm_copybit()
256 l->req[i].dst_rect.w, in msm_copybit()
257 l->req[i].dst_rect.h, in msm_copybit()
384 struct copybit_rect_t const *dst_rect, in stretch_copybit() argument
470 set_rects(ctx, req, dst_rect, src_rect, &clip, src->horiz_padding, src->vert_padding); in stretch_copybit()
[all …]

123456