Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HM
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
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
Weijia
HM
Commits
e1e05ac9
Commit
e1e05ac9
authored
7 years ago
by
Bin Li
Browse files
Options
Downloads
Patches
Plain Diff
SCC: cleanup for TEncSearch::xIntraPatternSearch(), getting rid of goto and variable renaming.
parent
ef734a77
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/Lib/TLibEncoder/TEncSearch.cpp
+293
-246
293 additions, 246 deletions
source/Lib/TLibEncoder/TEncSearch.cpp
source/Lib/TLibEncoder/TEncSearch.h
+12
-9
12 additions, 9 deletions
source/Lib/TLibEncoder/TEncSearch.h
with
305 additions
and
255 deletions
source/Lib/TLibEncoder/TEncSearch.cpp
+
293
−
246
View file @
e1e05ac9
This diff is collapsed.
Click to expand it.
source/Lib/TLibEncoder/TEncSearch.h
+
12
−
9
View file @
e1e05ac9
...
...
@@ -140,7 +140,7 @@ protected:
Int
m_currRefPicIndex
;
Bool
m_bSkipFracME
;
TComMv
m_acBVs
[
SCM_S0067_NUM_CANDIDATES
];
UInt
m_
uiN
umBVs
,
m_
uiN
umBV16s
;
UInt
m_
n
umBVs
,
m_
n
umBV16s
;
Distortion
m_lastCandCost
;
Bool
m_bBestScanRotationMode
;
Pel
*
m_paOriginalLevel
;
...
...
@@ -464,21 +464,24 @@ public:
);
Void
xIntraPatternSearch
(
TComDataCU
*
pcCU
,
Int
iP
artIdx
,
UInt
uiP
artAddr
,
Int
p
artIdx
,
UInt
p
artAddr
,
TComPattern
*
pcPatternKey
,
Pel
*
piRefY
,
Int
iR
efStride
,
Int
r
efStride
,
TComMv
*
pcMvSrchRngLT
,
TComMv
*
pcMvSrchRngRB
,
TComMv
&
rcMv
,
Distortion
&
rui
SAD
,
Int
iR
oiWidth
,
Int
iR
oiHeight
,
Distortion
&
SAD
,
Int
r
oiWidth
,
Int
r
oiHeight
,
TComMv
*
mvPreds
,
Bool
bUse1DSearchFor8x8
,
Bool
testOnlyPred
Bool
bUse1DSearchFor8x8
,
Bool
testOnlyPred
);
Void
updateBVMergeCandLists
(
int
roiWidth
,
int
roiHeight
,
TComMv
*
mvCand
);
UInt
paletteSearch
(
TComDataCU
*
pcCU
,
TComYuv
*
pcOrgYuv
,
TComYuv
*&
rpcPredYuv
,
TComYuv
*&
rpcResiYuv
,
TComYuv
*&
rpcResiBestYuv
,
TComYuv
*&
rpcRecoYuv
,
Bool
forcePalettePrediction
,
UInt
iterNumber
,
UInt
*
paletteSize
);
Void
deriveRunAndCalcBits
(
TComDataCU
*
pcCU
,
TComYuv
*
pcOrgYuv
,
TComYuv
*
pcRecoYuv
,
UInt
&
minBits
,
Bool
bReset
,
PaletteScanMode
paletteScanMode
);
...
...
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