aviheader.s

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

S
4,690
字号
.file	1 "aviheader.c".section .mdebug.abi32.previous.section	.text.avi_idx_cmp,"ax",@progbits.align	2.align	5.globl	avi_idx_cmp.ent	avi_idx_cmp.type	avi_idx_cmp, @functionavi_idx_cmp:.frame	$sp,0,$31		# vars= 0, regs= 0/0, args= 0, gp= 0.mask	0x00000000,0.fmask	0x00000000,0.set	noreorder.set	nomacrolw	$2,8($4)lw	$3,8($5)slt	$4,$2,$3slt	$2,$3,$2j	$31subu	$2,$2,$4.set	macro.set	reorder.end	avi_idx_cmp.section	.text.stream_read_dword_le,"ax",@progbits.align	2.align	5.ent	stream_read_dword_le.type	stream_read_dword_le, @functionstream_read_dword_le:.frame	$sp,40,$31		# vars= 0, regs= 5/0, args= 16, gp= 0.mask	0x800f0000,-8.fmask	0x00000000,0.set	noreorder.set	nomacroaddiu	$sp,$sp,-40sw	$16,16($sp)sw	$31,32($sp)sw	$19,28($sp)sw	$18,24($sp)sw	$17,20($sp)lw	$3,36($4)lw	$6,40($4)sltu	$2,$3,$6beq	$2,$0,$L4move	$16,$4lw	$2,80($4)addiu	$5,$3,1addu	$2,$3,$2lbu	$3,0($2)sw	$5,36($4)move	$19,$3$L6:sltu	$2,$5,$6beq	$2,$0,$L9nop$L27:lw	$2,80($16)addu	$2,$5,$2lbu	$3,0($2)addiu	$5,$5,1sll	$18,$3,8sw	$5,36($16)$L11:sltu	$2,$5,$6beq	$2,$0,$L14nop$L29:lw	$2,80($16)addu	$2,$5,$2lbu	$3,0($2)addiu	$5,$5,1sll	$17,$3,16sw	$5,36($16)$L16:sltu	$2,$5,$6beq	$2,$0,$L19nop$L31:lw	$2,80($16)addu	$2,$5,$2lbu	$3,0($2)addiu	$5,$5,1sll	$2,$3,24sw	$5,36($16)or	$3,$19,$2$L32:lw	$31,32($sp)or	$2,$17,$18lw	$19,28($sp)lw	$18,24($sp)lw	$17,20($sp)lw	$16,16($sp)or	$2,$2,$3j	$31addiu	$sp,$sp,40$L4:jal	stream_fill_buffernopbeq	$2,$0,$L26noplw	$5,36($16)lw	$2,80($16)lw	$6,40($16)addu	$2,$2,$5lbu	$3,0($2)addiu	$5,$5,1sltu	$2,$5,$6sw	$5,36($16)bne	$2,$0,$L27move	$19,$3$L9:jal	stream_fill_buffermove	$4,$16beq	$2,$0,$L28noplw	$5,36($16)lw	$2,80($16)lw	$6,40($16)addu	$2,$2,$5lbu	$3,0($2)addiu	$5,$5,1sltu	$2,$5,$6sw	$5,36($16)bne	$2,$0,$L29sll	$18,$3,8$L14:jal	stream_fill_buffermove	$4,$16beq	$2,$0,$L30noplw	$5,36($16)lw	$2,80($16)lw	$6,40($16)addu	$2,$2,$5lbu	$3,0($2)addiu	$5,$5,1sltu	$2,$5,$6sw	$5,36($16)bne	$2,$0,$L31sll	$17,$3,16$L19:jal	stream_fill_buffermove	$4,$16beq	$2,$0,$L32or	$3,$19,$2lw	$3,36($16)lw	$2,80($16)addiu	$5,$3,1addu	$2,$2,$3lbu	$4,0($2)sw	$5,36($16)sll	$2,$4,24or	$3,$19,$2lw	$31,32($sp)or	$2,$17,$18lw	$19,28($sp)lw	$18,24($sp)lw	$17,20($sp)lw	$16,16($sp)or	$2,$2,$3j	$31addiu	$sp,$sp,40$L28:lw	$5,36($16)lw	$6,40($16)j	$L11li	$18,-65536			# 0xffffffffffff0000$L30:lw	$5,36($16)lw	$6,40($16)j	$L16li	$17,-16777216			# 0xffffffffff000000$L26:lw	$5,36($16)lw	$6,40($16)j	$L6li	$19,-256			# 0xffffffffffffff00.set	macro.set	reorder.end	stream_read_dword_le.section	.rodata.str1.4,"aMS",@progbits,1.align	2$LC0:.ascii	"LIST %.4s  len=%u\012\000".align	2$LC1:.ascii	"** empty list?!\012\000".align	2$LC2:.ascii	"list_end=0x%X\012\000".align	2$LC3:.ascii	"Found movie at 0x%X - 0x%X\012\000".align	2$LC4:.ascii	"CHUNK %.4s  len=%u\012\000".align	2$LC5:.ascii	"Archival Location\000".align	2$LC6:.ascii	"Artist\000".align	2$LC7:.ascii	"Commissioned\000".align	2$LC8:.ascii	"Comments\000".align	2$LC9:.ascii	"Copyright\000".align	2$LC10:.ascii	"Creation Date\000".align	2$LC11:.ascii	"Cropped\000".align	2$LC12:.ascii	"Dimensions\000".align	2$LC13:.ascii	"Dots Per Inch\000".align	2$LC14:.ascii	"Engineer\000".align	2$LC15:.ascii	"Genre\000".align	2$LC16:.ascii	"Keywords\000".align	2$LC17:.ascii	"Lightness\000".align	2$LC18:.ascii	"Medium\000".align	2$LC19:.ascii	"Name\000".align	2$LC20:.ascii	"Palette Setting\000".align	2$LC21:.ascii	"Product\000".align	2$LC22:.ascii	"Subject\000".align	2$LC23:.ascii	"Software\000".align	2$LC24:.ascii	"Sharpness\000".align	2$LC25:.ascii	"Source\000".align	2$LC26:.ascii	"Source Form\000".align	2$LC27:.ascii	"Technician\000".align	2$LC28:.ascii	"Time Code\000".align	2$LC29:.ascii	"stream_read: WARNING! s->buf_pos>s->buf_len\012\000".align	2$LC30:.ascii	"[%s] Video stream found, -vid %d\012\000".align	2$LC31:.ascii	"aviheader\000".globl	__floatsisf.globl	__addsf3.globl	__mulsf3.globl	__divsf3.align	2$LC32:.ascii	"[%s] Audio stream found, -aid %d\012\000".align	2$LC33:.ascii	"indx\000".align	2$LC34:.ascii	"Broken super index chunk size: %u\012\000".align	2$LC35:.ascii	"Broken super index chunk\012\000".align	2$LC36:.ascii	"ODML (%.4s): [%d] 0x%016llx 0x%04x %u\012\000".align	2$LC37:.ascii	"Found 'bih', %u bytes of %d\012\000".align	2$LC38:.ascii	"Regenerating keyframe table for M$ mpg4v1 video.\012\000".align	2$LC39:.ascii	"Regenerating keyframe table for DIVX3 video.\012\000".align	2$LC40:.ascii	"Regenerating keyframe table for MPEG-4 video.\012\000".align	2$LC41:.ascii	"Found 'wf', %d bytes of %d\012\000".align	2$LC42:.ascii	"AVI: dmlh found (size=%d) (total_frames=%d)\012\000".align	2$LC43:.ascii	"Reading INDEX block, %d chunks for %d frames (fpos=%lld)".ascii	".\012\000".align	2$LC44:.ascii	"Additional RIFF header...\012\000".align	2$LC45:.ascii	"AVIX\000".align	2$LC46:.ascii	"** Warning: this is no extended AVI header..\012\000".align	2$LC47:.ascii	"%-10s: %s\012\000".align	2$LC48:.ascii	"list_end=0x%llX  pos=0x%llX  chunksize=0x%llX  next=0x%l".ascii	"lX\012\000".align	2$LC49:.ascii	"Broken chunk?  chunksize=%d  (id=%.4s)\012\000".align	2$LC50:.ascii	"AVI: ODML: Building ODML index (%d superindexchunks).\012".ascii	"\000".align	2$LC51:.ascii	"AVI: ODML: Broken (incomplete?) file detected. Will use ".ascii	"traditional index.\012\000".align	2$LC52:.ascii	"r\000".align	2$LC53:.ascii	"Can't read index file %s: %s\012\000".align	2$LC54:.ascii	"MPIDX1\000".align	2$LC55:.ascii	"%s is not a valid MPlayer index file.\012\000".align	2$LC56:.ascii	"Could not allocate memory for index data from %s.\012\000".align	2$LC57:.ascii	"premature end of index file %s\012\000".align	2$LC58:.ascii	"Loaded index file: %s\012\000".align	2$LC59:.ascii	"%\000".align	2$LC60:.ascii	"MB\000".align	2$LC61:.ascii	"Generating Index: %3lu %s     \015\000".align	2$LC62:.ascii	"AVI: Generated index table for %d chunks!\012\000".align	2$LC63:.ascii	"w\000".align	2$LC64:.ascii	"Couldn't write index file %s: %s\012\000".align	2$LC65:.ascii	"Saved index file: %s\012\000".align	2$LC66:.ascii	"Digitization Time\000".align	2$LC67:.ascii	"hdr=%s  size=%u\012\000".section	.text.read_avi_header,"ax",@progbits.align	2.align	5.globl	read_avi_header.ent	read_avi_header.type	read_avi_header, @functionread_avi_header:.frame	$sp,464,$31		# vars= 376, regs= 10/0, args= 48, gp= 0.mask	0xc0ff0000,-4.fmask	0x00000000,0addiu	$sp,$sp,-464sw	$23,452($sp)sw	$31,460($sp)sw	$fp,456($sp)sw	$22,448($sp)sw	$21,444($sp)sw	$20,440($sp)sw	$19,436($sp)sw	$18,432($sp)sw	$17,428($sp)sw	$16,424($sp)lw	$2,2248($4)addiu	$3,$sp,64sw	$5,468($sp)move	$23,$4lw	$18,16($4)li	$5,-1			# 0xffffffffffffffffandi	$4,$3,0x3sw	$2,388($sp)sw	$3,416($sp)sw	$4,380($sp)sw	$0,408($sp)sw	$0,404($sp)sw	$5,400($sp)sw	$0,396($sp)sw	$0,392($sp)sw	$0,384($sp)sw	$0,4($2)sw	$0,40($2)$L878:.set	noreorder.set	nomacrojal	stream_read_dword_lemove	$4,$18.set	macro.set	reorderlw	$5,16($23)sw	$2,52($sp)move	$6,$2lw	$2,56($5).set	noreorder.set	nomacrobne	$2,$0,$L36lui	$2,%hi(index_file_save).set	macro.set	reorder$L1003:lw	$4,%lo(index_file_save)($2)lw	$2,468($sp)li	$3,2			# 0x2movn	$2,$3,$4sw	$2,468($sp)li	$2,1414725632			# 0x54530000ori	$2,$2,0x494cbeq	$6,$2,$L882.set	noreorder.set	nomacrojal	stream_read_dword_lemove	$4,$5.set	macro.set	reorderlui	$6,%hi($LC4)li	$4,8			# 0x8li	$5,7			# 0x7addiu	$6,$6,%lo($LC4)addiu	$7,$sp,52move	$16,$2.set	noreorder.set	nomacrojal	mp_msgsw	$2,16($sp).set	macro.set	reorderli	$2,1347223552			# 0x504d0000lw	$5,52($sp)ori	$4,$2,0x5349addiu	$3,$16,1li	$2,-2			# 0xfffffffffffffffe.set	noreorder.set	nomacrobeq	$5,$4,$L74and	$22,$3,$2.set	macro.set	reorderslt	$2,$4,$5.set	noreorder.set	nomacrobne	$2,$0,$L92li	$2,1414332416			# 0x544d0000.set	macro.set	reorderli	$2,1196294144			# 0x474e0000ori	$2,$2,0x4549.set	noreorder.set	nomacrobeq	$5,$2,$L65slt	$2,$2,$5.set	macro.set	reorder.set	noreorder.set	nomacrobne	$2,$0,$L93li	$2,1263403008			# 0x4b4e0000.set	macro.set	reorderli	$3,1146224640			# 0x44520000ori	$2,$3,0x4349.set	noreorder.set	nomacrobeq	$5,$2,$L61slt	$2,$2,$5.set	macro.set	reorder.set	noreorder.set	nomacrobne	$2,$0,$L94li	$2,1178992640			# 0x46460000.set	macro.set	reorderli	$2,1129447424			# 0x43520000ori	$2,$2,0x5349.set	noreorder.set	nomacrobeq	$5,$2,$L59li	$2,1145372672			# 0x44450000.set	macro.set	reorderori	$2,$2,0x4d49.set	noreorder.set	nomacrobeq	$5,$2,$L60li	$2,829947904			# 0x31780000.set	macro.set	reorderori	$2,$2,0x6469beq	$5,$2,$L883$L57:lw	$18,16($23)$L986:lw	$12,384($sp)lw	$4,36($18)sra	$13,$12,31move	$10,$22move	$11,$0$L127:lw	$2,44($18)lw	$5,40($18)addu	$2,$2,$4subu	$2,$2,$5sra	$3,$2,31addu	$8,$2,$10sltu	$4,$8,$2addu	$9,$3,$11lui	$6,%hi($LC48)addu	$9,$4,$9addiu	$6,$6,%lo($LC48)li	$4,8			# 0x8li	$5,7			# 0x7sw	$2,24($sp)sw	$12,16($sp)sw	$13,20($sp)sw	$8,40($sp)sw	$9,44($sp)sw	$3,28($sp)sw	$10,32($sp).set	noreorder.set	nomacrojal	mp_msgsw	$11,36($sp).set	macro.set	reorderlw	$2,384($sp)blez	$2,$L755lw	$18,16($23)lw	$3,36($18)lw	$2,44($18)lw	$4,40($18)addu	$2,$2,$3subu	$2,$2,$4lw	$3,384($sp)addu	$2,$22,$2.set	noreorder.set	nomacrobeq	$2,$3,$L884sltu	$2,$3,$2.set	macro.set	reorder.set	noreorder.set	nomacrobne	$2,$0,$L885lui	$6,%hi($LC49).set	macro.set	reorder$L478:beq	$22,$0,$L878.set	noreorder.set	nomacrobltz	$22,$L886move	$16,$22.set	macro.set	reorderli	$2,262144			# 0x40000slt	$2,$2,$22bne	$2,$0,$L490blez	$22,$L878$L757:lw	$6,40($18).set	noreorder.set	nomacroj	$L802lw	$5,36($18).set	macro.set	reorder$L498:slt	$2,$16,$3movn	$3,$16,$2addu	$4,$5,$3subu	$16,$16,$3move	$5,$4.set	noreorder.set	nomacroblez	$16,$L758sw	$4,36($18).set	macro.set	reorder$L802:subu	$2,$6,$5move	$4,$18.set	noreorder.set	nomacrobne	$2,$0,$L498move	$3,$2.set	macro.set	reorderjal	stream_fill_bufferbeq	$2,$0,$L758lw	$5,36($18)lw	$6,40($18)subu	$3,$6,$5slt	$2,$16,$3movn	$3,$16,$2addu	$4,$5,$3subu	$16,$16,$3move	$5,$4.set	noreorder.set	nomacrobgtz	$16,$L802sw	$4,36($18).set	macro.set	reorder$L758:lw	$18,16($23).set	noreorder.set	nomacrojal	stream_read_dword_lemove	$4,$18.set	macro.set	reorderlw	$5,16($23)sw	$2,52($sp)move	$6,$2lw	$2,56($5).set	noreorder.set	nomacrobeq	$2,$0,$L1003lui	$2,%hi(index_file_save).set	macro.set	reorder$L36:lw	$5,388($sp)$L1009:lw	$7,72($5)blez	$7,$L500lw	$2,4($5).set	noreorder.set	nomacrobeq	$2,$0,$L888li	$2,1			# 0x1.set	macro.set	reorder$L500:lw	$6,388($sp)lw	$2,76($6).set	noreorder.set	nomacrobne	$2,$0,$L1004lw	$3,468($sp).set	macro.set	reorderlui	$19,%hi(index_file_load)$L1016:lw	$4,%lo(index_file_load)($19)$L978:.set	noreorder.set	nomacrobeq	$4,$0,$L617lui	$5,%hi($LC52).set	macro.set	reorder.set	noreorder.set	nomacrojal	FS_FOpenaddiu	$5,$5,%lo($LC52).set	macro.set	reorder.set	noreorder.set	nomacrobeq	$2,$0,$L889move	$17,$2.set	macro.set	reorderaddiu	$18,$sp,56li	$6,1			# 0x1move	$4,$18li	$5,6			# 0x6move	$7,$2.set	noreorder.set	nomacrojal	FS_FReadlui	$16,%hi($LC54).set	macro.set	reorder.set	noreorder.set	nomacrojal	strlenaddiu	$4,$16,%lo($LC54).set	macro.set	reordermove	$6,$2sltu	$2,$2,6.set	noreorder.set	nomacrobeq	$2,$0,$L621addiu	$5,$16,%lo($LC54).set	macro.set	reordersltu	$2,$6,4.set	noreorder.set	nomacrobeq	$2,$0,$L623lbu	$3,%lo($LC54)($16).set	macro.set	reorderlbu	$2,56($sp)addiu	$5,$16,%lo($LC54).set	noreorder.set	nomacrobeq	$6,$0,$L874subu	$2,$2,$3.set	macro.set	reorder.set	noreorder.set	nomacrobne	$2,$0,$L874sltu	$4,$6,2.set	macro.set	reorderlbu	$2,57($sp)lbu	$3,1($5).set	noreorder.set	nomacrobne	$4,$0,$L874subu	$2,$2,$3.set	macro.set	reorder.set	noreorder.set	nomacrobne	$2,$0,$L874li	$4,2			# 0x2.set	macro.set	reorderlbu	$2,58($sp)lbu	$3,2($5).set	noreorder.set	nomacrobeq	$6,$4,$L874subu	$2,$2,$3.set	macro.set	reorder.set	noreorder.set	nomacrobne	$2,$0,$L982sltu	$2,$0,$2.set	macro.set	reorderlbu	$3,3($5)lbu	$2,59($sp)subu	$2,$2,$3$L874:sltu	$2,$0,$2$L982:.set	noreorder.set	nomacrobeq	$2,$0,$L633lw	$6,388($sp).set	macro.set	reorderlui	$6,%hi($LC55)lw	$7,%lo(index_file_load)($19)addiu	$6,$6,%lo($LC55)li	$4,8			# 0x8.set	noreorder.set	nomacrojal	mp_msgli	$5,1			# 0x1.set	macro.set	reorder$L617:lw	$5,468($sp)$L984:slt	$2,$5,2.set	noreorder.set	nomacrobne	$2,$0,$L890lw	$6,388($sp).set	macro.set	reorder$L642:.set	noreorder.set	nomacrojal	stream_resetlw	$4,16($23).set	macro.set	reorderlw	$18,16($23)lw	$5,8($23)lw	$3,44($18)slt	$2,$5,$3beq	$2,$0,$L646lw	$2,40($18)subu	$2,$3,$2subu	$2,$5,$2bltz	$2,$L646sw	$2,36($18)$L649:lw	$3,388($sp)sw	$0,8($3)sw	$0,4($3)sw	$0,0($3)lw	$3,36($18)$L879:lw	$2,44($18)lw	$4,40($18)addu	$2,$2,$3lw	$5,12($23)subu	$6,$2,$4slt	$3,$6,$5.set	noreorder.set	nomacrobne	$3,$0,$L651sw	$6,4($23).set	macro.set	reorderlw	$2,8($23)slt	$2,$2,$5.set	noreorder.set	nomacrobne	$2,$0,$L1005lw	$2,388($sp).set	macro.set	reorder$L651:.set	noreorder.set	nomacrojal	stream_read_dword_lemove	$4,$18.set	macro.set	reorder

⌨️ 快捷键说明

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