Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VVCSoftware_VTM
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
jvet
VVCSoftware_VTM
Commits
1056924d
Commit
1056924d
authored
5 years ago
by
Mohammed Golam Sarwer
Browse files
Options
Downloads
Patches
Plain Diff
clean-up macro
parent
b9a977c9
No related branches found
No related tags found
1 merge request
!1029
JVET-P0072 simplified transform skip residual coding
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/Lib/CommonLib/ContextModelling.h
+1
-2
1 addition, 2 deletions
source/Lib/CommonLib/ContextModelling.h
with
1 addition
and
2 deletions
source/Lib/CommonLib/ContextModelling.h
+
1
−
2
View file @
1056924d
...
...
@@ -94,8 +94,7 @@ public:
unsigned
maxLastPosY
()
const
{
return
m_maxLastPosY
;
}
unsigned
lastXCtxId
(
unsigned
posLastX
)
const
{
return
m_CtxSetLastX
(
m_lastOffsetX
+
(
posLastX
>>
m_lastShiftX
)
);
}
unsigned
lastYCtxId
(
unsigned
posLastY
)
const
{
return
m_CtxSetLastY
(
m_lastOffsetY
+
(
posLastY
>>
m_lastShiftY
)
);
}
#if JVET_P0072_SIMPLIFIED_TSRC
#else
#if !JVET_P0072_SIMPLIFIED_TSRC
bool
isContextCoded
()
{
return
--
m_remainingContextBins
>=
0
;
}
#endif
int
numCtxBins
()
const
{
return
m_remainingContextBins
;
}
...
...
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