vf_unsharp.mid
来自「君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图」· MID 代码 · 共 2,700 行 · 第 1/3 页
MID
2,700 行
#NO_APP lw $5,312($sp) sltu $2,$4,$5 .set noreorder .set nomacro bne $2,$0,$L337 addiu $2,$4,4 .set macro .set reorder lw $6,316($sp)$L336: sltu $2,$4,$6 .set noreorder .set nomacro beq $2,$0,$L338 lw $5,320($sp) .set macro .set reorder$L297:#APP S32SDI xr1,$4,4#NO_APP lw $3,316($sp) sltu $2,$4,$3 .set noreorder .set nomacro bne $2,$0,$L297 lw $5,320($sp) .set macro .set reorder$L338: li $2,2 # 0x2 .set noreorder .set nomacro beq $5,$2,$L265 addiu $3,$4,4 .set macro .set reorder li $2,3 # 0x3 .set noreorder .set nomacro beq $5,$2,$L266 li $2,1 # 0x1 .set macro .set reorder beq $5,$2,$L323$L252: lw $6,304($sp)$L328: .set noreorder .set nomacro beq $6,$0,$L267 lw $3,368($sp) .set macro .set reorder lw $4,292($sp) lw $5,372($sp) subu $2,$3,$4 lw $6,296($sp) addu $2,$2,$18 subu $3,$5,$6 subu $13,$2,$20 lw $2,288($sp) addu $3,$3,$18 addu $4,$20,$18 move $10,$18 subu $12,$3,$20 sll $9,$4,2 addu $11,$21,$18 subu $14,$2,$18$L269: .set noreorder .set nomacro blez $10,$L324 slt $2,$10,$23 .set macro .set reorder .set noreorder .set nomacro bne $2,$0,$L273 addu $2,$21,$23 .set macro .set reorder lbu $6,-1($2)$L272: blez $17,$L275 move $7,$0 move $5,$fp$L277: lw $2,0($5) lw $3,4($5) addiu $7,$7,2 addu $2,$6,$2 slt $4,$7,$17 sw $6,0($5) sw $2,4($5) addu $6,$2,$3 .set noreorder .set nomacro bne $4,$0,$L277 addiu $5,$5,8 .set macro .set reorder$L275: .set noreorder .set nomacro blez $16,$L339 slt $2,$10,$20 .set macro .set reorder lw $7,284($sp) move $8,$0$L280: lw $2,0($7) lw $4,4($7) addu $2,$9,$2 lw $3,0($2) addu $4,$9,$4 sw $6,0($2) lw $2,0($4) addiu $8,$8,2 addu $3,$6,$3 slt $5,$8,$16 sw $3,0($4) addu $6,$3,$2 .set noreorder .set nomacro bne $5,$0,$L280 addiu $7,$7,8 .set macro .set reorder slt $2,$10,$20$L339: .set noreorder .set nomacro bne $2,$0,$L281 slt $2,$19,$22 .set macro .set reorder .set noreorder .set nomacro bne $2,$0,$L281 lw $3,268($sp) .set macro .set reorder lw $5,272($sp) addu $2,$3,$6 lbu $4,0($12) lw $3,276($sp) srl $2,$2,$5 subu $2,$4,$2 mul $2,$3,$2 sra $2,$2,16 addu $2,$4,$2 slt $3,$2,256 bne $3,$0,$L284 li $2,255 # 0xff$L286: sb $2,0($13)$L281: addiu $10,$10,1 addu $2,$14,$18 addiu $13,$13,1 addiu $12,$12,1 addiu $11,$11,1 .set noreorder .set nomacro bne $10,$2,$L269 addiu $9,$9,4 .set macro .set reorder$L267: .set noreorder .set nomacro bltz $19,$L289 lw $4,368($sp) .set macro .set reorder lw $6,372($sp) lw $5,376($sp) lw $2,380($sp) addu $4,$4,$5 addu $6,$6,$2 sw $4,368($sp) sw $6,372($sp)$L289: lw $3,280($sp) lw $4,300($sp) addiu $19,$19,1 addu $2,$3,$4 bne $19,$2,$L247$L291: lw $31,364($sp)$L340: lw $fp,360($sp) lw $23,356($sp) lw $22,352($sp) lw $21,348($sp) lw $20,344($sp) lw $19,340($sp) lw $18,336($sp) lw $17,332($sp) lw $16,328($sp) .set noreorder .set nomacro j $31 addiu $sp,$sp,368 .set macro .set reorder$L273: .set noreorder .set nomacro j $L272 lbu $6,0($11) .set macro .set reorder$L324: .set noreorder .set nomacro j $L272 lbu $6,0($21) .set macro .set reorder$L284: bltz $2,$L325 .set noreorder .set nomacro j $L286 andi $2,$2,0x00ff .set macro .set reorder$L321: lw $6,264($sp) move $4,$fp .set noreorder .set nomacro jal memset move $5,$0 .set macro .set reorder .set noreorder .set nomacro j $L328 lw $6,304($sp) .set macro .set reorder$L318: move $5,$0 .set noreorder .set nomacro jal memset move $6,$19 .set macro .set reorder .set noreorder .set nomacro j $L329 addiu $18,$18,1 .set macro .set reorder$L325: .set noreorder .set nomacro j $L286 move $2,$0 .set macro .set reorder$L234: addiu $3,$4,2 sb $0,0($4) .set noreorder .set nomacro j $L232 sb $0,1($4) .set macro .set reorder$L265: sb $0,4($4) .set noreorder .set nomacro j $L252 sb $0,1($3) .set macro .set reorder$L255: addiu $3,$sp,18 sb $0,16($sp) .set noreorder .set nomacro j $L253 sb $0,17($sp) .set macro .set reorder$L244: sb $0,4($5) .set noreorder .set nomacro j $L231 sb $0,1($3) .set macro .set reorder$L266: sb $0,6($4) sb $0,4($4) .set noreorder .set nomacro j $L252 sb $0,5($4) .set macro .set reorder$L245: sb $0,6($5) sb $0,4($5) .set noreorder .set nomacro j $L231 sb $0,5($5) .set macro .set reorder$L256: addiu $3,$sp,19 sb $0,16($sp) sb $0,17($sp) .set noreorder .set nomacro j $L253 sb $0,18($sp) .set macro .set reorder$L235: addiu $3,$4,3 sb $0,0($4) sb $0,1($4) .set noreorder .set nomacro j $L232 sb $0,2($4) .set macro .set reorder$L194: lw $3,368($sp) .set noreorder .set nomacro beq $2,$3,$L340 lw $31,364($sp) .set macro .set reorder lw $4,376($sp) lw $5,380($sp) .set noreorder .set nomacro beq $4,$5,$L200 lw $6,388($sp) .set macro .set reorder .set noreorder .set nomacro blez $6,$L340 sltu $17,$23,32 .set macro .set reorder li $2,-32 # 0xffffffffffffffe0 and $19,$23,$2 move $16,$0 .set noreorder .set nomacro bne $17,$0,$L215 andi $18,$23,0x3 .set macro .set reorder$L327: lw $6,368($sp) andi $2,$6,0x3 .set noreorder .set nomacro bne $2,$0,$L341 lw $4,368($sp) .set macro .set reorder lw $3,372($sp) andi $2,$3,0x3 .set noreorder .set nomacro bne $2,$0,$L342 lw $5,372($sp) .set macro .set reorder addiu $5,$6,-4 addu $3,$19,$5 lw $6,372($sp) sltu $2,$5,$3 .set noreorder .set nomacro beq $2,$0,$L219 addiu $4,$6,-4 .set macro .set reorder$L298:#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,$3 bne $2,$0,$L298$L219: andi $2,$23,0x1c addu $6,$3,$2 sltu $3,$5,$6 .set noreorder .set nomacro beq $3,$0,$L343 li $2,2 # 0x2 .set macro .set reorder$L299:#APP S32LDI xr1,$4,4 S32SDI xr1,$5,4#NO_APP sltu $2,$5,$6 .set noreorder .set nomacro bne $2,$0,$L299 li $2,2 # 0x2 .set macro .set reorder$L343: .set noreorder .set nomacro beq $18,$2,$L225 li $2,3 # 0x3 .set macro .set reorder .set noreorder .set nomacro beq $18,$2,$L226 li $2,1 # 0x1 .set macro .set reorder beq $18,$2,$L326$L223: lw $2,388($sp)$L330: addiu $16,$16,1 .set noreorder .set nomacro beq $2,$16,$L340 lw $31,364($sp) .set macro .set reorder lw $3,368($sp) lw $5,372($sp) lw $4,376($sp) lw $6,380($sp) addu $3,$3,$4 addu $5,$5,$6 sw $3,368($sp) .set noreorder .set nomacro beq $17,$0,$L327 sw $5,372($sp) .set macro .set reorder$L215: lw $4,368($sp)$L341: lw $5,372($sp)$L342: .set noreorder .set nomacro jal memcpy move $6,$23 .set macro .set reorder .set noreorder .set nomacro j $L330 lw $2,388($sp) .set macro .set reorder$L319: addiu $3,$4,1 .set noreorder .set nomacro j $L232 sb $0,0($4) .set macro .set reorder$L323: .set noreorder .set nomacro j $L252 sb $0,4($4) .set macro .set reorder$L320: .set noreorder .set nomacro j $L231 sb $0,4($5) .set macro .set reorder$L322: addiu $3,$sp,17 .set noreorder .set nomacro j $L253 sb $0,16($sp) .set macro .set reorder$L200: lw $2,388($sp) lw $3,380($sp) mul $6,$2,$3 sltu $2,$6,32 .set noreorder .set nomacro bne $2,$0,$L203 lw $4,368($sp) .set macro .set reorder andi $2,$4,0x3 .set noreorder .set nomacro bne $2,$0,$L344 lw $5,372($sp) .set macro .set reorder andi $2,$5,0x3 .set noreorder .set nomacro bne $2,$0,$L344 li $2,-32 # 0xffffffffffffffe0 .set macro .set reorder addiu $4,$4,-4 and $2,$6,$2 addu $8,$4,$2 sltu $3,$4,$8 .set noreorder .set nomacro beq $3,$0,$L207 addiu $5,$5,-4 .set macro .set reorder$L300:#APP S32LDI xr1,$5,4 S32LDI xr2,$5,4 S32LDI xr3,$5,4 S32LDI xr4,$5,4 S32LDI xr5,$5,4 S32LDI xr6,$5,4 S32LDI xr7,$5,4 S32LDI xr8,$5,4 S32SDI xr1,$4,4 S32SDI xr2,$4,4 S32SDI xr3,$4,4 S32SDI xr4,$4,4 S32SDI xr5,$4,4 S32SDI xr6,$4,4 S32SDI xr7,$4,4 S32SDI xr8,$4,4#NO_APP sltu $2,$4,$8 bne $2,$0,$L300$L207: andi $2,$6,0x1c addu $8,$8,$2 sltu $3,$4,$8 beq $3,$0,$L209$L301:#APP S32LDI xr1,$5,4 S32SDI xr1,$4,4#NO_APP sltu $2,$4,$8 bne $2,$0,$L301$L209: andi $6,$6,0x3 li $2,2 # 0x2 beq $6,$2,$L212 li $2,3 # 0x3 beq $6,$2,$L213 li $2,1 # 0x1 .set noreorder .set nomacro bne $6,$2,$L340 lw $31,364($sp) .set macro .set reorder lbu $2,4($5) .set noreorder .set nomacro j $L291 sb $2,4($4) .set macro .set reorder$L225: lbu $2,4($4) sb $2,4($5) lbu $3,5($4) .set noreorder .set nomacro j $L223 sb $3,5($5) .set macro .set reorder$L226: 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 $L223 sb $2,6($5) .set macro .set reorder$L203:$L344: .set noreorder .set nomacro jal memcpy lw $5,372($sp) .set macro .set reorder lw $31,364($sp) lw $fp,360($sp) lw $23,356($sp) lw $22,352($sp) lw $21,348($sp) lw $20,344($sp) lw $19,340($sp) lw $18,336($sp) lw $17,332($sp) lw $16,328($sp) .set noreorder .set nomacro j $31 addiu $sp,$sp,368 .set macro .set reorder$L326: lbu $2,4($4) .set noreorder .set nomacro j $L223 sb $2,4($5) .set macro .set reorder$L212: lbu $2,4($5) sb $2,4($4) lbu $3,5($5) .set noreorder .set nomacro j $L291 sb $3,5($4) .set macro .set reorder$L213: lbu $2,4($5) sb $2,4($4) lbu $3,5($5) sb $3,5($4) lbu $2,6($5) .set noreorder .set nomacro j $L291 sb $2,6($4) .set macro .set reorder .end unsharp .section .text.put_image,"ax",@progbits .align 2 .align 5 .ent put_image .type put_image, @functionput_image: .frame $sp,56,$31 # vars= 0, regs= 6/0, args= 32, gp= 0 .mask 0x80370000,-4 .fmask 0x00000000,0 .set noreorder .set nomacro addiu $sp,$sp,-56 sw $21,48($sp) sw $20,44($sp) sw $18,40($sp) sw $17,36($sp) sw $31,52($sp) sw $16,32($sp) lhu $2,0($5) move $20,$6 andi $2,$2,0x2000 move $21,$7 move $17,$5 move $18,$4 li $6,2 # 0x2 bne $2,$0,$L346 li $7,16 # 0x10 lw $3,100($4) lw $2,24($5) lw $8,28($5) lw $4,92($4) lw $5,528($3) sw $2,16($sp) jal vf_get_image sw $8,20($sp) sw $2,96($18)$L346: lw $16,96($18) lw $5,32($17) lw $7,48($17) lw $4,32($16) lw $6,48($16) lw $2,24($17) lw $3,28($17) lw $8,100($18) sw $2,16($sp) sw $3,20($sp) jal unsharp sw $8,24($sp) lw $9,24($17) lw $10,28($17) lw $8,100($18) srl $2,$9,31 srl $3,$10,31 lw $4,36($16) lw $6,52($16) lw $5,36($17) lw $7,52($17) addu $2,$2,$9 addu $3,$3,$10 sra $2,$2,1 sra $3,$3,1 addiu $8,$8,264 sw $2,16($sp) sw $3,20($sp) jal unsharp sw $8,24($sp) lw $9,24($17) lw $10,28($17) lw $8,100($18) srl $2,$9,31 srl $3,$10,31 lw $6,56($16) lw $7,56($17) lw $4,40($16) lw $5,40($17) addu $2,$2,$9 addu $3,$3,$10 sra $2,$2,1 sra $3,$3,1 addiu $8,$8,264 sw $2,16($sp) sw $3,20($sp) jal unsharp sw $8,24($sp) move $4,$16 jal vf_clone_mpi_attributes move $5,$17 move $4,$18 move $5,$16 move $6,$20 move $7,$21 lw $31,52($sp) lw $21,48($sp) lw $20,44($sp) lw $18,40($sp) lw $17,36($sp) lw $16,32($sp) j vf_next_put_image addiu $sp,$sp,56 .set macro .set reorder .end put_image .globl vf_info_unsharp .section .rodata.str1.4 .align 2$LC6: .ascii "unsharp mask & gaussian blur\000" .align 2$LC7: .ascii "unsharp\000" .align 2$LC8: .ascii "Remi Guyomarch\000" .subsection -1 .align 2$LC9: .ascii "\000" .data .align 2 .type vf_info_unsharp, @object .size vf_info_unsharp, 24vf_info_unsharp: .word $LC6 .word $LC7 .word $LC8 .word $LC9 .word open .word 0 .align 2 .type fmt_list, @object .size fmt_list, 16fmt_list: .word 842094169 .word 808596553 .word 1448433993 .word 0 .ident "GCC: (GNU) 4.1.2"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?