bethsoftvideo.mid

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

MID
1,110
字号
	.file	1 "bethsoftvideo.c"	.section .mdebug.abi32	.previous	.section	.text.bethsoftvid_decode_init,"ax",@progbits	.align	2	.align	5	.ent	bethsoftvid_decode_init	.type	bethsoftvid_decode_init, @functionbethsoftvid_decode_init:	.frame	$sp,0,$31		# vars= 0, regs= 0/0, args= 0, gp= 0	.mask	0x00000000,0	.fmask	0x00000000,0	.set	noreorder	.set	nomacro		lw	$5,136($4)	li	$2,13			# 0xd	sw	$2,180($5)	li	$2,1			# 0x1	li	$3,14			# 0xe	sw	$2,80($5)	move	$2,$0	j	$31	sw	$3,52($4)	.set	macro	.set	reorder	.end	bethsoftvid_decode_init	.section	.text.bethsoftvid_decode_end,"ax",@progbits	.align	2	.align	5	.ent	bethsoftvid_decode_end	.type	bethsoftvid_decode_end, @functionbethsoftvid_decode_end:	.frame	$sp,24,$31		# vars= 0, regs= 1/0, args= 16, gp= 0	.mask	0x80000000,-8	.fmask	0x00000000,0	.set	noreorder	.set	nomacro		addiu	$sp,$sp,-24	sw	$31,16($sp)	lw	$5,136($4)	lw	$2,0($5)	beq	$2,$0,$L8	lw	$31,16($sp)	lw	$2,264($4)	jal	$2	nop	lw	$31,16($sp)$L8:	move	$2,$0	j	$31	addiu	$sp,$sp,24	.set	macro	.set	reorder	.end	bethsoftvid_decode_end	.section	.rodata.str1.4,"aMS",@progbits,1	.align	2$LC0:	.ascii	"reget_buffer() failed\012\000"	.section	.text.bethsoftvid_decode_frame,"ax",@progbits	.align	2	.align	5	.ent	bethsoftvid_decode_frame	.type	bethsoftvid_decode_frame, @functionbethsoftvid_decode_frame:	.frame	$sp,64,$31		# vars= 8, regs= 10/0, args= 16, gp= 0	.mask	0xc0ff0000,-4	.fmask	0x00000000,0	addiu	$sp,$sp,-64	sw	$23,52($sp)	sw	$18,32($sp)	sw	$31,60($sp)	sw	$fp,56($sp)	sw	$22,48($sp)	sw	$21,44($sp)	sw	$20,40($sp)	sw	$19,36($sp)	sw	$17,28($sp)	sw	$16,24($sp)	lw	$21,136($4)	lw	$17,40($4)	lw	$3,16($21)	lw	$2,592($4)	subu	$3,$3,$17	sw	$5,68($sp)	sw	$6,72($sp)	move	$5,$21	sw	$3,16($sp)	move	$23,$4	.set	noreorder	.set	nomacro	jal	$2	move	$18,$7	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	bne	$2,$0,$L122	lui	$6,%hi($LC0)	.set	macro	.set	reorder	lw	$16,0($21)	lw	$6,16($21)	lw	$3,44($23)	mtlo	$16	madd	$6,$3	lbu	$22,0($18)	mflo	$2	sll	$4,$22,24	sw	$2,20($sp)	sra	$4,$4,24	li	$2,2			# 0x2	.set	noreorder	.set	nomacro	beq	$4,$2,$L14	addiu	$5,$18,1	.set	macro	.set	reorder	li	$2,4			# 0x4	beq	$4,$2,$L123$L13:	lbu	$2,0($5)	.set	noreorder	.set	nomacro	beq	$2,$0,$L20	move	$3,$2	.set	macro	.set	reorder	addiu	$19,$5,1$L22:	andi	$18,$3,0x7f	slt	$2,$17,$18	.set	noreorder	.set	nomacro	beq	$2,$0,$L97	slt	$20,$3,128	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	beq	$20,$0,$L25	li	$fp,3			# 0x3	.set	macro	.set	reorder$L125:	sltu	$2,$17,32	.set	noreorder	.set	nomacro	bne	$2,$0,$L27	andi	$2,$16,0x3	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	bne	$2,$0,$L136	move	$4,$16	.set	macro	.set	reorder	andi	$2,$19,0x3	.set	noreorder	.set	nomacro	bne	$2,$0,$L137	move	$5,$19	.set	macro	.set	reorder	li	$4,-32			# 0xffffffffffffffe0	addiu	$5,$16,-4	and	$2,$17,$4	addu	$6,$5,$2	sltu	$3,$5,$6	.set	noreorder	.set	nomacro	beq	$3,$0,$L31	addiu	$4,$19,-4	.set	macro	.set	reorder$L98:#APP	S32LDI xr1,$4,4	S32LDI xr2,$4,4	S32LDI xr3,$4,4	S32LDI xr4,$4,4	S32LDI xr5,$4,4	S32LDI xr6,$4,4	S32LDI xr7,$4,4	S32LDI xr8,$4,4	S32SDI xr1,$5,4	S32SDI xr2,$5,4	S32SDI xr3,$5,4	S32SDI xr4,$5,4	S32SDI xr5,$5,4	S32SDI xr6,$5,4	S32SDI xr7,$5,4	S32SDI xr8,$5,4#NO_APP	sltu	$2,$5,$6	bne	$2,$0,$L98$L31:	andi	$2,$17,0x1c	addu	$6,$6,$2	sltu	$3,$5,$6	.set	noreorder	.set	nomacro	beq	$3,$0,$L138	andi	$2,$17,0x3	.set	macro	.set	reorder$L99:#APP	S32LDI xr1,$4,4	S32SDI xr1,$5,4#NO_APP	sltu	$2,$5,$6	.set	noreorder	.set	nomacro	bne	$2,$0,$L99	andi	$2,$17,0x3	.set	macro	.set	reorder$L138:	li	$3,2			# 0x2	beq	$2,$3,$L37	beq	$2,$fp,$L38	li	$3,1			# 0x1	beq	$2,$3,$L124$L35:	addu	$19,$19,$17$L39:	lw	$4,16($sp)$L133:	addu	$2,$4,$17	addu	$16,$16,$2	lw	$2,20($sp)	.set	noreorder	.set	nomacro	beq	$2,$16,$L20	lw	$3,40($23)	.set	macro	.set	reorder	subu	$18,$18,$17	slt	$2,$3,$18	beq	$2,$0,$L58	.set	noreorder	.set	nomacro	bne	$20,$0,$L125	move	$17,$3	.set	macro	.set	reorder$L25:	.set	noreorder	.set	nomacro	bne	$22,$fp,$L133	lw	$4,16($sp)	.set	macro	.set	reorder	sltu	$2,$17,40	.set	noreorder	.set	nomacro	bne	$2,$0,$L126	lbu	$6,0($19)	.set	macro	.set	reorder	andi	$3,$16,0x3	li	$2,4			# 0x4	subu	$2,$2,$3	li	$3,2			# 0x2	.set	noreorder	.set	nomacro	beq	$2,$3,$L45	move	$4,$16	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	beq	$2,$22,$L46	li	$3,1			# 0x1	.set	macro	.set	reorder	beq	$2,$3,$L127$L43:	sll	$3,$6,8	sll	$5,$6,16	sll	$2,$6,24	or	$5,$5,$2	or	$3,$6,$3	or	$3,$3,$5	addiu	$5,$4,-4#APP	S32I2M xr1,$3#NO_APP	andi	$4,$4,0x1f	.set	noreorder	.set	nomacro	beq	$4,$0,$L139	addu	$7,$17,$16	.set	macro	.set	reorder	li	$4,-32			# 0xffffffffffffffe0	and	$2,$5,$4	addiu	$4,$2,32	sltu	$3,$5,$4	.set	noreorder	.set	nomacro	beq	$3,$0,$L140	li	$3,-32			# 0xffffffffffffffe0	.set	macro	.set	reorder$L100:#APP	S32SDI xr1,$5,4#NO_APP	sltu	$2,$5,$4	bne	$2,$0,$L100	addu	$7,$17,$16$L139:	li	$3,-32			# 0xffffffffffffffe0$L140:	addiu	$2,$7,-31	and	$4,$2,$3	sltu	$3,$5,$4	.set	noreorder	.set	nomacro	beq	$3,$0,$L141	addiu	$2,$7,-4	.set	macro	.set	reorder	addiu	$2,$5,4$L142:#APP	pref 30,0($2)	S32SDI xr1,$5,4	S32SDI xr1,$5,4	S32SDI xr1,$5,4	S32SDI xr1,$5,4	S32SDI xr1,$5,4	S32SDI xr1,$5,4	S32SDI xr1,$5,4	S32SDI xr1,$5,4#NO_APP	sltu	$2,$5,$4	.set	noreorder	.set	nomacro	bne	$2,$0,$L142	addiu	$2,$5,4	.set	macro	.set	reorder	addiu	$2,$7,-4$L141:	li	$3,-4			# 0xfffffffffffffffc	and	$3,$2,$3	sltu	$4,$5,$3	.set	noreorder	.set	nomacro	beq	$4,$0,$L143	andi	$2,$7,0x3	.set	macro	.set	reorder$L102:#APP	S32SDI xr1,$5,4#NO_APP	sltu	$2,$5,$3	.set	noreorder	.set	nomacro	bne	$2,$0,$L102	andi	$2,$7,0x3	.set	macro	.set	reorder$L143:	li	$4,2			# 0x2	.set	noreorder	.set	nomacro	beq	$2,$4,$L55	addiu	$3,$5,4	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	beq	$2,$fp,$L56	li	$3,1			# 0x1	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	bne	$2,$3,$L133	lw	$4,16($sp)	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	j	$L39	sb	$6,4($5)	.set	macro	.set	reorder$L27:	move	$4,$16$L136:	move	$5,$19$L137:	.set	noreorder	.set	nomacro	jal	memcpy	move	$6,$17	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	j	$L39	addu	$19,$19,$17	.set	macro	.set	reorder$L20:	lw	$3,72($sp)	li	$2,200			# 0xc8	lw	$7,68($sp)	move	$6,$21	sw	$2,0($3)	addiu	$8,$21,192$L95:	lw	$2,0($6)	lw	$3,4($6)	lw	$4,8($6)	lw	$5,12($6)	addiu	$6,$6,16	sw	$2,0($7)	sw	$3,4($7)	sw	$4,8($7)	sw	$5,12($7)	.set	noreorder	.set	nomacro	bne	$6,$8,$L95	addiu	$7,$7,16	.set	macro	.set	reorder	lw	$2,4($6)	lw	$3,0($6)	sw	$2,4($7)	sw	$3,0($7)	lw	$2,80($sp)$L12:	lw	$31,60($sp)	lw	$fp,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)	.set	noreorder	.set	nomacro	j	$31	addiu	$sp,$sp,64	.set	macro	.set	reorder$L123:	addiu	$5,$18,3	lbu	$2,-1($5)	lbu	$4,-2($5)	sll	$2,$2,8	or	$2,$2,$4	slt	$3,$2,$3	.set	noreorder	.set	nomacro	beq	$3,$0,$L128	mul	$3,$6,$2	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	j	$L13	addu	$16,$3,$16	.set	macro	.set	reorder$L14:	lw	$6,4($21)	move	$7,$18	move	$5,$0	li	$8,1024			# 0x400$L16:	lbu	$3,1($7)	lbu	$2,2($7)	lbu	$4,3($7)	sll	$3,$3,16	or	$3,$3,$4	sll	$2,$2,8	or	$2,$2,$3	sll	$2,$2,2	addu	$3,$5,$6	addiu	$5,$5,4	sw	$2,0($3)	.set	noreorder	.set	nomacro	bne	$5,$8,$L16	addiu	$7,$7,3	.set	macro	.set	reorder	li	$2,1			# 0x1	sw	$0,80($sp)	sw	$2,176($21)	lw	$2,80($sp)	lw	$31,60($sp)	lw	$fp,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)	.set	noreorder	.set	nomacro	j	$31	addiu	$sp,$sp,64	.set	macro	.set	reorder$L58:	.set	noreorder	.set	nomacro	bne	$20,$0,$L129	move	$17,$3	.set	macro	.set	reorder$L60:	li	$2,3			# 0x3	.set	noreorder	.set	nomacro	beq	$22,$2,$L130	sltu	$3,$18,40	.set	macro	.set	reorder$L74:	lbu	$2,0($19)$L135:	.set	noreorder	.set	nomacro	beq	$2,$0,$L20	addu	$16,$16,$18	.set	macro	.set	reorder	subu	$17,$17,$18	move	$3,$2	.set	noreorder	.set	nomacro	j	$L22	addiu	$19,$19,1	.set	macro	.set	reorder$L126:	move	$5,$6	move	$4,$16	.set	noreorder	.set	nomacro	jal	memset	move	$6,$17	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	j	$L133	lw	$4,16($sp)	.set	macro	.set	reorder$L45:	addiu	$4,$16,2	sb	$6,0($16)	.set	noreorder	.set	nomacro	j	$L43	sb	$6,1($16)	.set	macro	.set	reorder$L129:	sltu	$2,$18,32$L134:	.set	noreorder	.set	nomacro	bne	$2,$0,$L62	andi	$2,$16,0x3	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	bne	$2,$0,$L144	move	$5,$19	.set	macro	.set	reorder	andi	$2,$19,0x3	.set	noreorder	.set	nomacro	bne	$2,$0,$L145	move	$4,$16	.set	macro	.set	reorder	li	$2,-32			# 0xffffffffffffffe0	addiu	$5,$16,-4	and	$2,$18,$2	addu	$6,$5,$2	sltu	$3,$5,$6	.set	noreorder	.set	nomacro	beq	$3,$0,$L66	addiu	$4,$19,-4	.set	macro	.set	reorder$L103:#APP	S32LDI xr1,$4,4	S32LDI xr2,$4,4	S32LDI xr3,$4,4	S32LDI xr4,$4,4	S32LDI xr5,$4,4	S32LDI xr6,$4,4	S32LDI xr7,$4,4	S32LDI xr8,$4,4	S32SDI xr1,$5,4	S32SDI xr2,$5,4	S32SDI xr3,$5,4	S32SDI xr4,$5,4	S32SDI xr5,$5,4	S32SDI xr6,$5,4	S32SDI xr7,$5,4	S32SDI xr8,$5,4#NO_APP	sltu	$2,$5,$6	bne	$2,$0,$L103$L66:	andi	$2,$18,0x1c	addu	$6,$6,$2	sltu	$3,$5,$6	.set	noreorder	.set	nomacro	beq	$3,$0,$L146	andi	$3,$18,0x3	.set	macro	.set	reorder$L104:#APP	S32LDI xr1,$4,4	S32SDI xr1,$5,4#NO_APP	sltu	$2,$5,$6	.set	noreorder	.set	nomacro	bne	$2,$0,$L104	andi	$3,$18,0x3	.set	macro	.set	reorder$L146:	li	$2,2			# 0x2	.set	noreorder	.set	nomacro	beq	$3,$2,$L72	li	$2,3			# 0x3	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	beq	$3,$2,$L73	li	$2,1			# 0x1	.set	macro	.set	reorder	bne	$3,$2,$L70	lbu	$2,4($4)	sb	$2,4($5)$L70:	.set	noreorder	.set	nomacro	j	$L74	addu	$19,$19,$18	.set	macro	.set	reorder$L127:	addiu	$4,$16,1	.set	noreorder	.set	nomacro	j	$L43	sb	$6,0($16)	.set	macro	.set	reorder$L124:	lbu	$2,4($4)	.set	noreorder	.set	nomacro	j	$L35	sb	$2,4($5)	.set	macro	.set	reorder$L128:	li	$3,-1			# 0xffffffffffffffff	move	$2,$3	.set	noreorder	.set	nomacro	j	$L12	sw	$3,80($sp)	.set	macro	.set	reorder$L62:	move	$5,$19$L144:	move	$4,$16$L145:	.set	noreorder	.set	nomacro	jal	memcpy	move	$6,$18	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	j	$L74	addu	$19,$19,$18	.set	macro	.set	reorder$L55:	sb	$6,4($5)	.set	noreorder	.set	nomacro	j	$L39	sb	$6,1($3)	.set	macro	.set	reorder$L37:	lbu	$2,4($4)	sb	$2,4($5)	lbu	$3,5($4)	.set	noreorder	.set	nomacro	j	$L35	sb	$3,5($5)	.set	macro	.set	reorder$L56:	sb	$6,6($5)	sb	$6,4($5)	.set	noreorder	.set	nomacro	j	$L39	sb	$6,5($5)	.set	macro	.set	reorder$L46:	addiu	$4,$16,3	sb	$6,0($16)	sb	$6,1($16)	.set	noreorder	.set	nomacro	j	$L43	sb	$6,2($16)	.set	macro	.set	reorder$L38:	lbu	$2,4($4)	sb	$2,4($5)	lbu	$3,5($4)	sb	$3,5($5)	lbu	$2,6($4)	.set	noreorder	.set	nomacro	j	$L35	sb	$2,6($5)	.set	macro	.set	reorder$L97:	.set	noreorder	.set	nomacro	beq	$20,$0,$L60	sltu	$2,$18,32	.set	macro	.set	reorder	j	$L134$L130:	lbu	$2,0($19)	addiu	$19,$19,1	.set	noreorder	.set	nomacro	bne	$3,$0,$L131	andi	$7,$2,0x00ff	.set	macro	.set	reorder	andi	$2,$16,0x3	li	$3,4			# 0x4	subu	$3,$3,$2	li	$2,2			# 0x2	.set	noreorder	.set	nomacro	beq	$3,$2,$L81	move	$5,$16	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	beq	$3,$22,$L82	li	$2,1			# 0x1	.set	macro	.set	reorder	beq	$3,$2,$L132$L79:	sll	$3,$7,8	sll	$4,$7,16	sll	$2,$7,24	or	$4,$4,$2	or	$3,$7,$3	or	$3,$3,$4	addiu	$6,$5,-4#APP	S32I2M xr1,$3#NO_APP	andi	$5,$5,0x1f	.set	noreorder	.set	nomacro	beq	$5,$0,$L83	li	$2,-32			# 0xffffffffffffffe0	.set	macro	.set	reorder	and	$2,$6,$2	addiu	$4,$2,32	sltu	$3,$6,$4	.set	noreorder	.set	nomacro	beq	$3,$0,$L147	addu	$5,$18,$16	.set	macro	.set	reorder$L105:#APP	S32SDI xr1,$6,4#NO_APP	sltu	$2,$6,$4	bne	$2,$0,$L105$L83:	addu	$5,$18,$16$L147:	addiu	$2,$5,-31	li	$3,-32			# 0xffffffffffffffe0	and	$3,$2,$3	sltu	$4,$6,$3	.set	noreorder	.set	nomacro	beq	$4,$0,$L148	addiu	$2,$5,-4	.set	macro	.set	reorder	addiu	$2,$6,4$L149:#APP	pref 30,0($2)	S32SDI xr1,$6,4	S32SDI xr1,$6,4	S32SDI xr1,$6,4	S32SDI xr1,$6,4	S32SDI xr1,$6,4	S32SDI xr1,$6,4	S32SDI xr1,$6,4	S32SDI xr1,$6,4#NO_APP	sltu	$2,$6,$3	.set	noreorder	.set	nomacro	bne	$2,$0,$L149	addiu	$2,$6,4	.set	macro	.set	reorder	addiu	$2,$5,-4$L148:	li	$3,-4			# 0xfffffffffffffffc	and	$3,$2,$3	sltu	$4,$6,$3	beq	$4,$0,$L88$L107:#APP	S32SDI xr1,$6,4#NO_APP	sltu	$2,$6,$3	bne	$2,$0,$L107$L88:	andi	$3,$5,0x3	li	$2,2			# 0x2	.set	noreorder	.set	nomacro	beq	$3,$2,$L92	addiu	$4,$6,4	.set	macro	.set	reorder	li	$2,3			# 0x3	.set	noreorder	.set	nomacro	beq	$3,$2,$L93	li	$2,1			# 0x1	.set	macro	.set	reorder	bne	$3,$2,$L74	.set	noreorder	.set	nomacro	j	$L74	sb	$7,4($6)	.set	macro	.set	reorder$L122:	move	$4,$23	addiu	$6,$6,%lo($LC0)	.set	noreorder	.set	nomacro	jal	av_log	move	$5,$0	.set	macro	.set	reorder	li	$2,-1			# 0xffffffffffffffff	.set	noreorder	.set	nomacro	j	$L12	sw	$2,80($sp)	.set	macro	.set	reorder$L131:	move	$5,$7	move	$4,$16	.set	noreorder	.set	nomacro	jal	memset	move	$6,$18	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	j	$L135	lbu	$2,0($19)	.set	macro	.set	reorder$L81:	addiu	$5,$16,2	sb	$7,0($16)	.set	noreorder	.set	nomacro	j	$L79	sb	$7,1($16)	.set	macro	.set	reorder$L92:	sb	$7,4($6)	.set	noreorder	.set	nomacro	j	$L74	sb	$7,1($4)	.set	macro	.set	reorder$L93:	sb	$7,6($6)	sb	$7,4($6)	.set	noreorder	.set	nomacro	j	$L74	sb	$7,5($6)	.set	macro	.set	reorder$L82:	addiu	$5,$16,3	sb	$7,0($16)	sb	$7,1($16)	.set	noreorder	.set	nomacro	j	$L79	sb	$7,2($16)	.set	macro	.set	reorder$L73:	lbu	$2,4($4)	addu	$19,$19,$18	sb	$2,4($5)	lbu	$3,5($4)	sb	$3,5($5)	lbu	$2,6($4)	.set	noreorder	.set	nomacro	j	$L74	sb	$2,6($5)	.set	macro	.set	reorder$L72:	lbu	$2,4($4)	addu	$19,$19,$18	sb	$2,4($5)	lbu	$3,5($4)	.set	noreorder	.set	nomacro	j	$L74	sb	$3,5($5)	.set	macro	.set	reorder$L132:	addiu	$5,$16,1	.set	noreorder	.set	nomacro	j	$L79	sb	$7,0($16)	.set	macro	.set	reorder	.end	bethsoftvid_decode_frame	.globl	bethsoftvid_decoder	.section	.rodata.str1.4	.align	2$LC1:	.ascii	"bethsoftvid\000"	.data	.align	2	.type	bethsoftvid_decoder, @object	.size	bethsoftvid_decoder, 52bethsoftvid_decoder:	.word	$LC1	.word	0	.word	107	.word	200	.word	bethsoftvid_decode_init	.space	4	.word	bethsoftvid_decode_end	.word	bethsoftvid_decode_frame	.space	20	.ident	"GCC: (GNU) 4.1.2"

⌨️ 快捷键说明

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