tskVideoOutput.asm
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:16k
- ;******************************************************************************
- ;* TMS320C6x C/C++ Codegen PC Version 4.36 *
- ;* Date/Time created: Wed Mar 22 15:36:43 2006 *
- ;******************************************************************************
- ;******************************************************************************
- ;* GLOBAL FILE PARAMETERS *
- ;* *
- ;* Architecture : TMS320C64xx *
- ;* Optimization : Enabled at level 3 *
- ;* Optimizing for : Speed *
- ;* Based on options: -o3, no -ms *
- ;* Endian : Little *
- ;* Interrupt Thrshld : Disabled *
- ;* Memory Model : Large *
- ;* Calls to RTS : Far *
- ;* Pipelining : Enabled *
- ;* Speculative Load : Enabled *
- ;* Memory Aliases : Presume not aliases (optimistic) *
- ;* Debug Info : No Debug Info *
- ;* *
- ;******************************************************************************
- .asg A15, FP
- .asg B14, DP
- .asg B15, SP
- .global $bss
- .global _scratch2
- _scratch2: .usect ".internal_data1",14400,8
- .global _disChan
- _disChan: .usect ".far",4,4
- .global _disFrameBuf
- _disFrameBuf: .usect ".far",4,4
- ; c:tic6000cgtoolsbinopt6x.exe -t -DI0 -v6400 -q -O3 C:DOCUME~1ZHAOQI~1LOCALS~1TempTI3836_2 C:DOCUME~1ZHAOQI~1LOCALS~1TempTI3836_5 -w C:/ICETEK-DM642-C V2.22/jpeg_motion/obj/
- .sect ".text"
- .global _tskVideoOutputStart
- ;******************************************************************************
- ;* FUNCTION NAME: _tskVideoOutputStart *
- ;* *
- ;* Regs Modified : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6, *
- ;* B7,B8,B9,A16,A17,A18,A19,A20,A21,A22,A23,A24,A25,*
- ;* A26,A27,A28,A29,A30,A31,B16,B17,B18,B19,B20,B21, *
- ;* B22,B23,B24,B25,B26,B27,B28,B29,B30,B31 *
- ;* Regs Used : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6, *
- ;* B7,B8,B9,A16,A17,A18,A19,A20,A21,A22,A23,A24,A25,*
- ;* A26,A27,A28,A29,A30,A31,B16,B17,B18,B19,B20,B21, *
- ;* B22,B23,B24,B25,B26,B27,B28,B29,B30,B31 *
- ;* Local Frame Size : 0 Args + 0 Auto + 4 Save = 4 byte *
- ;******************************************************************************
- _tskVideoOutputStart:
- ;** --------------------------------------------------------------------------*
- MVKL .S2 _GIO_control,B5 ; |53|
- MVKH .S2 _GIO_control,B5 ; |53|
- || MVKL .S1 _disChan,A3 ; |53|
- CALL .S2 B5 ; |53|
- || MVKH .S1 _disChan,A3 ; |53|
- LDW .D1T1 *A3,A4 ; |53|
- NOP 1
- MVKL .S2 0x10000004,B4 ; |53|
- MVKH .S2 0x10000004,B4 ; |53|
- ZERO .D1 A6 ; |53|
- RL0: ; CALL OCCURS ; |54| ; bypass _tskVideoOutputStart upon return
- .sect ".text"
- .global _tskVideoOutputInit
- ;******************************************************************************
- ;* FUNCTION NAME: _tskVideoOutputInit *
- ;* *
- ;* Regs Modified : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6, *
- ;* B7,B8,B9,SP,A16,A17,A18,A19,A20,A21,A22,A23,A24, *
- ;* A25,A26,A27,A28,A29,A30,A31,B16,B17,B18,B19,B20, *
- ;* B21,B22,B23,B24,B25,B26,B27,B28,B29,B30,B31 *
- ;* Regs Used : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6, *
- ;* B7,B8,B9,SP,A16,A17,A18,A19,A20,A21,A22,A23,A24, *
- ;* A25,A26,A27,A28,A29,A30,A31,B16,B17,B18,B19,B20, *
- ;* B21,B22,B23,B24,B25,B26,B27,B28,B29,B30,B31 *
- ;* Local Frame Size : 0 Args + 4 Auto + 4 Save = 8 byte *
- ;******************************************************************************
- _tskVideoOutputInit:
- ;** --------------------------------------------------------------------------*
- MVKL .S1 _GIO_create,A3 ; |44|
- MVKL .S1 _EVMDM642_I2C_hI2C,A4 ; |42|
- MVKH .S1 _GIO_create,A3 ; |44|
- || MVKL .S2 _extHeap,B4 ; |40|
- MVKH .S1 _EVMDM642_I2C_hI2C,A4 ; |42|
- || MVKH .S2 _extHeap,B4 ; |40|
- CALL .S2X A3 ; |44|
- || LDW .D1T1 *A4,A7 ; |42|
- || LDW .D2T2 *B4,B5 ; |40|
- || MVKL .S1 _EVMDM642_vDisParamsChan,A5 ; |44|
- MVKL .S1 _EVMDM642_vDisParamsChan+140,A6 ; |40|
- MVKH .S1 _EVMDM642_vDisParamsChan,A5 ; |44|
- MVKL .S2 _EVMDM642_vDisParamsSAA7121+4,B4 ; |42|
- || MVKH .S1 _EVMDM642_vDisParamsChan+140,A6 ; |40|
- || STW .D2T2 B3,*SP--(8) ; |36|
- MV .D2X A5,B6 ; |44|
- || MVKH .S2 _EVMDM642_vDisParamsSAA7121+4,B4 ; |42|
- || MVKL .S1 SL1+0,A4 ; |44|
- || ZERO .D1 A8 ; |44|
- ADDKPC .S2 RL1,B3,0 ; |44|
- || MVK .L2 0x2,B4 ; |44|
- || STW .D2T1 A7,*B4 ; |42|
- || ADD .L1X 4,SP,A6 ; |44|
- || STW .D1T2 B5,*A6 ; |40|
- || MVKH .S1 SL1+0,A4 ; |44|
- RL1: ; CALL OCCURS ; |44|
- MVKL .S1 _GIO_control,A3 ; |47|
- MVKL .S2 _disChan,B5 ; |44|
- || MVKH .S1 _GIO_control,A3 ; |47|
- MVKL .S2 _EVMDM642_vDisParamsSAA7121,B6 ; |47|
- CALL .S2X A3 ; |47|
- MVKH .S2 _disChan,B5 ; |44|
- MVKL .S2 0x80000001,B4 ; |47|
- MVKH .S2 _EVMDM642_vDisParamsSAA7121,B6 ; |47|
- MVKH .S2 0x80000001,B4 ; |47|
- ADDKPC .S2 RL2,B3,0 ; |47|
- || MV .D1X B6,A6 ; |47|
- || STW .D2T1 A4,*B5 ; |44|
- RL2: ; CALL OCCURS ; |47|
- LDW .D2T2 *++SP(8),B3 ; |49|
- NOP 4
- RETNOP .S2 B3,5 ; |49|
- ; BRANCH OCCURS ; |49|
- .sect ".text"
- .global _tskVideoOutput
- ;******************************************************************************
- ;* FUNCTION NAME: _tskVideoOutput *
- ;* *
- ;* Regs Modified : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, *
- ;* A15,B0,B1,B2,B3,B4,B5,B6,B7,B8,B9,B10,B11,B12, *
- ;* B13,SP,A16,A17,A18,A19,A20,A21,A22,A23,A24,A25, *
- ;* A26,A27,A28,A29,A30,A31,B16,B17,B18,B19,B20,B21, *
- ;* B22,B23,B24,B25,B26,B27,B28,B29,B30,B31 *
- ;* Regs Used : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, *
- ;* A15,B0,B1,B2,B3,B4,B5,B6,B7,B8,B9,B10,B11,B12, *
- ;* B13,SP,A16,A17,A18,A19,A20,A21,A22,A23,A24,A25, *
- ;* A26,A27,A28,A29,A30,A31,B16,B17,B18,B19,B20,B21, *
- ;* B22,B23,B24,B25,B26,B27,B28,B29,B30,B31 *
- ;* Local Frame Size : 0 Args + 32 Auto + 44 Save = 76 byte *
- ;******************************************************************************
- _tskVideoOutput:
- ;** --------------------------------------------------------------------------*
- MVKL .S1 _SCOM_open,A3 ; |64|
- MVKH .S1 _SCOM_open,A3 ; |64|
- MV .D1X SP,A31 ; |59|
- CALL .S2X A3 ; |64|
- STW .D2T1 A15,*SP--(80) ; |59|
- STDW .D1T1 A13:A12,*-A31(32)
- STDW .D2T2 B13:B12,*+SP(72)
- STDW .D1T1 A11:A10,*-A31(40)
- || STDW .D2T2 B11:B10,*+SP(64)
- || MVKL .S1 SL2+0,A4 ; |64|
- ADDKPC .S2 RL3,B3,0 ; |64|
- || STW .D2T2 B3,*+SP(60)
- || STW .D1T1 A14,*-A31(24)
- || MVKH .S1 SL2+0,A4 ; |64|
- RL3: ; CALL OCCURS ; |64|
- MVKL .S1 _SCOM_open,A3 ; |65|
- MVKH .S1 _SCOM_open,A3 ; |65|
- MV .D1 A4,A15 ; |64|
- CALL .S2X A3 ; |65|
- MVKL .S1 SL3+0,A4 ; |65|
- ADDKPC .S2 RL4,B3,2 ; |65|
- MVKH .S1 SL3+0,A4 ; |65|
- RL4: ; CALL OCCURS ; |65|
- MVKL .S2 _GIO_submit,B5 ; |67|
- MVKH .S2 _GIO_submit,B5 ; |67|
- || MVKL .S1 _disChan,A3 ; |67|
- MVKH .S1 _disChan,A3 ; |67|
- || CALL .S2 B5 ; |67|
- LDW .D1T1 *A3,A4 ; |67|
- || MV .S1 A4,A14 ; |65|
- MVKL .S2 _disFrameBuf,B13 ; |67|
- MVKH .S2 _disFrameBuf,B13 ; |67|
- MVK .S2 0x80,B4 ; |67|
- ZERO .D2 B6 ; |67|
- || ZERO .S1 A8 ; |67|
- || MV .D1X B13,A6 ; |67|
- || ADDKPC .S2 RL5,B3,0 ; |67|
- RL5: ; CALL OCCURS ; |67|
- MVKL .S2 _utlstsDispTime,B4
- MVKH .S2 _utlstsDispTime,B4
- MVK .S2 0x82,B11
- MV .D1X B4,A11
- MV .D1X B13,A12 ; |67|
- || MVK .D2 0xffffffff,B12
- || MVK .S1 0x2d0,A13
- || MVK .S2 0x1e0,B10
- MVKL .S1 _SCOM_getMsg,A3 ; |71|
- MVKH .S1 _SCOM_getMsg,A3 ; |71|
- NOP 1
- ;*----------------------------------------------------------------------------*
- ;* SOFTWARE PIPELINE INFORMATION
- ;* Disqualified loop: Loop contains a call
- ;*----------------------------------------------------------------------------*
- L1:
- CALL .S2X A3 ; |71|
- ADDKPC .S2 RL6,B3,2 ; |71|
- MV .D2 B12,B4 ; |71|
- MV .D1 A15,A4 ; |71|
- RL6: ; CALL OCCURS ; |71|
- MVKL .S1 _UTL_stsStartFunc,A3
- MVKH .S1 _UTL_stsStartFunc,A3
- MV .S1 A4,A10 ; |71|
- CALL .S2X A3
- ADDKPC .S2 RL7,B3,3
- MV .D1 A11,A4
- RL7: ; CALL OCCURS
- MVKL .S1 _disFrameBuf,A3 ; |79|
- MVKH .S1 _disFrameBuf,A3 ; |79|
- LDW .D1T1 *A3,A3 ; |79|
- LDW .D1T1 *+A10(20),A8 ; |75|
- LDW .D1T2 *+A10(24),B7 ; |76|
- LDW .D1T2 *+A10(28),B5 ; |77|
- ADD .D2 SP,24,B4 ; |83|
- LDW .D1T1 *+A3(8),A5 ; |79|
- LDW .D1T1 *+A3(16),A7 ; |81|
- MVKL .S1 _yuv420to422,A3 ; |83|
- || LDW .D1T1 *+A3(12),A4 ; |80|
- MVKH .S1 _yuv420to422,A3 ; |83|
- STW .D2T1 A8,*+SP(8) ; |75|
- CALL .S2X A3 ; |83|
- STW .D2T2 B7,*+SP(12) ; |76|
- STW .D2T2 B5,*+SP(16) ; |77|
- STW .D2T1 A5,*+SP(24) ; |79|
- STW .D2T1 A7,*+SP(32) ; |81|
- ADDKPC .S2 RL8,B3,0 ; |83|
- || ADD .D1X 8,SP,A4 ; |83|
- || STW .D2T1 A4,*+SP(28) ; |80|
- || MV .L2 B10,B6 ; |83|
- || MV .S1 A13,A6 ; |83|
- RL8: ; CALL OCCURS ; |83|
- MVKL .S2 _UTL_stsStopFunc,B4
- MVKH .S2 _UTL_stsStopFunc,B4
- CALL .S2 B4
- ADDKPC .S2 RL9,B3,3
- MV .D1 A11,A4
- RL9: ; CALL OCCURS
- MVKL .S1 _SCOM_putMsg,A3 ; |87|
- MVKH .S1 _SCOM_putMsg,A3 ; |87|
- MV .D1 A14,A4 ; |87|
- CALL .S2X A3 ; |87|
- MV .D2X A10,B4 ; |87|
- ADDKPC .S2 RL10,B3,3 ; |87|
- RL10: ; CALL OCCURS ; |87|
- MVKL .S2 _GIO_submit,B5 ; |89|
- MVKL .S2 _disChan,B6 ; |89|
- MVKH .S2 _GIO_submit,B5 ; |89|
- MVKH .S2 _disChan,B6 ; |89|
- CALL .S2 B5 ; |89|
- LDW .D2T1 *B6,A4 ; |89|
- MV .S1 A12,A6 ; |89|
- MV .L2 B11,B4 ; |89|
- ZERO .D2 B6 ; |89|
- ZERO .D1 A8 ; |89|
- || ADDKPC .S2 RL11,B3,0 ; |89|
- RL11: ; CALL OCCURS ; |89|
- BNOP .S1 L1,2 ; |90|
- MVKL .S1 _SCOM_getMsg,A3 ; |71|
- MVKH .S1 _SCOM_getMsg,A3 ; |71|
- NOP 1
- ; BRANCH OCCURS ; |90|
- ;******************************************************************************
- ;* STRINGS *
- ;******************************************************************************
- .sect ".const"
- SL1: .string "/VP2DISPLAY",0
- SL2: .string "PROCTOOUT",0
- SL3: .string "OUTTOPROC",0
- ;******************************************************************************
- ;* UNDEFINED EXTERNAL REFERENCES *
- ;******************************************************************************
- .global _SCOM_open
- .global _SCOM_putMsg
- .global _SCOM_getMsg
- .global _UTL_stsStartFunc
- .global _UTL_stsStopFunc
- .global _GIO_control
- .global _GIO_create
- .global _GIO_submit
- .global _yuv420to422
- .global _EVMDM642_I2C_hI2C
- .global _EVMDM642_vDisParamsChan
- .global _EVMDM642_vDisParamsSAA7121
- .global _extHeap
- .global _utlstsDispTime