APX-3302 User's Manual (OM110000019A)
-44 -
6.1.2 How to configure for 3TAP output cameras
■
The setting example for software
The sample code for 3TAP output cameras is as follows.
In this example, the data from camera is outputted in following order.
LVAL
Tap1
1536pixels Per 1 Line
1
Tap2
2
513
514
3
4
515
516
509
510
1021
1022
511
512
1023
1024
Tap3
1025
1026
1027
1028
1533
1534
1535
1536
Figure6-4: Before rearrangement
1023
Data
1
2
1534
1025
3
1024
511
512
513
1536
1535
Figure 6-5: After rearrangement
<Sample code>
// Configuration of tap number
AcapSetInfo(hDev, INPUT_CH, ACL_TAP_NUM, -1, 3)
// 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, 0)
AcapSetInfo(hDev, INPUT_CH, ACL_TAP_DIRECTION, -3, 0)
// 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, 1536)
// Reflect setting
AcapReflectParam(hDev, INPUT_CH)
Содержание APX-3302
Страница 1: ...APX 3302 User s Manual ...