Go to the documentation of this file.
27 float largest = (absb > absa) ? absb : absa;
34 const float f1[3] = {0.0, 1.1, 2.2};
35 const float f2[3] = {3.3, 4.4, 5.5};
36 const int16_t i1[3] = {6, 7, 8};
37 const int16_t i2[3] = {9, 10, 11};
45 for (
i = 1024;
i >= 1;
i/=2)
static __device__ float fabsf(float a)
#define FF_ARRAY_ELEMS(a)
#define av_assert0(cond)
assert() equivalent, that is always enabled.
int ff_log2_q15(uint32_t value)
Calculate log2(x).
static void IsAlmostEqual(float A, float B, float epsilon)
static av_always_inline int diff(const struct color_info *a, const struct color_info *b, const int trans_thresh)
#define i(width, name, range_min, range_max)
int64_t ff_dot_product(const int16_t *a, const int16_t *b, int length)
Calculate the dot product of 2 int16_t vectors.
float ff_dot_productf(const float *a, const float *b, int length)
Return the dot product.