I need the definition of "fillorder" (MSB2LSB, etc.)

MikeBroderick
MikeBroderick used Ask the Experts™
on
I am working with libtiff, and fill order keeps coming up. Could somebody please tell me exactly what fill order is?

I may be dense, but I cannot determine exactly what fill order is. My knoledge of CPU architeture is not bad, but I remember words get loaded into registers or memory, not filled. 32 gates open up on a bus and all values are transferred at once during a clock pulse.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Top Expert 2008

Commented:
Culling my brain takes a while, because it is full of a lot of stuff...

I believe you are referring to is the bit order within the image (MSB or LSB).

Author

Commented:
Are there C statements that work differently if the bit order is MSB or LSB? For example the a >> b statement?
Most Valuable Expert 2012
Top Expert 2008
Commented:
Bit order is a huge consideration when doing bitwise operations, especially shift operations.  Changing the order of the bits, changes the meaning completely.  The order of bits is what computing is all about.  Applications only give meaning to those 1's and 0's through some serious magic!!

Light reading material:

http://en.wikipedia.org/wiki/Least_significant_bit
http://en.wikipedia.org/wiki/Most_significant_bit
http://en.wikipedia.org/wiki/Endianness
Most Valuable Expert 2012
Top Expert 2008

Commented:
I thought about something extra here, since I didn't get that explanation correct.  If you are only using one operating system, or one application type, then bit order is not so important, because it will always be interpreted a certain way.  

An analogy would be reading order between the U.S. and Japan.  It is not so important what the order of bits, but how you read them, and interpret them.  If bits are written in a certain order, then they need to be read in that same order.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial