Lines Matching refs:write_count
175 INT write_count; in _gx_image_reader_rle_count_write() local
177 write_count = (*count) - 1; in _gx_image_reader_rle_count_write()
185 if (write_count > 127) in _gx_image_reader_rle_count_write()
187 write_count = 127; in _gx_image_reader_rle_count_write()
192 write_count |= 0x80; in _gx_image_reader_rle_count_write()
197 *put_count = (GX_UBYTE)write_count; in _gx_image_reader_rle_count_write()
200 (*count) = (write_count & 0x7f) + 1; in _gx_image_reader_rle_count_write()
206 write_count |= 0x8000; in _gx_image_reader_rle_count_write()
211 *((USHORT *)put_count) = (USHORT)write_count; in _gx_image_reader_rle_count_write()
214 (*count) = (write_count & 0x7fff) + 1; in _gx_image_reader_rle_count_write()
221 write_count |= 0x8000; in _gx_image_reader_rle_count_write()
226 *((USHORT *)put_count) = (USHORT)write_count; in _gx_image_reader_rle_count_write()
229 *count = (write_count & 0x7fff) + 1; in _gx_image_reader_rle_count_write()
235 if (write_count > 0x1f) in _gx_image_reader_rle_count_write()
237 write_count = 0x1f; in _gx_image_reader_rle_count_write()
241 write_count |= 0x20; in _gx_image_reader_rle_count_write()
245 *put_count |= (GX_UBYTE)(write_count << 2); in _gx_image_reader_rle_count_write()
248 (*count) = (write_count & 0x1f) + 1; in _gx_image_reader_rle_count_write()
252 if (write_count > 0x3f) in _gx_image_reader_rle_count_write()
254 write_count = 0x3f; in _gx_image_reader_rle_count_write()
258 write_count |= 0x40; in _gx_image_reader_rle_count_write()
262 (*put_count) |= (GX_UBYTE)(write_count << 1); in _gx_image_reader_rle_count_write()
265 (*count) = (write_count & 0x3f) + 1; in _gx_image_reader_rle_count_write()
271 if (write_count > 127) in _gx_image_reader_rle_count_write()
273 write_count = 127; in _gx_image_reader_rle_count_write()
278 write_count |= 0x80; in _gx_image_reader_rle_count_write()
283 (*put_count) = (GX_UBYTE)write_count; in _gx_image_reader_rle_count_write()
286 (*count) = (write_count & 0x7f) + 1; in _gx_image_reader_rle_count_write()