[XviD-devel] improving data flow during interpolation
peter ross
xvid-devel@xvid.org
Fri, 16 Aug 2002 11:08:21 +1000
hey skal.
michael has already said this, but iam gonna say it again: *welcome to the
dev mailing list*
the current bframe decoding code is wasteful; there's individual functions
for the different bframe modes. these can be replaced by simply modifying
the existing mb_inter function to accept 2 vectors: eg.
mb_inter(...VECTOR * mv_f, VECTOR * mv_b...)
{
interpolate8x8_XXX(...mv_f...)
interpolate8x8_XXX(...mv_f...)
interpolate8x8_XXX(...mv_f...)
interpolate8x8_XXX(...mv_f...)
if (mv_b != NULL)
{
interpolate8x8_XXX_add(...mvf_b...)
interpolate8x8_XXX_add(...mvf_b...)
interpolate8x8_XXX_add(...mvf_b...)
interpolate8x8_XXX_add(...mvf_b...)
}
// bitstream decode, dequant, compensate
}
this is how i originally implemented bframe decoding. however my
implenentation never made it to cvs...
-- pete
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com