smu-ivpl / FastInterCU-VVC

Official implementation of "Deep Neural Network-based Fast Inter CU Splitting Algorithm for Versatile Video Coding (VVC) Standard"
29 stars 11 forks source link

the code logic error? #7

Open liaohengrui opened 1 year ago

liaohengrui commented 1 year ago

/// 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;