ad_faad.s
来自「君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图」· S 代码 · 共 1,523 行 · 第 1/2 页
S
1,523 行
.file 1 "ad_faad.c".section .mdebug.abi32.previous.section .text.func_table,"ax",@progbits.align 2.align 5.globl func_table.ent func_table.type func_table, @functionfunc_table:.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0.mask 0x00000000,0.fmask 0x00000000,0.set noreorder.set nomacrolui $2,%hi(mpcodecs_ad_faad)j $31addiu $2,$2,%lo(mpcodecs_ad_faad).set macro.set reorder.end func_table.section .text.preinit,"ax",@progbits.align 2.align 5.ent preinit.type preinit, @functionpreinit:.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0.mask 0x00000000,0.fmask 0x00000000,0.set noreorder.set nomacroli $2,4608 # 0x1200sw $2,48($4)li $3,49152 # 0xc000li $2,1 # 0x1j $31sw $3,64($4).set macro.set reorder.end preinit.section .rodata.str1.4,"aMS",@progbits,1.align 2$LC0:.ascii "FAAD: Closing decoder!\012\000".section .text.uninit,"ax",@progbits.align 2.align 5.ent uninit.type uninit, @functionuninit:.frame $sp,24,$31 # vars= 0, regs= 1/0, args= 16, gp= 0.mask 0x80000000,-8.fmask 0x00000000,0.set noreorder.set nomacrolui $6,%hi($LC0)addiu $sp,$sp,-24li $4,12 # 0xcaddiu $6,$6,%lo($LC0)sw $31,16($sp)jal mp_msgli $5,6 # 0x6lui $2,%hi(faac_hdec)lw $4,%lo(faac_hdec)($2)lw $31,16($sp)j NeAACDecCloseaddiu $sp,$sp,24.set macro.set reorder.end uninit.section .rodata.str1.4.align 2$LC1:.ascii "FAAD: error: %s, trying to resync!\012\000".align 2$LC2:.ascii "\012AAC_PROBE: %d bytes\012\000".align 2$LC3:.ascii "AUDIO PAYLOAD: %x %x %x %x\012\000".align 2$LC4:.ascii "\012AAC_PROBE: ret %d\012\000".align 2$LC5:.ascii "\012AAC SYNC AFTER %d bytes\012\000".globl __nedf2.align 2$LC7:.ascii "FAAD: Failed to decode frame: %s \012\000".align 2$LC8:.ascii "FAAD: Decoded zero samples!\012\000".align 2$LC9:.ascii "FAAD: Successfully decoded frame (%ld Bytes)!\012\000".section .rodata.cst8,"aM",@progbits,8.align 3$LC6:.word 0.word -1008730112.section .text.decode_audio,"ax",@progbits.align 2.align 5.ent decode_audio.type decode_audio, @functiondecode_audio:.frame $sp,96,$31 # vars= 24, regs= 10/0, args= 32, gp= 0.mask 0xc0ff0000,-4.fmask 0x00000000,0addiu $sp,$sp,-96sw $22,80($sp)sw $31,92($sp)sw $fp,88($sp)sw $23,84($sp)sw $21,76($sp)sw $20,72($sp)sw $19,68($sp)sw $18,64($sp)sw $17,60($sp)sw $16,56($sp)sw $6,104($sp)move $22,$4.set noreorder.set nomacroblez $6,$L76sw $5,100($sp).set macro.set reorderli $2,1 # 0x1sw $0,52($sp)sw $2,48($sp)move $fp,$0$L11:lw $2,168($22)bne $2,$0,$L12lw $16,56($22)lw $6,60($22)slt $2,$16,$6bne $2,$0,$L77$L74:lui $3,%hi(faac_hdec)lw $4,%lo(faac_hdec)($3)lui $2,%hi(faac_finfo)lw $6,52($22)addiu $5,$2,%lo(faac_finfo).set noreorder.set nomacrojal NeAACDecDecodemove $7,$16.set macro.set reorderlui $4,%hi(faac_finfo)lw $3,%lo(faac_finfo)($4)lw $5,56($22)move $23,$2sltu $2,$3,$5bne $2,$0,$L16$L82:sw $0,56($22)lui $5,%hi(faac_finfo)$L84:addiu $5,$5,%lo(faac_finfo)lbu $4,9($5)beq $4,$0,$L19jal NeAACDecGetErrorMessagelui $6,%hi($LC1)move $7,$2addiu $6,$6,%lo($LC1)li $4,12 # 0xc.set noreorder.set nomacrojal mp_msgli $5,2 # 0x2.set macro.set reorderlw $2,56($22)blez $2,$L78lw $4,52($22)addiu $16,$2,-1sw $16,56($22)move $6,$16.set noreorder.set nomacrojal memmoveaddiu $5,$4,1.set macro.set reorderlw $3,168($22)bne $3,$0,$L24lw $16,56($22)lw $6,60($22)slt $2,$16,$6bne $2,$0,$L79$L26:lui $6,%hi($LC2)addiu $21,$16,-4move $7,$16addiu $6,$6,%lo($LC2)li $4,12 # 0xcli $5,6 # 0x6.set noreorder.set nomacrojal mp_msglw $16,52($22).set macro.set reorder.set noreorder.set nomacrobltz $21,$L86lui $6,%hi($LC4).set macro.set reorderaddiu $19,$16,3addiu $18,$16,2addiu $17,$16,1.set noreorder.set nomacroj $L30move $20,$0.set macro.set reorder$L31:li $2,65 # 0x41.set noreorder.set nomacrobeq $3,$2,$L80li $2,68 # 0x44.set macro.set reorder$L35:lbu $3,0($17)addiu $20,$20,1sw $3,16($sp)lbu $2,0($18)addiu $16,$16,1sw $2,20($sp)lbu $3,0($19)addiu $17,$17,1.set noreorder.set nomacrojal mp_msgsw $3,24($sp).set macro.set reorderslt $2,$21,$20addiu $18,$18,1.set noreorder.set nomacrobne $2,$0,$L28addiu $19,$19,1.set macro.set reorder$L30:lbu $3,0($16)lui $6,%hi($LC3)li $2,255 # 0xffaddiu $6,$6,%lo($LC3)li $4,12 # 0xcmove $7,$3.set noreorder.set nomacrobne $3,$2,$L31li $5,6 # 0x6.set macro.set reorderlbu $3,1($16)li $2,240 # 0xf0andi $3,$3,0xf6bne $3,$2,$L35$L33:lui $6,%hi($LC4)addiu $6,$6,%lo($LC4)li $4,12 # 0xcli $5,6 # 0x6.set noreorder.set nomacrojal mp_msgmove $7,$20.set macro.set reorderbne $20,$0,$L81$L24:addiu $fp,$fp,1$L85:slt $2,$fp,10.set noreorder.set nomacrobeq $2,$0,$L87lui $3,%hi(faac_finfo).set macro.set reorderlui $3,%hi(faac_hdec)$L88:lw $16,56($22)lw $4,%lo(faac_hdec)($3)lui $2,%hi(faac_finfo)lw $6,52($22)addiu $5,$2,%lo(faac_finfo).set noreorder.set nomacrojal NeAACDecDecodemove $7,$16.set macro.set reorderlui $4,%hi(faac_finfo)lw $3,%lo(faac_finfo)($4)lw $5,56($22)move $23,$2sltu $2,$3,$5beq $2,$0,$L82$L16:lw $4,52($22)subu $16,$5,$3sw $16,56($22)addu $5,$4,$3.set noreorder.set nomacrojal memmovemove $6,$16.set macro.set reorder.set noreorder.set nomacroj $L84lui $5,%hi(faac_finfo).set macro.set reorder$L80:lbu $3,1($16).set noreorder.set nomacrobne $3,$2,$L35li $2,73 # 0x49.set macro.set reorderlbu $3,2($16).set noreorder.set nomacrobne $3,$2,$L35li $2,70 # 0x46.set macro.set reorderlbu $3,3($16)beq $3,$2,$L33lbu $3,0($17)addiu $20,$20,1sw $3,16($sp)lbu $2,0($18)addiu $16,$16,1sw $2,20($sp)lbu $3,0($19)addiu $17,$17,1.set noreorder.set nomacrojal mp_msgsw $3,24($sp).set macro.set reorderslt $2,$21,$20addiu $18,$18,1.set noreorder.set nomacrobeq $2,$0,$L30addiu $19,$19,1.set macro.set reorder$L28:lui $6,%hi($LC4)$L86:addiu $6,$6,%lo($LC4)li $4,12 # 0xcli $5,6 # 0x6.set noreorder.set nomacrojal mp_msgmove $7,$0.set macro.set reorderaddiu $fp,$fp,1slt $2,$fp,10.set noreorder.set nomacrobne $2,$0,$L88lui $3,%hi(faac_hdec).set macro.set reorder$L23:lui $3,%hi(faac_finfo)$L87:addiu $3,$3,%lo(faac_finfo)lbu $4,9($3)bne $4,$0,$L83$L19:lui $4,%hi(faac_finfo)addiu $4,$4,%lo(faac_finfo)lw $2,4($4).set noreorder.set nomacrobne $2,$0,$L49lui $6,%hi($LC9).set macro.set reorderlui $6,%hi($LC8)li $4,12 # 0xcaddiu $6,$6,%lo($LC8).set noreorder.set nomacrojal mp_msgli $5,7 # 0x7.set macro.set reorderlw $4,52($sp)$L48:lw $3,104($sp)slt $2,$4,$3.set noreorder.set nomacrobeq $2,$0,$L10lw $5,48($sp).set macro.set reorder.set noreorder.set nomacroblez $5,$L10slt $2,$fp,10.set macro.set reorderbne $2,$0,$L11$L10:lw $2,52($sp)lw $31,92($sp)lw $fp,88($sp)lw $23,84($sp)lw $22,80($sp)lw $21,76($sp)lw $20,72($sp)lw $19,68($sp)lw $18,64($sp)lw $17,60($sp)lw $16,56($sp).set noreorder.set nomacroj $31addiu $sp,$sp,96.set macro.set reorder$L77:lw $5,52($22)lw $4,4($22)addu $5,$16,$5.set noreorder.set nomacrojal demux_read_datasubu $6,$6,$16.set macro.set reorderlw $3,168($22)addu $16,$16,$2.set noreorder.set nomacrobeq $3,$0,$L74sw $16,56($22).set macro.set reorder$L12:lw $4,4($22)addiu $5,$sp,32addiu $6,$sp,40.set noreorder.set nomacrojal ds_get_packet_ptssw $0,32($sp).set macro.set reorder.set noreorder.set nomacroblez $2,$L10move $18,$2.set macro.set reorderlui $2,%hi($LC6)lw $16,40($sp)lw $17,44($sp)lw $6,%lo($LC6)($2)lw $7,%lo($LC6+4)($2)move $4,$16.set noreorder.set nomacrojal __nedf2move $5,$17.set macro.set reorder.set noreorder.set nomacrobeq $2,$0,$L89lui $6,%hi(faac_hdec).set macro.set reordersw $16,176($22)sw $17,180($22)sw $0,184($22)$L89:lw $4,%lo(faac_hdec)($6)lui $2,%hi(faac_finfo)lw $6,32($sp)addiu $5,$2,%lo(faac_finfo).set noreorder.set nomacrojal NeAACDecDecodemove $7,$18.set macro.set reorderlui $3,%hi(faac_finfo)addiu $3,$3,%lo(faac_finfo)lbu $4,9($3).set noreorder.set nomacrobeq $4,$0,$L19move $23,$2.set macro.set reorder$L83:jal NeAACDecGetErrorMessagelui $6,%hi($LC7)li $4,12 # 0xcaddiu $6,$6,%lo($LC7)move $7,$2.set noreorder.set nomacrojal mp_msgli $5,2 # 0x2.set macro.set reorder.set noreorder.set nomacroj $L48lw $4,52($sp).set macro.set reorder$L49:lw $7,32($22)mul $7,$2,$7addiu $6,$6,%lo($LC9)li $4,12 # 0xc.set noreorder.set nomacrojal mp_msgli $5,7 # 0x7.set macro.set reorderlui $2,%hi(faac_finfo)addiu $2,$2,%lo(faac_finfo)lw $3,4($2)lw $6,52($sp)lw $2,100($sp)lw $4,32($22)addu $5,$6,$2mul $6,$4,$3sltu $2,$6,32.set noreorder.set nomacrobne $2,$0,$L51andi $2,$5,0x3.set macro.set reorder.set noreorder.set nomacrobne $2,$0,$L90move $4,$5.set macro.set reorderandi $2,$23,0x3.set noreorder.set nomacrobne $2,$0,$L90li $2,-32 # 0xffffffffffffffe0.set macro.set reorderaddiu $4,$5,-4and $2,$6,$2addu $7,$4,$2sltu $3,$4,$7.set noreorder.set nomacrobeq $3,$0,$L55addiu $5,$23,-4.set macro.set reorder$L68:#APP.word 0b01110000101000000000010001010100 #S32LDI XR1,$5,4.word 0b01110000101000000000010010010100 #S32LDI XR2,$5,4.word 0b01110000101000000000010011010100 #S32LDI XR3,$5,4.word 0b01110000101000000000010100010100 #S32LDI XR4,$5,4.word 0b01110000101000000000010101010100 #S32LDI XR5,$5,4.word 0b01110000101000000000010110010100 #S32LDI XR6,$5,4.word 0b01110000101000000000010111010100 #S32LDI XR7,$5,4.word 0b01110000101000000000011000010100 #S32LDI XR8,$5,4.word 0b01110000100000000000010001010101 #S32SDI XR1,$4,4.word 0b01110000100000000000010010010101 #S32SDI XR2,$4,4.word 0b01110000100000000000010011010101 #S32SDI XR3,$4,4.word 0b01110000100000000000010100010101 #S32SDI XR4,$4,4.word 0b01110000100000000000010101010101 #S32SDI XR5,$4,4.word 0b01110000100000000000010110010101 #S32SDI XR6,$4,4.word 0b01110000100000000000010111010101 #S32SDI XR7,$4,4.word 0b01110000100000000000011000010101 #S32SDI XR8,$4,4#NO_APPsltu $2,$4,$7bne $2,$0,$L68$L55:andi $2,$6,0x1caddu $7,$7,$2sltu $3,$4,$7beq $3,$0,$L57$L69:#APP.word 0b01110000101000000000010001010100 #S32LDI XR1,$5,4.word 0b01110000100000000000010001010101 #S32SDI XR1,$4,4#NO_APPsltu $2,$4,$7bne $2,$0,$L69$L57:andi $6,$6,0x3li $2,2 # 0x2.set noreorder.set nomacrobeq $6,$2,$L61li $2,3 # 0x3.set macro.set reorder.set noreorder.set nomacrobeq $6,$2,$L62li $2,1 # 0x1.set macro.set reorder.set noreorder.set nomacrobne $6,$2,$L91lui $2,%hi(faac_finfo).set macro.set reorderlbu $2,4($5).set noreorder.set nomacroj $L59sb $2,4($4).set macro.set reorder$L79:lw $5,52($22)lw $4,4($22)addu $5,$16,$5.set noreorder.set nomacrojal demux_read_datasubu $6,$6,$16.set macro.set reorderaddu $16,$16,$2.set noreorder.set nomacroj $L26sw $16,56($22).set macro.set reorder$L51:move $4,$5$L90:.set noreorder.set nomacrojal memcpymove $5,$23.set macro.set reorder$L59:lui $2,%hi(faac_finfo)$L91:addiu $2,$2,%lo(faac_finfo)lw $4,32($22)lw $3,4($2)lw $6,52($sp)mul $5,$4,$3lw $2,184($22)addu $6,$6,$5addu $2,$2,$5move $4,$6sw $5,48($sp)sw $2,184($22).set noreorder.set nomacroj $L48sw $6,52($sp).set macro.set reorder$L78:.set noreorder.set nomacroj $L23li $fp,10 # 0xa.set macro.set reorder
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?