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]
Bu işleme şunda yer alıyor:
jeffqjiangNew
2023-10-20 10:39:21 -04:00
işlemeyi yapan: GitHub
ebeveyn b51ce09f9b
işleme 9b158f2b07
3 değiştirilmiş dosya ile 429 ekleme ve 5 silme
+4
Dosyayı Görüntüle
@@ -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;