Add debug functions to log parsed parameter set and header content. (#19)
* rocDecode/HEVC parsing: Implemented correct logic to set active VPS, SPS and PPS: start from slice header and up. Added video image size change detection. Fixed slice_segment_address bits calculation in slice segment header parsing.
* rocDecode/HEVC: Changed variable naming to Google style.
* rocDecode/HEVC: Added VPS, SPS, PPS, and slice segment header content logging functions for debug purposes.
* rocDecode/HEVC: Compacted opening bracket lines to keep coding style consistency.
[ROCm/rocdecode commit: ebe1748888]
This commit is contained in:
@@ -31,8 +31,12 @@ THE SOFTWARE.
|
||||
|
||||
#if DBGINFO
|
||||
#define INFO(X) std::clog << "[INF] " << " {" << __func__ <<"} " << " " << X << std::endl;
|
||||
#define MSG(X) std::clog << X << std::endl;
|
||||
#define MSG_NO_NEWLINE(X) std::clog << X;
|
||||
#else
|
||||
#define INFO(X) ;
|
||||
#define MSG(X) ;
|
||||
#define MSG_NO_NEWLINE(X) ;
|
||||
#endif
|
||||
#define ERR(X) std::cerr << "[ERR] " << " {" << __func__ <<"} " << " " << X << std::endl;
|
||||
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user