Ignore:
Timestamp:
6 Dec 2014, 00:22:38 (10 years ago)
Author:
seregin
Message:

layer specific conformance window setting, patch was provided by Jay Padia <jpadia@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncLayerCfg.cpp

    r875 r925  
    354354  case 1:
    355355    {
     356      // conformance
     357      if ((m_confWinLeft != 0) || (m_confWinRight != 0) || (m_confWinTop != 0) || (m_confWinBottom != 0))
     358      {
     359        fprintf(stderr, "Warning: Automatic padding enabled, but cropping parameters are set. Undesired size possible.\n");
     360      }
     361      if ((m_aiPad[1] != 0) || (m_aiPad[0] != 0))
     362      {
     363        fprintf(stderr, "Warning: Automatic padding enabled, but padding parameters are also set\n");
     364      }
    356365      // automatic padding to minimum CU size
    357366#if LAYER_CTB
     
    385394  case 2:
    386395    {
     396      // conformance
     397      if ((m_confWinLeft != 0) || (m_confWinRight != 0) || (m_confWinTop != 0) || (m_confWinBottom != 0))
     398      {
     399        fprintf(stderr, "Warning: Automatic padding enabled, but cropping parameters are set. Undesired size possible.\n");
     400      }
    387401      //padding
    388402      m_iSourceWidth  += m_aiPad[0];
Note: See TracChangeset for help on using the changeset viewer.