APX-3302 User's Manual (OM110000019A)
-43 -
6.1.1 How to configure for 2TAP output cameras
■
The setting example for software
The sample code for 2TAP output cameras is as follows.
In this example, the data from camera is outputted in following order.
LVAL
Tap1
1024pixels Per 1 Line
1
Tap2
2
1024
1023
3
4
1022
1021
509
510
516
515
511
512
514
513
Figure6-2: Before rearrangement
514
Data
1
2
1024
1023
3
1022
511
512
513
Figure 6-3: After rearrangement
<Sample code>
// Configuration of tap number
AcapSetInfo(hDev, INPUT_CH, ACL_TAP_NUM, -1, 2)
// Configure rearranging method as all taps independent
AcapSetInfo(hDev, INPUT_CH, ACL_TAP_ARRANGE, -1, 1)
// Configure the rearrangement direction as "-><-."
AcapSetInfo(hDev, INPUT_CH, ACL_TAP_DIRECTION, -1, 0)
AcapSetInfo(hDev, INPUT_CH, ACL_TAP_DIRECTION, -2, 1)
// Disable Line reverse function
AcapSetInfo(hDev, INPUT_CH, ACL_LINE_REVERSE, -1, 0)
// Configure the X direction delay of LVAL as 0
AcapSetInfo(hDev, INPUT_CH, ACL_LVAL_DELAY, -1, 0)
// Configure the whole pixel number from camera for 1 line
AcapSetInfo(hDev, INPUT_CH, ACL_ARRANGE_XSIZE, -1, 1024)
// Reflect setting
AcapReflectParam(hDev, INPUT_CH)
Summary of Contents for APX-3302
Page 1: ...APX 3302 User s Manual ...