Lines Matching refs:shift1
36 - uint32_t j, shift1, shift2, trailing_bits;
37 + uint32_t j, shift1, trailing_bits;
109 - shift1 = spp * ((first_col * bps) % 8);
111 + shift1 = ((first_col * spp * bps) % 8); /* shift1 = bits to skip in the first byte o…
132 - row, offset1, shift1, offset2, shift2);
134 + row, offset1, shift1, offset1+full_bytes, trailing_bits);
157 - bytebuff1 = src_buff[offset1 + j] & ((unsigned char)255 >> shift1);
158 - bytebuff2 = src_buff[offset1 + j + 1] & ((unsigned char)255 << (7 - shift1));
159 + /* Skip the first shift1 bits and shift the source up by shift1 bits before save to dest…
161 + bytebuff1 = src_buff[offset1 + j] & ((unsigned char)255 >> shift1);
162 + bytebuff2 = src_buff[offset1 + j + 1] & ((unsigned char)255 << (8 - shift1));
163 sect_buff[dst_offset + j] = (bytebuff1 << shift1) | (bytebuff2 >> (8 - shift1));
177 - if (shift2 > shift1)
180 - bytebuff2 = bytebuff1 & ((unsigned char)255 << shift1);
192 - if (shift2 < shift1)
194 - bytebuff2 = ((unsigned char)255 << (shift1 - shift2 - 1));