Home
last modified time | relevance | path

Searched refs:srcH (Results 1 – 9 of 9) sorted by relevance

/hardware/intel/img/hwcomposer/ips/anniedale/
DPlaneCapabilities.cpp170 int srcW, srcH; in isScalingSupported() local
174 srcH = (int)src.bottom - (int)src.top; in isScalingSupported()
180 return ((srcW == dstW) && (srcH == dstH)) ? true : false; in isScalingSupported()
184 if ((srcW > INTEL_OVERLAY_MAX_WIDTH - 1) || (srcH > INTEL_OVERLAY_MAX_HEIGHT - 1)) { in isScalingSupported()
188 if (dstW <= 1 || dstH <= 1 || srcW <= 1 || srcH <= 1) { in isScalingSupported()
196 srcW = srcH; in isScalingSupported()
197 srcH = tmp; in isScalingSupported()
207 float scaleY = (float)srcH / dstH; in isScalingSupported()
DAnnRGBPlane.cpp150 int srcX, srcY, srcW, srcH; in setDataBuffer() local
178 srcH = mapper.getHeight(); in setDataBuffer()
222 mContext.ctx.sp_ctx.linoff = (align_to(srcW, 32) * srcH / 64) - 1; in setDataBuffer()
/hardware/intel/img/hwcomposer/ips/common/
DOverlayPlaneBase.cpp347 int srcX, srcY, srcW, srcH; in getTTMMapper() local
363 srcH = grallocMapper.getCrop().h; in getTTMMapper()
373 checkCrop(srcX, srcY, srcW, srcH, payload->coded_width, payload->coded_height); in getTTMMapper()
425 buf.setCrop(srcX, srcY, srcW, srcH); in getTTMMapper()
477 mapper->getCrop().w != srcW || mapper->getCrop().h != srcH) { in getTTMMapper()
478 checkCrop(srcX, srcY, srcW, srcH, payload->coded_width, payload->coded_height); in getTTMMapper()
479 mapper->setCrop(srcX, srcY, srcW, srcH); in getTTMMapper()
616 void OverlayPlaneBase::checkCrop(int& srcX, int& srcY, int& srcW, int& srcH, in checkCrop() argument
622 srcH >>= mBobDeinterlace; in checkCrop()
625 tmp = srcH; in checkCrop()
[all …]
/hardware/samsung_slsi/exynos5/libcamera/
DExynosJpegEncoderForCamera.h126 int scaleDownYuv422(char **srcBuf, unsigned int srcW, unsigned int srcH,
128 int scaleDownYuv422_2p(char **srcBuf, unsigned int srcW, unsigned int srcH,
DExynosJpegEncoderForCamera.cpp691 int ExynosJpegEncoderForCamera::scaleDownYuv422(char **srcBuf, unsigned int srcW, unsigned int srcH in scaleDownYuv422() argument
703 step_y = srcH / dstH; in scaleDownYuv422()
725 …Camera::scaleDownYuv422_2p(char **srcBuf, unsigned int srcW, unsigned int srcH, char **dstBuf, uns… in scaleDownYuv422_2p() argument
738 step_y = srcH / dstH; in scaleDownYuv422_2p()
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosJpegEncoderForCamera.h124 int scaleDownYuv422(char **srcBuf, unsigned int srcW, unsigned int srcH,
126 int scaleDownYuv422_2p(char **srcBuf, unsigned int srcW, unsigned int srcH,
DExynosJpegEncoderForCamera.cpp677 int ExynosJpegEncoderForCamera::scaleDownYuv422(char **srcBuf, unsigned int srcW, unsigned int srcH in scaleDownYuv422() argument
689 step_y = srcH / dstH; in scaleDownYuv422()
711 …Camera::scaleDownYuv422_2p(char **srcBuf, unsigned int srcW, unsigned int srcH, char **dstBuf, uns… in scaleDownYuv422_2p() argument
724 step_y = srcH / dstH; in scaleDownYuv422_2p()
742 src_y_start_pos = i * step_y * srcW + (srcW*srcH); in scaleDownYuv422_2p()
DExynosCameraHWInterface2.cpp4194 int srcW, srcH, srcCropX, srcCropY; in m_jpegCreator() local
4228 &srcW, &srcH, in m_jpegCreator()
4238 m_getRatioSize(srcW, srcH, in m_jpegCreator()
4259 cropY = (srcH - zoom_h) / 2; in m_jpegCreator()
4267 ALIGN(srcW, 16), ALIGN(srcH, 16), in m_jpegCreator()
/hardware/intel/img/hwcomposer/common/base/
DHwcLayerList.cpp168 int srcH = (int)src.bottom - (int)src.top; in checkRgbOverlaySupported() local
171 if (srcW != dstW || srcH != dstH) { in checkRgbOverlaySupported()
231 int srcH = (int)src.bottom - (int)src.top; in checkCursorSupported() local
234 if (srcW != dstW || srcH != dstH) { in checkCursorSupported()
236 srcW, srcH, dstW, dstH); in checkCursorSupported()
240 if (srcW > 256 || srcH > 256) { in checkCursorSupported()
241 WLOGTRACE("unexpected size %dx%d for cursor", srcW, srcH); in checkCursorSupported()