Home
last modified time | relevance | path

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

/external/libaom/libaom/av1/
Dav1_dx_iface.c708 aom_image_t *grain_img_buf = *grain_img_ptr; in add_grain_if_needed() local
713 if (grain_img_buf) { in add_grain_if_needed()
714 const int alloc_w = ALIGN_POWER_OF_TWO(grain_img_buf->d_w, 1); in add_grain_if_needed()
715 const int alloc_h = ALIGN_POWER_OF_TWO(grain_img_buf->d_h, 1); in add_grain_if_needed()
717 img->fmt != grain_img_buf->fmt) { in add_grain_if_needed()
718 aom_img_free(grain_img_buf); in add_grain_if_needed()
719 grain_img_buf = NULL; in add_grain_if_needed()
723 if (!grain_img_buf) { in add_grain_if_needed()
724 grain_img_buf = aom_img_alloc(NULL, img->fmt, w_even, h_even, 16); in add_grain_if_needed()
725 *grain_img_ptr = grain_img_buf; in add_grain_if_needed()
[all …]