majidmetal / kifabzar

kifabzar ecommerce
https://www.kifabzar.com
0 stars 0 forks source link

thanks #10

Open majidmetal opened 7 years ago

majidmetal commented 7 years ago

جعبه ابزار جعبه ابزار پلاستیکی اتو لوله سبز دریل چکشی دریل شارژی کمپرسور باد فندکی تراز لیزری دریل چکشی رونیکس اره فارسی بر فارسی بر آاگ دریل چکشی رونیکس بتن کن ابزارهای دستی دریل شارژی رونیکس

majidmetal commented 7 years ago

The above code comprises the entirety of the merging process.

No memory access occurs inside the loop, other than to load the source values and store the merged result. The only math performed is the multiplication of each color channel by the blend factor, and even this operation is performed simultaneously on all color channels via the XMM registers.

The complete function is shown below. Note that the images passed to this function are assumed to be the same size, and are merged in their entirety. A more sophisticated function that allowed specified areas to be selected out of each image would be considerably more complicated as far as loop controls – individual rows would need to be looped through, then columns within each row, while properly tracking the data pointers through both loops. For simplicity, this article merges the entire incoming set of bitmap data - its intent is to focus on utilizing assembly language, particularly XMM registers, to perform the actual blend.

The required data for the function: