Skip to content

GLOBALMV and NEAR0MV conditions are transposed #2297

Open
@tdaede

Description

@tdaede
    if !mv_stack.is_empty() {
      inter_mode_set.push((PredictionMode::NEAR0MV, i));
    }
    if mv_stack.len() >= 2 {
      inter_mode_set.push((PredictionMode::GLOBALMV, i));
    }

I believe the actual intent here was

    if !mv_stack.is_empty() {
      inter_mode_set.push((PredictionMode::GLOBALMV, i));
    }
    if mv_stack.len() >= 2 {
      inter_mode_set.push((PredictionMode::NEAR0MV, i));
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions