[MPlayer-cvslog] r37949 - trunk/libvo/vo_xv.c
al
subversion at mplayerhq.hu
Sat Aug 26 23:39:18 EEST 2017
Author: al
Date: Sat Aug 26 23:39:18 2017
New Revision: 37949
Log:
vo_xv: cosmetics: Fix indentation after previous commits
Modified:
trunk/libvo/vo_xv.c
Modified: trunk/libvo/vo_xv.c
==============================================================================
--- trunk/libvo/vo_xv.c Sat Aug 26 23:36:28 2017 (r37948)
+++ trunk/libvo/vo_xv.c Sat Aug 26 23:39:18 2017 (r37949)
@@ -397,20 +397,20 @@ static int draw_slice(uint8_t * image[],
case IMGFMT_YV12:
idx_p1 = 2; idx_p2 = 1;
default:
- x /= 2;
- y /= 2;
- w /= 2;
- h /= 2;
+ x /= 2;
+ y /= 2;
+ w /= 2;
+ h /= 2;
- dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[1] +
- xvimage[current_buf]->pitches[1] * y + x;
+ dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[1] +
+ xvimage[current_buf]->pitches[1] * y + x;
memcpy_pic(dst, image[idx_p1], w, h, xvimage[current_buf]->pitches[1],
- stride[idx_p1]);
+ stride[idx_p1]);
- dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[2] +
- xvimage[current_buf]->pitches[2] * y + x;
+ dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[2] +
+ xvimage[current_buf]->pitches[2] * y + x;
memcpy_pic(dst, image[idx_p2], w, h, xvimage[current_buf]->pitches[2],
- stride[idx_p2]);
+ stride[idx_p2]);
break;
}
@@ -485,14 +485,14 @@ static uint32_t get_image(mp_image_t * m
case IMGFMT_YV12:
idx_p1 = 2; idx_p2 = 1;
default:
- mpi->planes[1] =
- xvimage[current_buf]->data +
- xvimage[current_buf]->offsets[idx_p1];
- mpi->planes[2] =
- xvimage[current_buf]->data +
- xvimage[current_buf]->offsets[idx_p2];
- mpi->stride[1] = xvimage[current_buf]->pitches[idx_p1];
- mpi->stride[2] = xvimage[current_buf]->pitches[idx_p2];
+ mpi->planes[1] =
+ xvimage[current_buf]->data +
+ xvimage[current_buf]->offsets[idx_p1];
+ mpi->planes[2] =
+ xvimage[current_buf]->data +
+ xvimage[current_buf]->offsets[idx_p2];
+ mpi->stride[1] = xvimage[current_buf]->pitches[idx_p1];
+ mpi->stride[2] = xvimage[current_buf]->pitches[idx_p2];
break;
}
mpi->flags |= MP_IMGFLAG_DIRECT;
More information about the MPlayer-cvslog
mailing list