rem: gint    y, u, v; gint    r, g, b;
add: int    y, u, v; int    r, g, b;
context: yv12_2_rgb (struct prvt_image_s *image){    gint    i, j;    gint    y, u, v;    gint    r, g, b;    gint    sub_i_u;    gint    sub_i_v;    gint    sub_j_u;    gint    sub_j_v;    guchar *rgb;    rgb = g_malloc0 (image->width * image->height * PIXSZ * sizeof (guchar));    if (!rgb)	return NULL;    for (i = 0; i < image->height; ++i)    {	/*	 * calculate u & v rows 	 */	sub_i_u = ((i * image->u_height) / image->height);	sub_i_v = ((i * image->v_height) / image->height);	for (j = 0; j < image->width; ++j)	{	    /*	     * calculate u & v columns 	     */	    sub_j_u = ((j * image->u_width) / image->width);	    sub_j_v = ((j * image->v_width) / image->width);	 /***************************************************          *          *  Colour conversion from           *    http://www.inforamp.net/~poynton/notes/colour_and_gamma/ColorFAQ.html#RTFToC30          *          *  Thanks to Billy Biggs <vektor@dumbterm.net>          *  for the pointer and the following conversion.          *          *   R' = [ 1.1644         0    1.5960 ]   ([ Y' ]   [  16 ])          *   G' = [ 1.1644   -0.3918   -0.8130 ] * ([ Cb ] - [ 128 ])          *   B' = [ 1.1644    2.0172         0 ]   ([ Cr ]   [ 128 ])          *          *  Where in Xine the above values are represented as          *          *   Y' == image->y          *   Cb == image->u          *   Cr == image->v          *          ***************************************************/	    y = image->y[(i * image->width) + j] - 16;	    u = image->u[(sub_i_u * image->u_width) + sub_j_u] - 128;	    v = image->v[(sub_i_v * image->v_width) + sub_j_v] - 128;	    r = (1.1644 * y) + (1.5960 * v);	    g = (1.1644 * y) - (0.3918 * u) - (0.8130 * v);	    b = (1.1644 * y) + (2.0172 * u);	    clip_8_bit (r);	    clip_8_bit (g);	    clip_8_bit (b);	    rgb[(i * image->width + j) * PIXSZ + 0] = r;	    rgb[(i * image->width + j) * PIXSZ + 1] = g;	    rgb[(i * image->width + j) * PIXSZ + 2] = b;	}    }    return rgb;}