2160p
9th October 2022, 01:35
I download this code from https://github.com/Clybius/aom-av1-lavish and compile this code, get a bug report.
~/av1-lavish$ make
~/aom-av1-lavish/test/quantize_func_test.cc: In member function ‘void {anonymous}::QuantizeTestBase<CoeffType, FuncType>::InitQuantizer()’:
~/aom-av1-lavish/test/quantize_func_test.cc:123:24: error: too few arguments to function ‘void av1_build_quantizer(aom_bit_depth_t, int, int, int, int, int, QUANTS*, Dequants*, int)’
123 | av1_build_quantizer(bd_, 0, 0, 0, 0, 0, &qtab_->quant, &qtab_->dequant);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ~/aom-av1-lavish/av1/encoder/encoder.h:36,
from ~/aom-av1-lavish/test/quantize_func_test.cc:23:
~/aom-av1-lavish/av1/encoder/av1_quantize.h:99:6: note: declared here
99 | void av1_build_quantizer(aom_bit_depth_t bit_depth, int y_dc_delta_q,
| ^~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/test_aom_encoder.dir/build.make:1140: CMakeFiles/test_aom_encoder.dir/test/quantize_func_test.cc.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:2777: CMakeFiles/test_aom_encoder.dir/all] Fehler 2
make: *** [Makefile:136: all] Fehler 2
~/av1-lavish$ make
~/aom-av1-lavish/test/quantize_func_test.cc: In member function ‘void {anonymous}::QuantizeTestBase<CoeffType, FuncType>::InitQuantizer()’:
~/aom-av1-lavish/test/quantize_func_test.cc:123:24: error: too few arguments to function ‘void av1_build_quantizer(aom_bit_depth_t, int, int, int, int, int, QUANTS*, Dequants*, int)’
123 | av1_build_quantizer(bd_, 0, 0, 0, 0, 0, &qtab_->quant, &qtab_->dequant);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ~/aom-av1-lavish/av1/encoder/encoder.h:36,
from ~/aom-av1-lavish/test/quantize_func_test.cc:23:
~/aom-av1-lavish/av1/encoder/av1_quantize.h:99:6: note: declared here
99 | void av1_build_quantizer(aom_bit_depth_t bit_depth, int y_dc_delta_q,
| ^~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/test_aom_encoder.dir/build.make:1140: CMakeFiles/test_aom_encoder.dir/test/quantize_func_test.cc.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:2777: CMakeFiles/test_aom_encoder.dir/all] Fehler 2
make: *** [Makefile:136: all] Fehler 2