Mercurial > libavcodec.hg
comparison snow.c @ 4332:35812973e0bc libavcodec
dead code removial
author | michael |
---|---|
date | Wed, 03 Jan 2007 00:48:20 +0000 |
parents | e571dfe677be |
children | 5f887a3c7281 |
comparison
equal
deleted
inserted
replaced
4331:e571dfe677be | 4332:35812973e0bc |
---|---|
2288 set_blocks(s, level, x, y, null_block.color[0], null_block.color[1], null_block.color[2], null_block.mx, null_block.my, null_block.ref, BLOCK_INTRA); | 2288 set_blocks(s, level, x, y, null_block.color[0], null_block.color[1], null_block.color[2], null_block.mx, null_block.my, null_block.ref, BLOCK_INTRA); |
2289 return; | 2289 return; |
2290 } | 2290 } |
2291 | 2291 |
2292 if(level==s->block_max_depth || get_rac(&s->c, &s->block_state[4 + s_context])){ | 2292 if(level==s->block_max_depth || get_rac(&s->c, &s->block_state[4 + s_context])){ |
2293 int type; | 2293 int type, mx, my; |
2294 int l = left->color[0]; | 2294 int l = left->color[0]; |
2295 int cb= left->color[1]; | 2295 int cb= left->color[1]; |
2296 int cr= left->color[2]; | 2296 int cr= left->color[2]; |
2297 int mx= mid_pred(left->mx, top->mx, tr->mx); | |
2298 int my= mid_pred(left->my, top->my, tr->my); | |
2299 int ref = 0; | 2297 int ref = 0; |
2300 int ref_context= av_log2(2*left->ref) + av_log2(2*top->ref); | 2298 int ref_context= av_log2(2*left->ref) + av_log2(2*top->ref); |
2301 int mx_context= av_log2(2*FFABS(left->mx - top->mx)) + 0*av_log2(2*FFABS(tr->mx - top->mx)); | 2299 int mx_context= av_log2(2*FFABS(left->mx - top->mx)) + 0*av_log2(2*FFABS(tr->mx - top->mx)); |
2302 int my_context= av_log2(2*FFABS(left->my - top->my)) + 0*av_log2(2*FFABS(tr->my - top->my)); | 2300 int my_context= av_log2(2*FFABS(left->my - top->my)) + 0*av_log2(2*FFABS(tr->my - top->my)); |
2303 | 2301 |