Home | History | Annotate | Download | only in lvpp

Lines Matching refs:planeOut

271     M4VIFI_ImagePlane *PlaneIn, M4VIFI_ImagePlane *PlaneOut ) {
283 p_buf_dest = &(PlaneOut[0].pac_data[PlaneOut[0].u_topleft]);
285 PlaneOut[0].u_width * PlaneOut[0].u_height);
290 p_buf_dest = &(PlaneOut[1].pac_data[PlaneOut[1].u_topleft]);
292 for(i = 0; i < PlaneOut[1].u_width*PlaneOut[1].u_height; i++)
301 M4VIFI_ImagePlane *PlaneIn, M4VIFI_ImagePlane *PlaneOut ) {
314 p_buf_dest = &(PlaneOut[0].pac_data[PlaneOut[0].u_topleft]);
316 PlaneOut[0].u_width * PlaneOut[0].u_height);
320 p_buf_dest_u = &(PlaneOut[1].pac_data[PlaneOut[1].u_topleft]);
321 p_buf_dest_v = &(PlaneOut[2].pac_data[PlaneOut[2].u_topleft]);
323 for(i = 0; i < PlaneOut[1].u_width*PlaneOut[1].u_height; i++)
336 * M4VIFI_ImagePlane *PlaneOut,
344 * @param PlaneOut (IN/OUT) Output YUV420 planar
352 M4VIFI_ImagePlane *PlaneIn, M4VIFI_ImagePlane *PlaneOut,
366 &(PlaneOut[plane_number].pac_data[PlaneOut[plane_number].u_topleft]);
367 for (i = 0; i < PlaneOut[plane_number].u_height; i++)
402 (void *)p_buf_src ,PlaneOut[plane_number].u_width);
474 for(j=0;j<PlaneOut[plane_number].u_width;j++)
481 (void *)p_buf_src ,PlaneOut[plane_number].u_width);
486 p_buf_dest += PlaneOut[plane_number].u_stride;
497 * M4VIFI_ImagePlane *PlaneOut,
505 * @param PlaneOut (IN/OUT) Output YUV420 planar
514 M4VIFI_ImagePlane *PlaneOut, M4VSS3GPP_ExternalProgress *pProgress,
573 p_out0 = PlaneOut[0].pac_data;
574 p_out1 = PlaneOut[1].pac_data;
575 p_out2 = PlaneOut[2].pac_data;
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));
678 *( p_out0+y+x*PlaneOut[0].u_stride)=(*(currentFraming->FramingYuv[0].pac_data+(y-topleft[0])+(x-topleft[1])*currentFraming->FramingYuv[0].u_stride))*alphaBlending;
679 *( p_out0+y+x*PlaneOut[0].u_stride)+=(*(p_in_Y+y+x*PlaneIn[0].u_stride))*(1-alphaBlending);
680 *( p_out1+(y>>1)+(x>>1)*PlaneOut[1].u_stride)=(*(currentFraming->FramingYuv[1].pac_data+((y-topleft[0])>>1)+((x-topleft[1])>>1)*currentFraming->FramingYuv[1].u_stride))*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);
682 *( p_out2+(y>>1)+(x>>1)*PlaneOut[2].u_stride)=(*(currentFraming->FramingYuv[2].pac_data+((y-topleft[0])>>1)+((x-topleft[1])>>1)*currentFraming->FramingYuv[2].u_stride))*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);
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);
721 * M4VIFI_ImagePlane *PlaneOut,
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) ||
1282 (PlaneOut[0].u_height != (PlaneOut[1].u_height<<1)) ||
1283 (PlaneOut[0].u_height != (PlaneOut[2].u_height<<1)))
1286 if( (PlaneIn->u_width != PlaneOut[0].u_width) ||
1287 (PlaneOut[0].u_width != (PlaneOut[1].u_width<<1)) ||
1288 (PlaneOut[0].u_width != (PlaneOut[2].u_width<<1)))
1293 pu8_y_data = PlaneOut[0].pac_data + PlaneOut[0].u_topleft;
1294 pu8_u_data = PlaneOut[1].pac_data + PlaneOut[1].u_topleft;
1295 pu8_v_data = PlaneOut[2].pac_data + PlaneOut[2].u_topleft;
1301 u32_width = PlaneOut[0].u_width;
1302 u32_height = PlaneOut[0].u_height;
1305 u32_stride_Y = PlaneOut[0].u_stride;
1307 u32_stride_U = PlaneOut[1].u_stride;
1308 u32_stride_V = PlaneOut[2].u_stride;
1394 M4VIFI_UInt8 M4VIFI_YUV420toYUV420(void *user_data, M4VIFI_ImagePlane PlaneIn[3], M4VIFI_ImagePlane *PlaneOut )
1403 p_buf_dest = &(PlaneOut[plane_number].pac_data[PlaneOut[plane_number].u_topleft]);
1404 for (i = 0; i < PlaneOut[plane_number].u_height; i++)
1406 memcpy((void *)p_buf_dest, (void *)p_buf_src ,PlaneOut[plane_number].u_width);
1408 p_buf_dest += PlaneOut[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;
3045 if(planeOut[0].pac_data == (M4VIFI_UInt8*)buffer1)
3047 planeOut[0].pac_data = (M4VIFI_UInt8*)buffer2;
3048 planeOut[1].pac_data = (M4VIFI_UInt8*)(buffer2 +
3049 planeOut[0].u_width*planeOut[0].u_height);
3051 planeOut[2].pac_data = (M4VIFI_UInt8*)(buffer2 +
3052 planeOut[0].u_width*planeOut[0].u_height +
3053 planeOut[1].u_width*planeOut[1].u_height);
3057 planeOut[0].pac_data = (M4VIFI_UInt8*)buffer1;
3058 planeOut[1].pac_data = (M4VIFI_UInt8*)(buffer1 +
3059 planeOut[0].u_width*planeOut[0].u_height);
3061 planeOut[2].pac_data = (M4VIFI_UInt8*)(buffer1 +
3062 planeOut[0].u_width*planeOut[0].u_height +
3063 planeOut[1].u_width*planeOut[1].u_height);
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];
3312 prepareYUV420ImagePlane(planeOut, params->videoWidth, params->videoHeight,
3316 // and planeOut will contain the YUV420 data with effect
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,
3559 prepareYV12ImagePlane(planeOut, yv12PlaneWidth, yv12PlaneHeight,
3562 err = applyRenderingMode(planeIn, planeOut, params->renderingMode);
3835 M4VIFI_ImagePlane planeIn[3], planeOut[3];
3853 prepareYUV420ImagePlane(planeOut, height,
3859 M4VIFI_Rotate90RightYUV420toYUV420(M4OSA_NULL, planeIn, planeOut);
3864 // In plane rotation, so planeOut = planeIn
3869 M4VIFI_Rotate90LeftYUV420toYUV420(M4OSA_NULL, planeIn, planeOut);