1. A method of encoding a video frame, comprising: storing a relationship between block model parameters and quantization parameters; generating a plurality of transform coefficients of an uncompressed video frame responsive to receiving the uncompressed video frame; determining a set of block model parameters associated with one or more of the plurality of transform coefficients; selecting one of a plurality of Lagrange multiplier values corresponding to the uncompressed video frame; and selecting quantization parameters for each of the plurality of blocks based on the stored relationship and the selected Lagrange multiplier value.