Ticket #400: bugfix_alfmnf.patch
File bugfix_alfmnf.patch, 834 bytes (added by yamakage, 12 years ago) |
---|
-
source/Lib/TLibEncoder/TEncAdaptiveLoopFilter.cpp
489 489 490 490 Int maxDepthInWidth = (Int)(logf((float)(m_numLCUInPicWidth ))/logf(2.0)); 491 491 Int maxDepthInHeight = (Int)(logf((float)(m_numLCUInPicHeight ))/logf(2.0)); 492 Int maxDepthInFilters = (Int)(logf((float)(m_iALFMaxNumberFilters ))/logf( 2.0));492 Int maxDepthInFilters = (Int)(logf((float)(m_iALFMaxNumberFilters ))/logf(4.0)); 493 493 m_alfPQTMaxDepth = (maxDepthInWidth > maxDepthInHeight ) ? maxDepthInHeight : maxDepthInWidth ; 494 494 m_alfPQTMaxDepth = (m_alfPQTMaxDepth > maxDepthInFilters) ? maxDepthInFilters : m_alfPQTMaxDepth ; 495 495