projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22f704c
)
Fixed constant definition.
author
Armin Novak
<armin.novak@thincast.com>
Wed, 3 Feb 2016 10:51:31 +0000
(11:51 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Wed, 3 Feb 2016 10:51:31 +0000
(11:51 +0100)
libfreerdp/primitives/prim_colors_opt.c
patch
|
blob
|
history
diff --git
a/libfreerdp/primitives/prim_colors_opt.c
b/libfreerdp/primitives/prim_colors_opt.c
index
0d3dd4d
..
e9505da
100644
(file)
--- a/
libfreerdp/primitives/prim_colors_opt.c
+++ b/
libfreerdp/primitives/prim_colors_opt.c
@@
-232,8
+232,8
@@
pstatus_t sse2_RGBToYCbCr_16s16s_P3P3(
pDst, dstStep, roi);
}
- min = _mm_set1_epi16(-128
<< 5
);
- max = _mm_set1_epi16(127
<< 5
);
+ min = _mm_set1_epi16(-128
* 32
);
+ max = _mm_set1_epi16(127
* 32
);
r_buf = (__m128i*) (pSrc[0]);
g_buf = (__m128i*) (pSrc[1]);