Home
last modified time | relevance | path

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

/external/libaom/libaom/av1/common/
Dresize.c719 const int border_cols = UPSCALE_NORMATIVE_TAPS / 2 + 1; in upscale_normative_rect() local
723 uint8_t *const in_tl = (uint8_t *)(input - border_cols); // Cast off 'const' in upscale_normative_rect()
726 tmp_left = (uint8_t *)aom_malloc(sizeof(*tmp_left) * border_cols * height); in upscale_normative_rect()
728 memcpy(tmp_left + i * border_cols, in_tl + i * in_stride, border_cols); in upscale_normative_rect()
729 memset(in_tl + i * in_stride, input[i * in_stride], border_cols); in upscale_normative_rect()
734 (uint8_t *)aom_malloc(sizeof(*tmp_right) * border_cols * height); in upscale_normative_rect()
736 memcpy(tmp_right + i * border_cols, in_tr + i * in_stride, border_cols); in upscale_normative_rect()
738 border_cols); in upscale_normative_rect()
749 memcpy(in_tl + i * in_stride, tmp_left + i * border_cols, border_cols); in upscale_normative_rect()
755 memcpy(in_tr + i * in_stride, tmp_right + i * border_cols, border_cols); in upscale_normative_rect()
[all …]