Home
last modified time | relevance | path

Searched refs:srcCrop (Results 1 – 21 of 21) sorted by relevance

/hardware/intel/img/hwcomposer/moorefield_hdmi/platforms/merrifield_plus/
DPlatfBufferManager.cpp57 crop_t& srcCrop, uint32_t async) in blitGrallocBuffer() argument
66 srcCrop.w, srcCrop.h, srcCrop.x, in blitGrallocBuffer()
67 srcCrop.y, 0, -1, &fenceFd)) { in blitGrallocBuffer()
DPlatfBufferManager.h37 crop_t& srcCrop, uint32_t async);
/hardware/qcom/display/msm8909/liboverlay/
DoverlayUtils.cpp290 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { in preRotateSource() argument
292 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource()
295 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource()
298 int tmp = srcCrop.x; in preRotateSource()
299 srcCrop.x = compute(whf.h, in preRotateSource()
300 srcCrop.y, in preRotateSource()
301 srcCrop.h); in preRotateSource()
302 srcCrop.y = tmp; in preRotateSource()
304 swap(srcCrop.w, srcCrop.h); in preRotateSource()
DoverlayUtils.h544 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.cpp312 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { in preRotateSource() argument
314 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource()
317 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource()
320 int tmp = srcCrop.x; in preRotateSource()
321 srcCrop.x = compute(whf.h, in preRotateSource()
322 srcCrop.y, in preRotateSource()
323 srcCrop.h); in preRotateSource()
324 srcCrop.y = tmp; in preRotateSource()
326 swap(srcCrop.w, srcCrop.h); in preRotateSource()
DoverlayUtils.h551 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.cpp319 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { in preRotateSource() argument
321 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource()
324 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource()
327 int tmp = srcCrop.x; in preRotateSource()
328 srcCrop.x = compute(whf.h, in preRotateSource()
329 srcCrop.y, in preRotateSource()
330 srcCrop.h); in preRotateSource()
331 srcCrop.y = tmp; in preRotateSource()
333 swap(srcCrop.w, srcCrop.h); in preRotateSource()
DoverlayUtils.h554 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
/hardware/qcom/display/msm8960/liboverlay/
DoverlayUtils.cpp231 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { in preRotateSource() argument
233 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource()
236 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource()
239 int tmp = srcCrop.x; in preRotateSource()
240 srcCrop.x = compute(whf.h, in preRotateSource()
241 srcCrop.y, in preRotateSource()
242 srcCrop.h); in preRotateSource()
243 srcCrop.y = tmp; in preRotateSource()
245 swap(srcCrop.w, srcCrop.h); in preRotateSource()
DoverlayUtils.h711 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
/hardware/qcom/display/msm8084/liboverlay/
DoverlayUtils.cpp308 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { in preRotateSource() argument
310 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource()
313 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource()
316 int tmp = srcCrop.x; in preRotateSource()
317 srcCrop.x = compute(whf.h, in preRotateSource()
318 srcCrop.y, in preRotateSource()
319 srcCrop.h); in preRotateSource()
320 srcCrop.y = tmp; in preRotateSource()
322 swap(srcCrop.w, srcCrop.h); in preRotateSource()
DoverlayUtils.h709 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DPlaneCapabilities.cpp135 hwc_frect_t& srcCrop = hwcLayer->getLayer()->sourceCropf; in isSizeSupported() local
136 uint32_t width = srcCrop.right - srcCrop.left; in isSizeSupported()
137 uint32_t height = srcCrop.bottom - srcCrop.top; in isSizeSupported()
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DBufferManager.h63 crop_t& srcCrop, uint32_t async) = 0;
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp918 Dim srcCrop(crop.left, crop.top, in updateSource() local
924 preRotateSource(orient, whf, srcCrop); in updateSource()
925 crop.left = srcCrop.x; in updateSource()
926 crop.top = srcCrop.y; in updateSource()
927 crop.right = srcCrop.x + srcCrop.w; in updateSource()
928 crop.bottom = srcCrop.y + srcCrop.h; in updateSource()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp1600 Dim srcCrop(crop.left, crop.top, in updateSource() local
1604 preRotateSource(orient, whf, srcCrop); in updateSource()
1610 crop.right = srcCrop.w; in updateSource()
1611 crop.bottom = srcCrop.h; in updateSource()
1613 whf.w = srcCrop.w; in updateSource()
1614 whf.h = srcCrop.h; in updateSource()
1616 crop.left = srcCrop.x; in updateSource()
1617 crop.top = srcCrop.y; in updateSource()
1618 crop.right = srcCrop.x + srcCrop.w; in updateSource()
1619 crop.bottom = srcCrop.y + srcCrop.h; in updateSource()
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_utils.cpp1993 Dim srcCrop(crop.left, crop.top, in updateCropAIVVideoMode() local
1999 if(srcCrop.w * extH < extW * srcCrop.h) { in updateCropAIVVideoMode()
2000 int offset = (srcCrop.h - ((srcCrop.w * extH) / extW)) / 2; in updateCropAIVVideoMode()
2004 int offset = (srcCrop.w - ((extW * srcCrop.h) / extH)) / 2; in updateCropAIVVideoMode()
2018 Dim srcCrop(crop.left, crop.top, in updateDestAIVVideoMode() local
2027 float videoAspectRatio = ((float)srcCrop.w / (float)srcCrop.h); in updateDestAIVVideoMode()
Dhwc_mdpcomp.cpp1067 hwc_rect_t srcCrop = integerizeSourceCrop(layer->sourceCropf); in fullMDPCompWithPTOR() local
1070 qhwc::calculate_crop_rects(srcCrop, layer->displayFrame, destRect, in fullMDPCompWithPTOR()
1072 layer->sourceCropf.left = (float)srcCrop.left; in fullMDPCompWithPTOR()
1073 layer->sourceCropf.top = (float)srcCrop.top; in fullMDPCompWithPTOR()
1074 layer->sourceCropf.right = (float)srcCrop.right; in fullMDPCompWithPTOR()
1075 layer->sourceCropf.bottom = (float)srcCrop.bottom; in fullMDPCompWithPTOR()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp1913 Dim srcCrop(crop.left, crop.top, in updateCropAIVVideoMode() local
1919 if(srcCrop.w * extH < extW * srcCrop.h) { in updateCropAIVVideoMode()
1920 int offset = (srcCrop.h - ((srcCrop.w * extH) / extW)) / 2; in updateCropAIVVideoMode()
1924 int offset = (srcCrop.w - ((extW * srcCrop.h) / extH)) / 2; in updateCropAIVVideoMode()
1938 Dim srcCrop(crop.left, crop.top, in updateDestAIVVideoMode() local
1947 float videoAspectRatio = ((float)srcCrop.w / (float)srcCrop.h); in updateDestAIVVideoMode()
Dhwc_mdpcomp.cpp1069 hwc_rect_t srcCrop = integerizeSourceCrop(layer->sourceCropf); in fullMDPCompWithPTOR() local
1072 qhwc::calculate_crop_rects(srcCrop, layer->displayFrame, destRect, in fullMDPCompWithPTOR()
1074 layer->sourceCropf.left = (float)srcCrop.left; in fullMDPCompWithPTOR()
1075 layer->sourceCropf.top = (float)srcCrop.top; in fullMDPCompWithPTOR()
1076 layer->sourceCropf.right = (float)srcCrop.right; in fullMDPCompWithPTOR()
1077 layer->sourceCropf.bottom = (float)srcCrop.bottom; in fullMDPCompWithPTOR()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_mdpcomp.cpp924 hwc_rect_t srcCrop = integerizeSourceCrop(layer->sourceCropf); in fullMDPCompWithPTOR() local
927 qhwc::calculate_crop_rects(srcCrop, layer->displayFrame, destRect, in fullMDPCompWithPTOR()
929 layer->sourceCropf.left = (float)srcCrop.left; in fullMDPCompWithPTOR()
930 layer->sourceCropf.top = (float)srcCrop.top; in fullMDPCompWithPTOR()
931 layer->sourceCropf.right = (float)srcCrop.right; in fullMDPCompWithPTOR()
932 layer->sourceCropf.bottom = (float)srcCrop.bottom; in fullMDPCompWithPTOR()