From 80ec1fda3a5637aae8c5c5ce2b6a93fb2e9bd293 Mon Sep 17 00:00:00 2001 From: Ari Koivula Date: Thu, 28 May 2015 11:39:29 +0300 Subject: [PATCH] Remove unnecessary dependency between I-frames. - Inter OWF dependency was being added to non-IDR I-frames. --- src/encoderstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/encoderstate.c b/src/encoderstate.c index a90e987e..dd0f7079 100644 --- a/src/encoderstate.c +++ b/src/encoderstate.c @@ -363,7 +363,7 @@ static void encoder_state_encode_leaf(encoder_state_t * const state) { // once. The added dependancy is for the first LCU of each wavefront // row to depend on the reconstruction status of the row below in the // previous frame. - if (state->previous_encoder_state != state && state->previous_encoder_state->tqj_recon_done && !state->global->is_idr_frame) { + if (state->previous_encoder_state != state && state->previous_encoder_state->tqj_recon_done && state->global->slicetype != SLICE_I) { if (!lcu->left) { if (lcu->below) { threadqueue_job_dep_add(state->tile->wf_jobs[lcu->id], lcu->below->encoder_state->previous_encoder_state->tqj_recon_done);