Lines Matching refs:plane

568      * Initialize input / output plane pointers */
631 * Framing is applyed if coordinates matches between framing/topleft and input plane */
696 * Just copy input plane to output plane */
751 /* Initialize input / output plane pointers */
932 * @brief This function converts an RGB565 plane to YUV420 planar
935 * @param framingCtx (IN) The framing struct containing input RGB565 plane
948 framingCtx->FramingYuv = (M4VIFI_ImagePlane*)M4OSA_32bitAlignedMalloc(3*sizeof(M4VIFI_ImagePlane), M4VS, (M4OSA_Char*)"M4xVSS_internalConvertRGBtoYUV: Output plane YUV");
997 * @brief This function converts an RGB888 plane to YUV420 planar
1000 * @param framingCtx (IN) The framing struct containing input RGB888 plane
1013 framingCtx->FramingYuv = (M4VIFI_ImagePlane*)M4OSA_32bitAlignedMalloc(3*sizeof(M4VIFI_ImagePlane), M4VS, (M4OSA_Char*)"M4xVSS_internalConvertRGBtoYUV: Output plane YUV");
1130 /* Set the size of the memory jumps corresponding to row jump in each output plane */
1136 /* Set the size of the memory jumps corresponding to row jump in input plane */
1145 /* Current Y plane row pointers */
1147 /* Next Y plane row pointers */
1149 /* Current U plane row pointer */
1151 /* Current V plane row pointer */
1225 /* Update current Y plane line pointer*/
1227 /* Update next Y plane line pointer*/
1229 /* Update U plane line pointer*/
1231 /* Update V plane line pointer*/
1251 Purpose: filling of the YUV420 plane from a BGR24 plane
1258 In: RGB24 plane
1304 /* set the size of the memory jumps corresponding to row jump in each output plane */
1310 /* idem for input plane */
1386 * @param pPlaneIn: (IN) Pointer to YUV plane buffer
1389 * @return M4VIFI_ILLEGAL_FRAME_HEIGHT: Error in plane height
1390 * @return M4VIFI_ILLEGAL_FRAME_WIDTH: Error in plane width
1419 * @brief Resizes YUV420 Planar plane.
1425 * Place the YUV in the ouput plane
1434 * @param pPlaneIn: (IN) Pointer to YUV420 (Planar) plane buffer
1435 * @param pPlaneOut: (OUT) Pointer to YUV420 (Planar) plane
1673 * Call the resize filter. From the intermediate frame to the encoder image plane */
1732 /* Allocates plan in local image plane structure */
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") ;
1877 M4OSA_TRACE1_1("applyRenderingMode: Error when getting AIR plane: 0x%x", err);
1984 M4OSA_UInt8* pu8_data_in[4]; /**< Save of input plane pointers in case of stripe mode */
2212 for U and V plane as there a 2 times sub-sampled vs Y*/
2240 for U and V plane as there a 2 times sub-sampled vs Y*/
2300 * @note In case the input format type is JPEG, input plane(s)
2301 * in pIn is not used. In normal mode, dimension specified in output plane(s) structure must be the
2384 /**< In every mode, output data are at the beginning of the output plane */
2481 if(3 != i) /**< other than alpha plane */
2919 M4VS, (M4OSA_Char*)"M4xVSS_internalConvertRGBtoYUV: Output plane YUV");
2962 M4OSA_Void prepareYUV420ImagePlane(M4VIFI_ImagePlane *plane,
2966 //Y plane
2967 plane[0].u_width = width;
2968 plane[0].u_height = height;
2969 plane[0].u_stride = reportedWidth;
2970 plane[0].u_topleft = 0;
2971 plane[0].pac_data = buffer;
2973 // U plane
2974 plane[1].u_width = width/2;
2975 plane[1].u_height = height/2;
2976 plane[1].u_stride = reportedWidth >> 1;
2977 plane[1].u_topleft = 0;
2978 plane[1].pac_data = buffer+(reportedWidth*reportedHeight);
2981 plane[2].u_width = width/2;
2982 plane[2].u_height = height/2;
2983 plane[2].u_stride = reportedWidth >> 1;
2984 plane[2].u_topleft = 0;
2985 plane[2].pac_data = plane[1].pac_data + ((reportedWidth/2)*(reportedHeight/2));
2988 M4OSA_Void prepareYV12ImagePlane(M4VIFI_ImagePlane *plane,
2992 //Y plane
2993 plane[0].u_width = width;
2994 plane[0].u_height = height;
2995 plane[0].u_stride = stride;
2996 plane[0].u_topleft = 0;
2997 plane[0].pac_data = buffer;
2999 // U plane
3000 plane[1].u_width = width/2;
3001 plane[1].u_height = height/2;
3002 plane[1].u_stride = android::PreviewRenderer::ALIGN(plane[0].u_stride/2, 16);
3003 plane[1].u_topleft = 0;
3004 plane[1].pac_data = (buffer
3005 + plane[0].u_height * plane[0].u_stride
3006 + (plane[0].u_height/2) * android::PreviewRenderer::ALIGN((
3007 plane[0].u_stride / 2), 16));
3010 plane[2].u_width = width/2;
3011 plane[2].u_height = height/2;
3012 plane[2].u_stride = android::PreviewRenderer::ALIGN(plane[0].u_stride/2, 16);
3013 plane[2].u_topleft = 0;
3014 plane[2].pac_data = (buffer +
3015 plane[0].u_height * android::PreviewRenderer::ALIGN(plane[0].u_stride, 16));
3031 * U plane */
3153 // Input RGB565 plane is provided,
3158 // Input RGB888 plane is provided,
3235 // The out plane now becomes the in plane for adding other effects
3265 // The out plane now becomes the in plane for adding other effects
3307 // Initialize the In plane
3311 // Initialize the Out plane
3436 // The out plane now becomes the in plane for adding other effects
3493 // The out plane now becomes the in plane for adding other effects
3549 // Set the output YUV420 plane to be compatible with YV12 format
3554 // Y plane
3847 // In plane
3851 // Out plane
3864 // In plane rotation, so planeOut = planeIn