diff --git a/lib/c64x/c64xfrag.c b/lib/c64x/c64xfrag.c index 140357e2d85217049a654be6b5fbdb27396d035d..01e6e23af8e40521fedb2b30275f34fd8aff63b5 100644 --- a/lib/c64x/c64xfrag.c +++ b/lib/c64x/c64xfrag.c @@ -436,7 +436,7 @@ void oc_state_loop_filter_frag_rows_c64x(const oc_theora_state *_state, loop_filter_h(ref+8,ystride,ll); } if(fragi+nhfrags<fragi_bot&&!frags[fragi+nhfrags].coded){ - loop_filter_v(ref+(ystride<<3),ystride,ll); + loop_filter_v(ref+(ystride*8),ystride,ll); } } fragi++; diff --git a/lib/x86/mmxstate.c b/lib/x86/mmxstate.c index 2572773ece611148e75fcad380b5ff275eaef2a9..e1bf61c16a3d24b6d11bfc94c5a8e718ddd8b5c0 100644 --- a/lib/x86/mmxstate.c +++ b/lib/x86/mmxstate.c @@ -146,7 +146,7 @@ void oc_state_loop_filter_frag_rows_mmx(const oc_theora_state *_state, OC_LOOP_FILTER_H(OC_LOOP_FILTER8_MMX,ref+8,ystride,ll); } if(fragi+nhfrags<fragi_bot&&!frags[fragi+nhfrags].coded){ - OC_LOOP_FILTER_V(OC_LOOP_FILTER8_MMX,ref+(ystride<<3),ystride,ll); + OC_LOOP_FILTER_V(OC_LOOP_FILTER8_MMX,ref+(ystride*8),ystride,ll); } } fragi++; @@ -213,7 +213,7 @@ void oc_state_loop_filter_frag_rows_mmxext(const oc_theora_state *_state, OC_LOOP_FILTER_H(OC_LOOP_FILTER8_MMXEXT,ref+8,ystride,_bv); } if(fragi+nhfrags<fragi_bot&&!frags[fragi+nhfrags].coded){ - OC_LOOP_FILTER_V(OC_LOOP_FILTER8_MMXEXT,ref+(ystride<<3),ystride,_bv); + OC_LOOP_FILTER_V(OC_LOOP_FILTER8_MMXEXT,ref+(ystride*8),ystride,_bv); } } fragi++; diff --git a/lib/x86_vc/mmxstate.c b/lib/x86_vc/mmxstate.c index 38fbbba492ad58d043c261d8a40615b0afd4f91c..f10f89e892d1ba7d1fe1f631e9516a25cc5f4c9e 100644 --- a/lib/x86_vc/mmxstate.c +++ b/lib/x86_vc/mmxstate.c @@ -157,7 +157,7 @@ void oc_state_loop_filter_frag_rows_mmx(const oc_theora_state *_state, OC_LOOP_FILTER_H_MMX(ref+8,ystride,_bv); } if(fragi+nhfrags<fragi_bot&&!frags[fragi+nhfrags].coded){ - OC_LOOP_FILTER_V_MMX(ref+(ystride<<3),ystride,_bv); + OC_LOOP_FILTER_V_MMX(ref+(ystride*8),ystride,_bv); } #undef PIX #undef YSTRIDE3