Home
last modified time | relevance | path

Searched refs:clear_size (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavutil/
Dimgutils.c554 size_t clear_size) in memset_bytes() argument
559 if (!clear_size) in memset_bytes()
563 for (i = 0; i < clear_size; i++) { in memset_bytes()
570 clear_size = 1; in memset_bytes()
572 if (clear_size == 1) { in memset_bytes()
575 if (clear_size > dst_size) in memset_bytes()
576 clear_size = dst_size; in memset_bytes()
577 memcpy(dst, clear, clear_size); in memset_bytes()
578 av_memcpy_backptr(dst + clear_size, clear_size, dst_size - clear_size); in memset_bytes()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_clear.c298 uint32_t clear_size; in vi_dcc_get_clear_info() local
313 clear_size = tex->surface.u.gfx9.meta_levels[level].size; in vi_dcc_get_clear_info()
316 clear_size = tex->surface.meta_size; in vi_dcc_get_clear_info()
339 clear_size = tex->surface.meta_size; in vi_dcc_get_clear_info()
355 clear_size = tex->surface.u.legacy.color.dcc_level[level].dcc_fast_clear_size * num_layers; in vi_dcc_get_clear_info()
358 si_init_buffer_clear(out, dcc_buffer, dcc_offset, clear_size, clear_value); in vi_dcc_get_clear_info()
686 unsigned clear_size = 0; in si_fast_clear() local
703 clear_size = tex->surface.u.gfx9.color.cmask_level0.size; in si_fast_clear()
707 clear_size = tex->surface.cmask_size; in si_fast_clear()
723 clear_size = tex->surface.cmask_size; in si_fast_clear()
[all …]