diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2021-04-04 23:39:55 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2021-04-04 23:39:55 -0700 |
commit | 809271ec5e41223e91aee9aff48ec065dafcd5fa (patch) | |
tree | a1000f12a4d8cc0f5148272420f2a2730deba3da /src/rmd_cache_frame.c | |
parent | 97ebf1892bbf29712f94d9b6e65547469f16b09e (diff) |
*: trivial cleanups
s/for(/for (/g
Diffstat (limited to 'src/rmd_cache_frame.c')
-rw-r--r-- | src/rmd_cache_frame.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rmd_cache_frame.c b/src/rmd_cache_frame.c index 9629144..f353c79 100644 --- a/src/rmd_cache_frame.c +++ b/src/rmd_cache_frame.c @@ -72,7 +72,7 @@ static int rmdFlushBlock( for (int j = 0;j < blockwidth; j++) { - for(int i = 0;i < blockwidth; i++) + for (int i = 0;i < blockwidth; i++) (*out_buf_reg++) = (*buf_reg++); out_buffer_bytes += blockwidth; @@ -129,7 +129,7 @@ void *rmdCacheImageBuffer(ProgData *pdata) //find and flush different blocks if (firstrun) { firstrun = 0; - for(int j = 0; j < blocknum_x * blocknum_y; j++) { + for (int j = 0; j < blocknum_x * blocknum_y; j++) { yblocks[ynum] = 1; y_short_blocks[ynum] = j; ynum++; @@ -142,7 +142,7 @@ void *rmdCacheImageBuffer(ProgData *pdata) } } else { /**COMPRESS ARRAYS*/ - for(int j = 0; j < blocknum_x * blocknum_y; j++) { + for (int j = 0; j < blocknum_x * blocknum_y; j++) { if (yblocks[j]) { y_short_blocks[ynum] = j; ynum++; @@ -187,7 +187,7 @@ void *rmdCacheImageBuffer(ProgData *pdata) //flush the blocks for each buffer if (ynum) { - for(int j = 0; j < ynum; j++) + for (int j = 0; j < ynum; j++) nbytes += rmdFlushBlock(pdata->enc_data->yuv.y, y_short_blocks[j], pdata->enc_data->yuv.y_width, @@ -198,7 +198,7 @@ void *rmdCacheImageBuffer(ProgData *pdata) } if (unum) { - for(int j = 0; j < unum; j++) + for (int j = 0; j < unum; j++) nbytes += rmdFlushBlock(pdata->enc_data->yuv.u, u_short_blocks[j], pdata->enc_data->yuv.uv_width, @@ -209,7 +209,7 @@ void *rmdCacheImageBuffer(ProgData *pdata) } if (vnum) { - for(int j = 0; j < vnum; j++) + for (int j = 0; j < vnum; j++) nbytes += rmdFlushBlock(pdata->enc_data->yuv.v, v_short_blocks[j], pdata->enc_data->yuv.uv_width, |