Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yonatan Shiferaw
vtm partial output
Commits
e83d2e61
Commit
e83d2e61
authored
May 31, 2021
by
Yonatan Shiferaw
Browse files
PartialOutput cleanup in DecLib.h and DecApp.cpp
parent
1a077204
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
e83d2e61
dec.yuv
rec.yuv
str.bin
*.bin
*.yuv
/build/
/bin/
/lib/
...
...
source/App/DecoderApp/DecApp.cpp
View file @
e83d2e61
...
...
@@ -276,7 +276,7 @@ uint32_t DecApp::decode()
m_cDecLib
.
decode
(
nalu
,
m_iSkipFrame
,
m_iPOCLastDisplay
,
m_targetOlsIdx
);
//Partially output the picture if it is a picture slice that is currently decoded
if
(
(
nalu
.
m_nalUnitType
>=
NAL_UNIT_CODED_SLICE_TRAIL
)
&&
(
nalu
.
m_nalUnitType
<=
NAL_UNIT_CODED_SLICE_GDR
)
)
if
(
nalu
.
isSlice
()
)
{
bPartialOutput
=
true
;
bPartialOutputLayer
=
nalu
.
m_nuhLayerId
;
...
...
source/Lib/DecoderLib/DecLib.h
View file @
e83d2e61
...
...
@@ -295,7 +295,7 @@ public:
bool
getMixedNaluTypesInPicFlag
();
Picture
*
getCurrPic
()
const
{
return
m_pcPic
;
}
//
\TODO Only output if there is a decoded slice only // check active picture with -- if (m_pcPic).
Picture
*
getCurrPic
()
const
{
return
m_pcPic
;
}
//
/< Get the current subpicture that is under reconstruction
protected:
void
xUpdateRasInit
(
Slice
*
slice
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment