3 event & callback functions, Event & callback functions, Figure 2-2 – ADLINK PCIe-2602 User Manual

Page 40: Top-down image orientation

Advertising
background image

30

Function Library

1: Top-down, in which order of the rows is reversed, with the

top row the first row in memory, followed by the next row down,
with the bottom row of the image the last row in the buffer, such
that first byte in memory is the top-left of the image, with physi-
cal layout of a top-down image as shown.

Figure 2-2: Top-down Image Orientation

Return Value

No error occurs if return value ≥ 0; if a negative value,

please refer to Other Functions for return code error informa-
tion.

2.4.3

Event & Callback Functions

Event Selector

Sets or retrieves the event type.

B G R B G R B G R

B G R

top 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

bottom left pixel

Advertising