Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ECM-TEST1.2c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Myungoh Hong
ECM-TEST1.2c
Commits
803fd342
Commit
803fd342
authored
6 months ago
by
Fabrice Le Léannec
Committed by
Vadim Seregin
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix: 2 valgrind erros at encoder side
parent
8d7e18f1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/Lib/EncoderLib/EncCu.cpp
+27
-1
27 additions, 1 deletion
source/Lib/EncoderLib/EncCu.cpp
with
27 additions
and
1 deletion
source/Lib/EncoderLib/EncCu.cpp
+
27
−
1
View file @
803fd342
...
...
@@ -1725,7 +1725,9 @@ void EncCu::xCompressCU( CodingStructure*& tempCS, CodingStructure*& bestCS, Par
#if JVET_AI0087_BTCUS_RESTRICTION
xStoreRDcostandPredMode(tempCS, bestCS, partitioner, currTestMode, lastModeBestCost);
#endif
#if JVET_Y0152_TT_ENC_SPEEDUP
tempCS->splitRdCostBest = splitRdCostBest;
#endif
#if JVET_AI0136_ADAPTIVE_DUAL_TREE
#if JVET_Z0118_GDR
...
...
@@ -3074,6 +3076,18 @@ void EncCu::xCheckRDCostSeparateTreeIntra( CodingStructure *&tempCS, CodingStruc
tempSSTCS->baseQP = bestSSTCS->baseQP = tempCS->currQP[CH_L];
tempSSTCS->prevQP[CH_L] = bestSSTCS->prevQP[CH_L] = tempCS->prevQP[CH_L];
#if JVET_AI0087_BTCUS_RESTRICTION
tempSSTCS->btFirstPartDecs[0] = 0;
tempSSTCS->btFirstPartDecs[1] = 0;
tempSSTCS->btFirstPartDecs[2] = 0;
tempSSTCS->btFirstPartDecs[3] = 0;
bestSSTCS->btFirstPartDecs[0] = 0;
bestSSTCS->btFirstPartDecs[1] = 0;
bestSSTCS->btFirstPartDecs[2] = 0;
bestSSTCS->btFirstPartDecs[3] = 0;
#endif
xCompressCU( tempSSTCS, bestSSTCS, *partitionerSST );
if ( ( bestSSTCS->cost != MAX_DOUBLE || ( !separateTreeFlag && bestSSTCS->cost < bestCS->cost ) ) && !bestSSTCS->cus.empty() )
...
...
@@ -3115,6 +3129,18 @@ void EncCu::xCheckRDCostSeparateTreeIntra( CodingStructure *&tempCS, CodingStruc
tempCS->slice->setProcessingChannelType( CH_C );
m_modeCtrl->setTreeIdx();
#if JVET_AI0087_BTCUS_RESTRICTION
tempSSTCS->btFirstPartDecs[0] = 0;
tempSSTCS->btFirstPartDecs[1] = 0;
tempSSTCS->btFirstPartDecs[2] = 0;
tempSSTCS->btFirstPartDecs[3] = 0;
bestSSTCS->btFirstPartDecs[0] = 0;
bestSSTCS->btFirstPartDecs[1] = 0;
bestSSTCS->btFirstPartDecs[2] = 0;
bestSSTCS->btFirstPartDecs[3] = 0;
#endif
xCompressCU( tempSSTCS, bestSSTCS, *partitionerSST );
if ( bestSSTCS->cost != MAX_DOUBLE && !bestSSTCS->cus.empty() )
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment