[FFmpeg-devel] need help fixing sws on PPC

Vitor Sessak vitor1001
Wed Oct 8 20:14:43 CEST 2008


M?ns Rullg?rd escreveu:
> Vitor Sessak <vitor1001 at gmail.com> writes:
>
>   
>> Michael Niedermayer escreveu:
>>     
>>> On Tue, Oct 07, 2008 at 10:36:51PM +0200, Vitor Sessak wrote:
>>>
>>>       
>>>> +            c->pal_yuv[i]= y + (u<<8) + (v<<16);
>>>> +            c->pal_rgb[i]= b | (g<<8) | (r<<16);
>>>>
>>>>         
>>> is there any reason why one uses + and one | ?
>>>       
>> none. Changed to both "+"
>>     
>
> If you use |, you can drop the ().
>   

Is one faster than the other?

-Vitor




More information about the ffmpeg-devel mailing list