Skip to content
Snippets Groups Projects
Unverified Commit 950d8bf1 authored by Timothy B. Terriberry's avatar Timothy B. Terriberry
Browse files

Remove some dead code.

parent 9cf12e92
No related branches found
No related tags found
3 merge requests!104Add signaling for a maximum DRED quantizer.,!103Add signaling for a maximum DRED quantizer.,!102Add signaling for a maximum DRED quantizer.
......@@ -39,8 +39,6 @@
int compute_quantizer(int q0, int dQ, int i) {
int quant;
static const int dQ_table[8] = {0, 2, 3, 4, 6, 8, 12, 16};
quant = 0;
quant = q0 + (dQ_table[dQ]*i + 8)/16;
return quant > 15 ? 15 : quant;
return (int) floor(0.5f + DRED_ENC_Q0 + 1.f * (DRED_ENC_Q1 - DRED_ENC_Q0) * i / (DRED_NUM_REDUNDANCY_FRAMES - 2));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment