Home
last modified time | relevance | path

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

1234

/hardware/intel/common/libva/test/common/
Dva_display_android.cpp84 const VARectangle *dst_rect in va_put_surface_android() argument
88 create_window(dst_rect->x, dst_rect->y, dst_rect->width, dst_rect->height); in va_put_surface_android()
93 dst_rect->x, dst_rect->y, in va_put_surface_android()
94 dst_rect->width, dst_rect->height, in va_put_surface_android()
Dva_display_x11.c109 const VARectangle *dst_rect in va_put_surface_x11() argument
118 if (!validate_rect(src_rect) || !validate_rect(dst_rect)) in va_put_surface_x11()
121 win_width = dst_rect->x + dst_rect->width; in va_put_surface_x11()
122 win_height = dst_rect->y + dst_rect->height; in va_put_surface_x11()
128 dst_rect->x, dst_rect->y, in va_put_surface_x11()
129 dst_rect->width, dst_rect->height, in va_put_surface_x11()
Dva_display_wayland.c163 const VARectangle *dst_rect in va_put_surface_wayland() argument
170 if (!ensure_window(va_dpy, dst_rect->width, dst_rect->height)) in va_put_surface_wayland()
180 dst_rect->x, dst_rect->y, dst_rect->width, dst_rect->height in va_put_surface_wayland()
Dva_display.h40 const VARectangle *dst_rect);
57 const VARectangle *dst_rect
/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/intel/common/libva/test/putsurface/
Dputsurface_wayland.c51 const VARectangle *dst_rect,
84 VARectangle src_rect, dst_rect; in vaPutSurface() local
91 dst_rect.x = src_x; in vaPutSurface()
92 dst_rect.y = src_y; in vaPutSurface()
93 dst_rect.width = src_w; in vaPutSurface()
94 dst_rect.height = src_h; in vaPutSurface()
95 return va_put_surface(dpy, wl_drawable, surface, &src_rect, &dst_rect, in vaPutSurface()
134 const VARectangle *dst_rect, in va_put_surface() argument
166 dst_rect->x, dst_rect->y, dst_rect->width, dst_rect->height in va_put_surface()
/hardware/intel/common/libmix/mix_video/src/
Dmixvideorenderparams.c45 memset(&(self->dst_rect), 0, sizeof(MixRect)); in mix_videorenderparams_init()
178 this_target->dst_rect = this_src->dst_rect; in mix_videorenderparams_copy()
222 this_second->src_rect) && mix_rect_equal(this_first->dst_rect, in mix_videorenderparams_equal()
223 this_second->dst_rect) && this_first->number_of_clipping_rects in mix_videorenderparams_equal()
303 MixRect dst_rect) { in mix_videorenderparams_set_dest_rect() argument
307 obj->dst_rect = dst_rect; in mix_videorenderparams_set_dest_rect()
313 MixRect * dst_rect) { in mix_videorenderparams_get_dest_rect() argument
315 MIX_VIDEORENDERPARAMS_GETTER_CHECK_INPUT (obj, dst_rect); in mix_videorenderparams_get_dest_rect()
317 *dst_rect = obj->dst_rect; in mix_videorenderparams_get_dest_rect()
Dmixvideorenderparams.h76 MixRect dst_rect; member
147 MixRect dst_rect);
149 MixRect * dst_rect);
/hardware/qcom/display/msm8996/sdm/libs/core/
Dresource_default.cpp420 const LayerRect &src_rect, const LayerRect &dst_rect, in SrcSplitConfig() argument
425 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig()
429 SplitRect(src_rect, dst_rect, &left_pipe->src_roi, &left_pipe->dst_roi, &right_pipe->src_roi, in SrcSplitConfig()
435 left_pipe->dst_roi = dst_rect; in SrcSplitConfig()
444 const LayerRect &src_rect, const LayerRect &dst_rect, in DisplaySplitConfig() argument
462 dst_left = dst_rect; in DisplaySplitConfig()
510 LayerRect dst_rect = layer.dst_rect; in Config() local
512 error = ValidateDimensions(src_rect, dst_rect); in Config()
518 error = ValidateScaling(src_rect, dst_rect, false /*rotated90 */, ubwc_tiled, in Config()
525 error = SrcSplitConfig(display_resource_ctx, src_rect, dst_rect, layer_config); in Config()
[all …]
/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/msm8909/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/intel/common/libva/test/decode/
Dmpeg2vldemo.cpp257 VARectangle src_rect, dst_rect; in main() local
264 dst_rect.x = 0; in main()
265 dst_rect.y = 0; in main()
266 dst_rect.width = WIN_WIDTH; in main()
267 dst_rect.height = WIN_HEIGHT; in main()
269 va_status = va_put_surface(va_dpy, surface_id, &src_rect, &dst_rect); in main()
/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/msm8909/libcopybit/
Dcopybit.cpp178 e->dst_rect.x = clip.l; in set_rects()
179 e->dst_rect.y = clip.t; in set_rects()
180 e->dst_rect.w = clip.r - clip.l; in set_rects()
181 e->dst_rect.h = clip.b - clip.t; in set_rects()
274 l->req[i].dst_rect.x, in msm_copybit()
275 l->req[i].dst_rect.y, in msm_copybit()
276 l->req[i].dst_rect.w, in msm_copybit()
277 l->req[i].dst_rect.h, in msm_copybit()
440 struct copybit_rect_t const *dst_rect, in stretch_copybit() argument
537 if (set_rects(ctx, req, dst_rect, src_rect, &clip) == false) 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/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/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/display/msm8996/sdm/libs/hwc/
Dblit_engine_c2d.cpp341 int width = INT(layer.dst_rect.right - layer.dst_rect.left); in PreCommit()
342 int height = INT(layer.dst_rect.bottom - layer.dst_rect.top); in PreCommit()
357 (layer.dst_rect.right - layer.dst_rect.left); in PreCommit()
359 (layer.dst_rect.bottom - layer.dst_rect.top)); in PreCommit()
437 LayerRect inter_sect = Intersection(layer.dst_rect, bottom_layer.dst_rect); in Commit()
512 copybit_rect_t dst_rect = {INT(blit_dest_Rect.left), INT(blit_dest_Rect.top), in DrawRectUsingCopybit() local
525 region_rect.left = FLOAT(dst_rect.l); in DrawRectUsingCopybit()
526 region_rect.top = FLOAT(dst_rect.t); in DrawRectUsingCopybit()
527 region_rect.right = FLOAT(dst_rect.r); in DrawRectUsingCopybit()
528 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()
/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 …]

1234