| Opened 14 years ago Closed 14 years ago #201 closed defect (fixed)Redundant computation in 1-pass ALF encoding for multi-slice picture
 Description
This redundat computation only happens when the following tools are both turned on: 
 
Not affect common test condition and not affect one-slice picture case. Problem statement
In TEncAdaptiveLoopFilter.cpp,  
Void TEncAdaptiveLoopFilter::xEncodeCUAlfCtrlFlags() 
 
 
 
#endif 
 
} 
This function, xEncodeCUAlfCtrlFlags, is only used for 1-pass ALF to calculate the bitrate of ALF CU-on/off flags. When uiNumSlicesInPic > 1, there are redundant bitrate calculation. Fix
Add one "return" for multi-slice picture case,  the modification is as follows, 
Void TEncAdaptiveLoopFilter::xEncodeCUAlfCtrlFlags() 
 
 
 
#endif 
 
} Change History (4)comment:1 Changed 14 years ago by chiayang_tsai
 comment:2 Changed 14 years ago by davidf
 
Updating component after adding WD (Text) tickets comment:3 Changed 14 years ago by davidf
 comment:4 Changed 14 years ago by davidf
 Note: See
        TracTickets for help on using
        tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant 
 | ||||||||||||||||

fixed in r1339