Skip to content

mkokryashkin/alpha-blending

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIPT Assembly course Alpha-blending

Alpha blending is the process of combining a translucent foreground color with a background color, thereby producing a new color blended between the two.

So for each pixel we do the same thing 3 times, because we need to apply formula to each color. We can optimize this with SIMD instructions. You can access them directly from C/C++ code with Intel Intrinsics.

Here is the alpha-blending result picture: blended

And, as we can see, SIMD-optimized alpha-blending is a lot more fast than version written completely in C++: stats

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published