1. A method of encoding video data, the method comprising: scanning a two-dimensional block of transform coefficients to produce a one-dimensional vector of the transform coefficients; determining values indicative of whether the transform coefficients in the one-dimensional vector are significant; and entropy encoding at least one of the values using a context model selected based on at least a percentage of significant coefficients in a predetermined number of the values encoded before the at least one of the values.