ARM NEON Compositor  master
Fast SIMD alpha overlay and blending for ARM
Functions
test-overlay_alpha.cpp File Reference
#include <gtest/gtest.h>
#include "../src/rescale.hpp"
#include <alpha-lib/overlay_alpha.hpp>
#include <algorithm>
#include <cmath>
#include <limits>
#include <numeric>
#include <vector>
+ Include dependency graph for test-overlay_alpha.cpp:

Go to the source code of this file.

Functions

 TEST (overlay_alpha, rescale_div256_floor)
 
 TEST (overlay_alpha, rescale_div256_round)
 
 TEST (overlay_alpha, rescale_div255_floor)
 
 TEST (overlay_alpha, rescale_div255_round)
 
 TEST (overlay_alpha, rescale_div255_round_approx)
 
 TEST (overlay_alpha, rescale_div256_floor_1)
 
 TEST (overlay_alpha, rescale_div256_round_1)
 
 TEST (overlay_alpha, rescale_div255_floor_1)
 
 TEST (overlay_alpha, rescale_div255_round_1)
 
 TEST (overlay_alpha, rescale_div255_round_approx_1)
 

Function Documentation

◆ TEST() [1/10]

TEST ( overlay_alpha  ,
rescale_div256_floor   
)

Definition at line 14 of file test-overlay_alpha.cpp.

◆ TEST() [2/10]

TEST ( overlay_alpha  ,
rescale_div256_round   
)

Definition at line 30 of file test-overlay_alpha.cpp.

◆ TEST() [3/10]

TEST ( overlay_alpha  ,
rescale_div255_floor   
)

Definition at line 46 of file test-overlay_alpha.cpp.

◆ TEST() [4/10]

TEST ( overlay_alpha  ,
rescale_div255_round   
)

Definition at line 62 of file test-overlay_alpha.cpp.

◆ TEST() [5/10]

TEST ( overlay_alpha  ,
rescale_div255_round_approx   
)

Definition at line 78 of file test-overlay_alpha.cpp.

◆ TEST() [6/10]

TEST ( overlay_alpha  ,
rescale_div256_floor_1   
)

Definition at line 103 of file test-overlay_alpha.cpp.

◆ TEST() [7/10]

TEST ( overlay_alpha  ,
rescale_div256_round_1   
)

Definition at line 117 of file test-overlay_alpha.cpp.

◆ TEST() [8/10]

TEST ( overlay_alpha  ,
rescale_div255_floor_1   
)

Definition at line 131 of file test-overlay_alpha.cpp.

◆ TEST() [9/10]

TEST ( overlay_alpha  ,
rescale_div255_round_1   
)

Definition at line 145 of file test-overlay_alpha.cpp.

◆ TEST() [10/10]

TEST ( overlay_alpha  ,
rescale_div255_round_approx_1   
)

Definition at line 159 of file test-overlay_alpha.cpp.