[M4IF Technotes] Interlaced Direct mode for BVOPs

Patrick Ng pang ati.com
Thu Oct 18 13:53:35 EDT 2001


Hello Kris,
Thank you for the reply.
After digging deeper into the reference code.  I found that the Microsoft
Video Reference Code DOES implement the same as in the spec. 14496-2.  The
fact is the motion vectors as decoded in
CVideoObjectDecoder::decodeMVofBVOP() in file mvdec.cpp are totally ignored
in the motion compensation later on.  In motion compensation
(CVideoObject::motionCompDirectMode() in file mc.cpp), the interlaced direct
mode motion vectors are recalculated according to the spec. and then used
for subsequent motion compensation.
I guess the problem was due to some redundant code in decodeMVofBVOP()
hasn't been cleaned up after new function motionCompDirectMode() is added.
Sorry for raising a false alarm.
Patrick Ng
ATI
-----Original Message-----
From: Kris Huber [mailto:khuber   sorensontech.com]
Sent: Thursday, October 18, 2023 12:00 PM
To: 'Patrick Ng'
Cc: MPEG4 technical notes (E-mail)
Subject: RE: [M4IF Technotes] Interlaced Direct mode for BVOPs
Hello Patrick,
I suggest you look for a counterexample demonstrating that the two methods
do not always decode to the same motion vector (I'm not certain myself).  I
checked that the 7.7.2.2 text hasn't been modified by corrigenda items, but
it is possible you've run into a new problem with either the text or the
reference software that needs to become part of the next corrigendum on
14496-2.
Best regards,
Kris
-----Original Message-----
From: Patrick Ng [mailto:pang   ati.com]
Sent: Thursday, October 18, 2023 8:21 AM
To: MPEG4 technical notes (E-mail)
Subject: [M4IF Technotes] Interlaced Direct mode for BVOPs
Dear MPEG-4 colleagues, 
The interlaced direct mode motion vector decoding of BVOPs as implemented in
the Microsoft reference software (CVideoObjectDecoder::decodeMVofBVOP() in
file mvdec.cpp) seems to deviate from what is described in the ISO/IEC
14496-2 spec. (section 7.7.2.2, p.235-236).
Am I missing something?  I wonder if these two methods decode to the same
motion vector? 
The version of the refernce software I am looking at is July 3rd 2000
Version 2 FDAM1-2.3-001213 Version 2.3.0 
Thanks 
Patrick Ng 
ATI 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/mp4-tech/attachments/20011018/305c6c56/attachment.html


More information about the Mp4-tech mailing list