summaryrefslogtreecommitdiff
path: root/chromium/third_party/libaom/source/config/linux/arm-neon/config/av1_rtcd.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-02-02 12:21:57 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-02-12 08:13:00 +0000
commit606d85f2a5386472314d39923da28c70c60dc8e7 (patch)
treea8f4d7bf997f349f45605e6058259fba0630e4d7 /chromium/third_party/libaom/source/config/linux/arm-neon/config/av1_rtcd.h
parent5786336dda477d04fb98483dca1a5426eebde2d7 (diff)
downloadqtwebengine-chromium-606d85f2a5386472314d39923da28c70c60dc8e7.tar.gz
BASELINE: Update Chromium to 96.0.4664.181
Change-Id: I762cd1da89d73aa6313b4a753fe126c34833f046 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/libaom/source/config/linux/arm-neon/config/av1_rtcd.h')
-rw-r--r--chromium/third_party/libaom/source/config/linux/arm-neon/config/av1_rtcd.h83
1 files changed, 72 insertions, 11 deletions
diff --git a/chromium/third_party/libaom/source/config/linux/arm-neon/config/av1_rtcd.h b/chromium/third_party/libaom/source/config/linux/arm-neon/config/av1_rtcd.h
index 6e4620a4a21..5f767054209 100644
--- a/chromium/third_party/libaom/source/config/linux/arm-neon/config/av1_rtcd.h
+++ b/chromium/third_party/libaom/source/config/linux/arm-neon/config/av1_rtcd.h
@@ -82,6 +82,60 @@ typedef void (*cfl_predict_lbd_fn)(const int16_t* src,
extern "C" {
#endif
+void aom_comp_avg_upsampled_pred_c(MACROBLOCKD* xd,
+ const struct AV1Common* const cm,
+ int mi_row,
+ int mi_col,
+ const MV* const mv,
+ uint8_t* comp_pred,
+ const uint8_t* pred,
+ int width,
+ int height,
+ int subpel_x_q3,
+ int subpel_y_q3,
+ const uint8_t* ref,
+ int ref_stride,
+ int subpel_search);
+#define aom_comp_avg_upsampled_pred aom_comp_avg_upsampled_pred_c
+
+void aom_comp_mask_upsampled_pred_c(MACROBLOCKD* xd,
+ const struct AV1Common* const cm,
+ int mi_row,
+ int mi_col,
+ const MV* const mv,
+ uint8_t* comp_pred,
+ const uint8_t* pred,
+ int width,
+ int height,
+ int subpel_x_q3,
+ int subpel_y_q3,
+ const uint8_t* ref,
+ int ref_stride,
+ const uint8_t* mask,
+ int mask_stride,
+ int invert_mask,
+ int subpel_search);
+#define aom_comp_mask_upsampled_pred aom_comp_mask_upsampled_pred_c
+
+void aom_dist_wtd_comp_avg_upsampled_pred_c(
+ MACROBLOCKD* xd,
+ const struct AV1Common* const cm,
+ int mi_row,
+ int mi_col,
+ const MV* const mv,
+ uint8_t* comp_pred,
+ const uint8_t* pred,
+ int width,
+ int height,
+ int subpel_x_q3,
+ int subpel_y_q3,
+ const uint8_t* ref,
+ int ref_stride,
+ const DIST_WTD_COMP_PARAMS* jcp_param,
+ int subpel_search);
+#define aom_dist_wtd_comp_avg_upsampled_pred \
+ aom_dist_wtd_comp_avg_upsampled_pred_c
+
void aom_quantize_b_helper_c(const tran_low_t* coeff_ptr,
intptr_t n_coeffs,
const int16_t* zbin_ptr,
@@ -114,6 +168,21 @@ void aom_quantize_b_helper_neon(const tran_low_t* coeff_ptr,
const int log_scale);
#define aom_quantize_b_helper aom_quantize_b_helper_neon
+void aom_upsampled_pred_c(MACROBLOCKD* xd,
+ const struct AV1Common* const cm,
+ int mi_row,
+ int mi_col,
+ const MV* const mv,
+ uint8_t* comp_pred,
+ int width,
+ int height,
+ int subpel_x_q3,
+ int subpel_y_q3,
+ const uint8_t* ref,
+ int ref_stride,
+ int subpel_search);
+#define aom_upsampled_pred aom_upsampled_pred_c
+
int64_t av1_block_error_c(const tran_low_t* coeff,
const tran_low_t* dqcoeff,
intptr_t block_size,
@@ -1292,17 +1361,9 @@ void av1_quantize_lp_c(const int16_t* coeff_ptr,
int16_t* dqcoeff_ptr,
const int16_t* dequant_ptr,
uint16_t* eob_ptr,
- const int16_t* scan);
-void av1_quantize_lp_neon(const int16_t* coeff_ptr,
- intptr_t n_coeffs,
- const int16_t* round_ptr,
- const int16_t* quant_ptr,
- int16_t* qcoeff_ptr,
- int16_t* dqcoeff_ptr,
- const int16_t* dequant_ptr,
- uint16_t* eob_ptr,
- const int16_t* scan);
-#define av1_quantize_lp av1_quantize_lp_neon
+ const int16_t* scan,
+ const int16_t* iscan);
+#define av1_quantize_lp av1_quantize_lp_c
void av1_resize_and_extend_frame_c(const YV12_BUFFER_CONFIG* src,
YV12_BUFFER_CONFIG* dst,