vf_scale: support more pixel formats

The RGBA, ARGB, BGRA, ABGR were previously not always supported,
depending on system endianness.
This commit is contained in:
Rudolf Polzer 2012-12-28 08:12:25 +01:00
parent 844bba6645
commit e830b00458
1 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,10 @@ static const unsigned int outfmt_list[]={
// RGB and grayscale (Y8 and Y800):
IMGFMT_BGR32,
IMGFMT_RGB32,
IMGFMT_ABGR,
IMGFMT_ARGB,
IMGFMT_BGRA,
IMGFMT_RGBA,
IMGFMT_BGR24,
IMGFMT_RGB24,
IMGFMT_GBRP,