* Trent Piepho on Friday, October 15, 2010 at 11:33:01 -0700
> On Fri, Oct 15, 2010 at 10:58 AM, Christian Ebert <blacktr...@gmx.net>wrote:
>> Index: yuvdenoise/main.c
>> ===================================================================
>> RCS file: /cvsroot/mjpeg/mjpeg_play/yuvdenoise/main.c,v
>> retrieving revision 1.71
>> diff -u -r1.71 main.c
>> --- yuvdenoise/main.c   14 Oct 2010 16:57:54 -0000      1.71
>> +++ yuvdenoise/main.c   15 Oct 2010 17:58:13 -0000
>> @@ -1336,7 +1336,8 @@
>>                mjpeg_info("SETTING SSE2 for standard
>> Temporal-Noise-Filter");
>>               temporal_filter_planes = temporal_filter_planes_sse2;
>> 
>> -               __asm__ volatile("cpuid" : "=d"(d) : "a"(0x80000001) :
>> "ebx", "ecx");
>> +/*                __asm__ volatile("cpuid" : "=d"(d) : "a"(0x80000001) :
>> "ebx", "ecx");*/
>> +               __asm__ volatile("movl %%ebx, %1; cpuid; movl %1, %%ebx" :
>> "=d"(d) : "a"(0x80000001) : "ecx");
>> 
> 
> Not quite right.

Indeed not.

> It should look the exactly the same as the first one, with
> "=&g"(tmp) as an output, except the number after the "a"
> should still be 0x80000001.

I corrected that in my other version which even seems to work in
some small tests ;-) Thanks for your patience and explanations.

c
-- 
\black\trash movie         _SAME  TIME  SAME  PLACE_
 --->> http://www.blacktrash.org/underdogma/stsp.php
\black\trash audio   _ANOTHER  TIME  ANOTHER  PLACE_
--->> http://www.blacktrash.org/underdogma/atap.html

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to