EC: decode_bool() simplifications

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

Loading