Lines Matching defs:u_height

285         PlaneOut[0].u_width * PlaneOut[0].u_height);
292 for(i = 0; i < PlaneOut[1].u_width*PlaneOut[1].u_height; i++)
316 PlaneOut[0].u_width * PlaneOut[0].u_height);
323 for(i = 0; i < PlaneOut[1].u_width*PlaneOut[1].u_height; i++)
367 for (i = 0; i < PlaneOut[plane_number].u_height; i++)
441 b = (M4OSA_UInt16)( b - ((b*i)/PlaneIn[plane_number].u_height));
442 g = (M4OSA_UInt16)(g - ((g*i)/PlaneIn[plane_number].u_height));
443 r = (M4OSA_UInt16)(r - ((r*i)/PlaneIn[plane_number].u_height));
625 for( x=0 ;x < PlaneIn[0].u_height ; x++)
634 x < (topleft[1] + currentFraming->FramingYuv[0].u_height) &&
760 M4OSA_rand((M4OSA_Int32*)&(p_FiftiesData->shiftRandomValue), (pPlaneIn[0].u_height) >> 4);
768 M4OSA_rand((M4OSA_Int32*)&(p_FiftiesData->shiftRandomValue), (pPlaneIn[0].u_height) >> 4);
779 for (x = 0; x < pPlaneOut[plane_number].u_height; x++)
792 for( x = 0 ; x < pPlaneIn[0].u_height ; x++)
798 xShift = (x + p_FiftiesData->shiftRandomValue ) % (pPlaneIn[0].u_height - 1);
800 xShift = (x + (pPlaneIn[0].u_height - p_FiftiesData->shiftRandomValue) ) % (pPlaneIn[0].u_height - 1);
809 if (xShift > (pPlaneIn[0].u_height - 4))
842 unsigned long u_width, u_stride, u_stride_out,u_height, pix;
847 u_height = plane_in[1].u_height;
858 for (j = u_height; j != 0; j--)
875 for (j = u_height; j != 0; j--)
888 for (j = u_height; j != 0; j--)
902 u_height = plane_in[0].u_height;
910 for (j = u_height; j != 0; j--)
955 framingCtx->FramingYuv[0].u_height = framingCtx->FramingRgb->u_height;
958 framingCtx->FramingYuv[0].pac_data = (M4VIFI_UInt8*)M4OSA_32bitAlignedMalloc((framingCtx->FramingYuv[0].u_width*framingCtx->FramingYuv[0].u_height*3)>>1, M4VS, (M4OSA_Char*)"Alloc for the Convertion output YUV");;
965 framingCtx->FramingYuv[1].u_height = (framingCtx->FramingRgb->u_height)>>1;
968 framingCtx->FramingYuv[1].pac_data = framingCtx->FramingYuv[0].pac_data + framingCtx->FramingYuv[0].u_width * framingCtx->FramingYuv[0].u_height;
970 framingCtx->FramingYuv[2].u_height = (framingCtx->FramingRgb->u_height)>>1;
973 framingCtx->FramingYuv[2].pac_data = framingCtx->FramingYuv[1].pac_data + framingCtx->FramingYuv[1].u_width * framingCtx->FramingYuv[1].u_height;
1020 framingCtx->FramingYuv[0].u_height = framingCtx->FramingRgb->u_height;
1023 framingCtx->FramingYuv[0].pac_data = (M4VIFI_UInt8*)M4OSA_32bitAlignedMalloc((framingCtx->FramingYuv[0].u_width*framingCtx->FramingYuv[0].u_height*3)>>1, M4VS, (M4OSA_Char*)"Alloc for the Convertion output YUV");;
1030 framingCtx->FramingYuv[1].u_height = (framingCtx->FramingRgb->u_height)>>1;
1033 framingCtx->FramingYuv[1].pac_data = framingCtx->FramingYuv[0].pac_data + framingCtx->FramingYuv[0].u_width * framingCtx->FramingYuv[0].u_height;
1035 framingCtx->FramingYuv[2].u_height = (framingCtx->FramingRgb->u_height)>>1;
1038 framingCtx->FramingYuv[2].pac_data = framingCtx->FramingYuv[1].pac_data + framingCtx->FramingYuv[1].u_width * framingCtx->FramingYuv[1].u_height;
1103 if( (pPlaneIn->u_height != pPlaneOut[0].u_height) ||
1104 (pPlaneOut[0].u_height != (pPlaneOut[1].u_height<<1)) ||
1105 (pPlaneOut[0].u_height != (pPlaneOut[2].u_height<<1)))
1128 u32_height = pPlaneOut[0].u_height;
1281 if( (PlaneIn->u_height != PlaneOut[0].u_height) ||
1282 (PlaneOut[0].u_height != (PlaneOut[1].u_height<<1)) ||
1283 (PlaneOut[0].u_height != (PlaneOut[2].u_height<<1)))
1302 u32_height = PlaneOut[0].u_height;
1404 for (i = 0; i < PlaneOut[plane_number].u_height; i++)
1467 if ((pPlaneIn[0].u_height == pPlaneOut[0].u_height) &&
1474 if ((IS_EVEN(pPlaneIn[0].u_height) == FALSE) ||
1475 (IS_EVEN(pPlaneOut[0].u_height) == FALSE))
1499 u32_height_in = pPlaneIn[u32_plane].u_height;
1502 u32_height_out = pPlaneOut[u32_plane].u_height;
1699 Params.m_inputSize.m_height = pPlaneIn->u_height;
1702 Params.m_outputSize.m_height = pPlaneOut->u_height;
1710 memset((void *)pPlaneOut[0].pac_data,Y_PLANE_BORDER_VALUE,(pPlaneOut[0].u_height*pPlaneOut[0].u_stride));
1711 memset((void *)pPlaneOut[1].pac_data,U_PLANE_BORDER_VALUE,(pPlaneOut[1].u_height*pPlaneOut[1].u_stride));
1712 memset((void *)pPlaneOut[2].pac_data,V_PLANE_BORDER_VALUE,(pPlaneOut[2].u_height*pPlaneOut[2].u_stride));
1715 pImagePlanesTemp[0].u_height = pPlaneOut[0].u_height;
1721 pImagePlanesTemp[1].u_height = pPlaneOut[1].u_height;
1727 pImagePlanesTemp[2].u_height = pPlaneOut[2].u_height;
1733 pImagePlanesTemp[0].pac_data = (M4OSA_UInt8*)M4OSA_32bitAlignedMalloc(pImagePlanesTemp[0].u_width * pImagePlanesTemp[0].u_height, M4VS, (M4OSA_Char*)"applyRenderingMode: temporary plane bufferY") ;
1739 pImagePlanesTemp[1].pac_data = (M4OSA_UInt8*)M4OSA_32bitAlignedMalloc(pImagePlanesTemp[1].u_width * pImagePlanesTemp[1].u_height, M4VS, (M4OSA_Char*)"applyRenderingMode: temporary plane bufferU") ;
1746 pImagePlanesTemp[2].pac_data = (M4OSA_UInt8*)M4OSA_32bitAlignedMalloc(pImagePlanesTemp[2].u_width * pImagePlanesTemp[2].u_height, M4VS, (M4OSA_Char*)"applyRenderingMode: temporary plane bufferV") ;
1758 memset((void *)pImagePlanesTemp[0].pac_data,Y_PLANE_BORDER_VALUE,(pImagePlanesTemp[0].u_height*pImagePlanesTemp[0].u_stride));
1759 memset((void *)pImagePlanesTemp[1].pac_data,U_PLANE_BORDER_VALUE,(pImagePlanesTemp[1].u_height*pImagePlanesTemp[1].u_stride));
1760 memset((void *)pImagePlanesTemp[2].pac_data,V_PLANE_BORDER_VALUE,(pImagePlanesTemp[2].u_height*pImagePlanesTemp[2].u_stride));
1762 if((M4OSA_UInt32)((pPlaneIn->u_height * pPlaneOut->u_width) /pPlaneIn->u_width) <= pPlaneOut->u_height)//Params.m_inputSize.m_height < Params.m_inputSize.m_width)
1766 Params.m_outputSize.m_height = (M4OSA_UInt32)((pPlaneIn->u_height * pPlaneOut->u_width) /pPlaneIn->u_width);
1768 pImagePlanesTemp[0].u_topleft = (M4xVSS_ABS((M4OSA_Int32)(pImagePlanesTemp[0].u_height-Params.m_outputSize.m_height)>>1))*pImagePlanesTemp[0].u_stride;
1769 pImagePlanesTemp[0].u_height = Params.m_outputSize.m_height;
1770 pImagePlanesTemp[1].u_topleft = (M4xVSS_ABS((M4OSA_Int32)(pImagePlanesTemp[1].u_height-(Params.m_outputSize.m_height>>1)))>>1)*pImagePlanesTemp[1].u_stride;
1771 pImagePlanesTemp[1].u_height = Params.m_outputSize.m_height>>1;
1772 pImagePlanesTemp[2].u_topleft = (M4xVSS_ABS((M4OSA_Int32)(pImagePlanesTemp[2].u_height-(Params.m_outputSize.m_height>>1)))>>1)*pImagePlanesTemp[2].u_stride;
1773 pImagePlanesTemp[2].u_height = Params.m_outputSize.m_height>>1;
1778 Params.m_outputSize.m_height = pPlaneOut->u_height;
1779 Params.m_outputSize.m_width = (M4OSA_UInt32)((pPlaneIn->u_width * pPlaneOut->u_height) /pPlaneIn->u_height);
1797 pImagePlanesTemp[0].u_height = (pImagePlanesTemp[0].u_height>>1)<<1;
1798 pImagePlanesTemp[1].u_height = (pImagePlanesTemp[1].u_height>>1)<<1;
1799 pImagePlanesTemp[2].u_height = (pImagePlanesTemp[2].u_height>>1)<<1;
1819 Params.m_outputSize.m_height = pPlaneOut->u_height;
1826 Params.m_inputCoord.m_y = (M4OSA_Int32)((M4OSA_Int32)((pPlaneIn->u_height - Params.m_inputSize.m_height))>>1);
1892 for(i=0; i<pPlaneOut[0].u_height; i++)
1898 for(i=0; i<pPlaneOut[1].u_height; i++)
1904 for(i=0; i<pPlaneOut[2].u_height; i++)
2406 M4OSA_UInt32 loc_height = pOut[i].u_height;
2430 for(j=0;j<pOut[i].u_height;j++)
2451 for(j=0;j<pOut[i].u_height;j++)
2488 for(j=0;j<pOut[i].u_height;j++)
2566 for(j=0;j<pOut[i].u_height;j++)
2652 for(j=0;j<pOut[i].u_height;j++)
2735 for(j=0;j<pOut[i].u_height;j++)
2827 pC->m_procRows += pOut[0].u_height;
2913 rgbPlane.u_height = height;
2920 yuvPlane[0].u_height = height;
2924 yuvPlane[0].pac_data = (M4VIFI_UInt8*)M4OSA_32bitAlignedMalloc(yuvPlane[0].u_height * yuvPlane[0].u_width * 1.5, M4VS, (M4OSA_Char*)"imageClip YUV data");
2926 yuvPlane[1].u_height = yuvPlane[0].u_height >>1;
2930 yuvPlane[1].pac_data = (M4VIFI_UInt8*)(yuvPlane[0].pac_data + yuvPlane[0].u_height * yuvPlane[0].u_width);
2932 yuvPlane[2].u_height = yuvPlane[0].u_height >>1;
2936 yuvPlane[2].pac_data = (M4VIFI_UInt8*)(yuvPlane[1].pac_data + yuvPlane[1].u_height * yuvPlane[1].u_width);
2953 fwrite(yuvPlane[0].pac_data, yuvPlane[0].u_height * yuvPlane[0].u_width * 1.5, 1, fp1);
2968 plane[0].u_height = height;
2975 plane[1].u_height = height/2;
2982 plane[2].u_height = height/2;
2994 plane[0].u_height = height;
3001 plane[1].u_height = height/2;
3005 + plane[0].u_height * plane[0].u_stride
3006 + (plane[0].u_height/2) * android::PreviewRenderer::ALIGN((
3011 plane[2].u_height = height/2;
3015 plane[0].u_height * android::PreviewRenderer::ALIGN(plane[0].u_stride, 16));
3024 planeIn[0].u_height = planeOut[0].u_height;
3033 planeIn[1].u_height = planeOut[1].u_height;
3040 planeIn[2].u_height = planeOut[2].u_height;
3049 planeOut[0].u_width*planeOut[0].u_height);
3052 planeOut[0].u_width*planeOut[0].u_height +
3053 planeOut[1].u_width*planeOut[1].u_height);
3059 planeOut[0].u_width*planeOut[0].u_height);
3062 planeOut[0].u_width*planeOut[0].u_height +
3063 planeOut[1].u_width*planeOut[1].u_height);
3114 framingCtx->FramingRgb->u_height = framingCtx->FramingRgb->u_height & ~1;
3179 framingCtx->FramingYuv[0].u_height = framingCtx->FramingRgb->u_height;
3185 framingCtx->FramingYuv[1].u_height = (framingCtx->FramingRgb->u_height)>>1;
3189 framingCtx->FramingYuv[0].u_width * framingCtx->FramingYuv[0].u_height;
3192 framingCtx->FramingYuv[2].u_height = (framingCtx->FramingRgb->u_height)>>1;
3196 framingCtx->FramingYuv[1].u_width * framingCtx->FramingYuv[1].u_height;
3689 pPlaneOut[plane_number].u_height - 1 ;
3694 for (i = 0; i < pPlaneOut[plane_number].u_height; i++) {
3731 for (i = 0; i < pPlaneOut[plane_number].u_height; i++) {
3768 pPlaneOut[plane_number].u_stride*(pPlaneOut[plane_number].u_height-1) +
3772 * In case u_height is odd, the row at the middle of the frame
3774 for (i = 0; i < ((pPlaneOut[plane_number].u_height)>>1); i++) {
3789 if ((pPlaneOut[plane_number].u_height%2)!= 0) {
3793 pPlaneOut[plane_number].u_stride*(pPlaneOut[plane_number].u_height>>1);
3809 pPlaneOut[plane_number].u_stride*(pPlaneOut[plane_number].u_height-1) +
3813 for (i = 0; i < pPlaneOut[plane_number].u_height; i++) {