[FFmpeg-devel] [PATCH] Interleaved memset/memcpy.

Jimmy Christensen jimmy
Thu Aug 27 07:56:13 CEST 2009

On 2009-08-27 05:27, Michael Niedermayer wrote:
> On Wed, Aug 26, 2009 at 07:55:44PM -0600, Nathan Caldwell wrote:
>>>> As for why libavutil,
>>>> this seemed the most logical place. That's where the other memory
>>>> functions are. It really doesn't matter to me. If you have a better
>>>> suggestion I would move it.
>>> swscale possibly does already what you want and probably better
>>> but i dont know what you want to use this for so maybe sws is not
>>> the correct thing ...
>> I don't doubt it can, in fact I'm fairly sure it can. For me I need
>> something that can be used inside avcodec. swscale does have
>> interleaveBytes(), but when I asked if I could use this in avcodec,
>> you said:
>>> if you find a way that is clean+simple+portable+doesnt depend on swscale :)
> btw, this can be done by adding a planar rgb format ... not that iam
> suggesting that, it probably is overkill for a single codec

Actually I wouldn't mind having it for the OpenEXR decoder I'm doing 
right now, since OpenEXR is actually stored as planar RGB.

Best Regards
Jimmy Christensen
Ghost A/S

More information about the ffmpeg-devel mailing list