1. A method of quantizing at least a portion of coefficients of a video block in a video coding process, the method comprising: determining, for each of the portion of the coefficients of the video block, coding costs for a plurality of candidate quantization levels associated with the respective coefficient; and selecting one of the plurality of the candidate quantization levels for each of the coefficients based on the coding costs to obtain a set of quantized coefficients.