; Listing generated by Microsoft (R) Optimizing Compiler Version 14.00.50727 TTL g:\MyPrograme\VS2005\GPSVersion2\tcpmp\ffmpeg\libavutil\mathematics.c CODE32 AREA |.drectve|, DRECTVE DCB "-defaultlib:LIBCMT " DCB "-defaultlib:OLDNAMES " EXPORT |ff_sqrt_tab| [ DATA ] EXPORT |ff_log2_tab| [ DATA ] AREA |.rdata|, DATA, READONLY |ff_sqrt_tab| DCB 0x0 DCB 0x1 DCB 0x1 DCB 0x1 DCB 0x2 DCB 0x2 DCB 0x2 DCB 0x2 DCB 0x2 DCB 0x3 DCB 0x3 DCB 0x3 DCB 0x3 DCB 0x3 DCB 0x3 DCB 0x3 DCB 0x4 DCB 0x4 DCB 0x4 DCB 0x4 DCB 0x4 DCB 0x4 DCB 0x4 DCB 0x4 DCB 0x4 DCB 0x5 DCB 0x5 DCB 0x5 DCB 0x5 DCB 0x5 DCB 0x5 DCB 0x5 DCB 0x5 DCB 0x5 DCB 0x5 DCB 0x5 DCB 0x6 DCB 0x6 DCB 0x6 DCB 0x6 DCB 0x6 DCB 0x6 DCB 0x6 DCB 0x6 DCB 0x6 DCB 0x6 DCB 0x6 DCB 0x6 DCB 0x6 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x8 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x9 DCB 0x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DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 DCB 0x7 EXPORT |ff_gcd| IMPORT |__imp___rt_srem64by64| AREA |.pdata|, PDATA |$T1346| DCD |$LN7@ff_gcd| DCD 0x40002a04 ; Function compile flags: /Odsp AREA |.text|, CODE, ARM |ff_gcd| PROC ; File g:\myprograme\vs2005\gpsversion2\tcpmp\ffmpeg\libavutil\mathematics.c ; Line 46 |$LN7@ff_gcd| mov r12, sp stmdb sp!, {r0 - r3} stmdb sp!, {r4, r12, lr} sub sp, sp, #0x18 |$M1343| ; Line 47 ldr r3, [sp, #0x2C] str r3, [sp, #8] ldr r3, [sp, #0x30] str r3, [sp, #0xC] ldr r2, [sp, #0xC] ldr r3, [sp, #8] orrs r3, r3, r2 beq |$LN2@ff_gcd| ldr r0, [sp, #0x24] ldr r1, [sp, #0x28] ldr r2, [sp, #0x2C] ldr r3, [sp, #0x30] ldr lr, [pc, #0x5C] ldr r4, [lr] mov lr, pc mov pc, r4 mov r2, r0 mov r3, r1 ldr r0, [sp, #0x2C] ldr r1, [sp, #0x30] bl ff_gcd str r1, [sp, #0x14] str r0, [sp, #0x10] ldr r2, [sp, #0x10] ldr r3, [sp, #0x14] str r2, [sp] ; Line 49 str r3, [sp, #4] ; Line 47 b |$LN3@ff_gcd| b |$LN1@ff_gcd| |$LN2@ff_gcd| ; Line 48 ldr r2, [sp, #0x24] ldr r3, [sp, #0x28] str r2, [sp] str r3, [sp, #4] |$LN1@ff_gcd| |$LN3@ff_gcd| ; Line 49 ldr r0, [sp] ldr r1, [sp, #4] add sp, sp, #0x18 ldmia sp, {r4, sp, pc} |$LN8@ff_gcd| DCD |__imp___rt_srem64by64| |$M1344| ENDP ; |ff_gcd| EXPORT |av_rescale_rnd| IMPORT |av_i2int| IMPORT |av_div_i| IMPORT |av_add_i| IMPORT |av_mul_i| IMPORT |av_int2i| IMPORT |memcpy| IMPORT |__imp___rt_sdiv64by64| AREA |.pdata|, PDATA |$T1375| DCD |$LN17@av_rescale| DCD 0x40013304 ; Function compile flags: /Odsp AREA |.text|, CODE, ARM |av_rescale_rnd| PROC ; Line 51 |$LN17@av_rescale| mov r12, sp stmdb sp!, {r0 - r3} stmdb sp!, {r4 - r6, r12, lr} sub sp, sp, #0x51, 30 |$M1372| ; Line 53 mov r3, #0 str r3, [sp, #0x14] mov r3, #0 str r3, [sp, #0x18] ; Line 58 ldr r3, [sp, #0x158] str r3, [sp, #0xB0] ldr r3, [sp, #0x15C] str r3, [sp, #0xB4] ldr r3, [sp, #0xB0] str r3, [sp, #0xB8] ldr r3, [sp, #0xB4] cmp r3, #0 bgt |$LN7@av_rescale| blt |$LN10@av_rescale| ldr r3, [sp, #0xB8] cmp r3, #0 bcs |$LN7@av_rescale| |$LN10@av_rescale| ldr r3, [sp, #0x158] str r3, [sp, #0xBC] ldr r3, [sp, #0x15C] str r3, [sp, #0xC0] ldr r3, [sp, #0xC0] str r3, [sp, #0xC4] ldr r3, [sp, #0xBC] cmp r3, #0 bne |$LN11@av_rescale| ldr r3, [sp, #0xC4] cmp r3, #2, 2 beq |$LN7@av_rescale| |$LN11@av_rescale| ldr r3, [sp, #0x170] mov r3, r3, asr #1 and r2, r3, #1 ldr r3, [sp, #0x170] eor r3, r3, r2 str r3, [sp, #8] ldr r3, [sp, #0x168] str r3, [sp] ldr r3, [sp, #0x16C] str r3, [sp, #4] ldr r2, [sp, #0x160] ldr r3, [sp, #0x164] ldr r0, [sp, #0x158] ldr r1, [sp, #0x15C] rsbs r0, r0, #0 rsc r1, r1, #0 bl av_rescale_rnd str r1, [sp, #0xCC] str r0, [sp, #0xC8] ldr r2, [sp, #0xC8] ldr r3, [sp, #0xCC] rsbs r2, r2, #0 rsc r3, r3, #0 str r2, [sp, #0xA8] ; Line 74 str r3, [sp, #0xAC] ; Line 58 b |$LN8@av_rescale| |$LN7@av_rescale| ; Line 60 ldr r3, [sp, #0x170] cmp r3, #5 bne |$LN6@av_rescale| ldr r0, [sp, #0x168] ldr r1, [sp, #0x16C] mov r2, #2 mov r3, #0 ldr lr, [pc, #0x3B4] ldr r4, [lr] mov lr, pc mov pc, r4 str r0, [sp, #0x14] str r1, [sp, #0x18] b |$LN5@av_rescale| |$LN6@av_rescale| ; Line 61 ldr r3, [sp, #0x170] tst r3, #1 beq |$LN4@av_rescale| ldr r2, [sp, #0x168] ldr r3, [sp, #0x16C] subs r2, r2, #1 sbc r3, r3, #0 str r2, [sp, #0x14] str r3, [sp, #0x18] |$LN4@av_rescale| |$LN5@av_rescale| ; Line 63 ldr r3, [sp, #0x160] str r3, [sp, #0xD0] ldr r3, [sp, #0x164] str r3, [sp, #0xD4] ldr r3, [sp, #0xD0] str r3, [sp, #0xD8] ldr r3, [sp, #0xD4] cmp r3, #0 bgt |$LN3@av_rescale| blt |$LN12@av_rescale| ldr r3, [sp, #0xD8] cmn r3, #6, 2 bhi |$LN3@av_rescale| |$LN12@av_rescale| ldr r3, [sp, #0x168] str r3, [sp, #0xDC] ldr r3, [sp, #0x16C] str r3, [sp, #0xE0] ldr r3, [sp, #0xDC] str r3, [sp, #0xE4] ldr r3, [sp, #0xE0] cmp r3, #0 bgt |$LN3@av_rescale| blt |$LN13@av_rescale| ldr r3, [sp, #0xE4] cmn r3, #6, 2 bhi |$LN3@av_rescale| |$LN13@av_rescale| ; Line 64 ldr r3, [sp, #0x158] str r3, [sp, #0xE8] ldr r3, [sp, #0x15C] str r3, [sp, #0xEC] ldr r3, [sp, #0xE8] str r3, [sp, #0xF0] ldr r3, [sp, #0xEC] cmp r3, #0 bgt |$LN2@av_rescale| blt |$LN14@av_rescale| ldr r3, [sp, #0xF0] cmn r3, #6, 2 bhi |$LN2@av_rescale| |$LN14@av_rescale| ; Line 65 ldr r3, [sp, #0x158] ldr r1, [sp, #0x15C] str r3, [sp, #0xF4] ldr r3, [sp, #0x160] ldr r2, [sp, #0x164] str r3, [sp, #0xF8] ldr r3, [sp, #0xF4] mul r2, r3, r2 ldr r3, [sp, #0xF8] mul r3, r1, r3 add r1, r2, r3 ldr r2, [sp, #0xF4] ldr r3, [sp, #0xF8] umull r0, r3, r2, r3 add r1, r1, r3 ldr r2, [sp, #0x14] ldr r3, [sp, #0x18] adds r0, r0, r2 adc r1, r1, r3 ldr r2, [sp, #0x168] ldr r3, [sp, #0x16C] ldr lr, [pc, #0x284] ldr r4, [lr] mov lr, pc mov pc, r4 str r0, [sp, #0xA8] str r1, [sp, #0xAC] b |$LN8@av_rescale| ; Line 66 b |$LN1@av_rescale| |$LN2@av_rescale| ; Line 67 ldr r0, [sp, #0x158] ldr r1, [sp, #0x15C] ldr r2, [sp, #0x168] ldr r3, [sp, #0x16C] ldr lr, [pc, #0x254] ldr r4, [lr] mov lr, pc mov pc, r4 str r0, [sp, #0xFC] ldr r3, [sp, #0x160] ldr r2, [sp, #0x164] str r3, [sp, #0x100] ldr r3, [sp, #0xFC] mul r2, r3, r2 ldr r3, [sp, #0x100] mul r3, r1, r3 add r1, r2, r3 ldr r2, [sp, #0xFC] ldr r3, [sp, #0x100] umull r6, r3, r2, r3 add r5, r1, r3 ldr r0, [sp, #0x158] ldr r1, [sp, #0x15C] ldr r2, [sp, #0x168] ldr r3, [sp, #0x16C] ldr lr, [pc, #0x204] ldr r4, [lr] mov lr, pc mov pc, r4 str r0, [sp, #0x104] ldr r3, [sp, #0x160] ldr r2, [sp, #0x164] str r3, [sp, #0x108] ldr r3, [sp, #0x104] mul r2, r3, r2 ldr r3, [sp, #0x108] mul r3, r1, r3 add r1, r2, r3 ldr r2, [sp, #0x104] ldr r3, [sp, #0x108] umull r0, r3, r2, r3 add r1, r1, r3 ldr r2, [sp, #0x14] ldr r3, [sp, #0x18] adds r0, r0, r2 adc r1, r1, r3 ldr r2, [sp, #0x168] ldr r3, [sp, #0x16C] ldr lr, [pc, #0x1A4] ldr r4, [lr] mov lr, pc mov pc, r4 adds r2, r6, r0 adc r3, r5, r1 str r2, [sp, #0xA8] str r3, [sp, #0xAC] b |$LN8@av_rescale| |$LN1@av_rescale| |$LN3@av_rescale| ; Line 70 ldr r1, [sp, #0x160] ldr r2, [sp, #0x164] add r0, sp, #0x2C bl av_int2i str r0, [sp, #0x10C] ldr r1, [sp, #0x158] ldr r2, [sp, #0x15C] add r0, sp, #0x3C bl av_int2i str r0, [sp, #0x110] ldr r3, [sp, #0x10C] str r3, [sp, #0x114] add r0, sp, #4 ldr r1, [sp, #0x114] mov r2, #0x10 bl memcpy ldr r3, [sp, #0x110] str r3, [sp, #0x118] add r0, sp, #0 ldr r3, [sp, #0x118] add r1, r3, #0xC mov r2, #4 bl memcpy ldr r3, [sp, #0x118] ldr r1, [r3] ldr r2, [r3, #4] ldr r3, [r3, #8] add r0, sp, #0x4C bl av_mul_i str r0, [sp, #0x11C] ldr r1, [sp, #0x11C] add r0, sp, #0x1C mov r2, #0x10 bl memcpy ; Line 71 ldr r1, [sp, #0x14] ldr r2, [sp, #0x18] add r0, sp, #0x5C bl av_int2i str r0, [sp, #0x120] ldr r3, [sp, #0x120] str r3, [sp, #0x124] add r0, sp, #4 ldr r1, [sp, #0x124] mov r2, #0x10 bl memcpy add r0, sp, #0 add r1, sp, #0x28 mov r2, #4 bl memcpy ldr r1, [sp, #0x1C] ldr r2, [sp, #0x20] ldr r3, [sp, #0x24] add r0, sp, #0x6C bl av_add_i str r0, [sp, #0x128] ldr r1, [sp, #0x128] add r0, sp, #0x1C mov r2, #0x10 bl memcpy ; Line 73 ldr r1, [sp, #0x168] ldr r2, [sp, #0x16C] add r0, sp, #0x7C bl av_int2i str r0, [sp, #0x12C] ldr r3, [sp, #0x12C] str r3, [sp, #0x130] add r0, sp, #4 ldr r1, [sp, #0x130] mov r2, #0x10 bl memcpy add r0, sp, #0 add r1, sp, #0x28 mov r2, #4 bl memcpy ldr r1, [sp, #0x1C] ldr r2, [sp, #0x20] ldr r3, [sp, #0x24] add r0, sp, #0x8C bl av_div_i str r0, [sp, #0x134] ldr r3, [sp, #0x134] str r3, [sp, #0x138] ldr r3, [sp, #0x138] ldr r0, [r3] ldr r1, [r3, #4] ldr r2, [r3, #8] ldr r3, [r3, #0xC] bl av_i2int str r1, [sp, #0x140] str r0, [sp, #0x13C] ldr r2, [sp, #0x13C] ldr r3, [sp, #0x140] str r2, [sp, #0xA8] str r3, [sp, #0xAC] |$LN8@av_rescale| ; Line 74 ldr r0, [sp, #0xA8] ldr r1, [sp, #0xAC] add sp, sp, #0x51, 30 ldmia sp, {r4 - r6, sp, pc} |$LN18@av_rescale| DCD |__imp___rt_sdiv64by64| DCD |__imp___rt_srem64by64| |$M1373| ENDP ; |av_rescale_rnd| EXPORT |av_rescale| AREA |.pdata|, PDATA |$T1385| DCD |$LN5@av_rescale@2| DCD 0x40001904 ; Function compile flags: /Odsp AREA |.text|, CODE, ARM |av_rescale| PROC ; Line 76 |$LN5@av_rescale@2| mov r12, sp stmdb sp!, {r0 - r3} stmdb sp!, {r12, lr} sub sp, sp, #0x28 |$M1382| ; Line 77 mov r3, #5 str r3, [sp, #8] ldr r3, [sp, #0x40] str r3, [sp] ldr r3, [sp, #0x44] str r3, [sp, #4] ldr r2, [sp, #0x38] ldr r3, [sp, #0x3C] ldr r0, [sp, #0x30] ldr r1, [sp, #0x34] bl av_rescale_rnd str r1, [sp, #0x24] str r0, [sp, #0x20] ldr r2, [sp, #0x20] ldr r3, [sp, #0x24] str r2, [sp, #0x18] ; Line 78 str r3, [sp, #0x1C] ldr r0, [sp, #0x18] ldr r1, [sp, #0x1C] add sp, sp, #0x28 ldmia sp, {sp, pc} |$M1383| ENDP ; |av_rescale| EXPORT |av_rescale_q| AREA |.pdata|, PDATA |$T1394| DCD |$LN5@av_rescale@3| DCD 0x40003f04 ; Function compile flags: /Odsp AREA |.text|, CODE, ARM |av_rescale_q| PROC ; Line 80 |$LN5@av_rescale@3| mov r12, sp stmdb sp!, {r0 - r3} stmdb sp!, {r12, lr} sub sp, sp, #0x48 |$M1391| ; Line 81 ldr lr, [sp, #0x58] ldr r3, [sp, #0x58] mov r0, r3, asr #31 ldr r1, [sp, #0x64] ldr r3, [sp, #0x64] mov r2, r3, asr #31 str lr, [sp, #0x30] str r1, [sp, #0x34] ldr r3, [sp, #0x30] mul r2, r3, r2 ldr r3, [sp, #0x34] mul r3, r0, r3 add r0, r2, r3 ldr r1, [sp, #0x30] ldr r3, [sp, #0x34] umull r2, r3, r1, r3 add r3, r0, r3 str r2, [sp, #0xC] str r3, [sp, #0x10] ; Line 82 ldr lr, [sp, #0x60] ldr r3, [sp, #0x60] mov r0, r3, asr #31 ldr r1, [sp, #0x5C] ldr r3, [sp, #0x5C] mov r2, r3, asr #31 str lr, [sp, #0x38] str r1, [sp, #0x3C] ldr r3, [sp, #0x38] mul r2, r3, r2 ldr r3, [sp, #0x3C] mul r3, r0, r3 add r0, r2, r3 ldr r1, [sp, #0x38] ldr r3, [sp, #0x3C] umull r2, r3, r1, r3 add r3, r0, r3 str r2, [sp, #0x14] str r3, [sp, #0x18] ; Line 83 mov r3, #5 str r3, [sp, #8] ldr r3, [sp, #0x14] str r3, [sp] ldr r3, [sp, #0x18] str r3, [sp, #4] ldr r2, [sp, #0xC] ldr r3, [sp, #0x10] ldr r0, [sp, #0x50] ldr r1, [sp, #0x54] bl av_rescale_rnd str r1, [sp, #0x44] str r0, [sp, #0x40] ldr r2, [sp, #0x40] ldr r3, [sp, #0x44] str r2, [sp, #0x28] ; Line 84 str r3, [sp, #0x2C] ldr r0, [sp, #0x28] ldr r1, [sp, #0x2C] add sp, sp, #0x48 ldmia sp, {sp, pc} |$M1392| ENDP ; |av_rescale_q| END