From 2a1a0da4f67debb7dcfd01b885dad35279f27663 Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Thu, 28 Nov 2019 10:58:15 -0800 Subject: Added support for CAP, PRF and CPF markers Improved Marker vs Marker Segment discrimination --- src/j2c-test.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/j2c-test.cpp') diff --git a/src/j2c-test.cpp b/src/j2c-test.cpp index 9184982..bcf95d0 100755 --- a/src/j2c-test.cpp +++ b/src/j2c-test.cpp @@ -246,6 +246,21 @@ main(int argc, const char** argv) { has_tlm = true; } + else if ( current_marker.m_Type == MRK_CAP ) + { + Accessor::CAP CAP_(current_marker); + CAP_.Dump(stdout); + } + else if ( current_marker.m_Type == MRK_PRF ) + { + Accessor::PRF PRF_(current_marker); + PRF_.Dump(stdout); + } + else if ( current_marker.m_Type == MRK_CPF ) + { + Accessor::CPF CPF_(current_marker); + CPF_.Dump(stdout); + } else { fprintf(stderr, "Unprocessed marker - %s\n", GetMarkerString(current_marker.m_Type)); -- cgit v1.2.3