asfheader.s
来自「君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图」· S 代码 · 共 4,676 行 · 第 1/5 页
S
4,676 行
move $5,$2.set noreorder.set nomacroblez $19,$L115sw $2,36($17).set macro.set reorder$L146:lw $3,40($17)subu $2,$3,$5.set noreorder.set nomacrobne $2,$0,$L144addu $18,$18,$16.set macro.set reorder$L112:.set noreorder.set nomacrojal stream_fill_buffermove $4,$17.set macro.set reorderbeq $2,$0,$L115lw $3,40($17)lw $5,36($17)sltu $2,$3,$5.set noreorder.set nomacrobeq $2,$0,$L117subu $16,$3,$5.set macro.set reorderlui $6,%hi($LC2)$L149:li $5,2 # 0x2addiu $6,$6,%lo($LC2).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,$L145addu $5,$3,$5.set macro.set reorder$L119:move $4,$18$L150:.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,$L146sw $2,36($17).set macro.set reorder$L115:addiu $4,$sp,16move $5,$20.set noreorder.set nomacrojal memcmpli $6,16 # 0x10.set macro.set reorder.set noreorder.set nomacrobne $2,$0,$L147li $5,6 # 0x6.set macro.set reorderlw $7,24($20)sltu $2,$7,257beq $2,$0,$L148sw $20,2248($21)li $2,6 # 0x6$L134:lw $31,56($sp)lw $21,52($sp)lw $20,48($sp)lw $19,44($sp)lw $18,40($sp)lw $17,36($sp)lw $16,32($sp).set noreorder.set nomacroj $31addiu $sp,$sp,64.set macro.set reorder$L129:lbu $2,4($5)sb $2,4($4)lbu $3,5($5).set noreorder.set nomacroj $L127sb $3,5($4).set macro.set reorder$L147:lui $6,%hi($LC3)addiu $6,$6,%lo($LC3).set noreorder.set nomacrojal mp_msgli $4,8 # 0x8.set macro.set reorder.set noreorder.set nomacrojal uc_freemove $4,$20.set macro.set reorderlw $31,56($sp)lw $21,52($sp)lw $20,48($sp)lw $19,44($sp)lw $18,40($sp)lw $17,36($sp)lw $16,32($sp)move $2,$0.set noreorder.set nomacroj $31addiu $sp,$sp,64.set macro.set reorder$L130:lbu $2,4($5)sb $2,4($4)lbu $3,5($5)sb $3,5($4)lbu $2,6($5).set noreorder.set nomacroj $L127sb $2,6($4).set macro.set reorder$L143:lbu $2,4($5).set noreorder.set nomacroj $L127sb $2,4($4).set macro.set reorder$L148:lui $6,%hi($LC4)addiu $6,$6,%lo($LC4).set noreorder.set nomacrojal mp_msgli $4,8 # 0x8.set macro.set reorder.set noreorder.set nomacrojal uc_freemove $4,$20.set macro.set reorder.set noreorder.set nomacroj $L134move $2,$0.set macro.set reorder.end asf_check_header.section .rodata.str1.4.align 2$LC5:.ascii "Header size is too small.\012\000".align 2$LC6:.ascii "FATAL: header size bigger than 1 MB (%d)!\012Please cont".ascii "act MPlayer authors, and upload/send this file.\012\000".align 2$LC7:.ascii "Could not allocate %d bytes for header.\012\000".align 2$LC8:.ascii "EOF while reading ASF header, broken/incomplete file?\012".ascii "\000".align 2$LC9:.ascii "DRM Key ID: %s\012\000".align 2$LC10:.ascii "DRM License URL: %s\012\000".align 2$LC11:.ascii "This file has been encumbered with DRM encryption, it wi".ascii "ll not play in MPlayer!\012\000".align 2$LC12:.ascii "read_asf_header found dvr-ms audio stream header pos=%d\012".ascii "\000".align 2$LC13:.ascii "[%s] Audio stream found, -aid %d\012\000".align 2$LC14:.ascii "asfheader\000".align 2$LC15:.ascii "guid_dvr_ms_vid_frame_rep_data\000".align 2$LC16:.ascii "guid_audio_stream\000".align 2$LC17:.ascii "guid_ext_audio_stream\000".align 2$LC18:.ascii "guid_ext_stream_embed_stream_header\000".align 2$LC19:.ascii "guid_video_stream\000".align 2$LC20:.ascii "guid_audio_conceal_none\000".align 2$LC21:.ascii "guid_audio_conceal_interleave\000".align 2$LC22:.ascii "guid_header\000".align 2$LC23:.ascii "guid_data_chunk\000".align 2$LC24:.ascii "guid_index_chunk\000".align 2$LC25:.ascii "guid_stream_header\000".align 2$LC26:.ascii "guid_header_2_0\000".align 2$LC27:.ascii "guid_file_header\000".align 2$LC28:.ascii "guid_content_desc\000".align 2$LC29:.ascii "unknown guid \000".align 2$LC30:.ascii "%02x\000".align 2$LC31:.ascii "guid_dvr_ms_timing_rep_data\000".align 2$LC32:.ascii "stream type: %s\012\000".align 2$LC33:.ascii "stream concealment: %s\012\000".align 2$LC34:.ascii "type: %d bytes, stream: %d bytes ID: %d\012\000".align 2$LC35:.ascii "unk1: %lX unk2: %X\012\000".align 2$LC36:.ascii "FILEPOS=0x%X\012\000".align 2$LC37:.ascii "[%s] Video stream found, -vid %d\012\000".align 2$LC38:.ascii "AspectRatioX\000".align 2$LC39:.ascii "AspectRatioY\000".globl __floatsisf.globl __addsf3.globl __divsf3.globl __mulsf3.align 2$LC41:.ascii "ASF: packets: %d flags: %d max_packet_size: %d min_pa".ascii "cket_size: %d max_bitrate: %d preroll: %d\012\000".globl __floatsidf.globl __adddf3.globl __muldf3.globl __divdf3.globl __udivdi3.align 2$LC44:.ascii "\012\000".align 2$LC45:.ascii " Title: %s\012\000".align 2$LC46:.ascii "name\000".align 2$LC47:.ascii " Author: %s\012\000".align 2$LC48:.ascii "author\000".align 2$LC49:.ascii " Copyright: %s\012\000".align 2$LC50:.ascii "copyright\000".align 2$LC51:.ascii " Comment: %s\012\000".align 2$LC52:.ascii "comments\000".align 2$LC53:.ascii " Rating: %s\012\000".align 2$LC54:.ascii "============ ASF Stream group == START ===\012\000".align 2$LC55:.ascii " stream count=[0x%x][%u]\012\000".align 2$LC56:.ascii " stream id=[0x%x][%u]\012\000".align 2$LC57:.ascii " max bitrate=[0x%x][%u]\012\000".align 2$LC58:.ascii "============ ASF Stream group == END ===\012\000".align 2$LC59:.ascii "No data chunk following header!\012\000".align 2$LC60:.ascii "Found movie at 0x%X - 0x%X\012\000".align 2$LC61:.ascii "ASF: %d audio and %d video streams found\012\000".align 2$LC62:.ascii "ASF: no audio or video headers found - broken file?\012\000".align 2$LC63:.ascii "Invalid length in ASF header!\012\000".section .rodata.cst4,"aM",@progbits,4.align 2$LC40:.word 1199570944.section .rodata.cst8,"aM",@progbits,8.align 3$LC42:.word 0.word 1106247680.align 3$LC43:.word 0.word 1069547520.section .text.read_asf_header,"ax",@progbits.align 2.align 5.globl read_asf_header.ent read_asf_header.type read_asf_header, @functionread_asf_header:.frame $sp,168,$31 # vars= 88, regs= 10/0, args= 40, gp= 0.mask 0xc0ff0000,-4.fmask 0x00000000,0addiu $sp,$sp,-168sw $31,164($sp)sw $fp,160($sp)sw $23,156($sp)sw $22,152($sp)sw $21,148($sp)sw $20,144($sp)sw $19,140($sp)sw $18,136($sp)sw $17,132($sp)sw $16,128($sp)lw $2,16($4)sw $4,168($sp)lw $3,44($2)lw $4,36($2)lw $6,40($2)sw $5,172($sp)lw $5,16($5)addu $3,$3,$4addiu $5,$5,-30subu $3,$3,$6sw $5,80($sp)sw $3,120($sp).set noreorder.set nomacrobltz $5,$L526sw $0,48($sp).set macro.set reorderli $16,1048576 # 0x100000slt $2,$16,$5.set noreorder.set nomacrobne $2,$0,$L156lui $6,%hi($LC6).set macro.set reordersw $5,84($sp)move $20,$0move $4,$5$L158:jal uc_malloc.set noreorder.set nomacrobeq $2,$0,$L527move $21,$2.set macro.set reorderlw $6,168($sp)lw $2,80($sp).set noreorder.set nomacroblez $2,$L161lw $17,16($6).set macro.set reorderlw $5,36($17)lw $3,40($17)move $18,$2subu $2,$3,$5.set noreorder.set nomacrobeq $2,$0,$L164move $19,$21.set macro.set reorder$L530:move $16,$2sltu $2,$3,$5bne $2,$0,$L528$L168:slt $2,$18,$16movn $16,$18,$2lw $3,80($17)sltu $2,$16,32.set noreorder.set nomacrobne $2,$0,$L170addu $5,$3,$5.set macro.set reorder$L531:andi $2,$19,0x3.set noreorder.set nomacrobne $2,$0,$L573move $4,$19.set macro.set reorderandi $2,$5,0x3.set noreorder.set nomacrobne $2,$0,$L573li $2,-32 # 0xffffffffffffffe0.set macro.set reorderaddiu $4,$19,-4and $2,$16,$2addu $6,$4,$2sltu $3,$4,$6.set noreorder.set nomacrobeq $3,$0,$L174addiu $5,$5,-4.set macro.set reorder$L487:#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,$L487$L174:andi $2,$16,0x1caddu $6,$6,$2sltu $3,$4,$6.set noreorder.set nomacrobeq $3,$0,$L574andi $3,$16,0x3.set macro.set reorder$L488:#APP.word 0b01110000101000000000010001010100 #S32LDI XR1,$5,4.word 0b01110000100000000000010001010101 #S32SDI XR1,$4,4#NO_APPsltu $2,$4,$6.set noreorder.set nomacrobne $2,$0,$L488andi $3,$16,0x3.set macro.set reorder$L574:li $2,2 # 0x2.set noreorder.set nomacrobeq $3,$2,$L180li $2,3 # 0x3.set macro.set reorder.set noreorder.set nomacrobeq $3,$2,$L181li $2,1 # 0x1.set macro.set reorderbeq $3,$2,$L529$L178:lw $5,36($17)subu $18,$18,$16addu $2,$5,$16move $5,$2.set noreorder.set nomacroblez $18,$L476sw $2,36($17).set macro.set reorder$L532:lw $3,40($17)subu $2,$3,$5.set noreorder.set nomacrobne $2,$0,$L530addu $19,$19,$16.set macro.set reorder$L164:.set noreorder.set nomacrojal stream_fill_buffermove $4,$17.set macro.set reorder.set noreorder.set nomacrobeq $2,$0,$L475lw $3,168($sp).set macro.set reorderlw $3,40($17)lw $5,36($17)sltu $2,$3,$5.set noreorder.set nomacrobeq $2,$0,$L168subu $16,$3,$5.set macro.set reorder$L528:lui $6,%hi($LC2)li $5,2 # 0x2addiu $6,$6,%lo($LC2).set noreorder.set nomacrojal mp_msgli $4,7 # 0x7.set macro.set reorderslt $2,$18,$16lw $5,36($17)movn $16,$18,$2lw $3,80($17)sltu $2,$16,32.set noreorder.set nomacrobeq $2,$0,$L531addu $5,$3,$5.set macro.set reorder$L170:move $4,$19$L573:.set noreorder.set nomacrojal memcpymove $6,$16.set macro.set reorderlw $5,36($17)subu $18,$18,$16addu $2,$5,$16move $5,$2.set noreorder.set nomacrobgtz $18,$L532sw $2,36($17).set macro.set reorder$L476:lw $4,168($sp)lw $17,16($4)$L161:bne $20,$0,$L533$L183:lw $2,56($17)$L570:.set noreorder.set nomacrobne $2,$0,$L198lw $3,80($sp).set macro.set reorderaddiu $20,$3,-19.set noreorder.set nomacroblez $20,$L201move $16,$0.set macro.set reorder.set noreorder.set nomacroj $L202lui $17,%hi(asf_content_encryption).set macro.set reorder$L203:beq $16,$20,$L205$L202:addu $4,$16,$21addiu $5,$17,%lo(asf_content_encryption).set noreorder.set nomacrojal memcmpli $6,16 # 0x10.set macro.set reorder.set noreorder.set nomacrobne $2,$0,$L203addiu $16,$16,1.set macro.set reorderaddiu $16,$16,-1addiu $3,$16,24.set noreorder.set nomacrobltz $3,$L205lw $4,80($sp).set macro.set reordersubu $2,$4,$3addiu $7,$2,-4.set noreorder.set nomacrobltz $7,$L205addu $6,$21,$3.set macro.set reorderlbu $2,3($6)lbu $3,2($6)sll $2,$2,24sll $3,$3,16lbu $4,1($6)lbu $5,0($6)or $2,$2,$3or $2,$2,$5sll $4,$4,8or $4,$4,$2subu $7,$7,$4.set noreorder.set nomacrobltz $7,$L205addiu $3,$6,4.set macro.set reorderaddu $6,$3,$4lbu $2,3($6)lbu $3,2($6)sll $2,$2,24sll $3,$3,16lbu $4,1($6)lbu $5,0($6)or $2,$2,$3or $2,$2,$5sll $4,$4,8or $4,$4,$2sltu $3,$4,4.set noreorder.set nomacrobne $3,$0,$L205subu $2,$7,$4.set macro.set reorderaddiu $8,$2,-8.set noreorder.set nomacrobltz $8,$L205li $2,68 # 0x44.set macro.set reorderlb $3,4($6).set noreorder.set nomacrobeq $3,$2,$L534addiu $7,$6,4.set macro.set reorder$L205:move $16,$0$L571:.set noreorder.set nomacroj $L217lui $18,%hi(asf_ext_stream_audio).set macro.set reorder$L218:slt $2,$16,$20.set noreorder.set nomacrobeq $2,$0,$L575li $6,-1 # 0xffffffffffffffff.set macro.set reorder$L217:addu $17,$21,$16move $4,$17addiu $5,$18,%lo(asf_ext_stream_audio).set noreorder.set nomacrojal memcmpli $6,16 # 0x10.set macro.set reorder.set noreorder.set nomacrobne $2,$0,$L218addiu $16,$16,1.set macro.set reorderaddiu $16,$16,-1addiu $6,$16,24.set noreorder.set nomacrobltz $6,$L221sw $6,40($sp).set macro.set reorderaddiu $18,$16,8.set noreorder.set nomacroblez $18,$L221addiu $16,$17,8.set macro.set reorder.set noreorder.set nomacroj $L223lui $19,%hi(asf_stream_header_guid).set macro.set reorder$L224:.set noreorder.set nomacrobeq $18,$0,$L221addiu $16,$16,-1.set macro.set reorder$L223:move $4,$16addiu $5,$19,%lo(asf_stream_header_guid).set noreorder.set nomacrojal memcmpli $6,16 # 0x10.set macro.set reorder.set noreorder.set nomacrobne $2,$0,$L224addiu $18,$18,-1.set macro.set reorderaddiu $18,$18,1addiu $7,$18,24.set noreorder.set nomacroblez $7,$L221lui $6,%hi($LC12).set macro.set reorderaddu $17,$21,$7addiu $6,$6,%lo($LC12)li $4,8 # 0x8.set noreorder.set nomacrojal mp_msgli $5,6 # 0x6.set macro.set reorderlbu $5,48($17)lw $2,40($sp)andi $5,$5,0x7faddiu $2,$2,40lw $4,168($sp)addu $3,$21,$2move $6,$5sw $3,44($sp).set noreorder.set nomacrojal new_sh_audio_aidsw $2,48($sp).set macro.set reordermove $16,$2lbu $2,48($17)lui $6,%hi($LC13)lui $7,%hi($LC14)andi $2,$2,0x7faddiu $6,$6,%lo($LC13)addiu $7,$7,%lo($LC14)li $4,7 # 0x7li $5,4 # 0x4.set noreorder.set nomacrojal mp_msgsw $2,16($sp).set macro
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?