ec_smallmul: Convert CDFs to iCDFs.
Hoists the iCDF conversion outside of the daala code. We directly store 32768 - cdf[i] in each cdf, to avoid having to convert the whole array every time a symbol is coded. This works with ec_multisymbol, new_tokenset, and ec_adapt. Compared to Change-Id Idbbd3743e9189146cb519d5b984bdabd69e3f4c0, this improves decoder runtimes by 1.15% at QP=55 and 2.64% at QP=20. The overall slowdown of ec_smallmul is now 0.12% at QP=55 and 0.44% at QP=20. Encoder output should not change, and all streams should remain decodable without decoder changes. Change-Id: I06b8b75b667bb1bc4ddffc78f895e48a09f4c578
parent
f8e87b46
No related branches found
No related tags found
Showing
- aom_dsp/daalaboolreader.h 0 additions, 9 deletionsaom_dsp/daalaboolreader.h
- aom_dsp/daalaboolwriter.h 0 additions, 9 deletionsaom_dsp/daalaboolwriter.h
- aom_dsp/prob.c 2 additions, 5 deletionsaom_dsp/prob.c
- aom_dsp/prob.h 19 additions, 2 deletionsaom_dsp/prob.h
- av1/common/entropy.c 1152 additions, 576 deletionsav1/common/entropy.c
- av1/common/entropymode.c 1119 additions, 685 deletionsav1/common/entropymode.c
- av1/common/entropymv.c 20 additions, 11 deletionsav1/common/entropymv.c
- av1/common/generic_code.c 6 additions, 5 deletionsav1/common/generic_code.c
- av1/common/laplace_tables.c 513 additions, 128 deletionsav1/common/laplace_tables.c
- av1/decoder/generic_decoder.c 1 addition, 1 deletionav1/decoder/generic_decoder.c
- av1/encoder/generic_encoder.c 1 addition, 1 deletionav1/encoder/generic_encoder.c
Loading
Please register or sign in to comment