Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Dvf_palettegen.c214 struct range_box *new_box = &s->boxes[s->nb_boxes++]; in split_box() local
215 new_box->start = n + 1; in split_box()
216 new_box->len = box->start + box->len - new_box->start; in split_box()
217 new_box->sorted_by = box->sorted_by; in split_box()
218 box->len -= new_box->len; in split_box()
221 av_assert0(new_box->len >= 1); in split_box()
224 new_box->color = get_avg_color(s->refs, new_box); in split_box()
226 new_box->variance = -1; in split_box()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute_blit.c663 struct pipe_box new_box; in si_compute_copy_image() local
676 new_box.x = util_format_get_nblocksx(src_format, src_box->x); in si_compute_copy_image()
677 new_box.y = util_format_get_nblocksy(src_format, src_box->y); in si_compute_copy_image()
678 new_box.z = src_box->z; in si_compute_copy_image()
679 new_box.width = util_format_get_nblocksx(src_format, src_box->width); in si_compute_copy_image()
680 new_box.height = util_format_get_nblocksy(src_format, src_box->height); in si_compute_copy_image()
681 new_box.depth = src_box->depth; in si_compute_copy_image()
682 src_box = &new_box; in si_compute_copy_image()
698 new_box = *src_box; in si_compute_copy_image()
699 new_box.x = util_format_get_nblocksx(src_format, src_box->x); in si_compute_copy_image()
[all …]