Home
last modified time | relevance | path

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

123

/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
Dva_display.c157 const VARectangle *dst_rect in va_put_surface() argument
164 return g_display_hooks->put_surface(va_dpy, surface, src_rect, dst_rect); in va_put_surface()
Dva_display_drm.c64 const VARectangle *dst_rect in va_put_surface_drm() argument
/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()
DoverlayMdp.cpp151 mOVInfo.dst_rect.w, mOVInfo.dst_rect.h, mOVInfo.horz_deci, in doDownscale()
165 utils::even_floor(mOVInfo.dst_rect.w); in set()
166 utils::even_floor(mOVInfo.dst_rect.h); in set()
180 if (mOVInfo.src_rect.w - mOVInfo.dst_rect.w == 1) in set()
182 if (mOVInfo.src_rect.h - mOVInfo.dst_rect.h == 1) in set()
/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/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/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/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/msm8084/liboverlay/
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()
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()
DoverlayMdp.cpp156 mOVInfo.dst_rect.w, mOVInfo.dst_rect.h, horDscale, verDscale); in doDownscale()
178 utils::even_floor(mOVInfo.dst_rect.w); in set()
179 utils::even_floor(mOVInfo.dst_rect.h); in set()
193 if (mOVInfo.src_rect.w - mOVInfo.dst_rect.w == 1) in set()
195 if (mOVInfo.src_rect.h - mOVInfo.dst_rect.h == 1) in set()
/hardware/qcom/display/msm8974/liboverlay/
DoverlayMdssRot.cpp90 mRotInfo.dst_rect.x = 0; in setCrop()
91 mRotInfo.dst_rect.y = 0; in setCrop()
92 mRotInfo.dst_rect.w = crop.w; in setCrop()
93 mRotInfo.dst_rect.h = crop.h; in setCrop()
116 utils::swap(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in doTransform()
255 ovutils::Whf destWhf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in calcOutputBufSize()
DoverlayMdp.h325 return utils::Dim( mOVInfo.dst_rect.x, in getDstRectDim()
326 mOVInfo.dst_rect.y, in getDstRectDim()
327 mOVInfo.dst_rect.w, in getDstRectDim()
328 mOVInfo.dst_rect.h); in getDstRectDim()
332 mOVInfo.dst_rect.x = d.x; in setDstRectDim()
333 mOVInfo.dst_rect.y = d.y; in setDstRectDim()
334 mOVInfo.dst_rect.w = d.w; in setDstRectDim()
335 mOVInfo.dst_rect.h = d.h; in setDstRectDim()
DoverlayMdp.cpp132 mOVInfo.dst_rect.w, mOVInfo.dst_rect.h, mOVInfo.horz_deci, in doDownscale()
146 utils::even_floor(mOVInfo.dst_rect.w); in set()
147 utils::even_floor(mOVInfo.dst_rect.h); in set()
157 if (mOVInfo.src_rect.w - mOVInfo.dst_rect.w == 1) in set()
159 if (mOVInfo.src_rect.h - mOVInfo.dst_rect.h == 1) in set()
/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 …]
/hardware/qcom/display/msm8974/libcopybit/
Dcopybit.cpp168 e->dst_rect.x = clip.l; in set_rects()
169 e->dst_rect.y = clip.t; in set_rects()
170 e->dst_rect.w = clip.r - clip.l; in set_rects()
171 e->dst_rect.h = clip.b - clip.t; in set_rects()
257 l->req[i].dst_rect.x, in msm_copybit()
258 l->req[i].dst_rect.y, in msm_copybit()
259 l->req[i].dst_rect.w, in msm_copybit()
260 l->req[i].dst_rect.h, in msm_copybit()
420 struct copybit_rect_t const *dst_rect, in stretch_copybit() argument
504 set_rects(ctx, req, dst_rect, src_rect, &clip, src->horiz_padding, src->vert_padding); in stretch_copybit()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp3365 overlayp->dst_rect.x = 0; in overlay_set()
3366 overlayp->dst_rect.w = vinfo.xres; in overlay_set()
3370 overlayp->dst_rect.x = (vinfo.xres - width)/2; in overlay_set()
3371 overlayp->dst_rect.w = width; in overlay_set()
3376 overlayp->dst_rect.h = (overlayp->dst_rect.w * height)/width; in overlay_set()
3377 overlayp->dst_rect.y = 0; in overlay_set()
3378 if (overlayp->dst_rect.h < vinfo.yres) in overlay_set()
3379 overlayp->dst_rect.y = (vinfo.yres - overlayp->dst_rect.h)/2; in overlay_set()
3383 overlayp->dst_rect.y = (vinfo.yres - height)/2; in overlay_set()
3384 overlayp->dst_rect.h = height; in overlay_set()
[all …]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp3779 overlayp->dst_rect.x = 0; in overlay_set()
3780 overlayp->dst_rect.w = vinfo.xres; in overlay_set()
3782 overlayp->dst_rect.x = (vinfo.xres - width)/2; in overlay_set()
3783 overlayp->dst_rect.w = width; in overlay_set()
3787 overlayp->dst_rect.h = (overlayp->dst_rect.w * height)/width; in overlay_set()
3788 overlayp->dst_rect.y = 0; in overlay_set()
3789 if (overlayp->dst_rect.h < vinfo.yres) in overlay_set()
3790 overlayp->dst_rect.y = (vinfo.yres - overlayp->dst_rect.h)/2; in overlay_set()
3792 overlayp->dst_rect.h = vinfo.yres; in overlay_set()
3794 overlayp->dst_rect.y = (vinfo.yres - height)/2; in overlay_set()
[all …]

123