comparison mace.c @ 7812:54348529f568 libavcodec

Remove commented out code.
author vitor
date Sun, 07 Sep 2008 13:47:30 +0000
parents ed61b4ffdd7e
children 0bd07f3d3556
comparison
equal deleted inserted replaced
7811:ed61b4ffdd7e 7812:54348529f568
267 current = (short) tab2[(ctx->index & 0x7f0) >> 4][val]; 267 current = (short) tab2[(ctx->index & 0x7f0) >> 4][val];
268 268
269 current = mace_broken_clip_int16(current + ctx->lev); 269 current = mace_broken_clip_int16(current + ctx->lev);
270 270
271 ctx->lev = current - (current >> 3); 271 ctx->lev = current - (current >> 3);
272 //*ctx->outPtr++=current >> 8;
273 *output = QT_8S_2_16S(current); 272 *output = QT_8S_2_16S(current);
274 if (( ctx->index += tab1[val]-(ctx->index >> 5) ) < 0) 273 if (( ctx->index += tab1[val]-(ctx->index >> 5) ) < 0)
275 ctx->index = 0; 274 ctx->index = 0;
276 } 275 }
277 276
295 current = mace_broken_clip_int16(current + ctx->level); 294 current = mace_broken_clip_int16(current + ctx->level);
296 295
297 ctx->level = ((current*ctx->factor) >> 15); 296 ctx->level = ((current*ctx->factor) >> 15);
298 current >>= 1; 297 current >>= 1;
299 298
300 // *ctx->outPtr++=(ctx->previous+ctx->prev2-((ctx->prev2-current) >> 2)) >> 8;
301 // *ctx->outPtr++=(ctx->previous+current+((ctx->prev2-current) >> 2)) >> 8;
302 output[0] = QT_8S_2_16S(ctx->previous + ctx->prev2 - 299 output[0] = QT_8S_2_16S(ctx->previous + ctx->prev2 -
303 ((ctx->prev2-current) >> 2)); 300 ((ctx->prev2-current) >> 2));
304 output[numChannels] = QT_8S_2_16S(ctx->previous + current + 301 output[numChannels] = QT_8S_2_16S(ctx->previous + current +
305 ((ctx->prev2-current) >> 2)); 302 ((ctx->prev2-current) >> 2));
306 ctx->prev2 = ctx->previous; 303 ctx->prev2 = ctx->previous;