Commit 5a27bef380 for aom
commit 5a27bef38066744955aa47495d8cdb3cf0e3e0b6
Author: Frank Galligan <fgalligan@google.com>
Date: Fri Nov 20 18:22:02 2026 -0800
av1: Dispatch highbd intrabc convolve via RTCD
av1_highbd_convolve_2d_facade() called
av1_highbd_convolve_{2d,x,y}_sr_intrabc_c() directly even though
av1_rtcd_defs.pl specializes all three functions for NEON and RVV
(matching lowbd av1_convolve_2d_facade() in 226cedfc9b). Switch the
facade calls to the RTCD entry points so NEON and RVV builds execute
the SIMD kernels added in b8a534d50f and f60c691f52.
Speedup (10-bit intrabc x/y/2d C -> NEON, 8x8..16x16, 1T, bit-exact):
- Pixel 9 Cortex-X4: -45.6%..-90.9% (1.84x-10.94x)
- Pixel 9 Cortex-A720: -53.3%..-89.4% (2.14x-9.40x)
- Arm Neoverse N3: -51.4%..-88.3% (2.06x-8.53x)
- AmpereOne: -58.2%..-87.5% (2.40x-8.01x)
- Pixel 9 Cortex-A520: -29.4%..-82.2% (1.42x-5.62x)
- Apple M4 Pro: -25.5%..-77.8% (1.34x-4.50x)
TAG=agy
CONV=490488d4-7005-402a-8cc4-c245227f80fe
Change-Id: I3155d0a7a27ed781c468ad11d1cdc04ac17b83a1
diff --git a/av1/common/convolve.c b/av1/common/convolve.c
index 5db748791d..aa2c9b8b6d 100644
--- a/av1/common/convolve.c
+++ b/av1/common/convolve.c
@@ -1264,18 +1264,18 @@ void av1_highbd_convolve_2d_facade(const uint8_t *src8, int src_stride,
assert(filter_params_x->taps == 2 && filter_params_y->taps == 2);
assert(!scaled);
if (subpel_x_qn && subpel_y_qn) {
- av1_highbd_convolve_2d_sr_intrabc_c(
+ av1_highbd_convolve_2d_sr_intrabc(
src, src_stride, dst, dst_stride, w, h, filter_params_x,
filter_params_y, subpel_x_qn, subpel_y_qn, conv_params, bd);
return;
} else if (subpel_x_qn) {
- av1_highbd_convolve_x_sr_intrabc_c(src, src_stride, dst, dst_stride, w, h,
- filter_params_x, subpel_x_qn,
- conv_params, bd);
+ av1_highbd_convolve_x_sr_intrabc(src, src_stride, dst, dst_stride, w, h,
+ filter_params_x, subpel_x_qn,
+ conv_params, bd);
return;
} else if (subpel_y_qn) {
- av1_highbd_convolve_y_sr_intrabc_c(src, src_stride, dst, dst_stride, w, h,
- filter_params_y, subpel_y_qn, bd);
+ av1_highbd_convolve_y_sr_intrabc(src, src_stride, dst, dst_stride, w, h,
+ filter_params_y, subpel_y_qn, bd);
return;
}
}