Lines Matching refs:src_x
1195 uint32_t src_x = (clip_left + i) * src_width / dest_width;
1197 src_x = src_width - src_x - 1;
1199 src_x %= src_width;
1200 if (pSrcLine[src_x / 8] & (1 << (7 - src_x % 8))) {
1215 uint32_t src_x = (clip_left + i) * src_width / dest_width;
1217 src_x = src_width - src_x - 1;
1219 src_x %= src_width;
1221 if (pSrcLine[src_x / 8] & (1 << (7 - src_x % 8))) {
1269 uint32_t src_x = (clip_left + i) * src_width / dest_width;
1271 src_x = src_width - src_x - 1;
1273 src_x %= src_width;
1275 uint8_t index = pSrcLine[src_x];
1293 uint32_t src_x = (clip_left + i) * src_width / dest_width;
1295 src_x = src_width - src_x - 1;
1297 src_x %= src_width;
1298 uint8_t index = pSrcLine[src_x];
1320 // last_src_x used to store the last seen src_x position which should be
1321 // in [0, src_width). Set the initial value to be an invalid src_x value.
1327 uint32_t src_x = (bFlipX ? (dest_width - dest_x - 1) : dest_x) *
1329 src_x %= src_width;
1333 if (src_x == last_src_x) {
1339 // No need to check for 32-bit overflow, as |src_x| is bounded by
1342 size_t num_bits = src_x * m_bpc * m_nComponents;
1352 pSrcPixel = pSrcLine + src_x * orig_Bpp;
1396 last_src_x = src_x;