1. A method performed by one or more processors, the method comprising: storing a plurality of statistical bins in memory; obtaining a block of coefficients corresponding to a sample block of an image; determining a type of a particular coefficient, of the block of coefficients, from among all of the following types of coefficients: (a) a DC coefficient of the block of coefficients, (b) an AC coefficient in a top edge row of AC coefficients of the block of coefficients, (c) an AC coefficient in a left edge column of AC coefficients of the block of coefficients, and (d) an AC coefficient in a sub-block of AC coefficients of the block of coefficients; selecting a particular bin of the plurality of bins based, at least in part, on the type of the particular coefficient, of the block of coefficients; computing a probability estimate based, at least in part, on the particular bin; and encoding a symbol of a binarized form of the particular coefficient based, at least in part, on the probability estimate.