Searched refs:srcHeight (Results 1 - 16 of 16) sorted by last modified time

/hardware/ti/omap4-aah/libI420colorconvert/
H A DColorConvert.cpp26 void* srcBits, int srcWidth, int srcHeight, ARect srcRect, void* dstBits) {
31 srcWidth * (srcHeight - srcRect.top / 2);
66 void* srcBits, int srcWidth, int srcHeight,
71 for(int i=0; i < srcHeight; i++) {
76 uint8_t* pSrc_u = (uint8_t*)srcBits + (srcWidth * srcHeight);
77 uint8_t* pSrc_v = (uint8_t*)pSrc_u + (srcWidth / 2) * (srcHeight / 2);
80 for(int i=0; i < srcHeight / 2; i++) {
25 convertDecoderOutputToI420( void* srcBits, int srcWidth, int srcHeight, ARect srcRect, void* dstBits) argument
65 convertI420ToEncoderInput( void* srcBits, int srcWidth, int srcHeight, int dstWidth, int dstHeight, ARect dstRect, void* dstBits) argument
/hardware/ti/omap4xxx/libI420colorconvert/
H A DColorConvert.cpp26 void* srcBits, int srcWidth, int srcHeight, ARect srcRect, void* dstBits) {
31 srcWidth * (srcHeight - srcRect.top / 2);
66 void* srcBits, int srcWidth, int srcHeight,
71 for(int i=0; i < srcHeight; i++) {
76 uint8_t* pSrc_u = (uint8_t*)srcBits + (srcWidth * srcHeight);
77 uint8_t* pSrc_v = (uint8_t*)pSrc_u + (srcWidth / 2) * (srcHeight / 2);
80 for(int i=0; i < srcHeight / 2; i++) {
25 convertDecoderOutputToI420( void* srcBits, int srcWidth, int srcHeight, ARect srcRect, void* dstBits) argument
65 convertI420ToEncoderInput( void* srcBits, int srcWidth, int srcHeight, int dstWidth, int dstHeight, ARect dstRect, void* dstBits) argument
/hardware/samsung_slsi/exynos5/libcamera/
H A DExynosCameraHWInterface.cpp3509 bool ExynosCameraHWInterface::m_scaleDownYuv422(char *srcBuf, uint32_t srcWidth, uint32_t srcHeight, argument
3522 step_y = srcHeight / dstHeight;
3541 bool ExynosCameraHWInterface::m_YUY2toNV21(void *srcBuf, void *dstBuf, uint32_t srcWidth, uint32_t srcHeight) argument
3548 dst_cbcr_pos = srcWidth*srcHeight;
3549 for (uint32_t y = 0; y < srcHeight; y++) {
3558 for (uint32_t y = 0; y < srcHeight; y += 2) {
H A DExynosCameraHWInterface.h192 bool m_YUY2toNV21(void *srcBuf, void *dstBuf, uint32_t srcWidth, uint32_t srcHeight);
/hardware/qcom/media/libc2dcolorconvert/
H A DC2DColorConverter.cpp54 C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags,size_t srcStride);
109 C2DColorConverter::C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride) argument
138 mSrcHeight = srcHeight;
144 mSrcSize = calcSize(srcFormat, srcWidth, srcHeight);
146 mSrcYSize = calcYSize(srcFormat, srcWidth, srcHeight);
151 mSrcSurfaceDef = getDummySurfaceDef(srcFormat, srcWidth, srcHeight, true);
158 mBlit.source_rect.height = srcHeight << 16;
705 extern "C" C2DColorConverterBase* createC2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride) argument
707 return new C2DColorConverter(srcWidth, srcHeight, dstWidth, dstHeight, srcFormat, dstFormat, flags, srcStride);
H A DC2DColorConverter.h113 typedef C2DColorConverterBase* createC2DColorConverter_t(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride);
/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_utils.cpp437 int srcHeight, hwc_rect_t& rect) {
440 if (srcWidth * destHeight > destWidth * srcHeight) {
441 srcHeight = destWidth * srcHeight / srcWidth;
443 } else if (srcWidth * destHeight < destWidth * srcHeight) {
444 srcWidth = destHeight * srcWidth / srcHeight;
445 srcHeight = destHeight;
448 srcHeight = destHeight;
451 if (srcHeight > destHeight) srcHeight
436 getAspectRatioPosition(int destWidth, int destHeight, int srcWidth, int srcHeight, hwc_rect_t& rect) argument
609 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; local
836 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; local
[all...]
H A Dhwc_utils.h280 int srcHeight, hwc_rect_t& rect);
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_utils.cpp596 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; local
598 swap(srcWidth, srcHeight);
601 srcHeight, displayFrame);
/hardware/qcom/display/msm8226/libqdutils/
H A Dqd_utils.cpp98 int srcHeight, hwc_rect_t& rect) {
101 if (srcWidth * destHeight > destWidth * srcHeight) {
102 srcHeight = destWidth * srcHeight / srcWidth;
104 } else if (srcWidth * destHeight < destWidth * srcHeight) {
105 srcWidth = destHeight * srcWidth / srcHeight;
106 srcHeight = destHeight;
109 srcHeight = destHeight;
112 if (srcHeight > destHeight) srcHeight
97 getAspectRatioPosition(int destWidth, int destHeight, int srcWidth, int srcHeight, hwc_rect_t& rect) argument
[all...]
H A Dqd_utils.h52 int srcHeight, hwc_rect_t& rect);
/hardware/intel/common/utils/ISV/base/
H A Disv_processor.cpp72 mFilterParam.srcHeight = mFilterParam.dstHeight = height;
102 if (STATUS_OK != mISVWorker->init(mFilterParam.srcWidth, mFilterParam.srcHeight))
H A Disv_worker.cpp329 mFilterParam.srcHeight = filterParam->srcHeight;
759 src_region.height = mFilterParam.srcHeight;
918 ret = writeNV12(mFilterParam.srcWidth, mFilterParam.srcHeight, data_ptr, image.pitches[0], image.pitches[1]);
/hardware/intel/common/utils/ISV/include/
H A Disv_worker.h72 uint32_t srcHeight; member in struct:__anon689
/hardware/intel/img/hwcomposer/ips/anniedale/
H A DAnnOverlayPlane.cpp403 uint32_t srcHeight = mapper.getCrop().h; local
419 srcWidth, srcHeight,
427 uint32_t tmp = srcHeight;
428 srcHeight = srcWidth;
433 if (srcWidth == dstWidth && srcHeight == dstHeight) {
438 yscaleFract = ((srcHeight - 1) << 12) / (dstHeight * deinterlace_factor);
/hardware/intel/img/hwcomposer/ips/common/
H A DOverlayPlaneBase.cpp1007 uint32_t srcHeight = mapper.getCrop().h; local
1012 srcWidth, srcHeight,
1016 if (srcWidth == dstWidth && srcHeight == dstHeight) {
1021 yscaleFract = ((srcHeight - 1) << 12) / (dstHeight * deinterlace_factor);

Completed in 2444 milliseconds