[M4IF Technotes] question on the rate control on "fpdam-1.0-000703"

Liang Cheng lcheng62 yahoo.com
Mon Sep 2 14:48:52 EDT 2002


Hi, 
I have a questions when I trace the MS MP4 code for
the rate control.  I found in the par file of
fpdam-1.0-000703, the parameter for specifying the
bitstream is not vop.bitstream, instead, it is
RateControl.BitsPerVOP.  However, when I read the
code, I can't understand the following:
"rgpvoenc [BASE_LAYER]->m_tm5rc.tm5rc_init_seq (
pchQname,rgpvoenc [BASE_LAYER]->
m_uiRateControl,m_rgvolmd [BASE_LAYER]
[iVOrelative].fAUsage, m_rctOrg.width,
m_rctOrg.height(),(UInt)((m_rguiBudget [BASE_LAYER]
[iVOrelative] * m_rgvolmd
[BASE_LAYER][iVOrelative].dFrameHz)
 / (m_iLastFrame - m_iFirstFrame + 1)), m_rgvolmd 
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[BASE_LAYER][iVOrelative].dFrameHz",
which is in "sesenc.cpp" around line. 693.  I can't
see any reason to include the number of frames to be
encoding in the rate control mechanism.  Can anybody
help me out?  Thanks,
Liang
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


More information about the Mp4-tech mailing list