PDA

View Full Version : Resync_marker length for MPEG4 B-vop:


adkumar
1st March 2007, 14:43
Resync_marker length for MPEG4 B-vop:
The following is implemented in reference decoder
f_code_max = (f_code_for > f_code_back) ? f_code_for : f_code_back;
if (VopType == B_VOP)
resync_marker_length = 16+f_code_max + (QuarterPel? 1:0);
But standard says
for a B-VOP, the resync_marker is max(15+fcode,17) zeros followed by a one

I could not understand the reason for the mismatch between standard and reference decoder

any clarification regarding this?

Regards,
Kumar

Manao
2nd March 2007, 07:20
It depends of their definition of f_code_for and f_code_back. If those don't include qpel, then standard & reference match together.

adkumar
2nd March 2007, 07:33
Manao,
Thanks for your reply,

I agree about the qpel condition,

My concern is about the following
"max(15+fcode,17) zeros followed by a one"

if 'fcode' is 1 and qpel is 0 then, as per standard resync_marker lenght will be 18 (17 zeros followed by one)

but, as per the reference software
resync_marker lenght will be 17 (16+1)

could you clarify me regarding this?

adkumar
2nd March 2007, 07:40
Please check this link:
http://www.freepatentsonline.com/6959046.html

So reference software is not matching with the latest standard

Please comment on this.........