Move software jpeg encoder front end to new SIMD MCU code

This commit is contained in:
Kwabena W. Agyeman 2021-03-18 16:01:23 -07:00
parent dc089106f6
commit 85b5130c09
2 changed files with 726 additions and 857 deletions

View File

@ -2174,10 +2174,26 @@ __STATIC_FORCEINLINE int32_t __SMMLA (int32_t op1, int32_t op2, int32_t op3)
return(result);
}
#else
__STATIC_FORCEINLINE uint32_t __UXTB(uint32_t op1)
{
return op1 & 0xFF;
}
__STATIC_FORCEINLINE uint32_t __UXTB_RORn(uint32_t op1, uint32_t rotate)
{
return (op1 >> rotate) & 0xFF;
}
__STATIC_FORCEINLINE uint32_t __SSUB16(uint32_t op1, uint32_t op2)
{
return ((op1 & 0xFFFF0000) - (op2 & 0xFFFF0000)) | ((op1 - op2) & 0xFFFF);
}
#endif /* (__ARM_FEATURE_DSP == 1) */
/*@} end of group CMSIS_SIMD_intrinsics */
#pragma GCC diagnostic pop
#endif /* __CMSIS_GCC_H */

File diff suppressed because it is too large Load Diff