Lines Matching refs:j
245 s32 i, j; in rockchip_av1_generate_luma_grain_block() local
248 for (j = 0; j < 82; j++) { in rockchip_av1_generate_luma_grain_block()
252 (*luma_grain_block)[i][j] = in rockchip_av1_generate_luma_grain_block()
258 (*luma_grain_block)[i][j] = 0; in rockchip_av1_generate_luma_grain_block()
264 for (j = 3; j < 82 - 3; j++) { in rockchip_av1_generate_luma_grain_block()
276 (*luma_grain_block)[i + deltarow][j + deltacol]; in rockchip_av1_generate_luma_grain_block()
280 (*luma_grain_block)[i][j] = in rockchip_av1_generate_luma_grain_block()
281 clamp((*luma_grain_block)[i][j] + in rockchip_av1_generate_luma_grain_block()
307 s32 i, j; in rockchip_av1_generate_chroma_grain_block() local
312 for (j = 0; j < 44; j++) { in rockchip_av1_generate_chroma_grain_block()
316 (*cb_grain_block)[i][j] = in rockchip_av1_generate_chroma_grain_block()
322 (*cb_grain_block)[i][j] = 0; in rockchip_av1_generate_chroma_grain_block()
330 for (j = 0; j < 44; j++) { in rockchip_av1_generate_chroma_grain_block()
334 (*cr_grain_block)[i][j] = in rockchip_av1_generate_chroma_grain_block()
340 (*cr_grain_block)[i][j] = 0; in rockchip_av1_generate_chroma_grain_block()
346 for (j = 3; j < 44 - 3; j++) { in rockchip_av1_generate_chroma_grain_block()
359 (*cb_grain_block)[i + deltarow][j + deltacol]; in rockchip_av1_generate_chroma_grain_block()
363 (*cr_grain_block)[i + deltarow][j + deltacol]; in rockchip_av1_generate_chroma_grain_block()
371 s32 luma_coord_x = (j << 1) - 3; in rockchip_av1_generate_chroma_grain_block()
388 (*cb_grain_block)[i][j] = in rockchip_av1_generate_chroma_grain_block()
389 clamp((*cb_grain_block)[i][j] + in rockchip_av1_generate_chroma_grain_block()
394 (*cr_grain_block)[i][j] = in rockchip_av1_generate_chroma_grain_block()
395 clamp((*cr_grain_block)[i][j] + in rockchip_av1_generate_chroma_grain_block()