1705 |
#endif |
#endif |
1706 |
} |
} |
1707 |
|
|
|
/* swap two MACROBLOCK array */ |
|
|
void |
|
|
mb_swap(MACROBLOCK ** mb1, |
|
|
MACROBLOCK ** mb2) |
|
|
{ |
|
|
MACROBLOCK *temp = *mb1; |
|
|
|
|
|
*mb1 = *mb2; |
|
|
*mb2 = temp; |
|
|
} |
|
1708 |
|
|
1709 |
|
|
1710 |
/* perform post processing if necessary, and output the image */ |
/* perform post processing if necessary, and output the image */ |
1882 |
|
|
1883 |
image_swap(&dec->refn[0], &dec->refn[1]); |
image_swap(&dec->refn[0], &dec->refn[1]); |
1884 |
image_swap(&dec->cur, &dec->refn[0]); |
image_swap(&dec->cur, &dec->refn[0]); |
1885 |
mb_swap(&dec->mbs, &dec->last_mbs); |
SWAP(MACROBLOCK *, dec->mbs, dec->last_mbs); |
1886 |
dec->last_reduced_resolution = reduced_resolution; |
dec->last_reduced_resolution = reduced_resolution; |
1887 |
dec->last_coding_type = coding_type; |
dec->last_coding_type = coding_type; |
1888 |
|
|