Simple Arithmetic on Blocks

Simple Arithmetic on Blocks — Aritmetic operations on 8x8 blocks

Functions

void oil_mult8x8_s16 ()
void oil_sad8x8_f64 ()
void oil_sad8x8_s16 ()
void oil_sad8x8_f64_2 ()
void oil_sad8x8_s16_2 ()
void oil_sad8x8_u8 ()

Description

Functions

oil_mult8x8_s16 ()

void
oil_mult8x8_s16 (int16_t *d_8x8,
                 const int16_t *s1_8x8,
                 const int16_t *s2_8x8,
                 int ds,
                 int ss1,
                 int ss2);

Multiplies each element in s1_8x8 and s2_8x8 and places the result in d_8x8 .


oil_sad8x8_f64 ()

void
oil_sad8x8_f64 (double *d_8x8,
                int ds,
                const double *s1_8x8,
                int ss1,
                const double *s2_8x8,
                int ss2);

FIXME: This function is broken and has been replaced by oil_sad8x8_f64_2() because the destination of this function is an 8x8 block instead of a single value.


oil_sad8x8_s16 ()

void
oil_sad8x8_s16 (uint32_t *d_8x8,
                int ds,
                const int16_t *s1_8x8,
                int ss1,
                const int16_t *s2_8x8,
                int ss2);

FIXME: This function is broken and has been replaced by oil_sad8x8_s16_2() because the destination of this function is an 8x8 block instead of a single value.


oil_sad8x8_f64_2 ()

void
oil_sad8x8_f64_2 (double *d_1,
                  const double *s1_8x8,
                  int ss1,
                  const double *s2_8x8,
                  int ss2);

Calculates the sum of absolute differences between elements in s1_8x8 and s2_8x8 , and places the result in d_1 .


oil_sad8x8_s16_2 ()

void
oil_sad8x8_s16_2 (uint32_t *d_1,
                  const int16_t *s1_8x8,
                  int ss1,
                  const int16_t *s2_8x8,
                  int ss2);

Calculates the sum of absolute differences between elements in s1_8x8 and s2_8x8 , and places the result in d_1 .


oil_sad8x8_u8 ()

void
oil_sad8x8_u8 (uint32_t *d_1,
               const uint8_t *s1_8x8,
               int ss1,
               const uint8_t *s2_8x8,
               int ss2);

Calculates the sum of absolute differences between elements in s1_8x8 and s2_8x8 , and places the result in d_1 .