}
}
/*Detects the first frame whether has an over decode error*/
- if (vdec->master == NULL && vdec->slave == NULL &&
+ if ((!vdec_dual(vdec)) &&
hevc->empty_flag == 0) {
hevc->over_decode =
(READ_VREG(HEVC_SHIFT_STATUS) >> 15) & 0x1;
}
#endif
/*Detects frame whether has an over decode error*/
- if (vdec->master == NULL && vdec->slave == NULL &&
+ if ((!vdec_dual(vdec)) &&
hevc->empty_flag == 0) {
hevc->over_decode =
(READ_VREG(HEVC_SHIFT_STATUS) >> 15) & 0x1;
READ_VREG(HEVC_PARSER_LCU_START)
& 0xffffff;
- if (vdec->master == NULL && vdec->slave == NULL &&
+ if ((!vdec_dual(vdec)) &&
hevc->empty_flag == 0) {
hevc->over_decode =
(READ_VREG(HEVC_SHIFT_STATUS) >> 15) & 0x1;
init_pic_list_hw(hevc);
backup_decode_state(hevc);
-
start_process_time(hevc);
mod_timer(&hevc->timer, jiffies);
hevc->stat |= STAT_TIMER_ARM;