[FFmpeg-devel] [PATCH] swscale: fix unaligned accesses in (RGB|BGR)32_1 to YUV conversion
Michael Niedermayer
michaelni
Mon Aug 23 23:13:44 CEST 2010
On Mon, Aug 23, 2010 at 10:06:25PM +0100, Mans Rullgard wrote:
> ---
> swscale.c | 29 +++++++++++++++++------------
> swscale_template.c | 29 ++++++++++++-----------------
> 2 files changed, 29 insertions(+), 29 deletions(-)
[...]
> BGR2Y(uint16_t, rgb16ToY, 0, 0, 0, 0xF800, 0x07E0, 0x001F, RY , GY<<5, BY<<11, RGB2YUV_SHIFT+8)
> BGR2Y(uint16_t, rgb15ToY, 0, 0, 0, 0x7C00, 0x03E0, 0x001F, RY , GY<<5, BY<<10, RGB2YUV_SHIFT+7)
>
> +
> static inline void abgrToA(uint8_t *dst, const uint8_t *src, long width, uint32_t *unused)
> {
> int i;
without that, ok and thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100823/5e251c9a/attachment.pgp>
More information about the ffmpeg-devel
mailing list