summaryrefslogtreecommitdiff
path: root/vp8/common/setupintrarecon.h
diff options
context:
space:
mode:
authorJim Bankoski <jimbankoski@google.com>2016-07-18 06:54:50 -0700
committerJim Bankoski <jimbankoski@google.com>2016-07-18 06:54:50 -0700
commit3e04114f3d6d1bc746a376f375dc18c5a941e5aa (patch)
treea126483089f817695ff547fc976aa07654d7abc7 /vp8/common/setupintrarecon.h
parent106a8a153650e5993bff62c4030758a35b54c348 (diff)
downloadlibvpx-3e04114f3d6d1bc746a376f375dc18c5a941e5aa.tar
libvpx-3e04114f3d6d1bc746a376f375dc18c5a941e5aa.tar.gz
libvpx-3e04114f3d6d1bc746a376f375dc18c5a941e5aa.tar.bz2
libvpx-3e04114f3d6d1bc746a376f375dc18c5a941e5aa.zip
prepend ++ instead of post in for loops.
Applied the following regex : search for: (for.*\(.*;.*;) ([a-zA-Z_]*)\+\+\) replace with: \1 ++\2) This misses some for loops: ie : for (mb_col = 0; mb_col < oci->mb_cols; mb_col++, mi++) Change-Id: Icf5f6fb93cced0992e0bb71d2241780f7fb1f0a8
Diffstat (limited to 'vp8/common/setupintrarecon.h')
-rw-r--r--vp8/common/setupintrarecon.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vp8/common/setupintrarecon.h b/vp8/common/setupintrarecon.h
index ee72fd720..f3ffa1660 100644
--- a/vp8/common/setupintrarecon.h
+++ b/vp8/common/setupintrarecon.h
@@ -26,11 +26,11 @@ static INLINE void setup_intra_recon_left(unsigned char *y_buffer,
int uv_stride) {
int i;
- for (i = 0; i < 16; i++) y_buffer[y_stride * i] = (unsigned char)129;
+ for (i = 0; i < 16; ++i) y_buffer[y_stride * i] = (unsigned char)129;
- for (i = 0; i < 8; i++) u_buffer[uv_stride * i] = (unsigned char)129;
+ for (i = 0; i < 8; ++i) u_buffer[uv_stride * i] = (unsigned char)129;
- for (i = 0; i < 8; i++) v_buffer[uv_stride * i] = (unsigned char)129;
+ for (i = 0; i < 8; ++i) v_buffer[uv_stride * i] = (unsigned char)129;
}
#ifdef __cplusplus