Skip to content

the code logic error? #7

Description

@liaohengrui

/// org cu short * sOrg = bestCS->getOrgBuf().Y().buf; uint16_t *uOrg = (uint16_t *) xMalloc(uint16_t, cuh * cuw); for (int i = 0; i < cuh; i++) { for (int j = 0; j < cuw; j++) { uOrg[i * cuw + j] = (uint16_t)(sOrg[i * bestCS->getOrgBuf().Y().stride + j]); } }
the cuh and cuw allways is 128,so sOrg allways get first 128*128CTU,may should add relative coordinates?

int cux = tempCS->area.Y().x; int cuy = tempCS->area.Y().y;

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