?? stdentropyencoderoptions.cpp
字號:
UMS,MQ_INIT);
error=false;
if ((options&OPT_BYPASS)!=0)
{
if (m_pBin==0)
{
if (in==0)
{
in=MQ->GetByteInputBuffer();
}
m_pBin=new ByteToBitInput(in);
}
}
switch(Band.GetBandType())
{
case LL:
case LH:
pZC_LUT=ZC_LUT_LH;
break;
case HL:
pZC_LUT=ZC_LUT_HL;
break;
case HH:
pZC_LUT=ZC_LUT_HH;
break;
default:
AfxMessageBox(" code block type unknow!");
return;
}
int SkipMSBP=pBlkRateDistStats->GetSkipMSBP();
int curbp=30-SkipMSBP;
if ((curbp>=0)&&(npasses>0))
{
isTerm=(options & OPT_REG_TERM) != 0 ||
(((options & OPT_BYPASS) != 0 )&&
((31-NUM_NON_BYPASS_MS_BP-SkipMSBP)>=curbp));
error=CleanupPass(pQuanData,nBWidth,nBHeight,m_pState,MQ,curbp,isTerm,pZC_LUT,options);
npasses--;
if(!error)
curbp--;
}
if(!error)
{
while ((curbp>=0)&&(npasses>0))
{
if((options & OPT_BYPASS) != 0 &&
(curbp < 31-NUM_NON_BYPASS_MS_BP-SkipMSBP))
{
// Use bypass decoding mode (only all bit-planes
// after the first 4 bit-planes).
// Here starts a new raw segment
m_pBin->SetBufferArray(0,nInBufLength,-1,pTruncRates[++tsidx]);
isTerm = (opti
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -