ad_faad.mid

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

MID
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	nomacro		lui	$2,%hi(mpcodecs_ad_faad)	j	$31	addiu	$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	nomacro		li	$2,4608			# 0x1200	sw	$2,48($4)	li	$3,49152			# 0xc000	li	$2,1			# 0x1	j	$31	sw	$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	nomacro		lui	$6,%hi($LC0)	addiu	$sp,$sp,-24	li	$4,12			# 0xc	addiu	$6,$6,%lo($LC0)	sw	$31,16($sp)	jal	mp_msg	li	$5,6			# 0x6	lui	$2,%hi(faac_hdec)	lw	$4,%lo(faac_hdec)($2)	lw	$31,16($sp)	j	NeAACDecClose	addiu	$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,0	addiu	$sp,$sp,-96	sw	$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	nomacro	blez	$6,$L76	sw	$5,100($sp)	.set	macro	.set	reorder	li	$2,1			# 0x1	sw	$0,52($sp)	sw	$2,48($sp)	move	$fp,$0$L11:	lw	$2,168($22)	bne	$2,$0,$L12	lw	$16,56($22)	lw	$6,60($22)	slt	$2,$16,$6	bne	$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	nomacro	jal	NeAACDecDecode	move	$7,$16	.set	macro	.set	reorder	lui	$4,%hi(faac_finfo)	lw	$3,%lo(faac_finfo)($4)	lw	$5,56($22)	move	$23,$2	sltu	$2,$3,$5	bne	$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,$L19	jal	NeAACDecGetErrorMessage	lui	$6,%hi($LC1)	move	$7,$2	addiu	$6,$6,%lo($LC1)	li	$4,12			# 0xc	.set	noreorder	.set	nomacro	jal	mp_msg	li	$5,2			# 0x2	.set	macro	.set	reorder	lw	$2,56($22)	blez	$2,$L78	lw	$4,52($22)	addiu	$16,$2,-1	sw	$16,56($22)	move	$6,$16	.set	noreorder	.set	nomacro	jal	memmove	addiu	$5,$4,1	.set	macro	.set	reorder	lw	$3,168($22)	bne	$3,$0,$L24	lw	$16,56($22)	lw	$6,60($22)	slt	$2,$16,$6	bne	$2,$0,$L79$L26:	lui	$6,%hi($LC2)	addiu	$21,$16,-4	move	$7,$16	addiu	$6,$6,%lo($LC2)	li	$4,12			# 0xc	li	$5,6			# 0x6	.set	noreorder	.set	nomacro	jal	mp_msg	lw	$16,52($22)	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	bltz	$21,$L86	lui	$6,%hi($LC4)	.set	macro	.set	reorder	addiu	$19,$16,3	addiu	$18,$16,2	addiu	$17,$16,1	.set	noreorder	.set	nomacro	j	$L30	move	$20,$0	.set	macro	.set	reorder$L31:	li	$2,65			# 0x41	.set	noreorder	.set	nomacro	beq	$3,$2,$L80	li	$2,68			# 0x44	.set	macro	.set	reorder$L35:	lbu	$3,0($17)	addiu	$20,$20,1	sw	$3,16($sp)	lbu	$2,0($18)	addiu	$16,$16,1	sw	$2,20($sp)	lbu	$3,0($19)	addiu	$17,$17,1	.set	noreorder	.set	nomacro	jal	mp_msg	sw	$3,24($sp)	.set	macro	.set	reorder	slt	$2,$21,$20	addiu	$18,$18,1	.set	noreorder	.set	nomacro	bne	$2,$0,$L28	addiu	$19,$19,1	.set	macro	.set	reorder$L30:	lbu	$3,0($16)	lui	$6,%hi($LC3)	li	$2,255			# 0xff	addiu	$6,$6,%lo($LC3)	li	$4,12			# 0xc	move	$7,$3	.set	noreorder	.set	nomacro	bne	$3,$2,$L31	li	$5,6			# 0x6	.set	macro	.set	reorder	lbu	$3,1($16)	li	$2,240			# 0xf0	andi	$3,$3,0xf6	bne	$3,$2,$L35$L33:	lui	$6,%hi($LC4)	addiu	$6,$6,%lo($LC4)	li	$4,12			# 0xc	li	$5,6			# 0x6	.set	noreorder	.set	nomacro	jal	mp_msg	move	$7,$20	.set	macro	.set	reorder	bne	$20,$0,$L81$L24:	addiu	$fp,$fp,1$L85:	slt	$2,$fp,10	.set	noreorder	.set	nomacro	beq	$2,$0,$L87	lui	$3,%hi(faac_finfo)	.set	macro	.set	reorder	lui	$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	nomacro	jal	NeAACDecDecode	move	$7,$16	.set	macro	.set	reorder	lui	$4,%hi(faac_finfo)	lw	$3,%lo(faac_finfo)($4)	lw	$5,56($22)	move	$23,$2	sltu	$2,$3,$5	beq	$2,$0,$L82$L16:	lw	$4,52($22)	subu	$16,$5,$3	sw	$16,56($22)	addu	$5,$4,$3	.set	noreorder	.set	nomacro	jal	memmove	move	$6,$16	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	j	$L84	lui	$5,%hi(faac_finfo)	.set	macro	.set	reorder$L80:	lbu	$3,1($16)	.set	noreorder	.set	nomacro	bne	$3,$2,$L35	li	$2,73			# 0x49	.set	macro	.set	reorder	lbu	$3,2($16)	.set	noreorder	.set	nomacro	bne	$3,$2,$L35	li	$2,70			# 0x46	.set	macro	.set	reorder	lbu	$3,3($16)	beq	$3,$2,$L33	lbu	$3,0($17)	addiu	$20,$20,1	sw	$3,16($sp)	lbu	$2,0($18)	addiu	$16,$16,1	sw	$2,20($sp)	lbu	$3,0($19)	addiu	$17,$17,1	.set	noreorder	.set	nomacro	jal	mp_msg	sw	$3,24($sp)	.set	macro	.set	reorder	slt	$2,$21,$20	addiu	$18,$18,1	.set	noreorder	.set	nomacro	beq	$2,$0,$L30	addiu	$19,$19,1	.set	macro	.set	reorder$L28:	lui	$6,%hi($LC4)$L86:	addiu	$6,$6,%lo($LC4)	li	$4,12			# 0xc	li	$5,6			# 0x6	.set	noreorder	.set	nomacro	jal	mp_msg	move	$7,$0	.set	macro	.set	reorder	addiu	$fp,$fp,1	slt	$2,$fp,10	.set	noreorder	.set	nomacro	bne	$2,$0,$L88	lui	$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	nomacro	bne	$2,$0,$L49	lui	$6,%hi($LC9)	.set	macro	.set	reorder	lui	$6,%hi($LC8)	li	$4,12			# 0xc	addiu	$6,$6,%lo($LC8)	.set	noreorder	.set	nomacro	jal	mp_msg	li	$5,7			# 0x7	.set	macro	.set	reorder	lw	$4,52($sp)$L48:	lw	$3,104($sp)	slt	$2,$4,$3	.set	noreorder	.set	nomacro	beq	$2,$0,$L10	lw	$5,48($sp)	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	blez	$5,$L10	slt	$2,$fp,10	.set	macro	.set	reorder	bne	$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	nomacro	j	$31	addiu	$sp,$sp,96	.set	macro	.set	reorder$L77:	lw	$5,52($22)	lw	$4,4($22)	addu	$5,$16,$5	.set	noreorder	.set	nomacro	jal	demux_read_data	subu	$6,$6,$16	.set	macro	.set	reorder	lw	$3,168($22)	addu	$16,$16,$2	.set	noreorder	.set	nomacro	beq	$3,$0,$L74	sw	$16,56($22)	.set	macro	.set	reorder$L12:	lw	$4,4($22)	addiu	$5,$sp,32	addiu	$6,$sp,40	.set	noreorder	.set	nomacro	jal	ds_get_packet_pts	sw	$0,32($sp)	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	blez	$2,$L10	move	$18,$2	.set	macro	.set	reorder	lui	$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	nomacro	jal	__nedf2	move	$5,$17	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	beq	$2,$0,$L89	lui	$6,%hi(faac_hdec)	.set	macro	.set	reorder	sw	$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	nomacro	jal	NeAACDecDecode	move	$7,$18	.set	macro	.set	reorder	lui	$3,%hi(faac_finfo)	addiu	$3,$3,%lo(faac_finfo)	lbu	$4,9($3)	.set	noreorder	.set	nomacro	beq	$4,$0,$L19	move	$23,$2	.set	macro	.set	reorder$L83:	jal	NeAACDecGetErrorMessage	lui	$6,%hi($LC7)	li	$4,12			# 0xc	addiu	$6,$6,%lo($LC7)	move	$7,$2	.set	noreorder	.set	nomacro	jal	mp_msg	li	$5,2			# 0x2	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	j	$L48	lw	$4,52($sp)	.set	macro	.set	reorder$L49:	lw	$7,32($22)	mul	$7,$2,$7	addiu	$6,$6,%lo($LC9)	li	$4,12			# 0xc	.set	noreorder	.set	nomacro	jal	mp_msg	li	$5,7			# 0x7	.set	macro	.set	reorder	lui	$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,$2	mul	$6,$4,$3	sltu	$2,$6,32	.set	noreorder	.set	nomacro	bne	$2,$0,$L51	andi	$2,$5,0x3	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	bne	$2,$0,$L90	move	$4,$5	.set	macro	.set	reorder	andi	$2,$23,0x3	.set	noreorder	.set	nomacro	bne	$2,$0,$L90	li	$2,-32			# 0xffffffffffffffe0	.set	macro	.set	reorder	addiu	$4,$5,-4	and	$2,$6,$2	addu	$7,$4,$2	sltu	$3,$4,$7	.set	noreorder	.set	nomacro	beq	$3,$0,$L55	addiu	$5,$23,-4	.set	macro	.set	reorder$L68:#APP	S32LDI xr1,$5,4	S32LDI xr2,$5,4	S32LDI xr3,$5,4	S32LDI xr4,$5,4	S32LDI xr5,$5,4	S32LDI xr6,$5,4	S32LDI xr7,$5,4	S32LDI xr8,$5,4	S32SDI xr1,$4,4	S32SDI xr2,$4,4	S32SDI xr3,$4,4	S32SDI xr4,$4,4	S32SDI xr5,$4,4	S32SDI xr6,$4,4	S32SDI xr7,$4,4	S32SDI xr8,$4,4#NO_APP	sltu	$2,$4,$7	bne	$2,$0,$L68$L55:	andi	$2,$6,0x1c	addu	$7,$7,$2	sltu	$3,$4,$7	beq	$3,$0,$L57$L69:#APP	S32LDI xr1,$5,4	S32SDI xr1,$4,4#NO_APP	sltu	$2,$4,$7	bne	$2,$0,$L69$L57:	andi	$6,$6,0x3	li	$2,2			# 0x2	.set	noreorder	.set	nomacro	beq	$6,$2,$L61	li	$2,3			# 0x3	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	beq	$6,$2,$L62	li	$2,1			# 0x1	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	bne	$6,$2,$L91	lui	$2,%hi(faac_finfo)	.set	macro	.set	reorder	lbu	$2,4($5)	.set	noreorder	.set	nomacro	j	$L59	sb	$2,4($4)	.set	macro	.set	reorder$L79:	lw	$5,52($22)	lw	$4,4($22)	addu	$5,$16,$5	.set	noreorder	.set	nomacro	jal	demux_read_data	subu	$6,$6,$16	.set	macro	.set	reorder	addu	$16,$16,$2	.set	noreorder	.set	nomacro	j	$L26	sw	$16,56($22)	.set	macro	.set	reorder$L51:	move	$4,$5$L90:	.set	noreorder	.set	nomacro	jal	memcpy	move	$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,$3	lw	$2,184($22)	addu	$6,$6,$5	addu	$2,$2,$5	move	$4,$6	sw	$5,48($sp)	sw	$2,184($22)	.set	noreorder	.set	nomacro	j	$L48	sw	$6,52($sp)	.set	macro	.set	reorder$L78:	.set	noreorder	.set	nomacro	j	$L23	li	$fp,10			# 0xa	.set	macro	.set	reorder

⌨️ 快捷键说明

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