ad_hwac3.mid
来自「君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图」· MID 代码 · 共 1,372 行 · 第 1/2 页
MID
1,372 行
sltu $2,$6,40 .set noreorder .set nomacro bne $2,$0,$L161 addiu $4,$5,8 .set macro .set reorder$L124: andi $2,$4,0x3 li $3,4 # 0x4 subu $3,$3,$2 li $2,2 # 0x2 .set noreorder .set nomacro beq $3,$2,$L128 move $7,$4 .set macro .set reorder li $2,3 # 0x3 beq $3,$2,$L129 beq $3,$19,$L162$L126: addiu $5,$7,-4 move $2,$0#APP S32I2M xr1,$2#NO_APP andi $3,$7,0x1f .set noreorder .set nomacro beq $3,$0,$L130 li $2,-32 # 0xffffffffffffffe0 .set macro .set reorder and $2,$5,$2 addiu $7,$2,32 sltu $3,$5,$7 beq $3,$0,$L130$L145:#APP S32SDI xr1,$5,4#NO_APP sltu $2,$5,$7 bne $2,$0,$L145$L130: addu $6,$6,$4 addiu $2,$6,-31 li $3,-32 # 0xffffffffffffffe0 and $3,$2,$3 sltu $4,$5,$3 .set noreorder .set nomacro beq $4,$0,$L169 addiu $2,$6,-4 .set macro .set reorder addiu $2,$5,4$L170:#APP pref 30,0($2) S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4#NO_APP sltu $2,$5,$3 .set noreorder .set nomacro bne $2,$0,$L170 addiu $2,$5,4 .set macro .set reorder addiu $2,$6,-4$L169: li $3,-4 # 0xfffffffffffffffc and $3,$2,$3 sltu $4,$5,$3 .set noreorder .set nomacro beq $4,$0,$L171 andi $4,$6,0x3 .set macro .set reorder$L147:#APP S32SDI xr1,$5,4#NO_APP sltu $2,$5,$3 .set noreorder .set nomacro bne $2,$0,$L147 andi $4,$6,0x3 .set macro .set reorder$L171: li $2,2 # 0x2 .set noreorder .set nomacro beq $4,$2,$L139 addiu $3,$5,4 .set macro .set reorder li $2,3 # 0x3 .set noreorder .set nomacro beq $4,$2,$L140 li $2,1 # 0x1 .set macro .set reorder beq $4,$2,$L138 .set noreorder .set nomacro j $L91 li $16,6144 # 0x1800 .set macro .set reorder$L160: sb $0,7($2) lw $3,52($17) addu $3,$3,$16 lbu $4,-1($3) addiu $16,$16,1 sb $4,8($2) li $2,6136 # 0x17f8 subu $6,$2,$16 addu $5,$18,$16 sltu $2,$6,40 .set noreorder .set nomacro beq $2,$0,$L124 addiu $4,$5,8 .set macro .set reorder$L161: li $16,6144 # 0x1800 .set noreorder .set nomacro jal memset move $5,$0 .set macro .set reorder move $2,$16 lw $31,48($sp) lw $19,44($sp) lw $18,40($sp) lw $17,36($sp) lw $16,32($sp) .set noreorder .set nomacro j $31 addiu $sp,$sp,56 .set macro .set reorder$L128: addiu $7,$5,10 sb $0,8($5) .set noreorder .set nomacro j $L126 sb $0,9($5) .set macro .set reorder$L158: lw $19,52($17) addiu $5,$sp,20 move $4,$19 addiu $6,$sp,16 .set noreorder .set nomacro jal dts_decode_header addiu $7,$sp,24 .set macro .set reorder .set noreorder .set nomacro bltz $2,$L94 move $17,$2 .set macro .set reorder lw $2,16($sp) li $3,-1934 sll $16,$2,5 sh $3,0($18) li $2,19999 li $3,1024 # 0x400 .set noreorder .set nomacro beq $16,$3,$L98 sh $2,2($18) .set macro .set reorder li $2,2048 # 0x800 .set noreorder .set nomacro beq $16,$2,$L99 li $2,512 # 0x200 .set macro .set reorder .set noreorder .set nomacro beq $16,$2,$L163 lui $6,%hi($LC12) .set macro .set reorder addiu $6,$6,%lo($LC12) li $4,12 # 0xc li $5,1 # 0x1 .set noreorder .set nomacro jal mp_msg move $7,$16 .set macro .set reorder sh $0,4($18)$L100: sll $16,$16,2 addiu $2,$17,8 sll $3,$17,3 slt $2,$16,$2 .set noreorder .set nomacro bne $2,$0,$L164 sh $3,6($18) .set macro .set reorder move $4,$19$L168: addiu $5,$18,8 .set noreorder .set nomacro jal swab move $6,$17 .set macro .set reorder andi $3,$17,0x1 .set noreorder .set nomacro beq $3,$0,$L172 subu $2,$16,$17 .set macro .set reorder addu $2,$18,$17 addu $3,$19,$17 sb $0,7($2) lbu $4,-1($3) addiu $17,$17,1 sb $4,8($2) subu $2,$16,$17$L172: addiu $6,$2,-8 addu $5,$18,$17 sltu $2,$6,40 .set noreorder .set nomacro bne $2,$0,$L165 addiu $4,$5,8 .set macro .set reorder andi $2,$4,0x3 li $3,4 # 0x4 subu $3,$3,$2 li $2,2 # 0x2 .set noreorder .set nomacro beq $3,$2,$L109 move $7,$4 .set macro .set reorder li $2,3 # 0x3 .set noreorder .set nomacro beq $3,$2,$L110 li $2,1 # 0x1 .set macro .set reorder beq $3,$2,$L166$L107: addiu $5,$7,-4 move $2,$0#APP S32I2M xr1,$2#NO_APP andi $3,$7,0x1f .set noreorder .set nomacro beq $3,$0,$L111 li $2,-32 # 0xffffffffffffffe0 .set macro .set reorder and $2,$5,$2 addiu $7,$2,32 sltu $3,$5,$7 beq $3,$0,$L111$L142:#APP S32SDI xr1,$5,4#NO_APP sltu $2,$5,$7 bne $2,$0,$L142$L111: addu $6,$6,$4 addiu $2,$6,-31 li $3,-32 # 0xffffffffffffffe0 and $3,$2,$3 sltu $4,$5,$3 .set noreorder .set nomacro beq $4,$0,$L173 addiu $2,$6,-4 .set macro .set reorder addiu $2,$5,4$L174:#APP pref 30,0($2) S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4#NO_APP sltu $2,$5,$3 .set noreorder .set nomacro bne $2,$0,$L174 addiu $2,$5,4 .set macro .set reorder addiu $2,$6,-4$L173: li $3,-4 # 0xfffffffffffffffc and $3,$2,$3 sltu $4,$5,$3 .set noreorder .set nomacro beq $4,$0,$L175 andi $4,$6,0x3 .set macro .set reorder$L144:#APP S32SDI xr1,$5,4#NO_APP sltu $2,$5,$3 .set noreorder .set nomacro bne $2,$0,$L144 andi $4,$6,0x3 .set macro .set reorder$L175: li $2,2 # 0x2 .set noreorder .set nomacro beq $4,$2,$L155 addiu $3,$5,4 .set macro .set reorder li $2,3 # 0x3 .set noreorder .set nomacro beq $4,$2,$L156 li $2,1 # 0x1 .set macro .set reorder .set noreorder .set nomacro bne $4,$2,$L167 move $2,$16 .set macro .set reorder .set noreorder .set nomacro j $L167 sb $0,4($5) .set macro .set reorder$L157: jal ac3dts_fillbuff .set noreorder .set nomacro bgtz $2,$L89 move $16,$2 .set macro .set reorder .set noreorder .set nomacro j $L167 move $2,$16 .set macro .set reorder$L139: li $16,6144 # 0x1800$L155: sb $0,4($5) sb $0,1($3) move $2,$16 lw $31,48($sp) lw $19,44($sp) lw $18,40($sp) lw $17,36($sp) lw $16,32($sp) .set noreorder .set nomacro j $31 addiu $sp,$sp,56 .set macro .set reorder$L129: addiu $7,$5,11 sb $0,8($5) sb $0,9($5) .set noreorder .set nomacro j $L126 sb $0,10($5) .set macro .set reorder$L140: li $16,6144 # 0x1800$L156: sb $0,6($5) sb $0,4($5) .set noreorder .set nomacro j $L91 sb $0,5($5) .set macro .set reorder$L163: li $2,11 .set noreorder .set nomacro j $L100 sh $2,4($18) .set macro .set reorder$L162: addiu $7,$5,9 .set noreorder .set nomacro j $L126 sb $0,8($5) .set macro .set reorder$L138: li $16,6144 # 0x1800 .set noreorder .set nomacro j $L91 sb $0,4($5) .set macro .set reorder$L165: .set noreorder .set nomacro jal memset move $5,$0 .set macro .set reorder .set noreorder .set nomacro j $L167 move $2,$16 .set macro .set reorder$L164: lui $6,%hi($LC13) addiu $6,$6,%lo($LC13) li $4,12 # 0xc .set noreorder .set nomacro jal mp_msg li $5,1 # 0x1 .set macro .set reorder .set noreorder .set nomacro j $L168 move $4,$19 .set macro .set reorder$L98: li $2,12 .set noreorder .set nomacro j $L100 sh $2,4($18) .set macro .set reorder$L99: li $2,13 .set noreorder .set nomacro j $L100 sh $2,4($18) .set macro .set reorder$L109: addiu $7,$5,10 sb $0,8($5) .set noreorder .set nomacro j $L107 sb $0,9($5) .set macro .set reorder$L110: addiu $7,$5,11 sb $0,8($5) sb $0,9($5) .set noreorder .set nomacro j $L107 sb $0,10($5) .set macro .set reorder$L166: addiu $7,$5,9 .set noreorder .set nomacro j $L107 sb $0,8($5) .set macro .set reorder .end decode_audio .globl mpcodecs_ad_hwac3 .data .align 2 .type mpcodecs_ad_hwac3, @object .size mpcodecs_ad_hwac3, 24mpcodecs_ad_hwac3: .word info .word preinit .word init .word uninit .word control .word decode_audio .align 2 .type isdts, @object .size isdts, 4isdts: .word -1 .rdata .align 2 .type DTS_BITRATES, @object .size DTS_BITRATES, 120DTS_BITRATES: .word 32000 .word 56000 .word 64000 .word 96000 .word 112000 .word 128000 .word 192000 .word 224000 .word 256000 .word 320000 .word 384000 .word 448000 .word 512000 .word 576000 .word 640000 .word 768000 .word 896000 .word 1024000 .word 1152000 .word 1280000 .word 1344000 .word 1408000 .word 1411200 .word 1472000 .word 1536000 .word 1920000 .word 2048000 .word 3072000 .word 3840000 .word 4096000 .align 2 .type DTS_SAMPLEFREQS, @object .size DTS_SAMPLEFREQS, 64DTS_SAMPLEFREQS: .word 0 .word 8000 .word 16000 .word 32000 .word 64000 .word 128000 .word 11025 .word 22050 .word 44100 .word 88200 .word 176400 .word 12000 .word 24000 .word 48000 .word 96000 .word 192000 .section .rodata.str1.4 .align 2$LC14: .ascii "AC3/DTS pass-through S/PDIF\000" .align 2$LC15: .ascii "hwac3\000" .align 2$LC16: .ascii "Nick Kurshev/Peter Sch\303\274ller\000" .align 2$LC17: .ascii "???\000" .subsection -1 .align 2$LC18: .ascii "\000" .data .align 2 .type info, @object .size info, 20info: .word $LC14 .word $LC15 .word $LC16 .word $LC17 .word $LC18 .ident "GCC: (GNU) 4.1.2"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?