Lines Matching refs:runlength
394 runlength++; \ in HuffmanDecodeImage()
398 runlength=0; \ in HuffmanDecodeImage()
432 runlength; in HuffmanDecodeImage() local
491 runlength=0; in HuffmanDecodeImage()
492 while (runlength < 11) in HuffmanDecodeImage()
518 runlength=0; in HuffmanDecodeImage()
526 while (runlength < 11) in HuffmanDecodeImage()
534 if (runlength < 11) in HuffmanDecodeImage()
555 while (runlength < 11) in HuffmanDecodeImage()
711 runlength; in HuffmanEncodeImage() local
808 for (runlength=0; ((n > 0) && (*q == 0)); n--) in HuffmanEncodeImage()
811 runlength++; in HuffmanEncodeImage()
813 if (runlength >= 64) in HuffmanEncodeImage()
815 if (runlength < 1792) in HuffmanEncodeImage()
816 entry=MWTable+((runlength/64)-1); in HuffmanEncodeImage()
818 entry=EXTable+(MagickMin((size_t) runlength,2560)-1792)/64; in HuffmanEncodeImage()
819 runlength-=(long) entry->count; in HuffmanEncodeImage()
822 entry=TWTable+MagickMin((size_t) runlength,63); in HuffmanEncodeImage()
829 for (runlength=0; ((*q != 0) && (n > 0)); n--) in HuffmanEncodeImage()
832 runlength++; in HuffmanEncodeImage()
834 if (runlength >= 64) in HuffmanEncodeImage()
836 entry=MBTable+((runlength/64)-1); in HuffmanEncodeImage()
837 if (runlength >= 1792) in HuffmanEncodeImage()
838 entry=EXTable+(MagickMin((size_t) runlength,2560)-1792)/64; in HuffmanEncodeImage()
839 runlength-=(long) entry->count; in HuffmanEncodeImage()
842 entry=TBTable+MagickMin((size_t) runlength,63); in HuffmanEncodeImage()