Searched defs:src_h (Results 1 - 25 of 29) sorted by relevance

12

/hardware/intel/common/libva/test/putsurface/
H A Dputsurface_wayland.c74 unsigned short src_h,
89 src_rect.height = src_h;
94 dst_rect.height = src_h;
67 vaPutSurface( VADisplay dpy, VASurfaceID surface, struct drawable *wl_drawable, short src_x, short src_y, unsigned short src_w, unsigned short src_h, short dst_x, short dst_y, unsigned short dst_w, unsigned short dst_h, const VARectangle *cliprects, unsigned int num_cliprects, unsigned int flags ) argument
/hardware/qcom/display/msm8226/liboverlay/
H A DoverlayUtils.cpp251 int getDownscaleFactor(const int& src_w, const int& src_h, argument
261 float fDscale = (float)(src_w * src_h) / (float)(dst_w * dst_h);
281 void getDecimationFactor(const int& src_w, const int& src_h, argument
287 float verDscale = ceilf((float)src_h / (float)dst_h);
/hardware/qcom/display/msm8084/liboverlay/
H A DoverlayUtils.cpp257 int getDownscaleFactor(const int& src_w, const int& src_h, argument
267 float fDscale = (float)(src_w * src_h) / (float)(dst_w * dst_h);
287 void getDecimationFactor(const int& src_w, const int& src_h, argument
291 verDscale = ceilf((float)src_h / (float)dst_h);
/hardware/qcom/display/msm8960/liboverlay/
H A DoverlayUtils.cpp183 int getDownscaleFactor(const int& src_w, const int& src_h, argument
196 float fDscale = sqrtf((float)(src_w * src_h) / (float)(dst_w * dst_h)) +
/hardware/qcom/display/msm8974/liboverlay/
H A DoverlayUtils.cpp220 int getDownscaleFactor(const int& src_w, const int& src_h, argument
233 float fDscale = sqrtf((float)(src_w * src_h) / (float)(dst_w * dst_h)) +
260 void getDecimationFactor(const int& src_w, const int& src_h, argument
266 float verDscale = ceilf((float)src_h / (float)dst_h);
/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_copybit.cpp175 int dst_h, dst_w, src_h, src_w; local
183 src_h = sourceCrop.right - sourceCrop.left;
186 src_h = sourceCrop.bottom - sourceCrop.top;
192 if(src_w <=0 || src_h<=0 ||dst_w<=0 || dst_h<=0 ) {
195 __FUNCTION__, dst_w,src_w,dst_h,src_h);
199 dy = (float)dst_h/(float)src_h;
H A Dhwc_utils.cpp701 int dst_w, dst_h, src_w, src_h; local
705 src_h = sourceCrop.bottom - sourceCrop.top;
707 if(((src_w > dst_w) || (src_h > dst_h)))
713 int dst_w, dst_h, src_w, src_h; local
720 src_h = sourceCrop.bottom - sourceCrop.top;
722 if(((src_w != dst_w) || (src_h != dst_h)))
2160 int src_h = crop.bottom - crop.top; local
2164 swap(src_w, src_h);
2170 ovutils::getDecimationFactor(src_w, src_h, dst_w, dst_h, horDscale,
/hardware/intel/img/psb_video/src/
H A Dpsb_output.c1284 unsigned short src_h,
1358 surface_subpic->subpic_srch = src_h;
1697 unsigned short src_h,
1747 src_x, src_y, src_w, src_h,
1277 psb__LinkSubpictIntoSurface( psb_driver_data_p driver_data, object_surface_p obj_surface, object_subpic_p obj_subpic, short src_x, short src_y, unsigned short src_w, unsigned short src_h, short dest_x, short dest_y, unsigned short dest_w, unsigned short dest_h, int update ) argument
1689 psb__AssociateSubpicture( VADriverContextP ctx, VASubpictureID subpicture, VASurfaceID *target_surfaces, int num_surfaces, short src_x, short src_y, unsigned short src_w, unsigned short src_h, short dest_x, short dest_y, unsigned short dest_w, unsigned short dest_h, unsigned int flags ) argument
H A Dpsb_overlay.c415 short src_w, short src_h, short drw_w, short drw_h,
610 if (src_w == drw_w && src_h == drw_h) {
615 yscaleFract = ((src_h - 1) << 12) / (deinterlace_factor * drw_h);
855 int src_w = *src_w_new, src_h = *src_h_new; local
877 src_w = src_h;
878 src_h = tmp;
900 src_w = src_h;
901 src_h = tmp;
919 *src_h_new = src_h;
930 short __maybe_unused src_w, short __maybe_unused src_h,
411 i830_display_video( VADriverContextP ctx, PsbPortPrivPtr pPriv, VASurfaceID __maybe_unused surface, int id, short width, short height, int dstPitch, int srcPitch, int __maybe_unused x1, int __maybe_unused y1, int __maybe_unused x2, int __maybe_unused y2, BoxPtr dstBox, short src_w, short src_h, short drw_w, short drw_h, unsigned int flags, int overlayId, int pipeId) argument
926 I830PutImageFlipRotateDebug( VADriverContextP ctx, VASurfaceID surface, short __maybe_unused src_x, short __maybe_unused src_y, short __maybe_unused src_w, short __maybe_unused src_h, short __maybe_unused drw_x, short __maybe_unused drw_y, short __maybe_unused drw_w, short __maybe_unused drw_h, int __maybe_unused fourcc, int __maybe_unused flags, int __maybe_unused overlayId, int pipeId) argument
1018 I830PutImage( VADriverContextP ctx, VASurfaceID surface, int src_x, int src_y, int src_w, int src_h, int drw_x, int drw_y, int drw_w, int drw_h, int fourcc, int flags, int overlayId, int pipeId) argument
[all...]
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_copybit.cpp313 int dst_h, dst_w, src_h, src_w; local
321 src_h = sourceCrop.right - sourceCrop.left;
324 src_h = sourceCrop.bottom - sourceCrop.top;
330 if(src_w <=0 || src_h<=0 ||dst_w<=0 || dst_h<=0 ) {
333 __FUNCTION__, dst_w,src_w,dst_h,src_h);
337 dy = (float)dst_h/(float)src_h;
H A Dhwc_utils.cpp688 int dst_w, dst_h, src_w, src_h; local
692 src_h = sourceCrop.bottom - sourceCrop.top;
694 if(((src_w > dst_w) || (src_h > dst_h)))
700 int dst_w, dst_h, src_w, src_h; local
707 src_h = sourceCrop.bottom - sourceCrop.top;
709 if(((src_w != dst_w) || (src_h != dst_h)))
2177 int src_h = crop.bottom - crop.top; local
2181 swap(src_w, src_h);
2191 ovutils::getDecimationFactor(src_w, src_h, dst_w, dst_h, horzDeci,
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_utils.cpp362 int dst_w, dst_h, src_w, src_h; local
371 src_h = sourceCrop.bottom - sourceCrop.top;
373 if(((src_w != dst_w) || (src_h != dst_h)))
/hardware/qcom/display/msm8974/libhwcomposer/
H A Dhwc_utils.cpp305 int dst_w, dst_h, src_w, src_h; local
314 src_h = sourceCrop.bottom - sourceCrop.top;
316 if(((src_w != dst_w) || (src_h != dst_h)))
1169 int src_h = crop.bottom - crop.top; local
1173 swap(src_w, src_h);
1187 ovutils::getDecimationFactor(src_w, src_h, dst_w, dst_h, horzDeci,
/hardware/qcom/msm8x74/kernel-headers/media/
H A Dmsmb_pproc.h146 uint32_t src_h; member in struct:msm_vpe_frame_strip_info
/hardware/qcom/msm8x74/original-kernel-headers/media/
H A Dmsmb_pproc.h129 uint32_t src_h; member in struct:msm_vpe_frame_strip_info
/hardware/qcom/msm8x84/kernel-headers/media/
H A Dmsmb_pproc.h187 uint32_t src_h; member in struct:msm_vpe_frame_strip_info
/hardware/qcom/msm8x84/original-kernel-headers/media/
H A Dmsmb_pproc.h174 uint32_t src_h; member in struct:msm_vpe_frame_strip_info
/hardware/samsung_slsi/exynos5/include/
H A Dfimg2d.h200 int src_w, src_h; member in struct:fimg2d_scale
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
H A Dfimg2d.h294 int src_w, src_h; member in struct:fimg2d_scale
/hardware/qcom/msm8960/original-kernel-headers/media/
H A Dmsm_isp.h329 uint32_t src_h; member in struct:msm_pp_crop
/hardware/samsung_slsi/exynos5/libhwc/
H A Dhwc.cpp383 int src_w = WIDTH(layer.sourceCrop), src_h = HEIGHT(layer.sourceCrop); local
408 src_h < dest_h * max_downscale &&
409 dest_h <= src_h * max_upscale &&
/hardware/ti/omap4xxx/hwc/
H A Dhwc.c717 static int omap4_hwc_can_scale(__u32 src_w, __u32 src_h, __u32 dst_w, __u32 dst_h, int is_2d, argument
723 __u32 min_src_h = DIV_ROUND_UP(src_h, is_2d ? limits->max_ydecim_2d : limits->max_ydecim_1d);
733 if (dst_h < src_h / 4)
763 int src_h = HEIGHT(layer->sourceCrop); local
769 swap(src_w, src_h);
773 return omap4_hwc_can_scale(src_w, src_h, dst_w, dst_h, is_NV12(handle), &hwc_dev->fb_dis, &limits,
/hardware/samsung_slsi/exynos5/libcamera/
H A DExynosCamera.cpp3577 bool ExynosCamera::m_getCropRect(unsigned int src_w, unsigned int src_h, argument
3588 *crop_h = src_h;
3591 || src_h != dst_h) {
3596 src_ratio = (float)src_w / (float)src_h;
3608 *crop_w = src_h * dst_ratio;
3609 *crop_h = src_h;
3649 *crop_y = (src_h - *crop_h) >> 1;
H A DExynosCameraHWInterface.cpp4034 bool ExynosCameraHWInterface::m_getRatioSize(int src_w, int src_h, argument
4041 *crop_h = src_h;
4044 || src_h != dst_h) {
4049 src_ratio = (float)src_w / (float)src_h;
4055 if (dst_w * dst_h < src_w * src_h) {
4072 *crop_w = src_h * dst_ratio;
4073 *crop_h = src_h;
4108 *crop_y = (src_h - *crop_h) >> 1;
/hardware/samsung_slsi/exynos5/libcamera2/
H A DExynosCameraHWInterface2.cpp2502 bool ExynosCameraHWInterface2::m_getRatioSize(int src_w, int src_h, argument
2509 *crop_h = src_h;
2512 || src_h != dst_h) {
2517 src_ratio = (float)src_w / (float)src_h;
2522 if (dst_w * dst_h < src_w * src_h) {
2525 *crop_w = src_h * dst_ratio;
2526 *crop_h = src_h;
2535 *crop_w = src_h * dst_ratio;
2536 *crop_h = src_h;
2574 *crop_y = (src_h
[all...]

Completed in 213 milliseconds

12