Mercurial > libavcodec.hg
comparison vp3.c @ 2704:f858785d54ee libavcodec
disabling buggy optimizations
author | michael |
---|---|
date | Wed, 18 May 2005 07:59:07 +0000 |
parents | 3817945001ce |
children | 2f9f51297218 |
comparison
equal
deleted
inserted
replaced
2703:3817945001ce | 2704:f858785d54ee |
---|---|
1520 | 1520 |
1521 case MODE_INTER_PLUS_MV: | 1521 case MODE_INTER_PLUS_MV: |
1522 case MODE_GOLDEN_MV: | 1522 case MODE_GOLDEN_MV: |
1523 /* all 6 fragments use the same motion vector */ | 1523 /* all 6 fragments use the same motion vector */ |
1524 if (coding_mode == 0) { | 1524 if (coding_mode == 0) { |
1525 #if 1 | 1525 #if 0 |
1526 motion_x[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)]; | 1526 motion_x[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)]; |
1527 motion_y[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)]; | 1527 motion_y[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)]; |
1528 #else | 1528 #else |
1529 motion_x[0] = get_motion_vector_vlc(gb); | 1529 motion_x[0] = get_motion_vector_vlc(gb); |
1530 motion_y[0] = get_motion_vector_vlc(gb); | 1530 motion_y[0] = get_motion_vector_vlc(gb); |
1552 /* fetch 4 vectors from the bitstream, one for each | 1552 /* fetch 4 vectors from the bitstream, one for each |
1553 * Y fragment, then average for the C fragment vectors */ | 1553 * Y fragment, then average for the C fragment vectors */ |
1554 motion_x[4] = motion_y[4] = 0; | 1554 motion_x[4] = motion_y[4] = 0; |
1555 for (k = 0; k < 4; k++) { | 1555 for (k = 0; k < 4; k++) { |
1556 if (coding_mode == 0) { | 1556 if (coding_mode == 0) { |
1557 #if 1 | 1557 #if 0 |
1558 motion_x[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)]; | 1558 motion_x[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)]; |
1559 motion_y[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)]; | 1559 motion_y[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)]; |
1560 #else | 1560 #else |
1561 motion_x[k] = get_motion_vector_vlc(gb); | 1561 motion_x[k] = get_motion_vector_vlc(gb); |
1562 motion_y[k] = get_motion_vector_vlc(gb); | 1562 motion_y[k] = get_motion_vector_vlc(gb); |