Skip to content
Snippets Groups Projects
Commit 2dd5e48c authored by Franck Galpin's avatar Franck Galpin Committed by Yun Li
Browse files

Hop4 nnvc

parent 6d5ddc39
No related branches found
No related tags found
2 merge requests!251JVET-AI0230 AHG14: Fix for mismatch between encoding and decoding in the NNVC with palette on,!227Hop4 nnvc
NnlfOption : 4
NnlfModelName : models/nnlf_hop4_model_int16.sadl
CbQpOffset : 1
CrQpOffset : 1
......@@ -433,6 +433,9 @@ public:
m_picprm.block_size = sps.getNnlfUnifiedInferSize(inferGranularity);
m_picprm.extension = sps.getNnlfUnifiedInfSizeExt();
m_picprm.prmNum = sps.getNnlfUnifiedMaxNumPrms();
#if JVET_AH0205_AH0189_WIDE_ATTEN
if (sps.getNnlfId() == NNLFUnifiedID::HOP4) m_picprm.block_size=sps.getNnlfUnifiedInferSize(NNLF_UNIFIED_INFER_GRANULARITY_BASE);
#endif
#if JVET_AG0130_UNIFIED_SR
const PPS& pps = *slice.getPPS();
if(pps.getPPSId() == ENC_PPS_ID_RPR)
......
......@@ -64,6 +64,7 @@ using TypeSadlLFUnified=int16_t;
#define JVET_AH0080_TRANS_INPUT 1 // JVET-AH0080: joint LOP model with inputs transformed
#define JVET_AH0096_CONTENT_ADAPTIVE_LOP 1 // JVET-AH0096: Content-adaptive loop-filter
#define NN_LF_UNIFIED_ID 1 // unified the model switch using sps ID
#define JVET_AH0205_AH0189_WIDE_ATTEN 1 // JVET-AH0205: Attention for HOP + AH0189 wide activation
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment