Home
last modified time | relevance | path

Searched refs:rgba4444 (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Dalpha_processing.c264 static WEBP_INLINE void ApplyAlphaMultiply4444_C(uint8_t* rgba4444, in ApplyAlphaMultiply4444_C() argument
270 const uint32_t rg = rgba4444[2 * i + rg_byte_pos]; in ApplyAlphaMultiply4444_C()
271 const uint32_t ba = rgba4444[2 * i + (rg_byte_pos ^ 1)]; in ApplyAlphaMultiply4444_C()
277 rgba4444[2 * i + rg_byte_pos] = (r & 0xf0) | ((g >> 4) & 0x0f); in ApplyAlphaMultiply4444_C()
278 rgba4444[2 * i + (rg_byte_pos ^ 1)] = (b & 0xf0) | a; in ApplyAlphaMultiply4444_C()
280 rgba4444 += stride; in ApplyAlphaMultiply4444_C()
285 static void ApplyAlphaMultiply_16b_C(uint8_t* rgba4444, in ApplyAlphaMultiply_16b_C() argument
288 ApplyAlphaMultiply4444_C(rgba4444, w, h, stride, 1); in ApplyAlphaMultiply_16b_C()
290 ApplyAlphaMultiply4444_C(rgba4444, w, h, stride, 0); in ApplyAlphaMultiply_16b_C()
H A Dupsampling_neon.c123 const uint8x8x2_t rgba4444 = ZIP_U8(rg, ba); \
124 vst1q_u8(out, vcombine_u8(rgba4444.val[0], rgba4444.val[1])); \
H A Ddsp.h608 uint8_t* rgba4444, int w, int h, int stride);
H A Dyuv_sse2.c138 const __m128i rgba4444 = _mm_or_si128(rb2, ga2); in PackAndStore4444_SSE2() local
139 _mm_storeu_si128((__m128i*)dst, rgba4444); in PackAndStore4444_SSE2()
/third_party/skia/tests/
H A DReadPixelsTest.cpp394 static const uint16_t rgba4444[kNumPixels] = { 0xF00F, 0x0F0F, 0x00FF, 0xFFFF, 0x000F }; variable
416 return rgba4444; in five_reference_pixels()

Completed in 7 milliseconds