55 |
* 22.12.2001 lock based interpolation |
* 22.12.2001 lock based interpolation |
56 |
* 01.12.2001 inital version; (c)2001 peter ross <pross@cs.rmit.edu.au> |
* 01.12.2001 inital version; (c)2001 peter ross <pross@cs.rmit.edu.au> |
57 |
* |
* |
58 |
* $Id: decoder.c,v 1.37.2.15 2002-12-08 05:38:56 suxen_drol Exp $ |
* $Id: decoder.c,v 1.37.2.16 2002-12-08 06:43:33 suxen_drol Exp $ |
59 |
* |
* |
60 |
*************************************************************************/ |
*************************************************************************/ |
61 |
|
|
390 |
// decode an inter macroblock |
// decode an inter macroblock |
391 |
|
|
392 |
static void |
static void |
|
set_block(uint8_t * dst, int stride, int width, int height, int color) |
|
|
{ |
|
|
int i; |
|
|
for (i = 0; i < height; i++) |
|
|
{ |
|
|
memset(dst, color, width); |
|
|
dst += stride; |
|
|
} |
|
|
} |
|
|
|
|
|
static void |
|
393 |
rrv_mv_scaleup(VECTOR * mv) |
rrv_mv_scaleup(VECTOR * mv) |
394 |
{ |
{ |
395 |
if (mv->x > 0) { |
if (mv->x > 0) { |