Ticket #65: TAppDecTop.patch
File TAppDecTop.patch, 844 bytes (added by hironf, 9 years ago) |
---|
-
TAppDecTop.cpp
1455 1455 if (!m_outputBitDepthY) { m_outputBitDepthY = g_bitDepthY; } 1456 1456 if (!m_outputBitDepthC) { m_outputBitDepthC = g_bitDepthC; } 1457 1457 1458 #if O0194_DIFFERENT_BITDEPTH_EL_BL 1459 //Bug fix: The bit depth was not set correctly for each layer 1460 m_outputBitDepthY = g_bitDepthY = g_bitDepthYLayer[layerIdx]; 1461 m_outputBitDepthC = g_bitDepthC = g_bitDepthCLayer[layerIdx]; 1462 #endif 1463 1458 1464 char tempFileName[256]; 1459 1465 strcpy(tempFileName, this->getDecodedYuvLayerFileName( layerIdx ).c_str()); 1460 1466 m_confReconFile[layerIdx].open(tempFileName, true, m_outputBitDepthY, m_outputBitDepthC, g_bitDepthY, g_bitDepthC ); // write mode