Figure 2-1, Bottom-up image orientation – ADLINK PCIe-2602 User Manual

Page 39

Advertising
background image

Function Library

29

PCIe-2602-FLR

Value

Indicates the image orientation, as one of:

0: Bottom-up, in which the image buffer starts with the bot-

tom row of pixels, followed by the next row up, and next, with
the top row of the image the last row in the buffer, such that the
first byte in memory is the bottom-left pixel of the image, with
physical layout of a bottom-up image as shown.

Figure 2-1: Bottom-up Image Orientation

B G R B G R B G R

B G R

bottom left pixel

1

B G R B G R B G R

B G R

2

B G R B G R B G R

B G R

3

B G R B G R B G R

B G R

4

B G R B G R B G R

B G R

5

Image Hei

g

ht

E.g. Color space = RGB24

Image Width

Start of buffer

top left pixel

Advertising