Commit fbe7406d authored by Karsten Suehring's avatar Karsten Suehring

remove macro JVET_L0111

parent 5f817f6e
......@@ -61,7 +61,6 @@
#define JVET_L0111 1 // Max Tx size for skip
#define JVET_L0209_PCM 1 // PCM mode
#define JVET_L0553_FIX_INITQP 1
......
......@@ -5057,12 +5057,8 @@ bool TU::hasTransformSkipFlag(const CodingStructure& cs, const CompArea& area)
{
uint32_t transformSkipLog2MaxSize = cs.pps->getPpsRangeExtension().getLog2MaxTransformSkipBlockSize();
#if JVET_L0111
SizeType transformSkipMaxSize = 1 << transformSkipLog2MaxSize;
return area.width <= transformSkipMaxSize && area.height <= transformSkipMaxSize;
#else
return ( area.width * area.height <= (1 << ( transformSkipLog2MaxSize << 1 )) );
#endif
}
uint32_t TU::getGolombRiceStatisticsIndex(const TransformUnit &tu, const ComponentID &compID)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment