[M4IF Discuss] average quantization calculation (nQMB)

DA Winne, Electrical & Electronic Engineering D.Winne bristol.ac.uk
Wed Jun 26 17:38:07 EDT 2002


Hi,
Why is the 'nQMB' variable updated (increased by 2 times unity) twice 
when you encode a MB as intra in a P or B-frame?
'nQMB' counts (I think) the number of quantized macroblocks in a frame.
Usually this is increased by unity when a MB is encoded as 
'Inter' or 'Inter4V' so now why is it updated by 2 when it is encoded 
as 'Intra' in a P or B-frame. 
  {
  codeMBTextureHeadOfPVOP in \sys\encoder\mbenc.cpp line 846
  codeMBTextureHeadOfBVOP in \sys\encoder\mbenc.cpp line 1057
  quantizeTextureIntraMB in \sys\encoder\mbenc.cpp line 1323
  }
Hoping for a fruitfull answer,
Dominique
----------------------
D.Winne   bristol.ac.uk


More information about the Discuss mailing list