Lines Matching refs:pPlaneOut
739 M4VIFI_ImagePlane *pPlaneOut, M4VSS3GPP_ExternalProgress *pProgress, in M4VSS3GPP_externalVideoEffectFifties() argument
753 pOutY = pPlaneOut[0].pac_data; in M4VSS3GPP_externalVideoEffectFifties()
777 pOutCr = pPlaneOut[plane_number].pac_data + pPlaneOut[plane_number].u_topleft; in M4VSS3GPP_externalVideoEffectFifties()
779 for (x = 0; x < pPlaneOut[plane_number].u_height; x++) in M4VSS3GPP_externalVideoEffectFifties()
787 pOutCr += pPlaneOut[plane_number].u_stride; in M4VSS3GPP_externalVideoEffectFifties()
827 pOutY += pPlaneOut[0].u_stride; in M4VSS3GPP_externalVideoEffectFifties()
1083 M4VIFI_ImagePlane *pPlaneOut) in M4VIFI_xVSS_RGB565toYUV420() argument
1103 if( (pPlaneIn->u_height != pPlaneOut[0].u_height) || in M4VIFI_xVSS_RGB565toYUV420()
1104 (pPlaneOut[0].u_height != (pPlaneOut[1].u_height<<1)) || in M4VIFI_xVSS_RGB565toYUV420()
1105 (pPlaneOut[0].u_height != (pPlaneOut[2].u_height<<1))) in M4VIFI_xVSS_RGB565toYUV420()
1111 if( (pPlaneIn->u_width != pPlaneOut[0].u_width) || in M4VIFI_xVSS_RGB565toYUV420()
1112 (pPlaneOut[0].u_width != (pPlaneOut[1].u_width<<1)) || in M4VIFI_xVSS_RGB565toYUV420()
1113 (pPlaneOut[0].u_width != (pPlaneOut[2].u_width<<1))) in M4VIFI_xVSS_RGB565toYUV420()
1119 pu8_y_data = pPlaneOut[0].pac_data + pPlaneOut[0].u_topleft; in M4VIFI_xVSS_RGB565toYUV420()
1120 pu8_u_data = pPlaneOut[1].pac_data + pPlaneOut[1].u_topleft; in M4VIFI_xVSS_RGB565toYUV420()
1121 pu8_v_data = pPlaneOut[2].pac_data + pPlaneOut[2].u_topleft; in M4VIFI_xVSS_RGB565toYUV420()
1127 u32_width = pPlaneOut[0].u_width; in M4VIFI_xVSS_RGB565toYUV420()
1128 u32_height = pPlaneOut[0].u_height; in M4VIFI_xVSS_RGB565toYUV420()
1131 u32_stride_Y = pPlaneOut[0].u_stride; in M4VIFI_xVSS_RGB565toYUV420()
1133 u32_stride_U = pPlaneOut[1].u_stride; in M4VIFI_xVSS_RGB565toYUV420()
1134 u32_stride_V = pPlaneOut[2].u_stride; in M4VIFI_xVSS_RGB565toYUV420()
1443 M4VIFI_ImagePlane *pPlaneOut) in M4VIFI_ResizeBilinearYUV420toYUV420() argument
1467 if ((pPlaneIn[0].u_height == pPlaneOut[0].u_height) && in M4VIFI_ResizeBilinearYUV420toYUV420()
1468 (pPlaneIn[0].u_width == pPlaneOut[0].u_width)) in M4VIFI_ResizeBilinearYUV420toYUV420()
1470 return M4VIFI_YUV420toYUV420(pUserData, pPlaneIn, pPlaneOut); in M4VIFI_ResizeBilinearYUV420toYUV420()
1475 (IS_EVEN(pPlaneOut[0].u_height) == FALSE)) in M4VIFI_ResizeBilinearYUV420toYUV420()
1481 (IS_EVEN(pPlaneOut[0].u_width) == FALSE)) in M4VIFI_ResizeBilinearYUV420toYUV420()
1491 pu8_data_out = pPlaneOut[u32_plane].pac_data + pPlaneOut[u32_plane].u_topleft; in M4VIFI_ResizeBilinearYUV420toYUV420()
1495 u32_stride_out = pPlaneOut[u32_plane].u_stride; in M4VIFI_ResizeBilinearYUV420toYUV420()
1501 u32_width_out = pPlaneOut[u32_plane].u_width; in M4VIFI_ResizeBilinearYUV420toYUV420()
1502 u32_height_out = pPlaneOut[u32_plane].u_height; in M4VIFI_ResizeBilinearYUV420toYUV420()
1666 M4OSA_ERR applyRenderingMode(M4VIFI_ImagePlane* pPlaneIn, M4VIFI_ImagePlane* pPlaneOut, M4xVSS_Medi… in applyRenderingMode() argument
1674 err = M4VIFI_ResizeBilinearYUV420toYUV420(M4OSA_NULL, pPlaneIn, pPlaneOut); in applyRenderingMode()
1687 M4OSA_UInt8* pOutPlaneY = pPlaneOut[0].pac_data + pPlaneOut[0].u_topleft; in applyRenderingMode()
1688 M4OSA_UInt8* pOutPlaneU = pPlaneOut[1].pac_data + pPlaneOut[1].u_topleft; in applyRenderingMode()
1689 M4OSA_UInt8* pOutPlaneV = pPlaneOut[2].pac_data + pPlaneOut[2].u_topleft; in applyRenderingMode()
1701 Params.m_outputSize.m_width = pPlaneOut->u_width; in applyRenderingMode()
1702 Params.m_outputSize.m_height = pPlaneOut->u_height; in applyRenderingMode()
1710 …memset((void *)pPlaneOut[0].pac_data,Y_PLANE_BORDER_VALUE,(pPlaneOut[0].u_height*pPlaneOut[0].u_st… in applyRenderingMode()
1711 …memset((void *)pPlaneOut[1].pac_data,U_PLANE_BORDER_VALUE,(pPlaneOut[1].u_height*pPlaneOut[1].u_st… in applyRenderingMode()
1712 …memset((void *)pPlaneOut[2].pac_data,V_PLANE_BORDER_VALUE,(pPlaneOut[2].u_height*pPlaneOut[2].u_st… in applyRenderingMode()
1714 pImagePlanesTemp[0].u_width = pPlaneOut[0].u_width; in applyRenderingMode()
1715 pImagePlanesTemp[0].u_height = pPlaneOut[0].u_height; in applyRenderingMode()
1716 pImagePlanesTemp[0].u_stride = pPlaneOut[0].u_width; in applyRenderingMode()
1720 pImagePlanesTemp[1].u_width = pPlaneOut[1].u_width; in applyRenderingMode()
1721 pImagePlanesTemp[1].u_height = pPlaneOut[1].u_height; in applyRenderingMode()
1722 pImagePlanesTemp[1].u_stride = pPlaneOut[1].u_width; in applyRenderingMode()
1726 pImagePlanesTemp[2].u_width = pPlaneOut[2].u_width; in applyRenderingMode()
1727 pImagePlanesTemp[2].u_height = pPlaneOut[2].u_height; in applyRenderingMode()
1728 pImagePlanesTemp[2].u_stride = pPlaneOut[2].u_width; in applyRenderingMode()
1762 …if((M4OSA_UInt32)((pPlaneIn->u_height * pPlaneOut->u_width) /pPlaneIn->u_width) <= pPlaneOut->u_he… in applyRenderingMode()
1765 Params.m_outputSize.m_width = pPlaneOut->u_width; in applyRenderingMode()
1766 …Params.m_outputSize.m_height = (M4OSA_UInt32)((pPlaneIn->u_height * pPlaneOut->u_width) /pPlaneIn-… in applyRenderingMode()
1778 Params.m_outputSize.m_height = pPlaneOut->u_height; in applyRenderingMode()
1779 …Params.m_outputSize.m_width = (M4OSA_UInt32)((pPlaneIn->u_width * pPlaneOut->u_height) /pPlaneIn->… in applyRenderingMode()
1819 Params.m_outputSize.m_height = pPlaneOut->u_height; in applyRenderingMode()
1820 Params.m_outputSize.m_width = pPlaneOut->u_width; in applyRenderingMode()
1835 pPlaneTemp = pPlaneOut; in applyRenderingMode()
1892 for(i=0; i<pPlaneOut[0].u_height; i++) in applyRenderingMode()
1894 memcpy((void *)pOutPlaneY, (void *)pInPlaneY, pPlaneOut[0].u_width); in applyRenderingMode()
1895 pInPlaneY += pPlaneOut[0].u_width; in applyRenderingMode()
1896 pOutPlaneY += pPlaneOut[0].u_stride; in applyRenderingMode()
1898 for(i=0; i<pPlaneOut[1].u_height; i++) in applyRenderingMode()
1900 memcpy((void *)pOutPlaneU, (void *)pInPlaneU, pPlaneOut[1].u_width); in applyRenderingMode()
1901 pInPlaneU += pPlaneOut[1].u_width; in applyRenderingMode()
1902 pOutPlaneU += pPlaneOut[1].u_stride; in applyRenderingMode()
1904 for(i=0; i<pPlaneOut[2].u_height; i++) in applyRenderingMode()
1906 memcpy((void *)pOutPlaneV, (void *)pInPlaneV, pPlaneOut[2].u_width); in applyRenderingMode()
1907 pInPlaneV += pPlaneOut[2].u_width; in applyRenderingMode()
1908 pOutPlaneV += pPlaneOut[2].u_stride; in applyRenderingMode()
3677 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut) { in M4VIFI_Rotate90LeftYUV420toYUV420() argument
3689 pPlaneOut[plane_number].u_height - 1 ; in M4VIFI_Rotate90LeftYUV420toYUV420()
3691 &(pPlaneOut[plane_number].pac_data[pPlaneOut[plane_number].u_topleft]); in M4VIFI_Rotate90LeftYUV420toYUV420()
3694 for (i = 0; i < pPlaneOut[plane_number].u_height; i++) { in M4VIFI_Rotate90LeftYUV420toYUV420()
3696 for (j = 0; j < pPlaneOut[plane_number].u_width; j++) { in M4VIFI_Rotate90LeftYUV420toYUV420()
3703 pPlaneOut[plane_number].u_stride - pPlaneOut[plane_number].u_width; in M4VIFI_Rotate90LeftYUV420toYUV420()
3706 pPlaneIn[plane_number].u_stride * pPlaneOut[plane_number].u_width + 1 ; in M4VIFI_Rotate90LeftYUV420toYUV420()
3714 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut) { in M4VIFI_Rotate90RightYUV420toYUV420() argument
3726 (pPlaneIn[plane_number].u_stride * (pPlaneOut[plane_number].u_width - 1)); in M4VIFI_Rotate90RightYUV420toYUV420()
3728 &(pPlaneOut[plane_number].pac_data[pPlaneOut[plane_number].u_topleft]); in M4VIFI_Rotate90RightYUV420toYUV420()
3731 for (i = 0; i < pPlaneOut[plane_number].u_height; i++) { in M4VIFI_Rotate90RightYUV420toYUV420()
3733 for (j = 0; j < pPlaneOut[plane_number].u_width; j++) { in M4VIFI_Rotate90RightYUV420toYUV420()
3740 pPlaneOut[plane_number].u_stride - pPlaneOut[plane_number].u_width; in M4VIFI_Rotate90RightYUV420toYUV420()
3743 pPlaneIn[plane_number].u_stride * pPlaneOut[plane_number].u_width +1 ; in M4VIFI_Rotate90RightYUV420toYUV420()
3751 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut) { in M4VIFI_Rotate180YUV420toYUV420() argument
3762 &(pPlaneOut[plane_number].pac_data[pPlaneOut[plane_number].u_topleft]); in M4VIFI_Rotate180YUV420toYUV420()
3768 pPlaneOut[plane_number].u_stride*(pPlaneOut[plane_number].u_height-1) + in M4VIFI_Rotate180YUV420toYUV420()
3769 pPlaneOut[plane_number].u_width - 1; in M4VIFI_Rotate180YUV420toYUV420()
3774 for (i = 0; i < ((pPlaneOut[plane_number].u_height)>>1); i++) { in M4VIFI_Rotate180YUV420toYUV420()
3775 for (j = 0; j < pPlaneOut[plane_number].u_width; j++) { in M4VIFI_Rotate180YUV420toYUV420()
3782 pPlaneOut[plane_number].u_stride - pPlaneOut[plane_number].u_width; in M4VIFI_Rotate180YUV420toYUV420()
3785 pPlaneOut[plane_number].u_stride - pPlaneOut[plane_number].u_width; in M4VIFI_Rotate180YUV420toYUV420()
3789 if ((pPlaneOut[plane_number].u_height%2)!= 0) { in M4VIFI_Rotate180YUV420toYUV420()
3791 &(pPlaneOut[plane_number].pac_data[pPlaneIn[plane_number].u_topleft]); in M4VIFI_Rotate180YUV420toYUV420()
3793 pPlaneOut[plane_number].u_stride*(pPlaneOut[plane_number].u_height>>1); in M4VIFI_Rotate180YUV420toYUV420()
3795 p_buf_src + pPlaneOut[plane_number].u_width; in M4VIFI_Rotate180YUV420toYUV420()
3800 for (j = 0; j < (pPlaneOut[plane_number].u_width>>1); j++) { in M4VIFI_Rotate180YUV420toYUV420()
3809 pPlaneOut[plane_number].u_stride*(pPlaneOut[plane_number].u_height-1) + in M4VIFI_Rotate180YUV420toYUV420()
3813 for (i = 0; i < pPlaneOut[plane_number].u_height; i++) { in M4VIFI_Rotate180YUV420toYUV420()
3814 for (j = 0; j < pPlaneOut[plane_number].u_width; j++) { in M4VIFI_Rotate180YUV420toYUV420()
3820 pPlaneIn[plane_number].u_stride - pPlaneOut[plane_number].u_width; in M4VIFI_Rotate180YUV420toYUV420()
3823 pPlaneOut[plane_number].u_stride - pPlaneOut[plane_number].u_width; in M4VIFI_Rotate180YUV420toYUV420()