Skip to content
Snippets Groups Projects
Commit 0c28f019 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Screw it, if the compiler doesn't optimize it, just use more CPU.

At least the warnings are gone.
parent 2d408f0c
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2252 passed
...@@ -725,10 +725,7 @@ pointy_scale3(uint32_t* src, uint32_t* dest, int width, int height) ...@@ -725,10 +725,7 @@ pointy_scale3(uint32_t* src, uint32_t* dest, int width, int height)
} }
static static
#ifndef _MSC_VER uint32_t blend(const uint32_t c1, const uint32_t c2, const double weight)
__attribute__((always_inline))
#endif
inline uint32_t blend(const uint32_t c1, const uint32_t c2, const double weight)
{ {
uint8_t yuv1[4]; uint8_t yuv1[4];
uint8_t yuv2[4]; uint8_t yuv2[4];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment