Commit fd169105 authored by michael's avatar michael

4mv + iter ME 10l fix (still not bugfree but better)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4783 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d0259012
...@@ -2294,14 +2294,14 @@ static void encode_q_branch2(SnowContext *s, int level, int x, int y){ ...@@ -2294,14 +2294,14 @@ static void encode_q_branch2(SnowContext *s, int level, int x, int y){
if(level!=s->block_max_depth){ if(level!=s->block_max_depth){
if(same_block(b,b+1) && same_block(b,b+w) && same_block(b,b+w+1)){ if(same_block(b,b+1) && same_block(b,b+w) && same_block(b,b+w+1)){
put_rac(&s->c, &s->block_state[4 + s_context], 1);
}else{
put_rac(&s->c, &s->block_state[4 + s_context], 0); put_rac(&s->c, &s->block_state[4 + s_context], 0);
encode_q_branch2(s, level+1, 2*x+0, 2*y+0); encode_q_branch2(s, level+1, 2*x+0, 2*y+0);
encode_q_branch2(s, level+1, 2*x+1, 2*y+0); encode_q_branch2(s, level+1, 2*x+1, 2*y+0);
encode_q_branch2(s, level+1, 2*x+0, 2*y+1); encode_q_branch2(s, level+1, 2*x+0, 2*y+1);
encode_q_branch2(s, level+1, 2*x+1, 2*y+1); encode_q_branch2(s, level+1, 2*x+1, 2*y+1);
return; return;
}else{
put_rac(&s->c, &s->block_state[4 + s_context], 1);
} }
} }
if(b->type & BLOCK_INTRA){ if(b->type & BLOCK_INTRA){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment