Home
last modified time | relevance | path

Searched refs:rgba4444 (Results 1 – 11 of 11) sorted by relevance

/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Dalpha_processing.c262 static WEBP_INLINE void ApplyAlphaMultiply4444_C(uint8_t* rgba4444, in ApplyAlphaMultiply4444_C() argument
268 const uint32_t rg = rgba4444[2 * i + rg_byte_pos]; in ApplyAlphaMultiply4444_C()
269 const uint32_t ba = rgba4444[2 * i + (rg_byte_pos ^ 1)]; in ApplyAlphaMultiply4444_C()
275 rgba4444[2 * i + rg_byte_pos] = (r & 0xf0) | ((g >> 4) & 0x0f); in ApplyAlphaMultiply4444_C()
276 rgba4444[2 * i + (rg_byte_pos ^ 1)] = (b & 0xf0) | a; in ApplyAlphaMultiply4444_C()
278 rgba4444 += stride; in ApplyAlphaMultiply4444_C()
283 static void ApplyAlphaMultiply_16b_C(uint8_t* rgba4444, in ApplyAlphaMultiply_16b_C() argument
286 ApplyAlphaMultiply4444_C(rgba4444, w, h, stride, 1); in ApplyAlphaMultiply_16b_C()
288 ApplyAlphaMultiply4444_C(rgba4444, w, h, stride, 0); in ApplyAlphaMultiply_16b_C()
Dupsampling_neon.c123 const uint8x8x2_t rgba4444 = ZIP_U8(rg, ba); \
124 vst1q_u8(out, vcombine_u8(rgba4444.val[0], rgba4444.val[1])); \
Ddsp.h571 uint8_t* rgba4444, int w, int h, int stride);
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/third_party/externals/libwebp/src/dsp/
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()
Dupsampling_neon.c123 const uint8x8x2_t rgba4444 = ZIP_U8(rg, ba); \
124 vst1q_u8(out, vcombine_u8(rgba4444.val[0], rgba4444.val[1])); \
Ddsp.h608 uint8_t* rgba4444, int w, int h, int stride);
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/
DReadPixelsTest.cpp394 static const uint16_t rgba4444[kNumPixels] = { 0xF00F, 0x0F0F, 0x00FF, 0xFFFF, 0x000F }; variable
416 return rgba4444; in five_reference_pixels()
/third_party/flutter/skia/src/gpu/
DGrDataUtils.cpp180 uint16_t rgba4444 = r4 << SK_R4444_SHIFT | g4 << SK_G4444_SHIFT | in fill_buffer_with_color() local
183 sk_memset16((uint16_t*) dest, rgba4444, width * height); in fill_buffer_with_color()
/third_party/flutter/skia/tests/
DReadPixelsTest.cpp502 static const uint16_t rgba4444[kNumPixels] = { 0xF00F, 0x0F0F, 0x00FF, 0xFFFF, 0x000F }; variable
524 return rgba4444; in five_reference_pixels()