forked from FFmpeg/FFmpeg
4mv + iter ME 10l fix (still not bugfree but better)
Originally committed as revision 4783 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
735f9f34fe
commit
d6f41eeddc
1 changed files with 2 additions and 2 deletions
|
@ -2294,14 +2294,14 @@ static void encode_q_branch2(SnowContext *s, int level, int x, int y){
|
|||
|
||||
if(level!=s->block_max_depth){
|
||||
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);
|
||||
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+0, 2*y+1);
|
||||
encode_q_branch2(s, level+1, 2*x+1, 2*y+1);
|
||||
return;
|
||||
}else{
|
||||
put_rac(&s->c, &s->block_state[4 + s_context], 1);
|
||||
}
|
||||
}
|
||||
if(b->type & BLOCK_INTRA){
|
||||
|
|
Loading…
Add table
Reference in a new issue