Skip to content

Invalid coefficient for Bt2020.V_2_G field #831

Description

@krzysztof-zajdel

static const int V_2_G = -int(2.0f * 0.2627f * (1.0f - 0.2126f) / (1.0f - 0.2627f - 0.0593f) * 255 / (UV_HI - UV_LO) * F_RANGE + 0.5f);

It looks like (1.0f - 0.2126f) part is from Bt709, but it should be (1.0f - 0.2627f) to match Bt2020

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions