Searched refs:rgba4444 (Results 1 – 6 of 6) sorted by relevance
/external/webp/src/dsp/ |
D | alpha_processing.c | 257 static WEBP_INLINE void ApplyAlphaMultiply4444(uint8_t* rgba4444, in ApplyAlphaMultiply4444() argument 263 const uint32_t rg = rgba4444[2 * i + rg_byte_pos]; in ApplyAlphaMultiply4444() 264 const uint32_t ba = rgba4444[2 * i + (rg_byte_pos ^ 1)]; in ApplyAlphaMultiply4444() 270 rgba4444[2 * i + rg_byte_pos] = (r & 0xf0) | ((g >> 4) & 0x0f); in ApplyAlphaMultiply4444() 271 rgba4444[2 * i + (rg_byte_pos ^ 1)] = (b & 0xf0) | a; in ApplyAlphaMultiply4444() 273 rgba4444 += stride; in ApplyAlphaMultiply4444() 278 static void ApplyAlphaMultiply_16b(uint8_t* rgba4444, in ApplyAlphaMultiply_16b() argument 281 ApplyAlphaMultiply4444(rgba4444, w, h, stride, 1); in ApplyAlphaMultiply_16b() 283 ApplyAlphaMultiply4444(rgba4444, w, h, stride, 0); in ApplyAlphaMultiply_16b()
|
D | upsampling_neon.c | 139 const uint8x8x2_t rgba4444 = ZIP_U8(rg, ba); \ 140 vst1q_u8(out, vcombine_u8(rgba4444.val[0], rgba4444.val[1])); \
|
D | dsp.h | 400 uint8_t* rgba4444, int w, int h, int stride);
|
D | yuv_sse2.c | 131 const __m128i rgba4444 = _mm_or_si128(rb2, ga2); in PackAndStore4444() local 132 _mm_storeu_si128((__m128i*)dst, rgba4444); in PackAndStore4444()
|
/external/opencv3/3rdparty/libwebp/dsp/ |
D | upsampling.c | 290 static void ApplyAlphaMultiply4444(uint8_t* rgba4444, in ApplyAlphaMultiply4444() argument 295 const uint8_t a = (rgba4444[2 * i + 1] & 0x0f); in ApplyAlphaMultiply4444() 297 const uint8_t r = multiply(dither_hi(rgba4444[2 * i + 0]), mult); in ApplyAlphaMultiply4444() 298 const uint8_t g = multiply(dither_lo(rgba4444[2 * i + 0]), mult); in ApplyAlphaMultiply4444() 299 const uint8_t b = multiply(dither_hi(rgba4444[2 * i + 1]), mult); in ApplyAlphaMultiply4444() 300 rgba4444[2 * i + 0] = (r & 0xf0) | ((g >> 4) & 0x0f); in ApplyAlphaMultiply4444() 301 rgba4444[2 * i + 1] = (b & 0xf0) | a; in ApplyAlphaMultiply4444() 303 rgba4444 += stride; in ApplyAlphaMultiply4444()
|
D | dsp.h | 201 uint8_t* rgba4444, int w, int h, int stride);
|