We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/// 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?
/// 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]); } }
int cux = tempCS->area.Y().x; int cuy = tempCS->area.Y().y;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
/// 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;
The text was updated successfully, but these errors were encountered: