Skip to content

Commit

Permalink
Fix URL for theoretical_results.pdf.
Browse files Browse the repository at this point in the history
RIP people.xiph.org.
  • Loading branch information
Timothy B. Terriberry authored and lu-zero committed Feb 25, 2021
1 parent 3e91d52 commit 98e1872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quantize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ impl QuantizationContext {
// to be quite close (+/- 1/256), for both inter and intra,
// post-deadzoning.
//
// [1] https://people.xiph.org/~jm/notes/theoretical_results.pdf
// [1] https://jmvalin.ca/notes/theoretical_results.pdf
self.dc_offset = self.dc_quant * (if is_intra { 109 } else { 108 }) / 256;
self.ac_offset0 = self.ac_quant * (if is_intra { 98 } else { 97 }) / 256;
self.ac_offset1 = self.ac_quant * (if is_intra { 109 } else { 108 }) / 256;
Expand Down

0 comments on commit 98e1872

Please sign in to comment.