Mercurial > libavcodec.hg
changeset 2642:240e17c3cb2d libavcodec
GCC4 fix by (Keenan Pepper (keenanpepper gmail com)
author | michael |
---|---|
date | Thu, 05 May 2005 12:37:38 +0000 |
parents | c337f851d0f9 |
children | 8e42a0463f68 |
files | libpostproc/postprocess_template.c |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpostproc/postprocess_template.c Tue May 03 21:49:18 2005 +0000 +++ b/libpostproc/postprocess_template.c Thu May 05 12:37:38 2005 +0000 @@ -2646,7 +2646,7 @@ * accurate deblock filter */ static always_inline void RENAME(do_a_deblock)(uint8_t *src, int step, int stride, PPContext *c){ - int64_t dc_mask, eq_mask; + int64_t dc_mask, eq_mask, both_masks; int64_t sums[10*8*2]; src+= step*3; // src points to begin of the 8x8 Block //START_TIMER @@ -2755,7 +2755,9 @@ : "%"REG_a ); - if(dc_mask & eq_mask){ + both_masks = dc_mask & eq_mask; + + if(both_masks){ long offset= -8*step; int64_t *temp_sums= sums; @@ -2930,7 +2932,7 @@ " js 1b \n\t" : "+r"(offset), "+r"(temp_sums) - : "r" ((long)step), "r"(src - offset), "m"(dc_mask & eq_mask) + : "r" ((long)step), "r"(src - offset), "m"(both_masks) ); }else src+= step; // src points to begin of the 8x8 Block