Commit ed0d5d52 authored by Karsten Suehring's avatar Karsten Suehring

remove macro JVET_L0083_ALF_FRAC_BIT

parent 468efc41
...@@ -472,11 +472,7 @@ void AdaptiveLoopFilter::filterBlk( AlfClassifier** classifier, const PelUnitBuf ...@@ -472,11 +472,7 @@ void AdaptiveLoopFilter::filterBlk( AlfClassifier** classifier, const PelUnitBuf
short *coef = filterSet; short *coef = filterSet;
#if JVET_L0083_ALF_FRAC_BIT
const int shift = m_NUM_BITS - 1; const int shift = m_NUM_BITS - 1;
#else
const int shift = 9;
#endif
const int offset = 1 << ( shift - 1 ); const int offset = 1 << ( shift - 1 );
......
...@@ -66,11 +66,7 @@ enum Direction ...@@ -66,11 +66,7 @@ enum Direction
class AdaptiveLoopFilter class AdaptiveLoopFilter
{ {
public: public:
#if JVET_L0083_ALF_FRAC_BIT
static constexpr int m_NUM_BITS = 8; static constexpr int m_NUM_BITS = 8;
#else
static constexpr int m_NUM_BITS = 10;
#endif
static constexpr int m_CLASSIFICATION_BLK_SIZE = 32; //non-normative, local buffer size static constexpr int m_CLASSIFICATION_BLK_SIZE = 32; //non-normative, local buffer size
AdaptiveLoopFilter(); AdaptiveLoopFilter();
......
...@@ -70,7 +70,6 @@ ...@@ -70,7 +70,6 @@
#define JVET_L0083_ALF_FRAC_BIT 1 // Reduce number of ALF fractional bit to 7
#define JVET_L0082_ALF_COEF_BITS 1 // ALF filter coefficient bitwidth constraints #define JVET_L0082_ALF_COEF_BITS 1 // ALF filter coefficient bitwidth constraints
......
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