AVC: Added decode picture callback from parser to decoder and VAAPI decode submission. (#190)
* * rocDecode/AVC: Added decode picture callback from parser to decoder and VAAPI decode submission. * * rocDecode/AVC: Minor changes based on code review comments. * * rocDecode/AVC: Removed a redundant line. * * rocDecode/AVC: Condensed several lines based on code review feedback.
This commit is contained in:
@@ -287,8 +287,8 @@ int HevcVideoParser::SendPicForDecode() {
|
||||
RocdecHevcPicParams *pic_param_ptr = &dec_pic_params_.pic_params.hevc;
|
||||
|
||||
// Current picture
|
||||
pic_param_ptr->cur_pic.PicIdx = curr_pic_info_.pic_idx;
|
||||
pic_param_ptr->cur_pic.POC = curr_pic_info_.pic_order_cnt;
|
||||
pic_param_ptr->curr_pic.PicIdx = curr_pic_info_.pic_idx;
|
||||
pic_param_ptr->curr_pic.POC = curr_pic_info_.pic_order_cnt;
|
||||
|
||||
// Reference pictures
|
||||
ref_idx = 0;
|
||||
|
||||
Reference in New Issue
Block a user