Searched refs:shift1 (Results 1 – 1 of 1) sorted by relevance
6657 uint32 j, shift1, shift2, trailing_bits; in extractImageSection() local6739 shift1 = spp * ((first_col * bps) % 8); in extractImageSection()6763 row, offset1, shift1, offset2, shift2); in extractImageSection()6767 if (shift1 == 0) /* the region is byte and sample alligned */ in extractImageSection()6810 bytebuff1 = src_buff[offset1 + j] & ((unsigned char)255 >> shift1); in extractImageSection()6811 bytebuff2 = src_buff[offset1 + j + 1] & ((unsigned char)255 << (7 - shift1)); in extractImageSection()6812 sect_buff[dst_offset + j] = (bytebuff1 << shift1) | (bytebuff2 >> (8 - shift1)); in extractImageSection()6832 if (shift2 > shift1) in extractImageSection()6835 bytebuff2 = bytebuff1 & ((unsigned char)255 << shift1); in extractImageSection()6843 if (shift2 < shift1) in extractImageSection()[all …]