/hardware/intel/common/libva/test/putsurface/ |
H A D | putsurface_wayland.c | 74 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 D | overlayUtils.cpp | 251 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 D | overlayUtils.cpp | 257 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 D | overlayUtils.cpp | 183 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 D | overlayUtils.cpp | 220 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 D | hwc_copybit.cpp | 175 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 D | hwc_utils.cpp | 701 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 D | psb_output.c | 1284 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 D | psb_overlay.c | 415 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 D | hwc_copybit.cpp | 313 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 D | hwc_utils.cpp | 688 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 D | hwc_utils.cpp | 362 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 D | hwc_utils.cpp | 305 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 D | msmb_pproc.h | 146 uint32_t src_h; member in struct:msm_vpe_frame_strip_info
|
/hardware/qcom/msm8x74/original-kernel-headers/media/ |
H A D | msmb_pproc.h | 129 uint32_t src_h; member in struct:msm_vpe_frame_strip_info
|
/hardware/qcom/msm8x84/kernel-headers/media/ |
H A D | msmb_pproc.h | 187 uint32_t src_h; member in struct:msm_vpe_frame_strip_info
|
/hardware/qcom/msm8x84/original-kernel-headers/media/ |
H A D | msmb_pproc.h | 174 uint32_t src_h; member in struct:msm_vpe_frame_strip_info
|
/hardware/samsung_slsi/exynos5/include/ |
H A D | fimg2d.h | 200 int src_w, src_h; member in struct:fimg2d_scale
|
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/ |
H A D | fimg2d.h | 294 int src_w, src_h; member in struct:fimg2d_scale
|
/hardware/qcom/msm8960/original-kernel-headers/media/ |
H A D | msm_isp.h | 329 uint32_t src_h; member in struct:msm_pp_crop
|
/hardware/samsung_slsi/exynos5/libhwc/ |
H A D | hwc.cpp | 383 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 D | hwc.c | 717 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 D | ExynosCamera.cpp | 3577 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 D | ExynosCameraHWInterface.cpp | 4034 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 D | ExynosCameraHWInterface2.cpp | 2502 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...] |