vf_yadif.s
来自「君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图」· S 代码 · 共 2,064 行 · 第 1/2 页
S
2,064 行
lw $7,28($7)lw $8,40($sp)lw $9,68($sp)sw $0,56($sp)sw $3,44($sp)move $17,$3lw $3,56($sp)sw $4,48($sp)sw $7,52($sp)xor $fp,$8,$9addiu $21,$2,32addiu $20,$2,48$L119:lw $4,52($sp)sltu $2,$0,$3lw $7,48($sp)sra $23,$4,$2sra $18,$7,$2.set noreorder.set nomacroblez $23,$L120lw $22,28($17).set macro.set reorderli $2,-32 # 0xffffffffffffffe0and $2,$18,$2andi $8,$18,0x3sw $2,80($sp)move $16,$0move $19,$0sw $8,84($sp)$L122:xor $2,$fp,$16andi $2,$2,0x1.set noreorder.set nomacrobne $2,$0,$L155lw $9,72($sp).set macro.set reorderlw $5,0($20)lw $2,0($21)mul $7,$16,$5lw $3,52($17)sltu $4,$18,32addu $6,$7,$2.set noreorder.set nomacrobne $4,$0,$L126addu $5,$19,$3.set macro.set reorderandi $2,$6,0x3.set noreorder.set nomacrobne $2,$0,$L161move $4,$6.set macro.set reorderandi $2,$5,0x3.set noreorder.set nomacrobne $2,$0,$L161lw $8,80($sp).set macro.set reorderaddiu $4,$6,-4addu $3,$4,$8sltu $2,$4,$3.set noreorder.set nomacrobeq $2,$0,$L130addiu $5,$5,-4.set macro.set reorder$L146:#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,$3bne $2,$0,$L146$L130:andi $2,$18,0x1caddu $6,$3,$2sltu $3,$4,$6.set noreorder.set nomacrobeq $3,$0,$L162lw $9,84($sp).set macro.set reorder$L147:#APP.word 0b01110000101000000000010001010100 #S32LDI XR1,$5,4.word 0b01110000100000000000010001010101 #S32SDI XR1,$4,4#NO_APPsltu $2,$4,$6.set noreorder.set nomacrobne $2,$0,$L147lw $9,84($sp).set macro.set reorder$L162:li $2,2 # 0x2.set noreorder.set nomacrobeq $9,$2,$L135li $2,3 # 0x3.set macro.set reorder.set noreorder.set nomacrobeq $9,$2,$L136li $2,1 # 0x1.set macro.set reorderbeq $9,$2,$L156$L125:addiu $16,$16,1$L160:.set noreorder.set nomacrobne $23,$16,$L122addu $19,$19,$22.set macro.set reorder$L120:lw $2,56($sp)addiu $17,$17,4addiu $2,$2,1sw $2,56($sp)lw $3,56($sp)li $2,3 # 0x3addiu $21,$21,4.set noreorder.set nomacrobne $3,$2,$L119addiu $20,$20,4.set macro.set reorderlui $4,%hi(correct_pts)lw $2,%lo(correct_pts)($4).set noreorder.set nomacrobeq $2,$0,$L163lw $4,128($sp).set macro.set reorderlw $7,128($sp)lw $8,68($sp)lw $3,100($7)lw $2,0($3)andi $2,$2,0x1slt $2,$8,$2.set noreorder.set nomacrobne $2,$0,$L157lui $5,%hi(continue_buffered_image).set macro.set reorder$L163:lw $5,60($sp)lw $6,32($sp).set noreorder.set nomacrojal vf_next_put_imagelw $7,36($sp).set macro.set reorderlw $4,64($sp)lui $9,%hi(correct_pts)lw $3,%lo(correct_pts)($9)or $4,$4,$2.set noreorder.set nomacrobne $3,$0,$L145sw $4,64($sp).set macro.set reorder$L159:lw $7,128($sp)lw $8,68($sp)lw $18,100($7)lw $2,0($18)andi $2,$2,0x1slt $2,$8,$2.set noreorder.set nomacrobne $2,$0,$L158li $5,10 # 0xa.set macro.set reorder$L142:lw $3,68($sp)lw $2,0($18)addiu $3,$3,1andi $2,$2,0x1slt $2,$2,$3.set noreorder.set nomacrobeq $2,$0,$L118sw $3,68($sp).set macro.set reorder$L117:li $2,1 # 0x1sw $2,8($18)lw $31,124($sp)lw $2,64($sp)lw $fp,120($sp)lw $23,116($sp)lw $22,112($sp)lw $21,108($sp)lw $20,104($sp)lw $19,100($sp)lw $18,96($sp)lw $17,92($sp)lw $16,88($sp).set noreorder.set nomacroj $31addiu $sp,$sp,128.set macro.set reorder$L126:move $4,$6$L161:.set noreorder.set nomacrojal memcpymove $6,$18.set macro.set reorder.set noreorder.set nomacroj $L160addiu $16,$16,1.set macro.set reorder$L155:lw $4,0($20)xor $3,$9,$fplui $9,%hi(filter_line)lw $8,%lo(filter_line)($9)mul $9,$16,$4lw $2,64($17)lw $5,0($21)lw $6,40($17)lw $7,52($17)addu $2,$19,$2lw $4,44($sp)addu $5,$9,$5sw $2,16($sp)sw $3,28($sp)sw $18,20($sp)sw $22,24($sp)addu $6,$19,$6.set noreorder.set nomacrojal $8addu $7,$19,$7.set macro.set reorder.set noreorder.set nomacroj $L160addiu $16,$16,1.set macro.set reorder$L135:lbu $2,4($5)sb $2,4($4)lbu $3,5($5).set noreorder.set nomacroj $L125sb $3,5($4).set macro.set reorder$L136:lbu $2,4($5)sb $2,4($4)lbu $3,5($5)sb $3,5($4)lbu $2,6($5).set noreorder.set nomacroj $L125sb $2,6($4).set macro.set reorder$L156:lbu $2,4($5).set noreorder.set nomacroj $L125sb $2,4($4).set macro.set reorder$L158:move $4,$7.set noreorder.set nomacrojal vf_next_controlmove $6,$0.set macro.set reorderlw $9,128($sp).set noreorder.set nomacroj $L142lw $18,100($9).set macro.set reorder$L157:move $4,$7.set noreorder.set nomacrojal vf_queue_frameaddiu $5,$5,%lo(continue_buffered_image).set macro.set reorderlw $4,128($sp)lw $5,60($sp)lw $6,32($sp).set noreorder.set nomacrojal vf_next_put_imagelw $7,36($sp).set macro.set reorderlw $4,64($sp)lui $9,%hi(correct_pts)lw $3,%lo(correct_pts)($9)or $4,$4,$2.set noreorder.set nomacrobeq $3,$0,$L159sw $4,64($sp).set macro.set reorder$L145:lw $4,128($sp)li $2,1 # 0x1lw $18,100($4)sw $2,8($18)lw $31,124($sp)lw $2,64($sp)lw $fp,120($sp)lw $23,116($sp)lw $22,112($sp)lw $21,108($sp)lw $20,104($sp)lw $19,100($sp)lw $18,96($sp)lw $17,92($sp)lw $16,88($sp).set noreorder.set nomacroj $31addiu $sp,$sp,128.set macro.set reorder$L154:.set noreorder.set nomacroj $L117sw $0,64($sp).set macro.set reorder.end continue_buffered_image.section .text.put_image,"ax",@progbits.align 2.align 5.ent put_image.type put_image, @functionput_image:.frame $sp,112,$31 # vars= 56, regs= 10/0, args= 16, gp= 0.mask 0xc0ff0000,-4.fmask 0x00000000,0addiu $sp,$sp,-112sw $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)lw $17,100($4)sw $4,44($sp)lw $2,4($17)sw $5,48($sp)sw $6,56($sp).set noreorder.set nomacrobltz $2,$L220sw $7,60($sp).set macro.set reorderandi $2,$2,0x1xori $2,$2,0x1sw $2,40($sp)$L169:lw $3,48($sp)lw $7,48($sp)lw $3,24($3)lw $7,28($7)addiu $16,$17,40move $5,$16li $6,12 # 0xcaddiu $4,$17,76sw $3,28($sp).set noreorder.set nomacrojal memcpysw $7,32($sp).set macro.set reordermove $4,$16addiu $5,$17,52.set noreorder.set nomacrojal memmoveli $6,36 # 0x24.set macro.set reorderlw $2,48($sp)sw $17,24($sp)addiu $3,$2,48sw $2,20($sp)sw $3,16($sp)sw $0,36($sp)move $7,$3$L170:lw $6,24($sp)lw $3,36($sp)lw $18,28($6)sltu $2,$0,$3lw $23,0($7)lw $6,32($sp)lw $7,24($sp)lw $3,20($sp)sra $21,$6,$2lw $16,64($7).set noreorder.set nomacrobeq $18,$23,$L171lw $17,32($3).set macro.set reorder.set noreorder.set nomacroblez $21,$L174lw $3,28($sp).set macro.set reordermove $19,$0sra $20,$3,$2li $2,-32 # 0xffffffffffffffe0and $2,$20,$2sltu $22,$20,32sw $2,64($sp).set noreorder.set nomacrobne $22,$0,$L189andi $fp,$20,0x3.set macro.set reorder$L222:andi $2,$16,0x3.set noreorder.set nomacrobne $2,$0,$L230move $4,$16.set macro.set reorderandi $2,$17,0x3.set noreorder.set nomacrobne $2,$0,$L231move $5,$17.set macro.set reorderlw $6,64($sp)addiu $5,$16,-4addu $3,$6,$5sltu $2,$5,$3.set noreorder.set nomacrobeq $2,$0,$L193addiu $4,$17,-4.set macro.set reorder$L210:#APP.word 0b01110000100000000000010001010100 #S32LDI XR1,$4,4.word 0b01110000100000000000010010010100 #S32LDI XR2,$4,4.word 0b01110000100000000000010011010100 #S32LDI XR3,$4,4.word 0b01110000100000000000010100010100 #S32LDI XR4,$4,4.word 0b01110000100000000000010101010100 #S32LDI XR5,$4,4.word 0b01110000100000000000010110010100 #S32LDI XR6,$4,4.word 0b01110000100000000000010111010100 #S32LDI XR7,$4,4.word 0b01110000100000000000011000010100 #S32LDI XR8,$4,4.word 0b01110000101000000000010001010101 #S32SDI XR1,$5,4.word 0b01110000101000000000010010010101 #S32SDI XR2,$5,4.word 0b01110000101000000000010011010101 #S32SDI XR3,$5,4.word 0b01110000101000000000010100010101 #S32SDI XR4,$5,4.word 0b01110000101000000000010101010101 #S32SDI XR5,$5,4.word 0b01110000101000000000010110010101 #S32SDI XR6,$5,4.word 0b01110000101000000000010111010101 #S32SDI XR7,$5,4.word 0b01110000101000000000011000010101 #S32SDI XR8,$5,4#NO_APPsltu $2,$5,$3bne $2,$0,$L210$L193:andi $2,$20,0x1caddu $6,$3,$2sltu $3,$5,$6.set noreorder.set nomacrobeq $3,$0,$L232li $2,2 # 0x2.set macro.set reorder$L211:#APP.word 0b01110000100000000000010001010100 #S32LDI XR1,$4,4.word 0b01110000101000000000010001010101 #S32SDI XR1,$5,4#NO_APPsltu $2,$5,$6.set noreorder.set nomacrobne $2,$0,$L211li $2,2 # 0x2.set macro.set reorder$L232:.set noreorder.set nomacrobeq $fp,$2,$L199li $7,3 # 0x3.set macro.set reorder.set noreorder.set nomacrobeq $fp,$7,$L200li $2,1 # 0x1.set macro.set reorderbeq $fp,$2,$L221$L197:addiu $19,$19,1.set noreorder.set nomacrobeq $21,$19,$L233lw $3,24($sp).set macro.set reorderaddu $17,$17,$23$L234:.set noreorder.set nomacrobeq $22,$0,$L222addu $16,$16,$18.set macro.set reorder$L189:move $4,$16$L230:move $5,$17$L231:move $6,$20.set noreorder.set nomacrojal memcpyaddiu $19,$19,1.set macro.set reorder.set noreorder.set nomacrobne $21,$19,$L234addu $17,$17,$23.set macro.set reordersubu $17,$17,$23$L174:lw $3,24($sp)$L233:lw $2,36($sp)lw $6,20($sp)lw $7,16($sp)addiu $3,$3,4addiu $2,$2,1sw $3,24($sp)addiu $6,$6,4addiu $7,$7,4li $3,3 # 0x3sw $2,36($sp)sw $6,20($sp).set noreorder.set nomacrobne $2,$3,$L170sw $7,16($sp).set macro.set reorderlw $6,44($sp)$L229:lw $7,40($sp)lw $3,100($6)lw $2,48($sp)sw $7,12($3)lw $6,56($sp)lw $7,60($sp)lw $4,88($3)sw $2,24($3)sw $0,8($3)sw $6,16($3).set noreorder.set nomacrobeq $4,$0,$L224sw $7,20($3).set macro.set reorderli $2,1 # 0x1.set noreorder.set nomacrobeq $4,$2,$L209lw $4,44($sp).set macro.set reorderlw $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 nomacroj continue_buffered_imageaddiu $sp,$sp,112.set macro.set reorder$L199:lbu $2,4($4)sb $2,4($5)lbu $3,5($4).set noreorder.set nomacroj $L197sb $3,5($5).set macro.set reorder$L171:.set noreorder.set nomacrobltz $18,$L225addiu $2,$21,-1.set macro.set reorder$L175:mul $6,$18,$21sltu $2,$6,32.set noreorder.set nomacrobne $2,$0,$L177andi $2,$16,0x3.set macro.set reorder.set noreorder.set nomacrobeq $2,$0,$L226andi $2,$17,0x3.set macro.set reorder$L177:move $4,$16$L235:.set noreorder.set nomacrojal memcpymove $5,$17.set macro.set reorderlw $3,24($sp)lw $2,36($sp)lw $6,20($sp)lw $7,16($sp)addiu $3,$3,4addiu $2,$2,1sw $3,24($sp)addiu $6,$6,4addiu $7,$7,4li $3,3 # 0x3sw $2,36($sp)sw $6,20($sp).set noreorder.set nomacrobne $2,$3,$L170sw $7,16($sp).set macro.set reorder.set noreorder.set nomacroj $L229lw $6,44($sp).set macro.set reorder$L200:lbu $2,4($4)sb $2,4($5)lbu $3,5($4)sb $3,5($5)lbu $2,6($4).set noreorder.set nomacroj $L197sb $2,6($5).set macro.set reorder$L209:li $2,2 # 0x2sw $2,88($3)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)move $2,$0.set noreorder.set nomacroj $31addiu $sp,$sp,112.set macro.set reorder$L226:.set noreorder.set nomacrobne $2,$0,$L235move $4,$16.set macro.set reorderli $2,-32 # 0xffffffffffffffe0addiu $4,$16,-4and $2,$6,$2addu $7,$4,$2sltu $3,$4,$7.set noreorder.set nomacrobeq $3,$0,$L181addiu $5,$17,-4.set macro.set reorder$L212:#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,$7bne $2,$0,$L212$L181:andi $2,$6,0x1caddu $7,$7,$2sltu $3,$4,$7beq $3,$0,$L183$L213:#APP.word 0b01110000101000000000010001010100 #S32LDI XR1,$5,4.word 0b01110000100000000000010001010101 #S32SDI XR1,$4,4#NO_APPsltu $2,$4,$7bne $2,$0,$L213$L183:andi $6,$6,0x3li $2,2 # 0x2.set noreorder.set nomacrobeq $6,$2,$L186li $2,3 # 0x3.set macro.set reorder.set noreorder.set nomacrobeq $6,$2,$L187li $2,1 # 0x1.set macro.set reorder.set noreorder.set nomacrobne $6,$2,$L233lw $3,24($sp).set macro.set reorderlbu $2,4($5).set noreorder.set nomacroj $L174sb $2,4($4).set macro.set reorder$L221:lbu $2,4($4).set noreorder.set nomacroj $L197sb $2,4($5).set macro.set reorder$L224:lw $4,44($sp)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)move $5,$2.set noreorder.set nomacroj vf_next_put_imageaddiu $sp,$sp,112.set macro.set reorder$L220:lw $3,76($5)andi $2,$3,0x1.set noreorder.set nomacrobeq $2,$0,$L228li $2,1 # 0x1.set macro.set reordersrl $2,$3,1andi $2,$2,0x1.set noreorder.set nomacroj $L169sw $2,40($sp).set macro.set reorder$L228:.set noreorder.set nomacroj $L169sw $2,40($sp).set macro.set reorder$L225:mul $2,$18,$2subu $18,$0,$18addu $16,$16,$2.set noreorder.set nomacroj $L175addu $17,$17,$2.set macro.set reorder$L186:lbu $2,4($5)sb $2,4($4)lbu $3,5($5).set noreorder.set nomacroj $L174sb $3,5($4).set macro.set reorder$L187:lbu $2,4($5)sb $2,4($4)lbu $3,5($5)sb $3,5($4)lbu $2,6($5).set noreorder.set nomacroj $L174sb $2,6($4).set macro.set reorder.end put_image.globl vf_info_yadif.section .rodata.str1.4.align 2$LC2:.ascii "Yet Another DeInterlacing Filter\000".align 2$LC3:.ascii "yadif\000".align 2$LC4:.ascii "Michael Niedermayer\000".subsection -1.align 2$LC5:.ascii "\000".data.align 2.type vf_info_yadif, @object.size vf_info_yadif, 24vf_info_yadif:.word $LC2.word $LC3.word $LC4.word $LC5.word open.word 0.local filter_line.comm filter_line,4,4.ident "GCC: (GNU) 4.1.2"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?