Merge pull request #1235 from kwagyeman/kwabena/software_jpeg_speedup

Move software jpeg encoder front end to new SIMD MCU code
This commit is contained in:
Ibrahim Abd Elkader 2021-03-23 20:06:03 +02:00 committed by GitHub
commit c1bcfbe8ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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