Remove disabled low bit-depth codepath
This MR attempts to remove the low bitdepth codepath and the public API related to it.
AOM_IMG_FMT_HIGHBITDEPTH is left in place in order to let the library users feed the encoder frames using 8bit buffers for 8bit content. These are in turn upshifted to 16bit buffers in the aom_codec_encode_fn_t callback from aom_codec_av1_cx_algo to be handled internally (the aomenc CLI is already doing the same, but other library users do not benefit from it).
diff --git a/aom_dsp/fwd_txfm.c b/aom_dsp/fwd_txfm.c
index a592f6e..853e5ec 100644
--- a/aom_dsp/fwd_txfm.c
+++ b/aom_dsp/fwd_txfm.c
@@ -138,7 +138,8 @@
}
}
-void aom_fdct8x8_c(const int16_t *input, tran_low_t *final_output, int stride) {
+void aom_highbd_fdct8x8_c(const int16_t *input, tran_low_t *final_output,
+ int stride) {
int i, j;
tran_low_t intermediate[64];
int pass;
@@ -221,8 +222,3 @@
for (j = 0; j < 8; ++j) final_output[j + i * 8] /= 2;
}
}
-
-void aom_highbd_fdct8x8_c(const int16_t *input, tran_low_t *final_output,
- int stride) {
- aom_fdct8x8_c(input, final_output, stride);
-}