Patent ID: 8150187

Claim:
A method of deblocking an input signal, comprising the steps of: (A) calculating a plurality of transform coefficients corresponding to each of a plurality of blocks in said input signal at baseband; (B) calculating a plurality of quantization parameters based on said transform coefficients, at least one of said quantization parameters corresponding to each respective one of said blocks, wherein step (B) comprises the sub-steps of (i) generating a plurality of histograms of said transform coefficients, one of said histograms corresponding to each respective one of a predetermined grouping of said blocks and (ii) calculating said quantization parameters based on a plurality of gaps in said histograms, one of said gaps corresponding to each respective one of said histograms, each of said gaps being measured between a first peak in said respective histogram and a second peak in said respective histogram, and each of said first peaks and said second peaks being offset from an origin of said respective histogram; and (C) generating an output signal by deblocking said input signal based on said quantization parameters.