demux_viv.s
来自「君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图」· S 代码 · 共 4,838 行 · 第 1/5 页
S
4,838 行
.set macro.set reorderaddu $2,$9,$8lbu $2,0($2)addiu $8,$8,1.set noreorder.set nomacroj $L128li $3,8 # 0x8.set macro.set reorder$L102:sll $2,$3,1addiu $3,$5,-2.set noreorder.set nomacrobne $3,$0,$L105andi $2,$2,0x00ff.set macro.set reorderaddu $3,$9,$8lbu $2,0($3)addiu $8,$8,1sll $2,$2,3andi $2,$2,0xf8li $3,5 # 0x5$L107:sll $2,$2,1addiu $3,$3,-1.set noreorder.set nomacrobne $3,$0,$L110andi $2,$2,0x00ff.set macro.set reorderaddu $3,$9,$8lbu $2,0($3)addiu $8,$8,1sll $2,$2,3andi $2,$2,0xf8li $3,5 # 0x5$L116:sll $2,$2,1addiu $3,$3,-1.set noreorder.set nomacrobne $3,$0,$L118andi $2,$2,0x00ff.set macro.set reorderaddu $3,$9,$8lbu $2,0($3)addiu $8,$8,1sll $2,$2,1andi $2,$2,0x00ff.set noreorder.set nomacroj $L120li $3,7 # 0x7.set macro.set reorder$L105:sll $2,$2,1addiu $3,$5,-3.set noreorder.set nomacrobne $3,$0,$L108andi $2,$2,0x00ff.set macro.set reorderaddu $3,$9,$8lbu $2,0($3)addiu $8,$8,1sll $2,$2,3andi $2,$2,0xf8li $3,5 # 0x5$L110:sll $2,$2,1addiu $3,$3,-1.set noreorder.set nomacrobne $3,$0,$L112andi $2,$2,0x00ff.set macro.set reorderaddu $3,$9,$8lbu $2,0($3)addiu $8,$8,1sll $2,$2,3andi $2,$2,0xf8li $3,5 # 0x5$L118:sll $2,$2,1addiu $3,$3,-1.set noreorder.set nomacrobne $3,$0,$L120andi $2,$2,0x00ff.set macro.set reorderaddu $2,$9,$8lbu $2,0($2)addiu $8,$8,1.set noreorder.set nomacroj $L120li $3,8 # 0x8.set macro.set reorder$L155:sll $2,$2,1addiu $3,$4,-3.set noreorder.set nomacrobne $3,$0,$L154andi $2,$2,0x00ff.set macro.set reorderaddu $2,$10,$9lbu $2,0($2)addiu $9,$9,1.set noreorder.set nomacroj $L154li $3,8 # 0x8.set macro.set reorder$L141:sll $2,$2,1addiu $3,$4,-2.set noreorder.set nomacrobne $3,$0,$L144andi $2,$2,0x00ff.set macro.set reorderaddu $3,$9,$10lbu $2,0($3)addiu $9,$9,1sll $2,$2,3andi $2,$2,0xf8.set noreorder.set nomacroj $L146li $3,5 # 0x5.set macro.set reorder$L108:sll $2,$2,1addiu $3,$5,-4.set noreorder.set nomacrobne $3,$0,$L104andi $2,$2,0x00ff.set macro.set reorderaddu $3,$9,$8lbu $2,0($3)addiu $8,$8,1sll $2,$2,3andi $2,$2,0xf8li $3,5 # 0x5$L112:sll $2,$2,1addiu $3,$3,-1.set noreorder.set nomacrobne $3,$0,$L114andi $2,$2,0x00ff.set macro.set reorderaddu $3,$9,$8lbu $2,0($3)addiu $8,$8,1sll $2,$2,3andi $2,$2,0xf8.set noreorder.set nomacroj $L120li $3,5 # 0x5.set macro.set reorder$L144:sll $2,$2,1addiu $3,$4,-3.set noreorder.set nomacrobne $3,$0,$L140andi $2,$2,0x00ff.set macro.set reorderaddu $3,$9,$10lbu $2,0($3)addiu $9,$9,1sll $2,$2,2andi $2,$2,0x00ff.set noreorder.set nomacroj $L146li $3,6 # 0x6.set macro.set reorder$L27:sll $2,$2,1addiu $3,$6,-2.set noreorder.set nomacrobne $3,$0,$L30andi $2,$2,0x00ff.set macro.set reorderaddu $3,$13,$10lbu $2,0($3)addiu $10,$10,1sll $2,$2,3andi $2,$2,0xf8li $3,5 # 0x5$L32:sll $2,$2,1addiu $3,$3,-1.set noreorder.set nomacrobne $3,$0,$L35andi $2,$2,0x00ff.set macro.set reorderaddu $2,$13,$10lbu $2,0($2)addiu $10,$10,1.set noreorder.set nomacroj $L35li $3,8 # 0x8.set macro.set reorder$L30:sll $2,$2,1addiu $3,$6,-3.set noreorder.set nomacrobne $3,$0,$L33andi $2,$2,0x00ff.set macro.set reorderaddu $3,$13,$10lbu $2,0($3)addiu $10,$10,1sll $2,$2,3andi $2,$2,0xf8.set noreorder.set nomacroj $L35li $3,5 # 0x5.set macro.set reorder$L218:sll $2,$2,1addiu $3,$4,-3.set noreorder.set nomacrobne $3,$0,$L221andi $2,$2,0x00ff.set macro.set reorderaddu $3,$6,$7lbu $2,0($3)addiu $6,$6,1sll $2,$2,3andi $2,$2,0xf8li $3,5 # 0x5$L223:sll $2,$2,1addiu $3,$3,-1.set noreorder.set nomacrobne $3,$0,$L225andi $2,$2,0x00ff.set macro.set reorderaddu $2,$6,$7lbu $2,0($2)addiu $6,$6,1.set noreorder.set nomacroj $L225li $3,8 # 0x8.set macro.set reorder$L33:sll $2,$2,1addiu $3,$6,-4.set noreorder.set nomacrobne $3,$0,$L29andi $2,$2,0x00ff.set macro.set reorderaddu $3,$13,$10lbu $2,0($3)addiu $10,$10,1sll $2,$2,2andi $2,$2,0x00ff.set noreorder.set nomacroj $L35li $3,6 # 0x6.set macro.set reorder$L221:sll $2,$2,1addiu $3,$4,-4.set noreorder.set nomacrobne $3,$0,$L217andi $2,$2,0x00ff.set macro.set reorderaddu $3,$6,$7lbu $2,0($3)addiu $6,$6,1sll $2,$2,3andi $2,$2,0xf8.set noreorder.set nomacroj $L225li $3,5 # 0x5.set macro.set reorder.end demux_open_vivo.section .rodata.str1.4.align 2$LC22:.ascii "packet 0x82(pos=%u) chunk=%x\012\000".align 2$LC23:.ascii "vivo extra header: %d bytes\012\000".align 2$LC24:.ascii "stream_read: WARNING! s->buf_pos>s->buf_len\012\000".align 2$LC25:.ascii "\015\012\000".align 2$LC26:.ascii "%[^:]:%[^\012]\000".align 2$LC27:.ascii "viv_text_header_parser: bad line: '%s' at ~%#llx\012\000".align 2$LC28:.ascii "Version\000".align 2$LC29:.ascii "Version: %s\012\000".align 2$LC30:.ascii "Vivo/1\000".align 2$LC31:.ascii "Vivo/2\000".align 2$LC32:.ascii "FPS\000".align 2$LC33:.ascii "FPS: %f\012\000".globl __truncdfsf2.align 2$LC34:.ascii "Width\000".align 2$LC35:.ascii "Width: %d\012\000".align 2$LC36:.ascii "Height\000".align 2$LC37:.ascii "Height: %d\012\000".align 2$LC38:.ascii "DisplayWidth\000".align 2$LC39:.ascii "Display Width: %d\012\000".align 2$LC40:.ascii "DisplayHeight\000".align 2$LC41:.ascii "Display Height: %d\012\000".align 2$LC42:.ascii "RecordType\000".align 2$LC43:.ascii "NominalBitrate\000".align 2$LC44:.ascii "SamplingFrequency\000".align 2$LC45:.ascii "Length\000".align 2$LC46:.ascii "Title\000".align 2$LC47:.ascii "name\000".align 2$LC48:.ascii "Author\000".align 2$LC49:.ascii "author\000".align 2$LC50:.ascii "Copyright\000".align 2$LC51:.ascii "copyright\000".align 2$LC52:.ascii "Producer\000".align 2$LC53:.ascii "encoder\000".align 2$LC54:.ascii "VIVO - unknown ID found: %02X at pos %llu contact author".ascii "!\012\000".globl __floatsisf.globl __extendsfdf2.section .rodata.cst8,"aM",@progbits,8.align 3$LC55:.word 0.word -1008730112.section .text.demux_vivo_fill_buffer,"ax",@progbits.align 2.align 5.ent demux_vivo_fill_buffer.type demux_vivo_fill_buffer, @functiondemux_vivo_fill_buffer:.frame $sp,80,$31 # vars= 16, regs= 10/0, args= 24, gp= 0.mask 0xc0ff0000,-4.fmask 0x00000000,0addiu $sp,$sp,-80sw $fp,72($sp)sw $31,76($sp)sw $23,68($sp)sw $22,64($sp)sw $21,60($sp)sw $20,56($sp)sw $19,52($sp)sw $18,48($sp)sw $17,44($sp)sw $16,40($sp)lw $16,16($4)move $fp,$4lw $2,44($16)lw $3,36($16)lw $4,40($16)addu $2,$2,$3subu $2,$2,$4sw $2,4($fp)lw $4,36($16)lw $2,40($16)sltu $2,$4,$2.set noreorder.set nomacrobeq $2,$0,$L358addiu $3,$4,1.set macro.set reorderlw $2,80($16)addu $2,$4,$2lbu $17,0($2)sw $3,36($16)$L360:li $2,-256 # 0xffffffffffffff00.set noreorder.set nomacrobeq $17,$2,$L361li $2,130 # 0x82.set macro.set reorder.set noreorder.set nomacrobeq $17,$2,$L364andi $20,$17,0xf0.set macro.set reordermove $3,$0$L366:li $2,32 # 0x20.set noreorder.set nomacrobeq $20,$2,$L375slt $2,$20,33.set macro.set reorder.set noreorder.set nomacrobne $2,$0,$L785li $2,48 # 0x30.set macro.set reorder.set noreorder.set nomacrobeq $20,$2,$L376li $2,64 # 0x40.set macro.set reorder.set noreorder.set nomacrobeq $20,$2,$L786li $2,1 # 0x1.set macro.set reorder$L372:lw $2,16($fp)lui $6,%hi($LC54)lw $4,36($2)lw $3,44($2)lw $5,40($2)addu $3,$3,$4subu $3,$3,$5sra $2,$3,31move $7,$17li $5,2 # 0x2addiu $6,$6,%lo($LC54)li $4,7 # 0x7sw $2,20($sp).set noreorder.set nomacrojal mp_msgsw $3,16($sp).set macro.set reordermove $5,$0lw $31,76($sp)lw $fp,72($sp)lw $23,68($sp)lw $22,64($sp)lw $21,60($sp)lw $20,56($sp)lw $19,52($sp)lw $18,48($sp)lw $17,44($sp)lw $16,40($sp)move $2,$5.set noreorder.set nomacroj $31addiu $sp,$sp,80.set macro.set reorder$L785:.set noreorder.set nomacrobne $20,$0,$L787li $2,16 # 0x10.set macro.set reorderlw $16,16($fp)lw $4,36($16)lw $2,40($16)sltu $2,$4,$2.set noreorder.set nomacrobeq $2,$0,$L379addiu $3,$4,1.set macro.set reorderlw $2,80($16)addu $2,$4,$2lbu $21,0($2)sw $3,36($16)$L381:slt $2,$21,128.set noreorder.set nomacrobne $2,$0,$L835lui $6,%hi($LC23).set macro.set reorderlw $16,16($fp)lw $3,36($16)lw $2,40($16)sltu $2,$3,$2.set noreorder.set nomacrobeq $2,$0,$L386addiu $4,$3,1.set macro.set reorderlw $2,80($16)addu $2,$3,$2lbu $3,0($2)sll $2,$21,7addiu $3,$3,-16384sw $4,36($16)addu $21,$3,$2$L384:lui $6,%hi($LC23)$L835:addiu $6,$6,%lo($LC23)li $4,7 # 0x7li $5,6 # 0x6.set noreorder.set nomacrojal mp_msgmove $7,$21.set macro.set reorderlw $2,16($fp)lw $6,2248($fp)lw $3,44($2)lw $4,36($2)lw $5,40($2)addu $3,$3,$4subu $3,$3,$5.set noreorder.set nomacrobeq $6,$0,$L391sw $3,32($sp).set macro.set reordermove $23,$6$L393:.set noreorder.set nomacrojal uc_mallocmove $4,$21.set macro.set reordermove $4,$21.set noreorder.set nomacrojal uc_mallocsw $2,24($sp).set macro.set reordermove $4,$21.set noreorder.set nomacrojal uc_mallocmove $19,$2.set macro.set reordermove $22,$2.set noreorder.set nomacroblez $21,$L409lw $17,16($fp).set macro.set reorderlw $5,36($17)lw $3,40($17)lw $20,24($sp)subu $2,$3,$5.set noreorder.set nomacrobeq $2,$0,$L412move $18,$21.set macro.set reorder$L790:move $16,$2sltu $2,$3,$5.set noreorder.set nomacrobne $2,$0,$L836lui $6,%hi($LC24).set macro.set reorder$L417:slt $2,$18,$16movn $16,$18,$2lw $3,80($17)sltu $2,$16,32.set noreorder.set nomacrobne $2,$0,$L419addu $5,$3,$5.set macro.set reorder$L791:andi $2,$20,0x3.set noreorder.set nomacrobne $2,$0,$L837move $4,$20.set macro.set reorderandi $2,$5,0x3.set noreorder.set nomacrobne $2,$0,$L837li $2,-32 # 0xffffffffffffffe0.set macro.set reorderaddiu $4,$20,-4and $2,$16,$2addu $6,$4,$2sltu $3,$4,$6.set noreorder.set nomacrobeq $3,$0,$L423addiu $5,$5,-4.set macro.set reorder$L758:#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,$L758$L423:andi $2,$16,0x1caddu $6,$6,$2sltu $3,$4,$6.set noreorder.set nomacrobeq $3,$0,$L838andi $3,$16,0x3.set macro.set reorder$L759:#APP.word 0b01110000101000000000010001010100 #S32LDI XR1,$5,4.word 0b01110000100000000000010001010101 #S32SDI XR1,$4,4#NO_APPsltu $2,$4,$6.set noreorder.set nomacrobne $2,$0,$L759andi $3,$16,0x3.set macro.set reorder$L838:li $2,2 # 0x2.set noreorder.set nomacrobeq $3,$2,$L429li $2,3 # 0x3.set macro.set reorder.set noreorder.set nomacrobeq $3,$2,$L430li $2,1 # 0x1.set macro.set reorderbeq $3,$2,$L789$L427:lw $5,36($17)$L830:subu $18,$18,$16addu $2,$5,$16move $5,$2.set noreorder.set nomacroblez $18,$L415sw $2,36($17).set macro.set reorderlw $3,40($17)subu $2,$3,$5.set noreorder.set nomacrobne $2,$0,$L790addu $20,$20,$16.set macro.set reorder$L412:.set noreorder.set nomacrojal stream_fill_buffermove $4,$17.set macro.set reorder.set noreorder.set nomacrobeq $2,$0,$L839lw $2,24($sp).set macro.set reorderlw $3,40($17)lw $5,36($17)sltu $2,$3,$5.set noreorder.set nomacrobeq $2,$0,$L417subu $16,$3,$5.set macro.set reorderlui $6,%hi($LC24)$L836:li $5,2 # 0x2addiu $6,$6,%lo($LC24).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,$L791addu $5,$3,$5.set macro.set reorder$L419:move $4,$20$L837:.set noreorder.set nomacrojal memcpymove $6,$16.set macro.set reorder.set noreorder.set nomacroj $L830lw $5,36($17).set macro.set reorder$L692:lw $2,0($22)addu $5,$21,$2slt $3,$5,-8beq $3,$0,$L792$L361:move $5,$0$L672:lw $31,76($sp)lw $fp,72($sp)lw $23,68($sp)lw $22,64($sp)lw $21,60($sp)lw $20,56($sp)lw $19,52($sp)lw $18,48($sp)lw $17,44($sp)lw $16,40($sp)move $2,$5.set noreorder.set nomacroj $31addiu $sp,$sp,80.set macro.set reorder$L358:.set noreorder.set nomacrojal stream_fill_buffermove $4,$16.set macro.set reorder.set noreorder.set nomacrobeq $2,$0,$L672move $5,$0.set macro.set reorderlw $2,36($16)lw $3,80($16)addiu $4,$2,1addu $3,$3,$2lbu $17,0($3).set noreorder.set nomacroj $L360sw $4,36($16)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?