📄 tiff.mid
字号:
.file 1 "tiff.c" .section .mdebug.abi32 .previous .section .text.tiff_end,"ax",@progbits .align 2 .align 5 .ent tiff_end .type tiff_end, @functiontiff_end: .frame $sp,32,$31 # vars= 0, regs= 3/0, args= 16, gp= 0 .mask 0x80030000,-8 .fmask 0x00000000,0 .set noreorder .set nomacro addiu $sp,$sp,-32 sw $17,20($sp) sw $31,24($sp) sw $16,16($sp) lw $16,136($4) move $17,$4 jal ff_lzw_decode_close addiu $4,$16,260 lw $2,8($16) move $4,$17 beq $2,$0,$L2 addiu $5,$16,8 lw $2,264($17) jal $2 nop$L2: lw $31,24($sp) lw $17,20($sp) lw $16,16($sp) move $2,$0 j $31 addiu $sp,$sp,32 .set macro .set reorder .end tiff_end .section .text.tiff_init,"ax",@progbits .align 2 .align 5 .ent tiff_init .type tiff_init, @functiontiff_init: .frame $sp,32,$31 # vars= 0, regs= 4/0, args= 16, gp= 0 .mask 0x80070000,-4 .fmask 0x00000000,0 .set noreorder .set nomacro addiu $sp,$sp,-32 sw $31,28($sp) sw $18,24($sp) sw $16,16($sp) sw $17,20($sp) lw $17,136($4) move $16,$4 addiu $18,$17,8 sw $4,0($17) sw $0,208($17) move $4,$18 jal avcodec_get_frame_defaults sw $0,212($17) sw $18,408($16) sw $0,8($17) jal ff_lzw_decode_open addiu $4,$17,260 lw $31,28($sp) lw $18,24($sp) lw $17,20($sp) lw $16,16($sp) move $2,$0 j $31 addiu $sp,$sp,32 .set macro .set reorder .end tiff_init .section .rodata.str1.4,"aMS",@progbits,1 .align 2$LC0: .ascii "TIFF header not found\012\000" .align 2$LC1: .ascii "The answer to life, universe and everything is not corre" .ascii "ct!\012\000" .align 2$LC2: .ascii "IFD offset is greater than image size\012\000" .align 2$LC3: .ascii "Tag referencing position outside the image\012\000" .align 2$LC4: .ascii "This format is not supported (bpp=%i)\012\000" .align 2$LC5: .ascii "get_buffer() failed\012\000" .align 2$LC6: .ascii "Deflate: ZLib not compiled in\012\000" .align 2$LC7: .ascii "CCITT G3 compression is not supported\012\000" .align 2$LC8: .ascii "CCITT G4 compression is not supported\012\000" .align 2$LC9: .ascii "CCITT RLE compression is not supported\012\000" .align 2$LC10: .ascii "JPEG compression is not supported\012\000" .align 2$LC11: .ascii "Unknown compression method %i\012\000" .align 2$LC12: .ascii "Incorrect value of rows per strip\012\000" .align 2$LC13: .ascii "Picture initialization missing\012\000" .align 2$LC14: .ascii "Error initializing LZW decoder\012\000" .align 2$LC15: .ascii "Source data overread\012\000" .align 2$LC16: .ascii "Copy went out of bounds\012\000" .align 2$LC17: .ascii "Run went out of bounds\012\000" .align 2$LC18: .ascii "Decoded only %i bytes of %i\012\000" .align 2$LC19: .ascii "Color mode %d is not supported\012\000" .align 2$LC20: .ascii "Palette met but this is not palettized format\012\000" .align 2$LC21: .ascii "Planar format is not supported\012\000" .section .text.decode_frame,"ax",@progbits .align 2 .align 5 .ent decode_frame .type decode_frame, @functiondecode_frame: .frame $sp,112,$31 # vars= 48, regs= 10/0, args= 24, gp= 0 .mask 0xc0ff0000,-4 .fmask 0x00000000,0 addiu $sp,$sp,-112 sw $7,124($sp) sw $31,108($sp) sw $fp,104($sp) sw $23,100($sp) sw $22,96($sp) sw $21,92($sp) sw $20,88($sp) sw $19,84($sp) sw $18,80($sp) sw $17,76($sp) sw $16,72($sp) lbu $2,1($7) lbu $3,0($7) sll $2,$2,8 or $3,$2,$3 lw $2,124($sp) sw $5,116($sp) addiu $5,$2,2 li $2,18761 # 0x4949 move $7,$4 sw $6,120($sp) .set noreorder .set nomacro beq $3,$2,$L9 lw $20,136($4) .set macro .set reorder li $2,19789 # 0x4d4d .set noreorder .set nomacro bne $3,$2,$L367 lui $6,%hi($LC0) .set macro .set reorder lw $4,124($sp) sw $0,220($20) sw $0,228($20) lbu $2,2($4) lbu $3,1($5) sll $2,$2,8 or $3,$2,$3 move $6,$0$L14: li $2,42 # 0x2a .set noreorder .set nomacro bne $3,$2,$L368 move $4,$7 .set macro .set reorder .set noreorder .set nomacro beq $6,$0,$L17 addiu $3,$5,2 .set macro .set reorder lbu $4,2($3) lbu $2,3($3) sll $4,$4,16 sll $2,$2,24 lbu $5,2($5) lbu $3,1($3) or $2,$2,$4 or $2,$2,$5 sll $3,$3,8 or $2,$3,$2$L19: lw $3,124($sp) addu $4,$3,$2 lw $2,128($sp) addu $2,$3,$2 sw $2,60($sp) lw $3,60($sp) addiu $2,$4,14 sltu $2,$2,$3 beq $2,$0,$L369 beq $6,$0,$L22 lbu $2,1($4) lbu $3,0($4) sll $2,$2,8 or $2,$2,$3 sw $2,56($sp) move $7,$2$L24: .set noreorder .set nomacro blez $7,$L287 addiu $fp,$4,10 .set macro .set reorder lw $12,220($20) addiu $18,$4,2 .set noreorder .set nomacro beq $12,$0,$L28 sw $0,24($sp) .set macro .set reorder$L371: lbu $3,7($18) lbu $5,6($18) lbu $2,11($18) lbu $4,10($18) sll $5,$5,16 sll $4,$4,16 sll $3,$3,24 sll $2,$2,24 lbu $9,5($18) lbu $11,4($18) lbu $6,9($18) lbu $10,8($18) or $3,$3,$5 or $2,$2,$4 lbu $7,1($18) lbu $8,3($18) or $2,$2,$10 lbu $5,0($18) lbu $4,2($18) or $3,$3,$11 sll $9,$9,8 sll $6,$6,8 sll $7,$7,8 sll $8,$8,8 or $6,$6,$2 or $9,$9,$3 li $2,1 # 0x1 or $7,$7,$5 .set noreorder .set nomacro beq $9,$2,$L370 or $22,$8,$4 .set macro .set reorder$L31: lui $2,%hi(type_sizes) addiu $2,$2,%lo(type_sizes) addu $2,$22,$2 lbu $3,0($2) mul $3,$9,$3 slt $3,$3,5 .set noreorder .set nomacro beq $3,$0,$L46 lw $2,124($sp) .set macro .set reorder move $8,$fp move $5,$0$L45: .set noreorder .set nomacro beq $8,$0,$L48 lw $3,124($sp) .set macro .set reorder sltu $2,$8,$3 .set noreorder .set nomacro bne $2,$0,$L50 lw $4,60($sp) .set macro .set reorder sltu $2,$4,$8 bne $2,$0,$L50$L48: move $10,$8$L52: addiu $7,$7,-256 addiu $3,$20,8 sltu $2,$7,65 .set noreorder .set nomacro beq $2,$0,$L53 sw $3,64($sp) .set macro .set reorder lui $3,%hi($L65) sll $2,$7,2 addiu $3,$3,%lo($L65) addu $2,$2,$3 lw $4,0($2) j $4 .rdata .align 2 .align 2$L65: .word $L54 .word $L55 .word $L56 .word $L57 .word $L53 .word $L53 .word $L58 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L59 .word $L53 .word $L53 .word $L53 .word $L53 .word $L60 .word $L61 .word $L53 .word $L53 .word $L53 .word $L53 .word $L62 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L53 .word $L63 .word $L53 .word $L53 .word $L64 .section .text.decode_frame$L17: lbu $2,2($5) lbu $4,1($3) lbu $5,3($3) sll $2,$2,24 sll $4,$4,16 lbu $3,2($3) or $2,$2,$4 or $2,$2,$5 sll $3,$3,8 .set noreorder .set nomacro j $L19 or $2,$3,$2 .set macro .set reorder$L60: .set noreorder .set nomacro blez $5,$L292 lui $6,%hi($LC12) .set macro .set reorder sw $5,236($20)$L53: lw $3,24($sp)$L395: lw $4,56($sp) addiu $3,$3,1 sw $3,24($sp) .set noreorder .set nomacro beq $4,$3,$L25 addiu $fp,$fp,12 .set macro .set reorder lw $12,220($20) .set noreorder .set nomacro bne $12,$0,$L371 addiu $18,$18,12 .set macro .set reorder$L28: lbu $3,4($18) lbu $5,5($18) lbu $2,8($18) lbu $4,9($18) sll $5,$5,16 sll $4,$4,16 sll $3,$3,24 sll $2,$2,24 lbu $9,6($18) lbu $11,7($18) lbu $6,10($18) lbu $10,11($18) or $3,$3,$5 or $2,$2,$4 lbu $7,0($18) lbu $8,2($18) or $2,$2,$10 lbu $5,1($18) lbu $4,3($18) or $3,$3,$11 sll $9,$9,8 sll $6,$6,8 sll $7,$7,8 sll $8,$8,8 or $6,$6,$2 or $9,$9,$3 li $2,1 # 0x1 or $7,$7,$5 .set noreorder .set nomacro bne $9,$2,$L31 or $22,$8,$4 .set macro .set reorder$L370: li $2,3 # 0x3 .set noreorder .set nomacro beq $22,$2,$L38 li $2,4 # 0x4 .set macro .set reorder .set noreorder .set nomacro beq $22,$2,$L35 move $5,$6 .set macro .set reorder .set noreorder .set nomacro beq $22,$9,$L372 lw $2,124($sp) .set macro .set reorder li $5,-1 # 0xffffffffffffffff .set noreorder .set nomacro j $L45 addu $8,$2,$6 .set macro .set reorder$L54: .set noreorder .set nomacro j $L53 sw $5,208($20) .set macro .set reorder$L55: .set noreorder .set nomacro j $L53 sw $5,212($20) .set macro .set reorder$L56: li $2,1 # 0x1 beq $9,$2,$L373 .set noreorder .set nomacro beq $22,$2,$L70 sra $4,$6,8 .set macro .set reorder .set noreorder .set nomacro beq $22,$0,$L69 addiu $2,$22,-3 .set macro .set reorder sltu $2,$2,2 .set noreorder .set nomacro beq $2,$0,$L397 li $2,-1 # 0xffffffffffffffff .set macro .set reorder .set noreorder .set nomacro blez $9,$L72 sw $0,216($20) .set macro .set reorder li $2,3 # 0x3 .set noreorder .set nomacro beq $22,$2,$L374 move $6,$0 .set macro .set reorder li $2,4 # 0x4 .set noreorder .set nomacro beq $22,$2,$L375 li $2,1 # 0x1 .set macro .set reorder beq $22,$2,$L334$L354: lw $5,216($20) addiu $6,$6,1 addiu $2,$5,-1 .set noreorder .set nomacro bne $9,$6,$L354 sw $2,216($20) .set macro .set reorder .set noreorder .set nomacro j $L394 lw $7,216($20) .set macro .set reorder$L57: li $2,5 # 0x5 .set noreorder .set nomacro beq $5,$2,$L53 sw $5,224($20) .set macro .set reorder slt $2,$5,6 .set noreorder .set nomacro bne $2,$0,$L376 li $2,2 # 0x2 .set macro .set reorder li $2,8 # 0x8 beq $5,$2,$L109 slt $2,$5,8 .set noreorder .set nomacro bne $2,$0,$L108 lui $6,%hi($LC10) .set macro .set reorder li $2,32773 # 0x8005 .set noreorder .set nomacro beq $5,$2,$L53 li $2,32946 # 0x80b2 .set macro .set reorder .set noreorder .set nomacro beq $5,$2,$L109 lui $6,%hi($LC11) .set macro .set reorder$L398: lw $4,0($20) .set noreorder .set nomacro j $L364 addiu $6,$6,%lo($LC11) .set macro .set reorder$L58: li $3,1 # 0x1 .set noreorder .set nomacro beq $5,$3,$L231 slt $2,$5,2 .set macro .set reorder .set noreorder .set nomacro bne $2,$0,$L377 slt $2,$5,4 .set macro .set reorder .set noreorder .set nomacro bne $2,$0,$L395 lw $3,24($sp) .set macro .set reorder lui $6,%hi($LC19)$L407: lw $4,0($20) addiu $6,$6,%lo($LC19)$L364: move $7,$5 .set noreorder .set nomacro jal av_log move $5,$0 .set macro .set reorder li $3,-1 # 0xffffffffffffffff sw $3,128($sp) move $2,$3$L13: lw $31,108($sp) lw $fp,104($sp) lw $23,100($sp) lw $22,96($sp) lw $21,92($sp) lw $20,88($sp) lw $19,84($sp) lw $18,80($sp) lw $17,76($sp) lw $16,72($sp) .set noreorder .set nomacro j $31 addiu $sp,$sp,112 .set macro .set reorder$L59: li $2,1 # 0x1 .set noreorder .set nomacro beq $9,$2,$L378 lw $4,124($sp) .set macro .set reorder sw $9,232($20) addu $2,$4,$6 sw $2,244($20)$L116: lw $7,60($sp) sltu $2,$7,$2 .set noreorder .set nomacro beq $2,$0,$L53 sw $22,240($20) .set macro .set reorder lw $4,0($20) lui $6,%hi($LC3) addiu $6,$6,%lo($LC3) .set noreorder .set nomacro jal av_log move $5,$0 .set macro .set reorder li $2,-1 # 0xffffffffffffffff .set noreorder .set nomacro j $L13 sw $2,128($sp) .set macro .set reorder$L61: li $2,1 # 0x1 .set noreorder .set nomacro beq $9,$2,$L379 lw $4,124($sp) .set macro .set reorder addu $3,$4,$6 sw $3,248($20)$L120: lw $7,60($sp) sltu $2,$7,$3 .set noreorder .set nomacro bne $2,$0,$L293 sw $9,232($20) .set macro .set reorder lw $2,64($sp) lw $2,0($2) .set noreorder .set nomacro beq $2,$0,$L294 sw $2,36($sp) .set macro .set reorder lw $4,64($sp) lw $16,212($20) lw $4,16($4) .set noreorder .set nomacro blez $16,$L53 sw $4,40($sp) .set macro .set reorder lw $19,236($20) sw $0,28($sp)$L126: .set noreorder .set nomacro beq $3,$0,$L127 li $2,3 # 0x3 .set macro .set reorder lw $4,220($20) .set noreorder .set nomacro beq $22,$2,$L131 addiu $8,$20,248 .set macro .set reorder li $2,4 # 0x4 .set noreorder .set nomacro beq $22,$2,$L132 li $2,1 # 0x1 .set macro .set reorder .set noreorder .set nomacro beq $22,$2,$L130 li $7,-1 # 0xffffffffffffffff .set macro .set reorder sw $7,44($sp)$L133: lw $3,244($20) beq $3,$0,$L140$L392: lw $4,240($20) li $2,3 # 0x3 lw $5,220($20) .set noreorder .set nomacro beq $4,$2,$L144 addiu $6,$20,244 .set macro .set reorder li $2,4 # 0x4 .set noreorder .set nomacro beq $4,$2,$L145 li $2,1 # 0x1 .set macro .set reorder beq $4,$2,$L143 li $5,-1 # 0xffffffffffffffff$L146: lw $2,216($20) lw $3,208($20) srl $2,$2,3 mul $21,$2,$3 lw $2,124($sp) lw $4,224($20) addu $17,$2,$5 li $2,5 # 0x5 .set noreorder .set nomacro beq $4,$2,$L380 lw $7,44($sp) .set macro .set reorder lw $4,28($sp)$L406: subu $3,$16,$4 slt $2,$3,$19 movz $3,$19,$2 .set noreorder .set nomacro blez $3,$L156 sw $3,48($sp) .set macro .set reorder lw $7,44($sp) .set noreorder .set nomacro bltz $7,$L158 lw $23,36($sp) .set macro .set reorder sw $17,32($sp) .set noreorder .set nomacro j $L162 sw $0,52($sp) .set macro .set reorder$L382: .set noreorder .set nomacro beq $3,$2,$L166 li $2,1 # 0x1 .set macro .set reorder beq $3,$2,$L381$L163: lw $7,52($sp) lw $2,48($sp) addiu $7,$7,1 .set noreorder .set nomacro beq $2,$7,$L156 sw $7,52($sp) .set macro .set reorder lw $3,32($sp) lw $4,44($sp) subu $2,$17,$3 slt $2,$4,$2 .set noreorder .set nomacro bne $2,$0,$L158 lw $7,40($sp) .set macro .set reorder addu $23,$23,$7$L162: lw $3,224($20) li $2,5 # 0x5 .set noreorder .set nomacro bne $3,$2,$L382 li $2,32773 # 0x8005 .set macro .set reorder lw $4,260($20) move $5,$23 .set noreorder .set nomacro jal ff_lzw_decode move $6,$21 .set macro .set reorder move $7,$2 slt $2,$2,$21 .set noreorder .set nomacro beq $2,$0,$L163 lui $6,%hi($LC18) .set macro .set reorder lw $4,0($20) addiu $6,$6,%lo($LC18) move $5,$0 .set noreorder .set nomacro jal av_log sw $21,16($sp) .set macro .set reorder .set noreorder .set nomacro j $L395 lw $3,24($sp) .set macro .set reorder$L62: li $2,2 # 0x2 .set noreorder .set nomacro bne $5,$2,$L395 lw $3,24($sp) .set macro .set reorder lw $4,0($20) lui $6,%hi($LC21) addiu $6,$6,%lo($LC21) .set noreorder .set nomacro jal av_log move $5,$0 .set macro .set reorder li $2,-1 # 0xffffffffffffffff .set noreorder .set nomacro j $L13 sw $2,128($sp) .set macro .set reorder$L63: lw $3,64($sp) lw $8,0($3) .set noreorder .set nomacro beq $8,$0,$L298 lui $6,%hi($LC13) .set macro .set reorder li $2,2 # 0x2 .set noreorder .set nomacro bne $5,$2,$L395 lw $3,24($sp) .set macro .set reorder lw $2,216($20) lw $3,208($20) srl $11,$2,3 lw $16,212($20) lw $2,64($sp) mul $14,$11,$3 .set noreorder .set nomacro blez $16,$L53 lw $12,16($2) .set macro .set reorder addu $9,$8,$11 move $10,$0 slt $13,$11,$14$L224: beq $13,$0,$L226
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -