Jj/hevc decode wip (#18)
* 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.
[ROCm/rocdecode commit: 94ff35e03c]
This commit is contained in:
@@ -22,6 +22,12 @@ THE SOFTWARE.
|
||||
|
||||
#include "roc_video_parser.h"
|
||||
|
||||
RocVideoParser::RocVideoParser() {
|
||||
pic_width_ = 0;
|
||||
pic_height_ = 0;
|
||||
pic_dimension_changed_ = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Initializes any parser related stuff for all parsers
|
||||
*
|
||||
@@ -39,6 +45,6 @@ rocDecStatus RocVideoParser::Initialize(RocdecParserParams *pParams) {
|
||||
pfn_get_sei_message_cb_ = pParams->pfnGetSEIMsg; /**< Called when all SEI messages are parsed for particular frame */
|
||||
|
||||
parser_params_ = pParams;
|
||||
|
||||
|
||||
return ROCDEC_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user