Skip to content
Snippets Groups Projects
Commit d1d3244c authored by Adam Wieckowski's avatar Adam Wieckowski Committed by Xiang Li
Browse files

Extended the HAD calculation with SIMD to be performed in 32-bit space rather...

Extended the HAD calculation with SIMD to be performed in 32-bit space rather than 16-bit. This fixes #339
parent ca4ccf93
No related branches found
No related tags found
No related merge requests found
...@@ -377,19 +377,19 @@ private: ...@@ -377,19 +377,19 @@ private:
static Distortion xCalcHADs8x4 ( const Pel *piOrg, const Pel *piCur, int iStrideOrg, int iStrideCur ); static Distortion xCalcHADs8x4 ( const Pel *piOrg, const Pel *piCur, int iStrideOrg, int iStrideCur );
#ifdef TARGET_SIMD_X86 #ifdef TARGET_SIMD_X86
template< typename Torg, typename Tcur, X86_VEXT vext > template<X86_VEXT vext>
static Distortion xGetSSE_SIMD ( const DistParam& pcDtParam ); static Distortion xGetSSE_SIMD ( const DistParam& pcDtParam );
template< typename Torg, typename Tcur, int iWidth, X86_VEXT vext > template<int iWidth, X86_VEXT vext>
static Distortion xGetSSE_NxN_SIMD( const DistParam& pcDtParam ); static Distortion xGetSSE_NxN_SIMD( const DistParam& pcDtParam );
template< X86_VEXT vext > template<X86_VEXT vext>
static Distortion xGetSAD_SIMD ( const DistParam& pcDtParam ); static Distortion xGetSAD_SIMD ( const DistParam& pcDtParam );
template< int iWidth, X86_VEXT vext > template<int iWidth, X86_VEXT vext>
static Distortion xGetSAD_NxN_SIMD( const DistParam& pcDtParam ); static Distortion xGetSAD_NxN_SIMD( const DistParam& pcDtParam );
template< X86_VEXT vext > template<X86_VEXT vext>
static Distortion xGetSAD_IBD_SIMD(const DistParam& pcDtParam); static Distortion xGetSAD_IBD_SIMD( const DistParam& pcDtParam );
template< typename Torg, typename Tcur, X86_VEXT vext > template<X86_VEXT vext>
static Distortion xGetHADs_SIMD ( const DistParam& pcDtParam ); static Distortion xGetHADs_SIMD ( const DistParam& pcDtParam );
#endif #endif
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment