rtpbin : Re-adding use-rtsp-buffering property removed by gstreamer update
[platform/upstream/gst-plugins-good.git] / gst / goom / surf3d.s
1         .file   "surf3d.c"
2         .version        "01.01"
3 gcc2_compiled.:
4 .text
5         .align 4
6 .globl grid3d_new
7         .type    grid3d_new,@function
8 grid3d_new:
9         pushl %ebp
10         movl %esp,%ebp
11         subl $44,%esp
12         pushl %edi
13         pushl %esi
14         pushl %ebx
15         movl 20(%ebp),%eax
16         movl 12(%ebp),%esi
17         movl %eax,-8(%ebp)
18         addl $-12,%esp
19         pushl $44
20         call malloc
21         movl %esi,%edx
22         imull -8(%ebp),%edx
23         movl %eax,%edi
24         movl %edx,-12(%ebp)
25         leal (%edx,%edx,2),%ebx
26         movl %edx,8(%edi)
27         addl $-12,%esp
28         sall $2,%ebx
29         pushl %ebx
30         call malloc
31         addl $32,%esp
32         movl %eax,(%edi)
33         addl $-12,%esp
34         pushl %ebx
35         call malloc
36         movl %eax,4(%edi)
37         movl 24(%ebp),%eax
38         movl %eax,12(%edi)
39         movl 28(%ebp),%eax
40         movl %eax,16(%edi)
41         movl 32(%ebp),%eax
42         movl %eax,20(%edi)
43         movl 8(%ebp),%eax
44         movl %eax,28(%edi)
45         movl %esi,24(%edi)
46         movl -8(%ebp),%edx
47         movl 16(%ebp),%eax
48         movl %edx,32(%edi)
49         movl %eax,36(%edi)
50         movl $0,40(%edi)
51         testl %edx,%edx
52         je .L480
53         movl %esi,%eax
54         movl %esi,-28(%ebp)
55         shrl $31,%eax
56         addl %eax,%esi
57         movl -8(%ebp),%eax
58         shrl $31,%eax
59         addl -8(%ebp),%eax
60         movl -12(%ebp),%edx
61         sarl $1,%eax
62         movl %edx,-24(%ebp)
63         negl -28(%ebp)
64         movl %esi,-16(%ebp)
65         movl %eax,-20(%ebp)
66         .p2align 4,,7
67 .L481:
68         movl -28(%ebp),%eax
69         addl %eax,-24(%ebp)
70         decl -8(%ebp)
71         movl 12(%ebp),%esi
72         testl %esi,%esi
73         je .L479
74         movl -8(%ebp),%eax
75         subl -20(%ebp),%eax
76         movl %eax,-4(%ebp)
77         fildl -4(%ebp)
78         movl %esi,-4(%ebp)
79         movl -24(%ebp),%edx
80         leal (%edx,%esi),%eax
81         movl -16(%ebp),%ebx
82         fildl 16(%ebp)
83         leal (%eax,%eax,2),%eax
84         sarl $1,%ebx
85         leal 0(,%eax,4),%ecx
86         fmulp %st,%st(1)
87         fildl 20(%ebp)
88         fdivrp %st,%st(1)
89         fildl 8(%ebp)
90         fildl -4(%ebp)
91         jmp .L484
92 .L487:
93         fxch %st(2)
94         .p2align 4,,7
95 .L484:
96         decl %esi
97         movl %esi,%eax
98         movl (%edi),%edx
99         subl %ebx,%eax
100         movl %eax,-4(%ebp)
101         fildl -4(%ebp)
102         addl $-12,%ecx
103         fmul %st(2),%st
104         fdiv %st(1),%st
105         fstps (%edx,%ecx)
106         fxch %st(2)
107         movl (%edi),%eax
108         movl $0,4(%eax,%ecx)
109         movl (%edi),%eax
110         fsts 8(%eax,%ecx)
111         testl %esi,%esi
112         jne .L487
113         fstp %st(0)
114         fstp %st(0)
115         fstp %st(0)
116 .L479:
117         cmpl $0,-8(%ebp)
118         jne .L481
119 .L480:
120         leal -56(%ebp),%esp
121         popl %ebx
122         movl %edi,%eax
123         popl %esi
124         popl %edi
125         leave
126         ret
127 .Lfe1:
128         .size    grid3d_new,.Lfe1-grid3d_new
129 .section        .rodata
130         .align 8
131 .LC48:
132         .long 0x0,0x3fe00000
133         .align 4
134 .LC49:
135         .long 0x3f19999a
136         .align 4
137 .LC50:
138         .long 0x3ee3d70a
139 .text
140         .align 4
141 .globl grid3d_update
142         .type    grid3d_update,@function
143 grid3d_update:
144         pushl %ebp
145         movl %esp,%ebp
146         subl $32,%esp
147         pushl %esi
148         pushl %ebx
149         flds 12(%ebp)
150         movl 8(%ebp),%ebx
151         movl 16(%ebp),%ecx
152         fld %st(0)
153 #APP
154         fsin
155 #NO_APP
156         fstps -4(%ebp)
157         flds -4(%ebp)
158         fxch %st(1)
159 #APP
160         fcos
161 #NO_APP
162         fstps -4(%ebp)
163         flds -4(%ebp)
164         cmpl $0,40(%ebx)
165         jne .L519
166         testl %ecx,%ecx
167         je .L520
168         xorl %esi,%esi
169         cmpl 24(%ebx),%esi
170         jge .L520
171         fldl .LC48
172         xorl %edx,%edx
173         .p2align 4,,7
174 .L524:
175         movl (%ebx),%eax
176         fld %st(0)
177         fld %st(1)
178         fxch %st(1)
179         fmuls 4(%eax,%edx)
180         fxch %st(1)
181         fmuls (%ecx,%esi,4)
182         faddp %st,%st(1)
183         incl %esi
184         fstps 4(%eax,%edx)
185         addl $12,%edx
186         cmpl 24(%ebx),%esi
187         jl .L524
188         fstp %st(0)
189 .L520:
190         movl 24(%ebx),%esi
191         cmpl 8(%ebx),%esi
192         jge .L519
193         leal (%esi,%esi,2),%eax
194         flds .LC49
195         flds .LC50
196         leal 0(,%eax,4),%ecx
197         .p2align 4,,7
198 .L529:
199         movl (%ebx),%eax
200         flds 4(%eax,%ecx)
201         fmul %st(2),%st
202         fstps 4(%eax,%ecx)
203         movl %esi,%eax
204         subl 24(%ebx),%eax
205         movl (%ebx),%edx
206         leal (%eax,%eax,2),%eax
207         flds 4(%edx,%eax,4)
208         fmul %st(1),%st
209         fadds 4(%edx,%ecx)
210         incl %esi
211         fstps 4(%edx,%ecx)
212         addl $12,%ecx
213         cmpl 8(%ebx),%esi
214         jl .L529
215         fstp %st(0)
216         fstp %st(0)
217 .L519:
218         xorl %esi,%esi
219         cmpl 8(%ebx),%esi
220         jge .L536
221         xorl %ecx,%ecx
222         .p2align 4,,7
223 .L534:
224         movl (%ebx),%eax
225         flds (%eax,%ecx)
226         flds 8(%eax,%ecx)
227         fmul %st(2),%st
228         fxch %st(1)
229         fmul %st(3),%st
230         fsubp %st,%st(1)
231         movl 4(%ebx),%edx
232         incl %esi
233         fstps (%edx,%ecx)
234         movl (%ebx),%eax
235         flds (%eax,%ecx)
236         flds 8(%eax,%ecx)
237         fxch %st(1)
238         fmul %st(2),%st
239         fxch %st(1)
240         fmul %st(3),%st
241         faddp %st,%st(1)
242         movl 4(%ebx),%edx
243         fstps 8(%edx,%ecx)
244         movl (%ebx),%eax
245         flds 4(%eax,%ecx)
246         movl 4(%ebx),%edx
247         fstps 4(%edx,%ecx)
248         movl 4(%ebx),%eax
249         flds (%eax,%ecx)
250         fadds 12(%ebx)
251         fstps (%eax,%ecx)
252         movl 4(%ebx),%eax
253         flds 4(%eax,%ecx)
254         fadds 16(%ebx)
255         fstps 4(%eax,%ecx)
256         movl 4(%ebx),%eax
257         flds 8(%eax,%ecx)
258         fadds 20(%ebx)
259         fstps 8(%eax,%ecx)
260         addl $12,%ecx
261         cmpl 8(%ebx),%esi
262         jl .L534
263 .L536:
264         fstp %st(0)
265         fstp %st(0)
266         popl %ebx
267         popl %esi
268         leave
269         ret
270 .Lfe2:
271         .size    grid3d_update,.Lfe2-grid3d_update
272 .section        .rodata
273         .align 4
274 .LC51:
275         .long 0x40000000
276         .align 8
277 .LC52:
278         .long 0x0,0x42380000
279 .text
280         .align 4
281 .globl surf3d_draw
282         .type    surf3d_draw,@function
283 surf3d_draw:
284         pushl %ebp
285         movl %esp,%ebp
286         subl $60,%esp
287         pushl %edi
288         pushl %esi
289         pushl %ebx
290         movl $0,-20(%ebp)
291         movl -20(%ebp),%edx
292         movl 8(%ebp),%eax
293         cmpl 8(%eax),%edx
294         jge .L493
295         fldl .LC52
296         flds .LC51
297         xorl %edi,%edi
298         .p2align 4,,7
299 .L495:
300         movl 8(%ebp),%eax
301         movl 4(%eax),%eax
302         movl %eax,-36(%ebp)
303         fcoms 8(%eax,%edi)
304         fnstsw %ax
305         andb $69,%ah
306         cmpb $1,%ah
307         jne .L496
308         fildl 16(%ebp)
309         movl -36(%ebp),%edx
310         fld %st(0)
311         fmuls (%edx,%edi)
312         fdivs 8(%edx,%edi)
313         fld %st(3)
314         faddp %st,%st(1)
315         fstpl -32(%ebp)
316         movl -32(%ebp),%eax
317         movl -28(%ebp),%edx
318         movl %eax,-40(%ebp)
319         sarl $16,-40(%ebp)
320         movl -36(%ebp),%edx
321         fmuls 4(%edx,%edi)
322         fdivs 8(%edx,%edi)
323         movl -40(%ebp),%ecx
324         fld %st(2)
325         faddp %st,%st(1)
326         fstpl -32(%ebp)
327         movl -32(%ebp),%eax
328         movl -28(%ebp),%edx
329         movl %eax,-44(%ebp)
330         movl 28(%ebp),%eax
331         sarl $1,%eax
332         addl %eax,%ecx
333         movl 32(%ebp),%eax
334         sarl $16,-44(%ebp)
335         sarl $1,%eax
336         movl %ecx,%ebx
337         subl -44(%ebp),%eax
338         movl %eax,%esi
339         cmpl 28(%ebp),%ebx
340         jge .L496
341         testl %ecx,%ecx
342         jl .L496
343         cmpl 32(%ebp),%esi
344         jge .L496
345         testl %eax,%eax
346         jge .L499
347 .L496:
348         xorl %esi,%esi
349         xorl %ebx,%ebx
350 .L499:
351         movl 20(%ebp),%eax
352         movl %ebx,%edx
353         leal (%eax,%edx,4),%edx
354         movl 28(%ebp),%eax
355         imull %esi,%eax
356         leal (%edx,%eax,4),%eax
357         testl %ebx,%ebx
358         je .L494
359         testl %esi,%esi
360         je .L494
361 #APP
362         movd (%eax), %mm0
363         paddusb 12(%ebp), %mm0
364         movd %mm0, (%eax)
365 #NO_APP
366 .L494:
367         incl -20(%ebp)
368         addl $12,%edi
369         movl -20(%ebp),%eax
370         movl 8(%ebp),%edx
371         cmpl 8(%edx),%eax
372         jl .L495
373         fstp %st(0)
374         fstp %st(0)
375 .L493:
376         popl %ebx
377         popl %esi
378         popl %edi
379         leave
380         ret
381 .Lfe3:
382         .size    surf3d_draw,.Lfe3-surf3d_draw
383         .align 4
384 .globl surf3d_rotate
385         .type    surf3d_rotate,@function
386 surf3d_rotate:
387         pushl %ebp
388         movl %esp,%ebp
389         subl $32,%esp
390         pushl %esi
391         pushl %ebx
392         flds 12(%ebp)
393         movl 8(%ebp),%ebx
394         fld %st(0)
395 #APP
396         fsin
397 #NO_APP
398         fstps -4(%ebp)
399         flds -4(%ebp)
400         fxch %st(1)
401 #APP
402         fcos
403 #NO_APP
404         fstps -4(%ebp)
405         xorl %esi,%esi
406         flds -4(%ebp)
407         cmpl 8(%ebx),%esi
408         jge .L537
409         xorl %ecx,%ecx
410         .p2align 4,,7
411 .L508:
412         movl (%ebx),%eax
413         flds (%eax,%ecx)
414         flds 8(%eax,%ecx)
415         fmul %st(2),%st
416         fxch %st(1)
417         fmul %st(3),%st
418         fsubp %st,%st(1)
419         movl 4(%ebx),%edx
420         incl %esi
421         fstps (%edx,%ecx)
422         movl (%ebx),%eax
423         flds (%eax,%ecx)
424         flds 8(%eax,%ecx)
425         fxch %st(1)
426         fmul %st(2),%st
427         fxch %st(1)
428         fmul %st(3),%st
429         faddp %st,%st(1)
430         movl 4(%ebx),%edx
431         fstps 8(%edx,%ecx)
432         movl (%ebx),%eax
433         flds 4(%eax,%ecx)
434         movl 4(%ebx),%edx
435         fstps 4(%edx,%ecx)
436         addl $12,%ecx
437         cmpl 8(%ebx),%esi
438         jl .L508
439 .L537:
440         fstp %st(0)
441         fstp %st(0)
442         popl %ebx
443         popl %esi
444         leave
445         ret
446 .Lfe4:
447         .size    surf3d_rotate,.Lfe4-surf3d_rotate
448         .align 4
449 .globl surf3d_translate
450         .type    surf3d_translate,@function
451 surf3d_translate:
452         pushl %ebp
453         movl %esp,%ebp
454         pushl %ebx
455         movl 8(%ebp),%ecx
456         xorl %ebx,%ebx
457         cmpl 8(%ecx),%ebx
458         jge .L512
459         xorl %edx,%edx
460         .p2align 4,,7
461 .L514:
462         movl 4(%ecx),%eax
463         flds (%eax,%edx)
464         fadds 12(%ecx)
465         incl %ebx
466         fstps (%eax,%edx)
467         movl 4(%ecx),%eax
468         flds 4(%eax,%edx)
469         fadds 16(%ecx)
470         fstps 4(%eax,%edx)
471         movl 4(%ecx),%eax
472         flds 8(%eax,%edx)
473         fadds 20(%ecx)
474         fstps 8(%eax,%edx)
475         addl $12,%edx
476         cmpl 8(%ecx),%ebx
477         jl .L514
478 .L512:
479         popl %ebx
480         leave
481         ret
482 .Lfe5:
483         .size    surf3d_translate,.Lfe5-surf3d_translate
484         .ident  "GCC: (GNU) 2.95.3 19991030 (prerelease)"