Fix Compiler warnings
Intrinsic _mm_set_epi8 require char input, converting everything to char. Including log.h from android library instead of cutils. Bug: 112316276 Test: before/after object comparison for no diff in generated code. Change-Id: I82b8c48494619b64465eda2476c7c903652c6066
This commit is contained in:
parent
36352e2ad4
commit
837aefa3a2
2 changed files with 3 additions and 3 deletions
|
|
@ -19,7 +19,7 @@
|
|||
*/
|
||||
#ifdef __ANDROID__
|
||||
#include "log/log.h"
|
||||
#include <cutils/log.h>
|
||||
#include <android/log.h>
|
||||
#endif
|
||||
#include "ih264_typedefs.h"
|
||||
#include "ih264_macros.h"
|
||||
|
|
|
|||
|
|
@ -574,7 +574,7 @@ void ih264e_evaluate_intra_4x4_modes_ssse3(UWORD8 *pu1_src,
|
|||
pred2_16x8b = _mm_set1_epi8(dcval);
|
||||
}
|
||||
else
|
||||
pred2_16x8b = _mm_set1_epi8(128);
|
||||
pred2_16x8b = _mm_set1_epi8(-128);
|
||||
|
||||
sad_8x16b = _mm_sad_epu8(src_16x8b, pred2_16x8b);
|
||||
|
||||
|
|
@ -1135,7 +1135,7 @@ void ih264e_evaluate_intra_chroma_modes_ssse3(UWORD8 *pu1_src,
|
|||
}
|
||||
else
|
||||
{
|
||||
pred1_16x8b = _mm_set1_epi8(128);
|
||||
pred1_16x8b = _mm_set1_epi8(-128);
|
||||
|
||||
tmp1_8x16b = _mm_sad_epu8(src1_16x8b, pred1_16x8b);
|
||||
tmp2_8x16b = _mm_sad_epu8(src2_16x8b, pred1_16x8b);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue