summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorsdrik <sdrik@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-04-14 14:11:57 +0000
committersdrik <sdrik@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-04-14 14:11:57 +0000
commitd323bf61358b4f2309db5c33bce66a382f2859aa (patch)
treed628753bb3daf8471b2fee48c2c661e9a4980f98 /libswscale/swscale_internal.h
parenta0bd74f06d73491f7a38e8e8f2bec007d8995d7c (diff)
downloadmpv-d323bf61358b4f2309db5c33bce66a382f2859aa.tar.bz2
mpv-d323bf61358b4f2309db5c33bce66a382f2859aa.tar.xz
Do not use abgrToA for both luma and alpha channel in hyscale.
This fixes RGB32 (et al.) scaling. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29179 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 4b16381001..564d060a3d 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -250,6 +250,8 @@ typedef struct SwsContext{
void (*hyscale_internal)(uint8_t *dst, const uint8_t *src,
long width, uint32_t *pal);
+ void (*hascale_internal)(uint8_t *dst, const uint8_t *src,
+ long width, uint32_t *pal);
void (*hcscale_internal)(uint8_t *dstU, uint8_t *dstV,
const uint8_t *src1, const uint8_t *src2,
long width, uint32_t *pal);