📄 h263_loopbackcfg.lst
字号:
1
1 .asg _DGN_iconst, DGN_CONST
1 .asg _DGN_irand, DGN_RAND
1 .asg _DGN_isine, DGN_SINE
1 .asg _DGN_user, DGN_USER
1
1 .endif
1
440
441 ;; ======== DHL_config ========
442 .asg 00H, _gChannelsAvailable
443 0000007c DHL_config _gChannelsAvailable
1
1 .global _DHL_notify
1
1 .asg 0, DHL$count
1
444
445 ;; ======== DPI_config ========
446 0000007c DPI_config
1 .asg 0, DPI$devid
447
448 ;; ======== HOOK_config ========
449 .asg 00H, _KNLID
450 0000007c HOOK_config _KNLID
1
1 .if (HOOK$ == 1)
1
TMS320C6x COFF Assembler PC Version 4.32 Wed Jan 04 14:25:55 2006
Tools Copyright (c) 1996-2002 Texas Instruments Incorporated
h263_loopbackcfg.s62 PAGE 16
1 .def __HOOK_initFxnTable
1 .def __HOOK_createFxnTable
1 .def __HOOK_deleteFxnTable
1 .def __HOOK_exitFxnTable
1 .def __HOOK_readyFxnTable
1 .def __HOOK_switchFxnTable
1
1 .endif
1
1 .asg 0, HOOK$index
1 .eval 00H, HOOK$knl_index
1
1 .def __HOOK_knlId
1
1 0000001c .bss __HOOK_knlId, 1 * STD_TARGWORDMAUS, STD_TARGWORDMAUS
1
1 0000007c .sect ".cinit"
1 .align STD_TARGALIGN
1 00000080 00000004 .word 1 * STD_TARGWORDMAUS
1 00000084 0000001C- .word __HOOK_knlId
1 00000088 00000000 .word 0
1
451
452 ;; ======== DIO_config ========
453 .asg 00H, _STATIC
454 .asg 00H, _NUMTSKBASE
455 .asg 00H, _NUMSWIBASE
456 0000008c DIO_config _STATIC, _NUMTSKBASE, _NUMSWIBASE
1 .if (00H)
1 .if (:_numTskBase: != 0)
1 .global _DIO_NUMTSKSTATIC ; Number of Static TSK DIO objects
1 .global _DIO_TSKTABLE ; Table of DIO objects for TSK.
1
1 .eval DIO_OBJSIZE * :_numTskBase:, DIO_TABLESIZE
1
1 ;
1 ; Allocate space for DIO_NUMTSKSTATIC value.
1 ; This value is used in Static TSK version of DIO.
1 ; Allocate space for TSK DIO table
1 ;
1 _DIO_NUMTSKSTATIC .usect ".dio", 1 * STD_TARGWORDMAUS, STD_TARGWORDMAUS
1 _DIO_TSKTABLE .usect ".dio", DIO_TABLESIZE * STD_TARGWORDMAUS, STD_TARGWORDMAUS
1
1 ;
1 ; initialize DIO_NUMTSKSTATIC.
1 ;
1 .sect ".cinit"
1 .align STD_TARGALIGN
1 .word 1 * STD_TARGWORDMAUS
1 .word _DIO_NUMTSKSTATIC
1 .word :_numTskBase:
1
1 .eval 0, count
1
1 .loop
TMS320C6x COFF Assembler PC Version 4.32 Wed Jan 04 14:25:55 2006
Tools Copyright (c) 1996-2002 Texas Instruments Incorporated
h263_loopbackcfg.s62 PAGE 17
1
1 ;
1 ; Initialize the TSK DIO table.
1 ;
1 .sect ".cinit"
1 .align STD_TARGALIGN
1 .word DIO_OBJSIZE * STD_TARGWORDMAUS
1 .word _DIO_TSKTABLE + DIO_OBJSIZE * :count: * STD_TARGWORDMAUS
1 .word 0 ; fxns
1 .word 0 ; chanp
1 .word dio:count:$complete ; complete
1 .word 0 ; ready
1 .word 0 ; extra word for union
1
1 ; create the complete SEM object
1 DIO_semObject dio:count:$complete, 0
1
1 .eval count + 1, count
1 .break (count == :_numTskBase:)
1 .endloop
1 .endif ; .if (:_numTskBase: != 0)
1
1 .if (:_numSwiBase: != 0)
1 .global _DIO_NUMCBSTATIC ; Number of Cb Static DIO objects.
1 .global _DIO_CBTABLE ; Table of DIO objects for Callback.
1
1 .eval DIO_OBJSIZE * :_numSwiBase:, DIO_TABLESIZE
1
1 ;
1 ; Allocate space for DIO_NUMCBSTATIC value
1 ; This value is used in Static Callback version of DIO.
1 ; Allocate space for Callback DIO Table
1 ;
1 _DIO_NUMCBSTATIC .usect ".dio", 1 * STD_TARGWORDMAUS, STD_TARGWORDMAUS
1 _DIO_CBTABLE .usect ".dio", DIO_TABLESIZE * STD_TARGWORDMAUS, STD_TARGWORDMAUS
1
1 ;
1 ; initialize DIO_NUMCBSTATIC.
1 ;
1 .sect ".cinit"
1 .align STD_TARGALIGN
1 .word 1 * STD_TARGWORDMAUS
1 .word _DIO_NUMCBSTATIC
1 .word :_numSwiBase:
1
1 .eval 0, count
1
1 .loop
1
1 ;
1 ; Initialize the Callback DIO table.
1 ;
1 .sect ".cinit"
1 .align STD_TARGALIGN
1 .word DIO_OBJSIZE * STD_TARGWORDMAUS
TMS320C6x COFF Assembler PC Version 4.32 Wed Jan 04 14:25:55 2006
Tools Copyright (c) 1996-2002 Texas Instruments Incorporated
h263_loopbackcfg.s62 PAGE 18
1 .word _DIO_CBTABLE + DIO_OBJSIZE * :count: * STD_TARGWORDMAUS
1 .word 0 ; fxns
1 .word 0 ; chanp
1 .word 0 ; context.cb.fxn
1 .word 0 ; context.cb.arg0
1 .word 0 ; context.cb.arg1
1
1 .eval count + 1, count
1 .break (count == :_numSwiBase:)
1 .endloop
1 .endif ; .if (:_numSiBase: != 0)
1 .endif ; .if (:_static:)
1
457
458 ;; ======== UDEV_Obj VP1ACAPTURE ========
459 ;; <add comments here>
460 ;;
461 ;; UDEV_Obj VP1ACAPTURE (iFxns, driverType, iParams, deviceId, initFxn, deviceGlobalDataPtr)
462 .global VP1ACAPTURE
463 .asg _VPORTCAP_Fxns, _iFxns
464 .asg "DEV_IOMTYPE", _driverType
465 .asg _SEEDVPM642_vCapParamsPort, _iParams
466 .asg 01H, _deviceId
467 .asg 00H, _initFxn
468 .asg 00H, _deviceGlobalDataPtr
469 0000008c UDEV_Obj 1, VP1ACAPTURE, 0, _iFxns, _driverType, _iParams, _deviceId, _initFxn, _deviceGlobalD
1
1 00000000 .sect ".const"
1 00000000 0000002F UDEV_VP1ACAPTURE .string "/VP1ACAPTURE",0 ; Set up string "/<devName>"
00000001 00000056
00000002 00000050
00000003 00000031
00000004 00000041
00000005 00000043
00000006 00000041
00000007 00000050
00000008 00000054
00000009 00000055
0000000a 00000052
0000000b 00000045
0000000c 00000000
1
1 ; This matches SIO_:_device:$params in sio.hti
1 .asg "_SEEDVPM642_vCapParamsPort", SIO_VP1ACAPTURE$params
1
1 ;
1 ; This adds an entry to the device table, DEV_devtab, and the init
1 ; table, DEV_devinit.
1 ;
1 0000000d DEV_addDevice UDEV_VP1ACAPTURE, _VPORTCAP_Fxns, 01H, _SEEDVPM642_vCapParamsPort, 00H, DEV_IOMT
2
2 .global UDEV_VP1ACAPTURE$obj
2 .global UDEV_VP1ACAPTURE$device
2 00000000 UDEV_VP1ACAPTURE$obj .usect ".devtable", 9 * STD_TARGWORDMAUS, STD_TARGWORDMAUS
2
TMS320C6x COFF Assembler PC Version 4.32 Wed Jan 04 14:25:55 2006
Tools Copyright (c) 1996-2002 Texas Instruments Incorporated
h263_loopbackcfg.s62 PAGE 19
2 0000000C- UDEV_VP1ACAPTURE$device .set UDEV_VP1ACAPTURE$obj + (3 * STD_TARGWORDMAUS)
2
2 ; UDEV_VP1ACAPTURE$device points to begining of DEV_Device entry. Note that
2 ; UDEV_VP1ACAPTURE can't be used here
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -