Searched refs:w_ds (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/external/common_algorithm/video/move_detect/test/ |
| H A D | test.c | 9 void rga_ds(unsigned char* pin, unsigned char* pout, int w, int h, int w_ds, int h_ds); 142 void rga_ds(unsigned char* pin, unsigned char* pout, int w, int h, int w_ds, int h_ds) in rga_ds() argument 146 if(3*w_ds != w) in rga_ds() 153 for (j = 0; j < w_ds; j++) in rga_ds() 155 …pout[i*w_ds + j] = (pin[(i * 3 + 0)*w_ds * 3 + j * 3 + 0] + pin[(i * 3 + 0)*w_ds * 3 + j * 3 + 1] … in rga_ds() 156 …pin[(i * 3 + 1)*w_ds * 3 + j * 3 + 0] + pin[(i * 3 + 1)*w_ds * 3 + j * 3 + 1] + pin[(i * 3 + 1)*w_… in rga_ds() 157 …pin[(i * 3 + 2)*w_ds * 3 + j * 3 + 0] + pin[(i * 3 + 2)*w_ds * 3 + j * 3 + 1] + pin[(i * 3 + 2)*w_… in rga_ds()
|