[FFmpeg-devel] [PATCH] Consistently rename swscale.c wrapper functions

Ramiro Polla ramiro.polla
Wed Jan 20 20:14:32 CET 2010


On Wed, Jan 20, 2010 at 5:07 PM, Stefano Sabatini
<stefano.sabatini-lala at poste.it> wrote:
> On date Wednesday 2010-01-20 01:04:49 +0100, Stefano Sabatini encoded:
>> Hi, as in subject, should be less confusing.
> [...]
>
> Ping? If I got no reply I'll apply after a week.
>
> BTW about wrappers, I'm thinking about to create some structure for
> them of the kind:
>
> SWScaleWrapper
> ? ?config(enum PixelFormat srcFormat, enum PixelFormat dstFormat)
> ? ?scale(const uint8_t* src[], int srcStride[], int srcSliceY,
> ? ? ? ? ?int srcSliceH, uint8_t* dstParam[], int dstStride[])
>
> which should simplify sws_getContext() and speed-up scaling.

Function pointers in SwsContext should be used instead of these
wrapper functions.



More information about the ffmpeg-devel mailing list