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]
Bu işleme şunda yer alıyor:
işlemeyi yapan:
GitHub
ebeveyn
97c97bcf39
işleme
b51ce09f9b
@@ -32,7 +32,7 @@ THE SOFTWARE.
|
||||
*/
|
||||
class RocVideoParser {
|
||||
public:
|
||||
RocVideoParser() {}; // default constructor
|
||||
RocVideoParser(); // default constructor
|
||||
RocVideoParser(RocdecParserParams *pParams) : parser_params_(pParams) {};
|
||||
virtual ~RocVideoParser() = default ;
|
||||
virtual void SetParserParams(RocdecParserParams *pParams) { parser_params_ = pParams; };
|
||||
@@ -50,6 +50,10 @@ protected:
|
||||
PFNVIDDECODECALLBACK pfn_decode_picture_cb_; /**< Called when a picture is ready to be decoded (decode order) */
|
||||
PFNVIDDISPLAYCALLBACK pfn_display_picture_cb_; /**< Called whenever a picture is ready to be displayed (display order) */
|
||||
PFNVIDSEIMSGCALLBACK pfn_get_sei_message_cb_; /**< Called when all SEI messages are parsed for particular frame */
|
||||
|
||||
uint32_t pic_width_;
|
||||
uint32_t pic_height_;
|
||||
bool pic_dimension_changed_;
|
||||
};
|
||||
|
||||
enum ParserSeekOrigin {
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle