Lines Matching defs:quantity

484 		      unsigned int *quantity, unsigned int *depth,
585 unsigned int data, quantity, depth;
596 quantity = 0;
602 if (quantity == 0) {
603 dataPtr += decode_rle(dataPtr, &quantity, &depth, &value);
616 quantity--;
638 unsigned int quantity, index, data, depth;
645 quantity = 0;
651 if (quantity == 0) {
652 dataPtr += decode_rle(dataPtr, &quantity, &depth, &value);
666 quantity--;
687 unsigned int quantity, index, data, depth;
695 quantity = 0;
701 if (quantity == 0) {
702 dataPtr += decode_rle(dataPtr, &quantity, &depth, &value);
716 quantity--;
737 unsigned int quantity, index, data, depth;
745 quantity = 0;
751 if (quantity == 0) {
752 dataPtr += decode_rle(dataPtr, &quantity, &depth, &value);
770 quantity--;
780 decode_rle decodes a single quantity/value run of a "modified-RLE" encoded
784 are the quantity of bytes that follow that make up the run of value bytes. (see case 0)
786 If the MSB is set, bits 0-3 are the quantity's least significant 4 bits. If bit 5 is set,
787 then the quantity is further described in the next byte, where an additional 7 bits (4-10)
788 worth of quantity will be found. If the MSB of this byte is set, then an additional
789 7 bits (11-17) worth of quantity will be found in the next byte. This repeats until the MSB of
790 a quantity byte is zero, thus ending the run of quantity bytes.
792 Bits 5/6 of the first byte, describe the number of bytes in the value run following the quantity run.
793 These bits describe value runs of 1 to 4 bytes. And the quantity describe the number of value runs.
796 encodings are: (q = quantity, v = value, c = quantity continues)
806 decode_rle(const unsigned char *dataPtr, unsigned int *quantity,
834 *quantity = runlen;