A method and apparatus for coding positions of data such as coefficients
are described. In one embodiment, the method comprises coding data in a
vector of data based on indications of whether the data is zero or
non-zero identified using a tree data structure and producing a bit
stream based on coded data.