Skip to content

EC: decode_bool() simplifications

Ronald S. Bultje requested to merge rbultje/dav1d:unlord-ec-merges into master

Merge two patches from !423 (closed):

  • introduce decode_bool_equi(), which decodes a bool with a fixed 1/2 probability;
  • move EC_PROB_SHIFT to be a private define inside msac.c rather than part of the public EC interface.

CC @unlord and @atomnuker.

Merge request reports