mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
restore GCC2/3 support, patch by Sigbjorn Skjaeret %sskjer-1 A broadpark P no%
Originally committed as revision 9295 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1a822d303f
commit
525751c053
@ -776,7 +776,7 @@ static inline vector unsigned char h264_deblock_mask ( register vector unsigned
|
||||
register vector unsigned char delta; \
|
||||
register vector unsigned char deltaneg; \
|
||||
\
|
||||
temp = vec_cmpeq(p0, p0); \
|
||||
temp = (vector unsigned char)vec_cmpeq(p0, p0); \
|
||||
q1minus = vec_xor(temp, q1); /* 255 - q1 */ \
|
||||
stage1 = vec_avg(p1, q1minus); /* (p1 - q1 + 256)>>1 */ \
|
||||
stage2 = vec_sr(stage1, vec_splat_u8(1)); /* (p1 - q1 + 256)>>2 = 64 + (p1 - q1) >> 2 */ \
|
||||
|
Loading…
Reference in New Issue
Block a user