[FFmpeg-devel] [PATCH] bgr32 libswscale special convertor
Mon Aug 10 22:10:04 CEST 2009
I updated the patch with the following changes:
* tab changed to spaces
* made RGB_PLANAR2PACKED32 macro args a lot more readable
* documented the macro args and added examples
Things not changed:
* missing const specifiers:
which one do you miss?
please compare with the declaration of the yuv420 -> RGB32 code, which
is already present:
static inline int RENAME(yuv420_rgb32)(SwsContext *c, uint8_t* src,
int srcStride, int srcSliceY, int srcSliceH, uint8_t* dst,
I tried adding several consts, but got compile errors, since srcStride
e.g. is modified by the code.
* using only two macro args instead of four:
Using four args is a lot more readable and extendable, if someone wants
to add ABGR or similar accelerations.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7329 bytes
More information about the ffmpeg-devel