demux_aac.s

来自「君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图」· S 代码 · 共 2,686 行 · 第 1/3 页

S
2,686
字号
.file	1 "demux_aac.c".section .mdebug.abi32.previous.section	.text.aac_parse_frame,"ax",@progbits.align	2.align	5.globl	aac_parse_frame.ent	aac_parse_frame.type	aac_parse_frame, @functionaac_parse_frame:.frame	$sp,0,$31		# vars= 0, regs= 0/0, args= 0, gp= 0.mask	0x00000000,0.fmask	0x00000000,0.set	noreorder.set	nomacrolbu	$3,0($4)li	$2,255			# 0xffbeq	$3,$2,$L9move	$7,$4$L2:j	$31move	$2,$0$L9:lbu	$3,1($4)li	$2,240			# 0xf0andi	$3,$3,0xf6bne	$3,$2,$L2lui	$3,%hi(srates.3793)lbu	$2,2($4)srl	$2,$2,2andi	$2,$2,0xfsll	$4,$2,2addiu	$3,$3,%lo(srates.3793)slt	$2,$2,12beq	$2,$0,$L2addu	$3,$4,$3lw	$3,0($3)sw	$3,0($5)lbu	$2,3($7)lbu	$3,4($7)lbu	$5,6($7)lbu	$4,5($7)andi	$2,$2,0x3sll	$2,$2,11sll	$3,$3,3or	$2,$2,$3srl	$4,$4,5andi	$5,$5,0x2addiu	$5,$5,1or	$2,$2,$4j	$31sw	$5,0($6).set	macro.set	reorder.end	aac_parse_frame.section	.text.demux_close_aac,"ax",@progbits.align	2.align	5.ent	demux_close_aac.type	demux_close_aac, @functiondemux_close_aac:.frame	$sp,24,$31		# vars= 0, regs= 2/0, args= 16, gp= 0.mask	0x80010000,-4.fmask	0x00000000,0.set	noreorder.set	nomacroaddiu	$sp,$sp,-24sw	$16,16($sp)sw	$31,20($sp)lw	$3,2248($4)beq	$3,$0,$L15move	$16,$4lw	$2,0($3)beq	$2,$0,$L13move	$4,$2jal	uc_freenoplw	$3,2248($16)$L13:lw	$31,20($sp)lw	$16,16($sp)move	$4,$3j	uc_freeaddiu	$sp,$sp,24$L15:lw	$31,20($sp)lw	$16,16($sp)j	$31addiu	$sp,$sp,24.set	macro.set	reorder.end	demux_close_aac.section	.text.demux_aac_open,"ax",@progbits.align	2.align	5.ent	demux_aac_open.type	demux_aac_open, @functiondemux_aac_open:.frame	$sp,24,$31		# vars= 0, regs= 2/0, args= 16, gp= 0.mask	0x80010000,-4.fmask	0x00000000,0.set	noreorder.set	nomacroaddiu	$sp,$sp,-24move	$5,$0move	$6,$0sw	$31,20($sp)sw	$16,16($sp)jal	new_sh_audio_aidmove	$16,$4li	$3,1093926912			# 0x41340000lw	$5,16($16)ori	$3,$3,0x504dsw	$3,12($2)lw	$4,44($5)lw	$3,36($5)lw	$6,40($5)addu	$4,$4,$3lw	$5,52($16)subu	$4,$4,$6sw	$2,92($5)sw	$5,4($2)sw	$4,4($16)move	$2,$16lw	$31,20($sp)lw	$16,16($sp)j	$31addiu	$sp,$sp,24.set	macro.set	reorder.end	demux_aac_open.section	.rodata.str1.4,"aMS",@progbits,1.align	2$LC0:.ascii	"COULDN'T INIT aac_demux, exit\012\000".align	2$LC1:.ascii	"stream_read: WARNING! s->buf_pos>s->buf_len\012\000".align	2$LC2:.ascii	"demux_aac_probe, INIT: %llu, PROBED: %llu, cnt: %d\012\000".align	2$LC3:.ascii	"demux_aac_probe, failed to detect an AAC stream\012\000".section	.text.demux_aac_probe,"ax",@progbits.align	2.align	5.ent	demux_aac_probe.type	demux_aac_probe, @functiondemux_aac_probe:.frame	$sp,64,$31		# vars= 0, regs= 9/0, args= 24, gp= 0.mask	0x80ff0000,-8.fmask	0x00000000,0addiu	$sp,$sp,-64sw	$20,40($sp)li	$5,32			# 0x20move	$20,$4li	$4,1			# 0x1sw	$21,44($sp)sw	$31,56($sp)sw	$23,52($sp)sw	$22,48($sp)sw	$19,36($sp)sw	$18,32($sp)sw	$17,28($sp).set	noreorder.set	nomacrojal	uc_callocsw	$16,24($sp).set	macro.set	reorder.set	noreorder.set	nomacrobeq	$2,$0,$L19move	$21,$2.set	macro.set	reorder.set	noreorder.set	nomacrojal	uc_mallocli	$4,8			# 0x8.set	macro.set	reorder.set	noreorder.set	nomacrobeq	$2,$0,$L105sw	$2,0($21).set	macro.set	reorderlw	$17,16($20)move	$23,$0lw	$3,36($17)lw	$2,44($17)lw	$4,40($17)addu	$2,$2,$3subu	$22,$2,$4lw	$2,40($17)move	$4,$3sltu	$2,$4,$2.set	noreorder.set	nomacrobeq	$2,$0,$L25sw	$21,2248($20).set	macro.set	reorder$L107:lw	$2,80($17)addiu	$3,$4,1addu	$2,$4,$2lbu	$5,0($2).set	noreorder.set	nomacrobltz	$5,$L28sw	$3,36($17).set	macro.set	reorder$L108:li	$2,255			# 0xff.set	noreorder.set	nomacrobeq	$5,$2,$L106li	$3,-1.set	macro.set	reorderlw	$17,16($20)$L102:lw	$4,36($17)lw	$2,40($17)sltu	$2,$4,$2bne	$2,$0,$L107$L25:.set	noreorder.set	nomacrojal	stream_fill_buffermove	$4,$17.set	macro.set	reorder.set	noreorder.set	nomacrobeq	$2,$0,$L118lui	$6,%hi($LC3).set	macro.set	reorderlw	$2,36($17)lw	$3,80($17)addiu	$4,$2,1addu	$3,$3,$2lbu	$5,0($3).set	noreorder.set	nomacrobgez	$5,$L108sw	$4,36($17).set	macro.set	reorder$L28:lui	$6,%hi($LC3)$L118:addiu	$6,$6,%lo($LC3)li	$4,7			# 0x7.set	noreorder.set	nomacrojal	mp_msgli	$5,6			# 0x6.set	macro.set	reorderlw	$31,56($sp)lw	$23,52($sp)lw	$22,48($sp)lw	$21,44($sp)lw	$20,40($sp)lw	$19,36($sp)lw	$18,32($sp)lw	$17,28($sp)lw	$16,24($sp)move	$2,$0.set	noreorder.set	nomacroj	$31addiu	$sp,$sp,64.set	macro.set	reorder$L106:lw	$2,0($21)sb	$3,0($2)lw	$17,16($20)lw	$2,0($21)lw	$5,36($17)lw	$3,40($17)addiu	$18,$2,1subu	$2,$3,$5.set	noreorder.set	nomacrobeq	$2,$0,$L33li	$19,7			# 0x7.set	macro.set	reorder$L111:move	$16,$2sltu	$2,$3,$5.set	noreorder.set	nomacrobne	$2,$0,$L119lui	$6,%hi($LC1).set	macro.set	reorder$L39:slt	$2,$19,$16movn	$16,$19,$2lw	$3,80($17)sltu	$2,$16,32.set	noreorder.set	nomacrobne	$2,$0,$L41addu	$5,$3,$5.set	macro.set	reorder$L113:andi	$2,$18,0x3.set	noreorder.set	nomacrobne	$2,$0,$L120move	$4,$18.set	macro.set	reorderandi	$2,$5,0x3.set	noreorder.set	nomacrobne	$2,$0,$L120li	$2,-32			# 0xffffffffffffffe0.set	macro.set	reorderaddiu	$4,$18,-4and	$2,$16,$2addu	$6,$4,$2sltu	$3,$4,$6.set	noreorder.set	nomacrobeq	$3,$0,$L45addiu	$5,$5,-4.set	macro.set	reorder$L92:#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,$6bne	$2,$0,$L92$L45:andi	$2,$16,0x1caddu	$6,$6,$2sltu	$3,$4,$6.set	noreorder.set	nomacrobeq	$3,$0,$L121andi	$3,$16,0x3.set	macro.set	reorder$L93:#APP.word	0b01110000101000000000010001010100	#S32LDI XR1,$5,4.word	0b01110000100000000000010001010101	#S32SDI XR1,$4,4#NO_APPsltu	$2,$4,$6.set	noreorder.set	nomacrobne	$2,$0,$L93andi	$3,$16,0x3.set	macro.set	reorder$L121:li	$2,2			# 0x2.set	noreorder.set	nomacrobeq	$3,$2,$L51li	$2,3			# 0x3.set	macro.set	reorder.set	noreorder.set	nomacrobeq	$3,$2,$L52li	$2,1			# 0x1.set	macro.set	reorderbeq	$3,$2,$L110$L49:lw	$5,36($17)subu	$19,$19,$16addu	$2,$5,$16move	$5,$2.set	noreorder.set	nomacroblez	$19,$L38sw	$2,36($17).set	macro.set	reorder$L114:lw	$3,40($17)subu	$2,$3,$5.set	noreorder.set	nomacrobne	$2,$0,$L111addu	$18,$18,$16.set	macro.set	reorder$L33:.set	noreorder.set	nomacrojal	stream_fill_buffermove	$4,$17.set	macro.set	reorder.set	noreorder.set	nomacrobeq	$2,$0,$L112li	$2,7			# 0x7.set	macro.set	reorderlw	$3,40($17)lw	$5,36($17)sltu	$2,$3,$5.set	noreorder.set	nomacrobeq	$2,$0,$L39subu	$16,$3,$5.set	macro.set	reorderlui	$6,%hi($LC1)$L119:li	$5,2			# 0x2addiu	$6,$6,%lo($LC1).set	noreorder.set	nomacrojal	mp_msgli	$4,7			# 0x7.set	macro.set	reorderslt	$2,$19,$16lw	$5,36($17)movn	$16,$19,$2lw	$3,80($17)sltu	$2,$16,32.set	noreorder.set	nomacrobeq	$2,$0,$L113addu	$5,$3,$5.set	macro.set	reorder$L41:move	$4,$18$L120:.set	noreorder.set	nomacrojal	memcpymove	$6,$16.set	macro.set	reorderlw	$5,36($17)subu	$19,$19,$16addu	$2,$5,$16move	$5,$2.set	noreorder.set	nomacrobgtz	$19,$L114sw	$2,36($17).set	macro.set	reorder$L38:lw	$4,0($21)li	$2,255			# 0xfflbu	$3,0($4)beq	$3,$2,$L115$L85:lw	$17,16($20)lw	$2,36($17)$L54:lw	$4,44($17)lw	$5,40($17)addu	$2,$4,$2subu	$18,$2,$5subu	$3,$18,$22li	$2,32768			# 0x8000slt	$3,$2,$3.set	noreorder.set	nomacrobne	$3,$0,$L72slt	$16,$23,8.set	macro.set	reorderbne	$16,$0,$L102$L72:slt	$2,$22,$4.set	noreorder.set	nomacrobeq	$2,$0,$L74subu	$2,$4,$5.set	macro.set	reordersubu	$2,$22,$2.set	noreorder.set	nomacrobltz	$2,$L122move	$4,$17.set	macro.set	reordersw	$2,36($17)$L77:.set	noreorder.set	nomacrobne	$16,$0,$L28lui	$6,%hi($LC2).set	macro.set	reordermove	$7,$22addiu	$6,$6,%lo($LC2)li	$4,7			# 0x7li	$5,6			# 0x6sw	$18,16($sp).set	noreorder.set	nomacrojal	mp_msgsw	$23,20($sp).set	macro.set	reorderlw	$31,56($sp)lw	$23,52($sp)lw	$22,48($sp)lw	$21,44($sp)lw	$20,40($sp)lw	$19,36($sp)lw	$18,32($sp)lw	$17,28($sp)lw	$16,24($sp)li	$2,39			# 0x27.set	noreorder.set	nomacroj	$31addiu	$sp,$sp,64.set	macro.set	reorder$L51:lbu	$2,4($5)sb	$2,4($4)lbu	$3,5($5).set	noreorder.set	nomacroj	$L49sb	$3,5($4).set	macro.set	reorder$L115:lbu	$2,1($4)$L117:li	$3,240			# 0xf0andi	$2,$2,0xf6bne	$2,$3,$L85lbu	$2,2($4)srl	$2,$2,2andi	$2,$2,0xfslt	$2,$2,12beq	$2,$0,$L85lbu	$2,3($4)lbu	$3,4($4)andi	$2,$2,0x3lbu	$4,5($4)sll	$2,$2,11sll	$3,$3,3or	$2,$2,$3srl	$4,$4,5or	$2,$2,$4.set	noreorder.set	nomacroblez	$2,$L85addiu	$16,$2,-8.set	macro.set	reorderaddiu	$23,$23,1.set	noreorder.set	nomacrobltz	$16,$L116lw	$17,16($20).set	macro.set	reorderli	$2,262144			# 0x40000slt	$2,$2,$16bne	$2,$0,$L62blez	$16,$L103$L87:lw	$6,40($17).set	noreorder.set	nomacroj	$L94lw	$5,36($17).set	macro.set	reorder$L70:slt	$2,$16,$3movn	$3,$16,$2addu	$4,$5,$3subu	$16,$16,$3move	$5,$4.set	noreorder.set	nomacroblez	$16,$L85sw	$4,36($17).set	macro.set	reorder$L94:subu	$2,$6,$5move	$4,$17.set	noreorder.set	nomacrobne	$2,$0,$L70move	$3,$2.set	macro.set	reorderjal	stream_fill_bufferbeq	$2,$0,$L88lw	$5,36($17)lw	$6,40($17).set	noreorder.set	nomacroj	$L70subu	$3,$6,$5.set	macro.set	reorder$L52:lbu	$2,4($5)sb	$2,4($4)lbu	$3,5($5)sb	$3,5($4)lbu	$2,6($5).set	noreorder.set	nomacroj	$L49sb	$2,6($4).set	macro.set	reorder$L110:lbu	$2,4($5).set	noreorder.set	nomacroj	$L49sb	$2,4($4).set	macro.set	reorder$L105:.set	noreorder.set	nomacrojal	uc_freemove	$4,$21.set	macro.set	reorder$L19:lui	$6,%hi($LC0)addiu	$6,$6,%lo($LC0)li	$4,7			# 0x7.set	noreorder.set	nomacrojal	mp_msgli	$5,1			# 0x1.set	macro.set	reorderlw	$31,56($sp)lw	$23,52($sp)lw	$22,48($sp)lw	$21,44($sp)lw	$20,40($sp)lw	$19,36($sp)lw	$18,32($sp)lw	$17,28($sp)lw	$16,24($sp)move	$2,$0.set	noreorder.set	nomacroj	$31addiu	$sp,$sp,64.set	macro.set	reorder$L112:subu	$2,$2,$19slt	$2,$2,7.set	noreorder.set	nomacrobne	$2,$0,$L28li	$2,255			# 0xff.set	macro.set	reorderlw	$4,0($21)lbu	$3,0($4)bne	$3,$2,$L85.set	noreorder.set	nomacroj	$L117lbu	$2,1($4).set	macro.set	reorder$L74:move	$4,$17$L122:.set	noreorder.set	nomacrojal	stream_seek_longmove	$5,$22.set	macro.set	reorderj	$L77$L62:lw	$2,28($17)andi	$2,$2,0x4beq	$2,$0,$L87$L61:lw	$4,44($17)lw	$2,36($17)lw	$6,40($17)addu	$2,$4,$2subu	$2,$2,$6addu	$5,$16,$2slt	$3,$5,$4beq	$3,$0,$L65subu	$2,$4,$6subu	$2,$5,$2bltz	$2,$L65.set	noreorder.set	nomacroj	$L54sw	$2,36($17).set	macro.set	reorder$L88:lw	$17,16($20)$L103:.set	noreorder.set	nomacroj	$L54lw	$2,36($17).set	macro.set	reorder$L116:lw	$2,28($17)andi	$2,$2,0x2bne	$2,$0,$L61.set	noreorder.set	nomacroj	$L54lw	$2,36($17).set	macro.set	reorder$L65:.set	noreorder.set	nomacrojal	stream_seek_longmove	$4,$17.set	macro.set	reorderlw	$17,16($20).set	noreorder.set	nomacroj	$L54lw	$2,36($17).set	macro.set	reorder.end	demux_aac_probe.globl	__subsf3.globl	__ltsf2.globl	__addsf3.globl	__gtsf2.globl	__floatsisf.globl	__mulsf3.globl	__fixsfsi.globl	__floatsidf.globl	__muldf3.globl	__divdf3.globl	__truncdfsf2.section	.rodata.cst4,"aM",@progbits,4.align	2$LC4:.word	981467136.section	.rodata.cst8,"aM",@progbits,8.align	3$LC5:.word	0.word	1083179008.section	.text.demux_aac_seek,"ax",@progbits.align	2.align	5.ent	demux_aac_seek.type	demux_aac_seek, @functiondemux_aac_seek:.frame	$sp,48,$31		# vars= 0, regs= 8/0, args= 16, gp= 0.mask	0x807f0000,-4.fmask	0x00000000,0addiu	$sp,$sp,-48sw	$21,36($sp)sw	$17,20($sp)sw	$16,16($sp)sw	$31,44($sp)sw	$22,40($sp)sw	$20,32($sp)sw	$19,28($sp)sw	$18,24($sp)lw	$2,52($4)move	$16,$7move	$21,$4andi	$16,$16,0x1move	$4,$2move	$17,$5lw	$20,2248($21).set	noreorder.set	nomacro

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?