dvdsubdec.s
来自「君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图」· S 代码 · 共 2,410 行 · 第 1/3 页
S
2,410 行
.file 1 "dvdsubdec.c".section .mdebug.abi32.previous.section .text.dvdsub_init_decoder,"ax",@progbits.align 2.align 5.ent dvdsub_init_decoder.type dvdsub_init_decoder, @functiondvdsub_init_decoder:.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0.mask 0x00000000,0.fmask 0x00000000,0.set noreorder.set nomacroj $31move $2,$0.set macro.set reorder.end dvdsub_init_decoder.section .text.dvdsub_close_decoder,"ax",@progbits.align 2.align 5.ent dvdsub_close_decoder.type dvdsub_close_decoder, @functiondvdsub_close_decoder:.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0.mask 0x00000000,0.fmask 0x00000000,0.set noreorder.set nomacroj $31move $2,$0.set macro.set reorder.end dvdsub_close_decoder.section .text.decode_rle,"ax",@progbits.align 2.align 5.ent decode_rle.type decode_rle, @functiondecode_rle:.frame $sp,56,$31 # vars= 0, regs= 10/0, args= 16, gp= 0.mask 0xc0ff0000,-4.fmask 0x00000000,0addiu $sp,$sp,-56lw $3,76($sp)lw $2,80($sp)sw $21,36($sp)subu $2,$2,$3sll $21,$2,3sw $fp,48($sp)sw $23,44($sp)sw $31,52($sp)sw $22,40($sp)sw $20,32($sp)sw $19,28($sp)sw $18,24($sp)sw $17,20($sp)sw $16,16($sp)sw $5,60($sp)move $23,$6sw $7,68($sp).set noreorder.set nomacrobltz $21,$L6lw $fp,84($sp).set macro.set reorder.set noreorder.set nomacrobltz $21,$L6lw $2,72($sp).set macro.set reorderaddu $18,$3,$2$L9:move $8,$0slt $2,$21,$8move $20,$4move $19,$0.set noreorder.set nomacrobne $2,$0,$L13move $22,$0.set macro.set reorder$L68:.set noreorder.set nomacrobeq $fp,$0,$L15sra $4,$8,3.set macro.set reorderaddiu $4,$8,1sra $2,$4,3addu $2,$18,$2lbu $3,0($2)andi $4,$4,0x7sll $3,$3,$4andi $3,$3,0x00ffsra $2,$8,3addu $2,$18,$2srl $3,$3,7lbu $10,0($2).set noreorder.set nomacrobeq $3,$0,$L17addiu $7,$8,2.set macro.set reordersra $4,$7,3addu $4,$18,$4lbu $3,0($4)lbu $5,1($4)lbu $6,3($4)lbu $2,2($4)sll $3,$3,24sll $5,$5,16or $3,$3,$5or $3,$3,$6sll $2,$2,8or $2,$2,$3andi $4,$7,0x7sll $2,$2,$4srl $9,$2,24addiu $16,$8,10$L19:andi $2,$8,0x7sll $2,$10,$2andi $2,$2,0x00ffsrl $2,$2,7.set noreorder.set nomacrobne $2,$0,$L20sra $2,$16,3.set macro.set reorderli $4,1 # 0x1$L22:subu $2,$23,$19slt $3,$2,$4move $17,$2movz $17,$4,$3sltu $4,$17,40move $7,$9.set noreorder.set nomacrobne $4,$0,$L65addu $6,$20,$19.set macro.set reorder$L32:andi $2,$6,0x3li $3,4 # 0x4subu $3,$3,$2li $2,2 # 0x2.set noreorder.set nomacrobeq $3,$2,$L37move $4,$6.set macro.set reorderli $2,3 # 0x3.set noreorder.set nomacrobeq $3,$2,$L38li $2,1 # 0x1.set macro.set reorderbeq $3,$2,$L66$L35:sll $3,$7,8sll $5,$7,16sll $2,$7,24or $5,$5,$2or $3,$7,$3or $3,$3,$5addiu $5,$4,-4#APP.word 0b01110000000000110000000001101111 #S32I2M XR1,$3#NO_APPandi $4,$4,0x1f.set noreorder.set nomacrobeq $4,$0,$L39li $2,-32 # 0xffffffffffffffe0.set macro.set reorderand $2,$5,$2addiu $4,$2,32sltu $3,$5,$4beq $3,$0,$L39$L58:#APP.word 0b01110000101000000000010001010101 #S32SDI XR1,$5,4#NO_APPsltu $2,$5,$4bne $2,$0,$L58$L39:addu $6,$17,$6addiu $2,$6,-31li $3,-32 # 0xffffffffffffffe0and $3,$2,$3sltu $4,$5,$3.set noreorder.set nomacrobeq $4,$0,$L71addiu $2,$6,-4.set macro.set reorderaddiu $2,$5,4$L72:#APPpref 30,0($2).word 0b01110000101000000000010001010101 #S32SDI XR1,$5,4.word 0b01110000101000000000010001010101 #S32SDI XR1,$5,4.word 0b01110000101000000000010001010101 #S32SDI XR1,$5,4.word 0b01110000101000000000010001010101 #S32SDI XR1,$5,4.word 0b01110000101000000000010001010101 #S32SDI XR1,$5,4.word 0b01110000101000000000010001010101 #S32SDI XR1,$5,4.word 0b01110000101000000000010001010101 #S32SDI XR1,$5,4.word 0b01110000101000000000010001010101 #S32SDI XR1,$5,4#NO_APPsltu $2,$5,$3.set noreorder.set nomacrobne $2,$0,$L72addiu $2,$5,4.set macro.set reorderaddiu $2,$6,-4$L71:li $3,-4 # 0xfffffffffffffffcand $3,$2,$3sltu $4,$5,$3.set noreorder.set nomacrobeq $4,$0,$L73andi $4,$6,0x3.set macro.set reorder$L60:#APP.word 0b01110000101000000000010001010101 #S32SDI XR1,$5,4#NO_APPsltu $2,$5,$3.set noreorder.set nomacrobne $2,$0,$L60andi $4,$6,0x3.set macro.set reorder$L73:li $2,2 # 0x2.set noreorder.set nomacrobeq $4,$2,$L47addiu $3,$5,4.set macro.set reorderli $2,3 # 0x3.set noreorder.set nomacrobeq $4,$2,$L48li $2,1 # 0x1.set macro.set reorderbeq $4,$2,$L67$L34:addu $19,$19,$17$L70:slt $2,$19,$23.set noreorder.set nomacrobne $2,$0,$L69move $8,$16.set macro.set reorderlw $3,68($sp)addiu $22,$22,1slt $2,$22,$3.set noreorder.set nomacrobeq $2,$0,$L57subu $2,$0,$16.set macro.set reorderlw $3,60($sp)andi $2,$2,0x7.set noreorder.set nomacrobeq $2,$0,$L11addu $20,$20,$3.set macro.set reorderaddu $16,$16,$2move $19,$0move $8,$16$L69:slt $2,$21,$8beq $2,$0,$L68$L13:lw $31,52($sp)lw $fp,48($sp)lw $23,44($sp)lw $22,40($sp)lw $21,36($sp)lw $20,32($sp)lw $19,28($sp)lw $18,24($sp)lw $17,20($sp)lw $16,16($sp)li $2,-1 # 0xffffffffffffffff.set noreorder.set nomacroj $31addiu $sp,$sp,56.set macro.set reorder$L15:addu $4,$18,$4lbu $3,0($4)lbu $5,1($4)lbu $6,3($4)lbu $2,2($4)sll $3,$3,24sll $5,$5,16or $3,$3,$5or $3,$3,$6sll $2,$2,8or $2,$2,$3andi $4,$8,0x7sll $2,$2,$4srl $7,$2,28sltu $2,$7,4.set noreorder.set nomacrobeq $2,$0,$L27addiu $16,$8,4.set macro.set reordersra $4,$16,3addu $4,$18,$4lbu $3,0($4)lbu $5,1($4)lbu $6,3($4)lbu $2,2($4)sll $3,$3,24sll $5,$5,16or $3,$3,$5or $3,$3,$6sll $2,$2,8andi $4,$16,0x7or $2,$2,$3sll $2,$2,$4srl $2,$2,28sll $3,$7,4or $7,$3,$2sltu $4,$7,16.set noreorder.set nomacrobeq $4,$0,$L56addiu $16,$8,8.set macro.set reordersra $4,$16,3addu $4,$18,$4lbu $3,0($4)lbu $5,1($4)lbu $6,3($4)lbu $2,2($4)sll $3,$3,24sll $5,$5,16or $3,$3,$5or $3,$3,$6sll $2,$2,8andi $4,$16,0x7or $2,$2,$3sll $2,$2,$4srl $2,$2,28sll $3,$7,4or $7,$3,$2sltu $4,$7,64.set noreorder.set nomacrobeq $4,$0,$L56addiu $16,$8,12.set macro.set reordersra $4,$16,3addu $4,$18,$4lbu $3,0($4)lbu $5,1($4)lbu $6,3($4)lbu $2,2($4)sll $3,$3,24sll $5,$5,16or $3,$3,$5or $3,$3,$6sll $2,$2,8or $2,$2,$3andi $4,$16,0x7sll $2,$2,$4srl $2,$2,28sll $3,$7,4or $7,$3,$2addiu $16,$8,16sltu $2,$7,4$L27:.set noreorder.set nomacrobne $2,$0,$L25andi $9,$7,0x3.set macro.set reordersrl $4,$7,2subu $2,$23,$19slt $3,$2,$4move $17,$2movz $17,$4,$3sltu $4,$17,40move $7,$9.set noreorder.set nomacrobeq $4,$0,$L32addu $6,$20,$19.set macro.set reorder$L65:move $4,$6move $5,$9.set noreorder.set nomacrojal memsetmove $6,$17.set macro.set reorder.set noreorder.set nomacroj $L70addu $19,$19,$17.set macro.set reorder$L25:li $2,2147418112 # 0x7fff0000.set noreorder.set nomacroj $L22ori $4,$2,0xffff.set macro.set reorder$L20:addu $2,$18,$2lbu $3,0($2)andi $4,$16,0x7sll $3,$3,$4andi $3,$3,0x00ffsrl $3,$3,7.set noreorder.set nomacrobeq $3,$0,$L23addiu $7,$16,1.set macro.set reordersra $4,$7,3addu $4,$18,$4lbu $3,0($4)lbu $5,1($4)lbu $6,3($4)lbu $2,2($4)sll $3,$3,24sll $5,$5,16or $3,$3,$5or $3,$3,$6sll $2,$2,8or $2,$2,$3andi $4,$7,0x7sll $2,$2,$4srl $2,$2,25.set noreorder.set nomacrobeq $2,$0,$L25addiu $16,$16,8.set macro.set reorder.set noreorder.set nomacroj $L22addiu $4,$2,9.set macro.set reorder$L17:sra $4,$7,3addu $4,$18,$4lbu $3,0($4)lbu $5,1($4)lbu $6,3($4)lbu $2,2($4)sll $3,$3,24sll $5,$5,16or $3,$3,$5or $3,$3,$6sll $2,$2,8or $2,$2,$3andi $4,$7,0x7sll $2,$2,$4srl $9,$2,30.set noreorder.set nomacroj $L19addiu $16,$8,4.set macro.set reorder$L11:move $19,$0.set noreorder.set nomacroj $L69move $8,$16.set macro.set reorder$L47:sb $7,4($5).set noreorder.set nomacroj $L34sb $7,1($3).set macro.set reorder$L37:addiu $4,$6,2sb $9,0($6).set noreorder.set nomacroj $L35sb $9,1($6).set macro.set reorder$L38:addiu $4,$6,3sb $9,0($6)sb $9,1($6).set noreorder.set nomacroj $L35sb $9,2($6).set macro.set reorder$L48:sb $7,6($5)sb $7,4($5).set noreorder.set nomacroj $L34sb $7,5($5).set macro.set reorder$L23:sra $4,$7,3addu $4,$18,$4lbu $3,0($4)lbu $5,1($4)lbu $6,3($4)lbu $2,2($4)sll $3,$3,24sll $5,$5,16or $3,$3,$5or $3,$3,$6sll $2,$2,8andi $4,$7,0x7or $2,$2,$3sll $2,$2,$4srl $2,$2,29addiu $16,$16,4.set noreorder.set nomacroj $L22addiu $4,$2,2.set macro.set reorder$L67:.set noreorder.set nomacroj $L34sb $7,4($5).set macro.set reorder$L66:addiu $4,$6,1.set noreorder.set nomacroj $L35sb $9,0($6).set macro.set reorder$L56:.set noreorder.set nomacroj $L27sltu $2,$7,4.set macro.set reorder$L6:.set noreorder.set nomacroj $L9move $18,$0.set macro.set reorder$L57:lw $31,52($sp)lw $fp,48($sp)lw $23,44($sp)lw $22,40($sp)lw $21,36($sp)lw $20,32($sp)lw $19,28($sp)lw $18,24($sp)lw $17,20($sp)lw $16,16($sp)move $2,$0.set noreorder.set nomacroj $31addiu $sp,$sp,56.set macro.set reorder.end decode_rle.section .rodata.cst4,"aM",@progbits,4.align 2$LC0:.word ff_cropTbl+1024.align 2$LC1:.word 16777215.section .text.dvdsub_decode,"ax",@progbits.align 2.align 5.ent dvdsub_decode.type dvdsub_decode, @functiondvdsub_decode:.frame $sp,400,$31 # vars= 328, regs= 10/0, args= 32, gp= 0.mask 0xc0ff0000,-4.fmask 0x00000000,0addiu $sp,$sp,-400lw $3,416($sp)sw $21,380($sp)slt $2,$3,10sw $20,376($sp)sw $31,396($sp)sw $fp,392($sp)sw $23,388($sp)sw $22,384($sp)sw $19,372($sp)sw $18,368($sp)sw $17,364($sp)sw $16,360($sp)move $21,$5sw $6,408($sp).set noreorder.set nomacrobne $2,$0,$L75move $20,$7.set macro.set reordersw $0,16($5)sw $0,12($5)sw $0,4($5)sw $0,8($5)lbu $2,0($7)lbu $3,1($7)sll $2,$2,8or $2,$2,$3.set noreorder.set nomacrobne $2,$0,$L77li $4,2 # 0x2.set macro.set reorderaddiu $5,$7,6lbu $2,6($7)lbu $4,1($5)lbu $6,3($5)lbu $3,2($5)sll $4,$4,16sll $2,$2,24or $2,$2,$4or $2,$2,$6sll $3,$3,8li $4,1 # 0x1li $13,4 # 0x4or $22,$3,$2sw $4,328($sp)sw $13,332($sp)$L79:sw $0,336($sp)sw $0,312($sp)sw $0,344($sp)addiu $18,$sp,308lw $13,332($sp)$L274:addiu $2,$22,2addu $11,$13,$2lw $2,416($sp)slt $3,$11,$2.set noreorder.set nomacrobeq $3,$0,$L147addu $6,$20,$22.set macro.set reorderlbu $2,0($6)lbu $3,1($6)sll $2,$2,8or $7,$2,$3lw $2,328($sp)beq $2,$0,$L82lbu $2,2($6)lbu $4,3($6)sll $2,$2,24sll $4,$4,16lbu $5,5($6)lbu $3,4($6)or $2,$2,$4or $2,$2,$5sll $3,$3,8or $23,$3,$2$L84:li $2,-1240793088 # 0xffffffffb60b0000sll $3,$7,10ori $2,$2,0x60b7mult $3,$2li $fp,-1 # 0xffffffffffffffffmfhi $2sw $0,316($sp)addu $2,$2,$3sw $0,320($sp)sw $fp,324($sp)addu $3,$20,$11lbu $9,0($3)sra $14,$2,6li $2,5 # 0x5move $15,$0move $13,$0.set noreorder.set nomacrobeq $9,$2,$L92addiu $12,$11,1.set macro.set reorder$L257:sltu $2,$9,6.set noreorder
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?