2. The non-transitory computer-readable medium of claim 1 , wherein the one or more bins of the binarizations are encoded into the data stream using binary arithmetic encoding or binary PIPE encoding.
1. A non-transitory computer-readable medium for storing data associated with a video, comprising: a data stream stored in the non-transitory computer-readable medium, the data stream comprising encoded binarizations of integer values of syntax elements associated with the video, wherein the integer values of the syntax elements are determined based on a quantization parameter, one or more bins of the binarizations of the integer values are encoded into the data stream using binary entropy encoding by selecting a context, for each of the one or more bins, from different contexts and updating probability states associated with the different contexts based on previously encoded portions of the data stream, and the probability states associated with the different contexts are initialized according to a linear equation of the quantization parameter, where, for each of the different contexts, a slope and an offset of the linear equation are derived from first and second four-bit parts of an 8-bit initialization value associated with the context.