Searched refs:quantity (Results 1 - 3 of 3) sorted by relevance

/xnu-2422.115.4/osfmk/console/panic_ui/
H A Dsetupdialog.c14 unsigned int encode_rle(unsigned char * fileArr, unsigned int filePos, unsigned int quantity, unsigned char value);
326 The quantity and value will be described by either two or three bytes. If the
328 the quantity (run-length) and the following 8 bits are the value (index into
330 are the quantity and the following 8 are the value. Visually, the two possible
331 encodings are: (q = quantity, v = value)
340 encode_rle(unsigned char * fileArr, unsigned int filePos, unsigned int quantity, unsigned char value) argument
346 if (quantity < 128) {
347 fileArr[filePos] = single_mask | quantity;
350 fileArr[filePos] = double_mask | (quantity >> 8); // high 7 bits (plus mask)
351 fileArr[filePos+1] = (unsigned char) quantity; // lo
[all...]
H A Dqtif2kraw.c327 unsigned int quantity,
551 The quantity is described in the first byte. If the MSB is zero, then the next seven bits
552 are the quantity. If the MSB is set, bits 0-3 of the quantity are in the least significant bits.
553 If bit 5 is set, then the quantity is further described in the next byte, where an additional
554 7 bits (4-10) worth of quantity will be found. If the MSB of this byte is set, then an additional
555 7 bits (11-17) worth of quantity will be found in the next byte. This repeats until the MSB of
556 a quantity byte is zero, thus ending the chain.
559 If the MSB is set, then bits 5/6 describe the number of value bytes following the quantity bytes.
561 encodings are: (q = quantity,
572 encode_length(unsigned char * fileArr, unsigned int filePos, unsigned int quantity, unsigned int mask) argument
598 encode_rle(unsigned char * fileArr, unsigned int filePos, unsigned int quantity, union RunData * value, int depth) argument
[all...]
H A Dgenimage.c20 unsigned int * quantity,
462 unsigned int quantity, depth; local
465 i += decode_rle( &fileArr[i], &quantity, &depth, &value );
466 pixels += quantity * depth;
478 unsigned int quantity, line, col, depth, sum; local
484 quantity = 0;
488 if ( quantity == 0 ) {
489 dataIn += decode_rle( dataIn, &quantity, &depth, &value );
491 sum += quantity * depth;
498 quantity
971 encode_length(unsigned char * fileArr, unsigned int filePos, unsigned int quantity, unsigned int mask) argument
999 encode_rle(unsigned char * fileArr, unsigned int filePos, unsigned int quantity, union RunData * value, int depth) argument
1039 decode_rle( unsigned char * dataPtr, unsigned int * quantity, unsigned int * depth, unsigned char ** value ) argument
[all...]

Completed in 55 milliseconds