Mercurial > libavcodec.hg
comparison svq3.c @ 1269:2498a7045b37 libavcodec
bigendian fix
author | michaelni |
---|---|
date | Fri, 16 May 2003 19:18:53 +0000 |
parents | fb865ca0c251 |
children | 8988af3ae1e8 |
comparison
equal
deleted
inserted
replaced
1268:fb865ca0c251 | 1269:2498a7045b37 |
---|---|
436 mx *= 6; | 436 mx *= 6; |
437 my *= 6; | 437 my *= 6; |
438 } | 438 } |
439 | 439 |
440 /* update mv_cache */ | 440 /* update mv_cache */ |
441 fill_rectangle(h->mv_cache[0][scan8[k]], part_width>>2, part_height>>2, 8, (mx&0xFFFF)+(my<<16), 4); | 441 fill_rectangle(h->mv_cache[0][scan8[k]], part_width>>2, part_height>>2, 8, pack16to32(mx,my), 4); |
442 } | 442 } |
443 } | 443 } |
444 | 444 |
445 for (i=0; i < 4; i++) { | 445 for (i=0; i < 4; i++) { |
446 memcpy (s->current_picture.motion_val[0][b_xy + i*h->b_stride], h->mv_cache[0][scan8[0] + 8*i], 4*2*sizeof(int16_t)); | 446 memcpy (s->current_picture.motion_val[0][b_xy + i*h->b_stride], h->mv_cache[0][scan8[0] + 8*i], 4*2*sizeof(int16_t)); |