Lines Matching defs:dst_offset
250 int block, dst_offset, len, remain, ret, x1, x2, y1, y2;
289 dst_offset = (y1 * GM12U320_REAL_WIDTH + x1) * 3;
290 block = dst_offset / DATA_BLOCK_CONTENT_SIZE;
291 dst_offset %= DATA_BLOCK_CONTENT_SIZE;
293 if ((dst_offset + len) > DATA_BLOCK_CONTENT_SIZE) {
294 remain = dst_offset + len - DATA_BLOCK_CONTENT_SIZE;
295 len = DATA_BLOCK_CONTENT_SIZE - dst_offset;
298 dst_offset += DATA_BLOCK_HEADER_SIZE;
302 gm12u320->data_buf[block] + dst_offset,
307 dst_offset = DATA_BLOCK_HEADER_SIZE;
309 gm12u320->data_buf[block] + dst_offset,