Home | History | Annotate | Download | only in lvpp

Lines Matching full:planein

271     M4VIFI_ImagePlane *PlaneIn, M4VIFI_ImagePlane *PlaneOut ) {
278 if(PlaneIn[0].u_width != PlaneIn[0].u_stride)
282 p_buf_src = &(PlaneIn[0].pac_data[PlaneIn[0].u_topleft]);
288 p_buf_src_u = &(PlaneIn[1].pac_data[PlaneIn[1].u_topleft]);
289 p_buf_src_v = &(PlaneIn[2].pac_data[PlaneIn[2].u_topleft]);
301 M4VIFI_ImagePlane *PlaneIn, M4VIFI_ImagePlane *PlaneOut ) {
309 if(PlaneIn[0].u_width != PlaneIn[0].u_stride)
313 p_buf_src = &(PlaneIn[0].pac_data[PlaneIn[0].u_topleft]);
319 p_buf_src_uv = &(PlaneIn[1].pac_data[PlaneIn[1].u_topleft]);
335 * M4VIFI_ImagePlane *PlaneIn,
343 * @param PlaneIn (IN) Input YUV420 planar
352 M4VIFI_ImagePlane *PlaneIn, M4VIFI_ImagePlane *PlaneOut,
363 &(PlaneIn[plane_number].pac_data[PlaneIn[plane_number].u_topleft]);
378 PlaneIn[plane_number].u_width);
382 PlaneIn[plane_number].u_width);
386 PlaneIn[plane_number].u_width);
392 PlaneIn[plane_number].u_width);
397 PlaneIn[plane_number].u_width);
420 PlaneIn[plane_number].u_width);
427 PlaneIn[plane_number].u_width);
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));
451 PlaneIn[plane_number].u_width);
458 PlaneIn[plane_number].u_width);
485 p_buf_src += PlaneIn[plane_number].u_stride;
496 * M4VIFI_ImagePlane *PlaneIn,
504 * @param PlaneIn (IN) Input YUV420 planar
513 M4OSA_Void *userData, M4VIFI_ImagePlane PlaneIn[3],
519 M4VIFI_UInt8 *p_in_Y = PlaneIn[0].pac_data;
520 M4VIFI_UInt8 *p_in_U = PlaneIn[1].pac_data;
521 M4VIFI_UInt8 *p_in_V = PlaneIn[2].pac_data;
569 p_in_Y += PlaneIn[0].u_topleft;
570 p_in_U += PlaneIn[1].u_topleft;
571 p_in_V += PlaneIn[2].u_topleft;
625 for( x=0 ;x < PlaneIn[0].u_height ; x++)
627 for( y=0 ;y < PlaneIn[0].u_width ; y++)
672 *( p_out0+y+x*PlaneOut[0].u_stride)=(*(p_in_Y+y+x*PlaneIn[0].u_stride));
673 *( p_out1+(y>>1)+(x>>1)*PlaneOut[1].u_stride)=(*(p_in_U+(y>>1)+(x>>1)*PlaneIn[1].u_stride));
674 *( p_out2+(y>>1)+(x>>1)*PlaneOut[2].u_stride)=(*(p_in_V+(y>>1)+(x>>1)*PlaneIn[2].u_stride));
679 *( p_out0+y+x*PlaneOut[0].u_stride)+=(*(p_in_Y+y+x*PlaneIn[0].u_stride))*(1-alphaBlending);
681 *( p_out1+(y>>1)+(x>>1)*PlaneOut[1].u_stride)+=(*(p_in_U+(y>>1)+(x>>1)*PlaneIn[1].u_stride))*(1-alphaBlending);
683 *( p_out2+(y>>1)+(x>>1)*PlaneOut[2].u_stride)+=(*(p_in_V+(y>>1)+(x>>1)*PlaneIn[2].u_stride))*(1-alphaBlending);
685 if( PlaneIn[0].u_width < (topleft[0] + currentFraming->FramingYuv[0].u_width) &&
686 y == PlaneIn[0].u_width-1)
688 FramingRGB = FramingRGB + 2 * (topleft[0] + currentFraming->FramingYuv[0].u_width - PlaneIn[0].u_width + 1);
699 *( p_out0+y+x*PlaneOut[0].u_stride)=*(p_in_Y+y+x*PlaneIn[0].u_stride);
700 *( p_out1+(y>>1)+(x>>1)*PlaneOut[1].u_stride)=*(p_in_U+(y>>1)+(x>>1)*PlaneIn[1].u_stride);
701 *( p_out2+(y>>1)+(x>>1)*PlaneOut[2].u_stride)=*(p_in_V+(y>>1)+(x>>1)*PlaneIn[2].u_stride);
720 * M4VIFI_ImagePlane *PlaneIn,
1249 M4VIFI_UInt8 M4VIFI_RGB888toYUV420(void *pUserData, M4VIFI_ImagePlane *PlaneIn, M4VIFI_ImagePlane PlaneOut[3]);
1263 M4VIFI_UInt8 M4VIFI_RGB888toYUV420(void *pUserData, M4VIFI_ImagePlane *PlaneIn, M4VIFI_ImagePlane PlaneOut[3])
1281 if( (PlaneIn->u_height != PlaneOut[0].u_height) ||
1286 if( (PlaneIn->u_width != PlaneOut[0].u_width) ||
1298 pu8_rgbn_data = PlaneIn->pac_data + PlaneIn->u_topleft;
1311 u32_stride_rgb = PlaneIn->u_stride;
1394 M4VIFI_UInt8 M4VIFI_YUV420toYUV420(void *user_data, M4VIFI_ImagePlane PlaneIn[3], M4VIFI_ImagePlane *PlaneOut )
1402 p_buf_src = &(PlaneIn[plane_number].pac_data[PlaneIn[plane_number].u_topleft]);
1407 p_buf_src += PlaneIn[plane_number].u_stride;
3021 M4VIFI_ImagePlane *planeIn, M4VIFI_ImagePlane *planeOut,
3024 planeIn[0].u_height = planeOut[0].u_height;
3025 planeIn[0].u_width = planeOut[0].u_width;
3026 planeIn[0].u_stride = planeOut[0].u_stride;
3027 planeIn[0].u_topleft = planeOut[0].u_topleft;
3028 planeIn[0].pac_data = planeOut[0].pac_data;
3032 planeIn[1].u_width = planeOut[1].u_width;
3033 planeIn[1].u_height = planeOut[1].u_height;
3034 planeIn[1].u_stride = planeOut[1].u_stride;
3035 planeIn[1].u_topleft = planeOut[1].u_topleft;
3036 planeIn[1].pac_data = planeOut[1].pac_data;
3039 planeIn[2].u_width = planeOut[2].u_width;
3040 planeIn[2].u_height = planeOut[2].u_height;
3041 planeIn[2].u_stride = planeOut[2].u_stride;
3042 planeIn[2].u_topleft = planeOut[2].u_topleft;
3043 planeIn[2].pac_data = planeOut[2].pac_data;
3207 M4VIFI_ImagePlane *planeIn, M4VIFI_ImagePlane *planeOut,
3217 (M4OSA_Void *)&colorContext, planeIn, planeOut, NULL,
3236 swapImagePlanes(planeIn, planeOut, buffer1, buffer2);
3242 M4VIFI_ImagePlane *planeIn, M4VIFI_ImagePlane *planeOut,
3248 (M4ViComImagePlane*)planeIn,(M4ViComImagePlane*)planeOut,
3266 swapImagePlanes(planeIn, planeOut,(M4VIFI_UInt8 *)buffer1,
3276 M4VIFI_ImagePlane planeIn[3], planeOut[3];
3308 prepareYUV420ImagePlane(planeIn, params->videoWidth, params->videoHeight,
3315 // The planeIn contains the YUV420 input data to postprocessing node
3322 planeIn, planeOut, (M4VIFI_UInt8 *)finalOutputBuffer,
3331 planeIn, planeOut, (M4VIFI_UInt8 *)finalOutputBuffer,
3340 planeIn, planeOut, (M4VIFI_UInt8 *)finalOutputBuffer,
3349 planeIn, planeOut, (M4VIFI_UInt8 *)finalOutputBuffer,
3358 planeIn, planeOut, (M4VIFI_UInt8 *)finalOutputBuffer,
3373 planeIn, planeOut, (M4VIFI_UInt8 *)finalOutputBuffer,
3389 planeIn, planeOut, (M4VIFI_UInt8 *)finalOutputBuffer,
3419 (M4OSA_Void *)&fiftiesCtx, planeIn, planeOut, &extProgress,
3437 swapImagePlanes(planeIn, planeOut,(M4VIFI_UInt8 *)finalOutputBuffer,
3468 (M4OSA_Void *)&framingCtx, planeIn, planeOut, &extProgress,
3494 swapImagePlanes(planeIn, planeOut,(M4VIFI_UInt8 *)finalOutputBuffer,
3516 planeIn, planeOut, (M4VIFI_UInt8 *)finalOutputBuffer,
3540 planeIn, planeOut, (M4VIFI_UInt8 *)finalOutputBuffer,
3562 err = applyRenderingMode(planeIn, planeOut, params->renderingMode);
3835 M4VIFI_ImagePlane planeIn[3], planeOut[3];
3848 prepareYUV420ImagePlane(planeIn, width,
3859 M4VIFI_Rotate90RightYUV420toYUV420(M4OSA_NULL, planeIn, planeOut);
3864 // In plane rotation, so planeOut = planeIn
3865 M4VIFI_Rotate180YUV420toYUV420(M4OSA_NULL, planeIn, planeIn);
3869 M4VIFI_Rotate90LeftYUV420toYUV420(M4OSA_NULL, planeIn, planeOut);