/hardware/intel/common/libva/test/putsurface/ |
H A D | putsurface_wayland.c | 73 unsigned short src_w, 88 src_rect.width = src_w; 93 dst_rect.width = src_w; 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/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 290 horDscale = ceilf((float)src_w / (float)dst_w);
|
/hardware/qcom/display/msm8226/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); 292 void getDecimationFactor(const int& src_w, const int& src_h, argument 295 horDscale = ceilf((float)src_w / (float)dst_w);
|
/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 265 float horDscale = ceilf((float)src_w / (float)dst_w); 283 if(src_w > 2048) {
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_copybit.cpp | 175 int dst_h, dst_w, src_h, src_w; local 184 src_w = sourceCrop.bottom - sourceCrop.top; 187 src_w = sourceCrop.right - sourceCrop.left; 192 if(src_w <=0 || src_h<=0 ||dst_w<=0 || dst_h<=0 ) { 195 __FUNCTION__, dst_w,src_w,dst_h,src_h); 198 dx = (float)dst_w/(float)src_w;
|
H A D | hwc_utils.cpp | 701 int dst_w, dst_h, src_w, src_h; local 704 src_w = sourceCrop.right - sourceCrop.left; 707 if(((src_w > dst_w) || (src_h > dst_h))) 713 int dst_w, dst_h, src_w, src_h; local 719 src_w = sourceCrop.right - sourceCrop.left; 722 if(((src_w != dst_w) || (src_h != dst_h))) 2159 int src_w = crop.right - crop.left; local 2164 swap(src_w, src_h); 2170 ovutils::getDecimationFactor(src_w, src_h, dst_w, dst_h, horDscale,
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_copybit.cpp | 175 int dst_h, dst_w, src_h, src_w; local 184 src_w = sourceCrop.bottom - sourceCrop.top; 187 src_w = sourceCrop.right - sourceCrop.left; 192 if(src_w <=0 || src_h<=0 ||dst_w<=0 || dst_h<=0 ) { 195 __FUNCTION__, dst_w,src_w,dst_h,src_h); 198 dx = (float)dst_w/src_w;
|
H A D | hwc_utils.cpp | 654 int dst_w, dst_h, src_w, src_h; local 657 src_w = sourceCrop.right - sourceCrop.left; 660 if(((src_w > dst_w) || (src_h > dst_h))) 666 int dst_w, dst_h, src_w, src_h; local 672 src_w = sourceCrop.right - sourceCrop.left; 675 if(((src_w != dst_w) || (src_h != dst_h))) 2097 int src_w = crop.right - crop.left; local 2102 swap(src_w, src_h); 2108 ovutils::getDecimationFactor(src_w, src_h, dst_w, dst_h, horDscale,
|
/hardware/intel/img/psb_video/src/ |
H A D | psb_output.c | 1283 unsigned short src_w, 1357 surface_subpic->subpic_srcw = src_w; 1696 unsigned short src_w, 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) { 614 xscaleFract = ((src_w - 1) << 12) / drw_w; 855 int src_w = *src_w_new, src_h = *src_h_new; local 876 tmp = src_w; 877 src_w = src_h; 899 tmp = src_w; 900 src_w = src_h; 918 *src_w_new = src_w; 930 short __maybe_unused src_w, shor 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/msm8960/libhwcomposer/ |
H A D | hwc_utils.cpp | 362 int dst_w, dst_h, src_w, src_h; local 370 src_w = sourceCrop.right - sourceCrop.left; 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 313 src_w = sourceCrop.right - sourceCrop.left; 316 if(((src_w != dst_w) || (src_h != dst_h))) 1168 int src_w = crop.right - crop.left; local 1173 swap(src_w, src_h); 1176 if(src_w > qdutils::MAX_DISPLAY_DIM) { 1187 ovutils::getDecimationFactor(src_w, src_h, dst_w, dst_h, horzDeci,
|
/hardware/qcom/msm8x74/kernel-headers/media/ |
H A D | msmb_pproc.h | 145 uint32_t src_w; member in struct:msm_vpe_frame_strip_info
|
/hardware/qcom/msm8x74/original-kernel-headers/media/ |
H A D | msmb_pproc.h | 128 uint32_t src_w; member in struct:msm_vpe_frame_strip_info
|
/hardware/qcom/msm8x84/kernel-headers/media/ |
H A D | msmb_pproc.h | 186 uint32_t src_w; member in struct:msm_vpe_frame_strip_info
|
/hardware/qcom/msm8x84/original-kernel-headers/media/ |
H A D | msmb_pproc.h | 173 uint32_t src_w; 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 | 328 uint32_t src_w; 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 404 src_w < dest_w * max_downscale && 405 dest_w <= src_w * 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 722 __u32 min_src_w = DIV_ROUND_UP(src_w, is_2d ? limits->max_xdecim_2d : limits->max_xdecim_1d); 745 if (dst_w * 4 < src_w) 752 if (src_w < limits->integer_scale_ratio_limit) 762 int src_w = WIDTH(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 3587 *crop_w = src_w; 3590 if ( src_w != dst_w 3596 src_ratio = (float)src_w / (float)src_h; 3604 *crop_w = src_w; 3605 *crop_h = src_w / dst_ratio; 3648 *crop_x = (src_w - *crop_w) >> 1;
|
H A D | ExynosCameraHWInterface.cpp | 4034 bool ExynosCameraHWInterface::m_getRatioSize(int src_w, int src_h, argument 4040 *crop_w = src_w; 4043 if ( src_w != dst_w 4049 src_ratio = (float)src_w / (float)src_h; 4055 if (dst_w * dst_h < src_w * src_h) { 4058 *crop_w = src_w; 4059 *crop_h = src_w / dst_ratio; 4068 *crop_w = src_w; 4069 *crop_h = src_w / dst_ratio; 4107 *crop_x = (src_w [all...] |
/hardware/samsung_slsi/exynos5/libcamera2/ |
H A D | ExynosCameraHWInterface2.cpp | 2493 bool ExynosCameraHWInterface2::m_getRatioSize(int src_w, int src_h, argument 2499 *crop_w = src_w; 2502 if ( src_w != dst_w 2508 src_ratio = (float)src_w / (float)src_h; 2513 if (dst_w * dst_h < src_w * src_h) { 2520 *crop_w = src_w; 2521 *crop_h = src_w / dst_ratio; 2530 *crop_w = src_w; 2531 *crop_h = src_w / dst_ratio; 2564 *crop_x = (src_w [all...] |