diff options
author | Willem Jan Palenstijn | 2017-07-11 01:31:23 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2017-07-11 01:32:05 +0200 |
commit | 4ec3c2875b5699e45a9467c297cd61b04e3e967a (patch) | |
tree | 1282c000686fe917524e5e627320d02b71cde8c6 /image/codecs/indeo/mem.cpp | |
parent | 7fc69ebdea10101d8d59eed400eff9da7c0b3b4c (diff) | |
download | scummvm-rg350-4ec3c2875b5699e45a9467c297cd61b04e3e967a.tar.gz scummvm-rg350-4ec3c2875b5699e45a9467c297cd61b04e3e967a.tar.bz2 scummvm-rg350-4ec3c2875b5699e45a9467c297cd61b04e3e967a.zip |
IMAGE: Inline two simple indeo functions
Diffstat (limited to 'image/codecs/indeo/mem.cpp')
-rw-r--r-- | image/codecs/indeo/mem.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/image/codecs/indeo/mem.cpp b/image/codecs/indeo/mem.cpp index 736b3b4de9..e85a945639 100644 --- a/image/codecs/indeo/mem.cpp +++ b/image/codecs/indeo/mem.cpp @@ -132,19 +132,5 @@ uint16 invertBits(uint16 val, int nbits) { return res; } -uint8 avClipUint8(int a) { - if (a & (~0xFF)) - return (-a) >> 31; - else - return a; -} - -unsigned avClipUintp2(int a, int p) { - if (a & ~((1 << p) - 1)) - return -a >> 31 & ((1 << p) - 1); - else - return a; -} - } // End of namespace Indeo } // End of namespace Image |