diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-16 03:58:22 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-16 03:58:22 +0300 |
commit | be7855591e3b47e5e72c09555946f75975a8c028 (patch) | |
tree | eb11ff27360e2285cddfe24609bc293b103e9ac0 /source/blender/imbuf/intern/iris.c | |
parent | 379bd6d50ce37e07cbc4fb1e1c47c814f6a7530e (diff) |
Cleanup: rename cnt to count
Follow naming from T85728.
Diffstat (limited to 'source/blender/imbuf/intern/iris.c')
-rw-r--r-- | source/blender/imbuf/intern/iris.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/imbuf/intern/iris.c b/source/blender/imbuf/intern/iris.c index 86321d6432c..eb0a2c4a47f 100644 --- a/source/blender/imbuf/intern/iris.c +++ b/source/blender/imbuf/intern/iris.c @@ -105,7 +105,7 @@ static int expandrow2( float *optr, const float *optr_end, const uchar *iptr, const uchar *iptr_end, int z); static void interleaverow(uchar *lptr, const uchar *cptr, int z, int n); static void interleaverow2(float *lptr, const uchar *cptr, int z, int n); -static int compressrow(uchar *lbuf, uchar *rlebuf, int z, int cnt); +static int compressrow(uchar *lbuf, uchar *rlebuf, int z, int row_len); static void lumrow(const uchar *rgbptr, uchar *lumptr, int n); /* @@ -892,7 +892,7 @@ static void lumrow(const uchar *rgbptr, uchar *lumptr, int n) } } -static int compressrow(uchar *lbuf, uchar *rlebuf, int z, int cnt) +static int compressrow(uchar *lbuf, uchar *rlebuf, int z, int row_len) { uchar *iptr, *ibufend, *sptr, *optr; short todo, cc; @@ -900,7 +900,7 @@ static int compressrow(uchar *lbuf, uchar *rlebuf, int z, int cnt) lbuf += z; iptr = lbuf; - ibufend = iptr + cnt * 4; + ibufend = iptr + row_len * 4; optr = rlebuf; while (iptr < ibufend) { |