diff options
Diffstat (limited to 'liboil/jpeg/quantize8x8_c.c')
-rw-r--r-- | liboil/jpeg/quantize8x8_c.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/liboil/jpeg/quantize8x8_c.c b/liboil/jpeg/quantize8x8_c.c index e3bd067..7f8e03c 100644 --- a/liboil/jpeg/quantize8x8_c.c +++ b/liboil/jpeg/quantize8x8_c.c @@ -32,8 +32,20 @@ #include <liboil/liboil.h> #include "jpeg.h" +/** + * oil_dequantize8x8_s16: + * @d_8x8: + * @dstr: + * @s1_8x8: + * @sstr1: + * @s2_8x8: + * + * Multiplies each element in @s1_8x8 by the corresponding element + * in @s2_8x8 and places the result in @d_8x8. + */ OIL_DEFINE_CLASS (dequantize8x8_s16, - "int16_t *d_8x8, int dstr, int16_t *s1_8x8, int sstr1, int16_t *s2_8x8, int sstr2"); + "int16_t *d_8x8, int dstr, int16_t *s1_8x8, int sstr1, " + "int16_t *s2_8x8, int sstr2"); #define BLOCK8x8_S16(ptr, stride, row, column) \ (*((int16_t *)((void *)ptr + stride*row) + column)) |