OSDN Git Service

Implement shuffle_bytes_abcd() functions and use them for shuffling
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 3 Feb 2010 23:46:00 +0000 (23:46 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 3 Feb 2010 23:46:00 +0000 (23:46 +0000)
commit82e5f86bd503db42999df3c0a90efeef8e3dda20
treed51e529dbe637d9feb7f375081c9c719904b802d
parentf5968788bb3692f2fd503bb2ec1526b0369c7f92
Implement shuffle_bytes_abcd() functions and use them for shuffling
bytes when converting between RGB32 variants.

In particular fix the argb -> rgba and abgr -> bgra conversions.

See the thread:
Subject: [FFmpeg-devel] [RFC] RGB32 / BGR32 ethernal bug
Date: Tue, 26 Jan 2010 01:06:18 +0100

Originally committed as revision 30501 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/rgb2rgb.c
libswscale/rgb2rgb.h
libswscale/swscale.c