Home
last modified time | relevance | path

Searched refs:recovery (Results 1 – 9 of 9) sorted by relevance

/rockchip-linux_mpp/mpp/codec/dec/h264/
H A Dh264d_slice.c471 RecoveryPoint *recovery = &p_Vid->recovery; in process_slice() local
492 if (recovery->valid_flag) { in process_slice()
493 if (!recovery->first_frm_valid) { in process_slice()
494 recovery->first_frm_id = currSlice->frame_num; in process_slice()
495 recovery->first_frm_valid = 1; in process_slice()
496 recovery->recovery_pic_id = recovery->first_frm_id + recovery->recovery_frame_cnt; in process_slice()
500 if (recovery->recovery_pic_id % p_Vid->max_frame_num < currSlice->frame_num) in process_slice()
501 memset(&p_Vid->recovery, 0, sizeof(RecoveryPoint)); in process_slice()
H A Dh264d_sei.c217 memset(&p_videoctx->recovery, 0, sizeof(RecoveryPoint)); in interpret_recovery_point()
219 p_videoctx->recovery.valid_flag = 1; in interpret_recovery_point()
220 p_videoctx->recovery.recovery_frame_cnt = recovery_frame_cnt; in interpret_recovery_point()
221 … H264D_DBG(H264D_DBG_SEI, "Recovery point: frame_cnt %d", p_videoctx->recovery.recovery_frame_cnt); in interpret_recovery_point()
H A Dh264d_init.c1513 && (!p_Dec->p_Vid->recovery.valid_flag in check_ref_dbp_err()
1514 … || p_Dec->dpb_info[pref[i].dpb_idx].frame_num < p_Dec->p_Vid->recovery.first_frm_valid in check_ref_dbp_err()
1515 … || p_Dec->dpb_info[pref[i].dpb_idx].frame_num >= p_Dec->p_Vid->recovery.recovery_pic_id)) { in check_ref_dbp_err()
2056 if (!p_err->i_slice_no && p_Vid->recovery.valid_flag && p_Vid->recovery.first_frm_valid && in init_picture()
2057 p_Vid->recovery.first_frm_id == currSlice->frame_num) { in init_picture()
H A Dh264d_global.h1061 RecoveryPoint recovery; member
H A Dh264d_api.c433 memset(&p_Dec->p_Vid->recovery, 0, sizeof(RecoveryPoint)); in h264d_reset()
/rockchip-linux_mpp/mpp/codec/dec/h265/
H A Dh265d_parser.c1286 if (!s->h265dctx->cfg->base.disable_error && s->recovery.valid_flag && in hevc_frame_start()
1287 s->recovery.first_frm_valid && s->recovery.first_frm_ref_missing && in hevc_frame_start()
1288 s->poc < s->recovery.recovery_pic_id && s->poc >= s->recovery.first_frm_id) { in hevc_frame_start()
1295 … if (s->recovery.valid_flag && s->recovery.first_frm_valid && s->recovery.first_frm_id == s->poc) { in hevc_frame_start()
1296 s->recovery.first_frm_ref_missing = 1; in hevc_frame_start()
1453 if (s->recovery.valid_flag) { in parser_nal_unit()
1454 if (!s->recovery.first_frm_valid) { in parser_nal_unit()
1455 s->recovery.first_frm_id = s->poc; in parser_nal_unit()
1456 s->recovery.first_frm_valid = 1; in parser_nal_unit()
1457 … s->recovery.recovery_pic_id = s->recovery.first_frm_id + s->recovery.recovery_frame_cnt; in parser_nal_unit()
[all …]
H A Dh265d_sei.c421 memset(&s->recovery, 0, sizeof(RecoveryPoint)); in decode_recovery_point()
422 s->recovery.valid_flag = 1; in decode_recovery_point()
423 s->recovery.recovery_frame_cnt = val; in decode_recovery_point()
425 h265d_dbg(H265D_DBG_SEI, "Recovery point: poc_cnt %d", s->recovery.recovery_frame_cnt); in decode_recovery_point()
H A Dh265d_parser.h665 RecoveryPoint recovery; member
/rockchip-linux_mpp/
H A DCHANGELOG.md247 - [h264d]: disable ref erorr when decode recovery frame period