[FFmpeg-devel] [PATCH] Port MPlayer 2xSaI filter to libavfilter

Ronald S. Bultje rsbultje
Sun Nov 28 15:13:28 CET 2010


Hi,

On Sun, Nov 28, 2010 at 2:54 AM, Nielkie <nielkie at gmail.com> wrote:
> On Sat, Nov 27, 2010 at 8:29 PM, Reimar D?ffinger
> <Reimar.Doeffinger at gmx.de>wrote:
>> On Sat, Nov 27, 2010 at 07:52:52PM +1000, Nielkie wrote:
>> > + ? ? ? ? ? ?/* Move color matrix forward */
>> > + ? ? ? ? ? ?for (my = 0; my < 4; my++) {
>> > + ? ? ? ? ? ? ? ?color[my][0] = color[my][1];
>> > + ? ? ? ? ? ? ? ?color[my][1] = color[my][2];
>> > + ? ? ? ? ? ? ? ?color[my][2] = color[my][3];
>> > + ? ? ? ? ? ?}
>>
>> Using a loop here seems likely to have a major negative impact on
>> performance.
>
> I'm not sure, I would think the compiler would unroll it.

Could you verify that please?

Ronald



More information about the ffmpeg-devel mailing list