Home
last modified time | relevance | path

Searched refs:luma_grain_block (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/media/platform/verisilicon/
H A Drockchip_av1_filmgrain.c232 void rockchip_av1_generate_luma_grain_block(s32 (*luma_grain_block)[73][82], 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()
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()
288 void rockchip_av1_generate_chroma_grain_block(s32 (*luma_grain_block)[73][82], in rockchip_av1_generate_chroma_grain_block()
374 (*luma_grain_block)[luma_coord_y][luma_coord_x]; in rockchip_av1_generate_chroma_grain_block()
376 (*luma_grain_block)[luma_coord_y][luma_coord_x + 1]; in rockchip_av1_generate_chroma_grain_block()
378 (*luma_grain_block)[luma_coord_y + 1][luma_coord_x]; in rockchip_av1_generate_chroma_grain_block()
[all …]
H A Drockchip_av1_filmgrain.h8 void rockchip_av1_generate_luma_grain_block(s32 (*luma_grain_block)[73][82],
19 void rockchip_av1_generate_chroma_grain_block(s32 (*luma_grain_block)[73][82],
H A Drockchip_vpu981_hw_av1_dec.c1237 s32 (*luma_grain_block)[73][82]; in rockchip_vpu981_av1_dec_set_fgs() local
1269 luma_grain_block = kzalloc(sizeof(int32_t) * 73 * 82, GFP_KERNEL); in rockchip_vpu981_av1_dec_set_fgs()
1274 !luma_grain_block || !cb_grain_block || !cr_grain_block) { in rockchip_vpu981_av1_dec_set_fgs()
1348 rockchip_av1_generate_luma_grain_block(luma_grain_block, bitdepth, in rockchip_vpu981_av1_dec_set_fgs()
1353 rockchip_av1_generate_chroma_grain_block(luma_grain_block, cb_grain_block, in rockchip_vpu981_av1_dec_set_fgs()
1367 (*luma_grain_block)[i + 9][j + 9]; in rockchip_vpu981_av1_dec_set_fgs()
1385 kfree(luma_grain_block); in rockchip_vpu981_av1_dec_set_fgs()