diff options
author | hans@localhost.localdomain <hans@localhost.localdomain> | 2008-08-26 16:37:38 +0200 |
---|---|---|
committer | hans@localhost.localdomain <hans@localhost.localdomain> | 2008-08-26 16:37:38 +0200 |
commit | d8b389356c9965565035d1e7a3c400b5aa46c7aa (patch) | |
tree | e743d725282e6935a3b7e8712fa42dabf46e43e4 /v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c | |
parent | 3c90fa3fdd5124cd269e5ac1798f10c3c3cf34d1 (diff) | |
download | mediapointer-dvb-s2-d8b389356c9965565035d1e7a3c400b5aa46c7aa.tar.gz mediapointer-dvb-s2-d8b389356c9965565035d1e7a3c400b5aa46c7aa.tar.bz2 |
libv4l: x86_64 asm fixes and hide non public symbols
From: Gregor Jasny <gjasny@web.de>
* Hide non public symbols (Gregor Jasny)
* Fix and enable x86_64 asm jpeg decompress helper functions (Gregor Jasny)
Priority: normal
Signed-off-by: Gregor Jasny <gjasny@web.de>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Diffstat (limited to 'v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c')
-rw-r--r-- | v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c b/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c index ba70309c9..532abc7ea 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c +++ b/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c @@ -80,7 +80,7 @@ #define DEQUANTIZE(coef,quantval) (((FAST_FLOAT) (coef)) * (quantval)) -#if defined(__GNUC__) && (defined(__i686__)) // || defined(__x86_64__)) +#if defined(__GNUC__) && (defined(__i686__) || defined(__x86_64__)) static inline unsigned char descale_and_clamp(int x, int shift) { @@ -92,7 +92,7 @@ static inline unsigned char descale_and_clamp(int x, int shift) "\tcmpl %4,%1\n" "\tcmovg %4,%1\n" : "=r"(x) - : "0"(x), "Ic"((unsigned char)shift), "ir"(1UL<<(shift-1)), "r" (0xff), "r" (0) + : "0"(x), "Ic"((unsigned char)shift), "ir"(1U<<(shift-1)), "r" (0xff), "r" (0) ); return x; } |