[FFmpeg-devel] need help fixing sws on PPC
Måns Rullgård
mans
Wed Oct 8 20:33:19 CEST 2008
Vitor Sessak <vitor1001 at gmail.com> writes:
> 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?
It possible that one or the other, or even a mixture, is faster on
some CPU. On ARM they're all the same.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list