mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Remove unnecessary dependency between I-frames.
- Inter OWF dependency was being added to non-IDR I-frames.
This commit is contained in:
parent
be0770f1fa
commit
80ec1fda3a
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue