Lines Matching refs:dst_offset
256 int block, dst_offset, len, remain, ret, x1, x2, y1, y2;
287 dst_offset = (y1 * GM12U320_REAL_WIDTH + x1) * 3;
288 block = dst_offset / DATA_BLOCK_CONTENT_SIZE;
289 dst_offset %= DATA_BLOCK_CONTENT_SIZE;
291 if ((dst_offset + len) > DATA_BLOCK_CONTENT_SIZE) {
292 remain = dst_offset + len - DATA_BLOCK_CONTENT_SIZE;
293 len = DATA_BLOCK_CONTENT_SIZE - dst_offset;
296 dst_offset += DATA_BLOCK_HEADER_SIZE;
300 gm12u320->data_buf[block] + dst_offset,
305 dst_offset = DATA_BLOCK_HEADER_SIZE;
307 gm12u320->data_buf[block] + dst_offset,