Home
last modified time | relevance | path

Searched refs:rgb2 (Results 1 – 9 of 9) sorted by relevance

/external/libjpeg-turbo/simd/powerpc/
Djcgryext-altivec.c38 __vector unsigned char rgb0, rgb1 = { 0 }, rgb2 = { 0 }, in jsimd_rgb_gray_convert_altivec() local
90 rgb2 = vec_ld(32, tmpbuf); in jsimd_rgb_gray_convert_altivec()
100 rgb2 = vec_ld(32, inptr); in jsimd_rgb_gray_convert_altivec()
109 rgb1 = vec_perm(rgb1, rgb2, unaligned_shift_index); in jsimd_rgb_gray_convert_altivec()
110 rgb2 = vec_perm(rgb2, rgb3, unaligned_shift_index); in jsimd_rgb_gray_convert_altivec()
121 rgb2 = vec_ld(32, tmpbuf); in jsimd_rgb_gray_convert_altivec()
131 rgb2 = vec_ld(32, inptr); in jsimd_rgb_gray_convert_altivec()
144 rgb2 = vec_vsx_ld(32, inptr); in jsimd_rgb_gray_convert_altivec()
163 rgbg2 = vec_perm(rgb1, rgb2, (__vector unsigned char)RGBG_INDEX2); in jsimd_rgb_gray_convert_altivec()
164 rgbg3 = vec_perm(rgb2, rgb2, (__vector unsigned char)RGBG_INDEX3); in jsimd_rgb_gray_convert_altivec()
[all …]
Djccolext-altivec.c38 __vector unsigned char rgb0, rgb1 = { 0 }, rgb2 = { 0 }, in jsimd_rgb_ycc_convert_altivec() local
96 rgb2 = vec_ld(32, tmpbuf); in jsimd_rgb_ycc_convert_altivec()
106 rgb2 = vec_ld(32, inptr); in jsimd_rgb_ycc_convert_altivec()
115 rgb1 = vec_perm(rgb1, rgb2, unaligned_shift_index); in jsimd_rgb_ycc_convert_altivec()
116 rgb2 = vec_perm(rgb2, rgb3, unaligned_shift_index); in jsimd_rgb_ycc_convert_altivec()
128 rgb2 = VEC_LD(32, tmpbuf); in jsimd_rgb_ycc_convert_altivec()
138 rgb2 = VEC_LD(32, inptr); in jsimd_rgb_ycc_convert_altivec()
160 rgbg2 = vec_perm(rgb1, rgb2, (__vector unsigned char)RGBG_INDEX2); in jsimd_rgb_ycc_convert_altivec()
161 rgbg3 = vec_perm(rgb2, rgb2, (__vector unsigned char)RGBG_INDEX3); in jsimd_rgb_ycc_convert_altivec()
175 rgbg2 = vec_perm(rgb2, rgb2, (__vector unsigned char)RGBG_INDEX); in jsimd_rgb_ycc_convert_altivec()
Djdcolext-altivec.c37 __vector unsigned char rgb0, rgb1, rgb2, rgbx0, rgbx1, rgbx2, rgbx3, in jsimd_ycc_rgb_convert_altivec() local
181 rgb2 = vec_perm(rgbx2, rgbx3, (__vector unsigned char)RGB_INDEX2); in jsimd_ycc_rgb_convert_altivec()
195 rgb2 = vec_perm(rgbx2, rgbx2, (__vector unsigned char)RGB_INDEX); in jsimd_ycc_rgb_convert_altivec()
215 vec_st(rgb2, 32, tmpbuf); in jsimd_ycc_rgb_convert_altivec()
229 out2 = vec_perm(rgb1, rgb2, unaligned_shift_index); in jsimd_ycc_rgb_convert_altivec()
231 out3 = vec_perm(rgb2, rgb3, unaligned_shift_index); in jsimd_ycc_rgb_convert_altivec()
234 out3 = vec_perm(rgb2, edges, unaligned_shift_index); in jsimd_ycc_rgb_convert_altivec()
254 VEC_ST(rgb2, 32, tmpbuf); in jsimd_ycc_rgb_convert_altivec()
265 VEC_ST(rgb2, 32, outptr); in jsimd_ycc_rgb_convert_altivec()
Djdmrgext-altivec.c38 __vector unsigned char rgb0, rgb1, rgb2, rgbx0, rgbx1, rgbx2, rgbx3, in jsimd_h2v1_merged_upsample_altivec() local
210 rgb2 = vec_perm(rgbx2, rgbx3, (__vector unsigned char)RGB_INDEX2); in jsimd_h2v1_merged_upsample_altivec()
224 rgb2 = vec_perm(rgbx2, rgbx2, (__vector unsigned char)RGB_INDEX); in jsimd_h2v1_merged_upsample_altivec()
244 vec_st(rgb2, 32, tmpbuf); in jsimd_h2v1_merged_upsample_altivec()
258 out2 = vec_perm(rgb1, rgb2, unaligned_shift_index); in jsimd_h2v1_merged_upsample_altivec()
260 out3 = vec_perm(rgb2, rgb3, unaligned_shift_index); in jsimd_h2v1_merged_upsample_altivec()
263 out3 = vec_perm(rgb2, edges, unaligned_shift_index); in jsimd_h2v1_merged_upsample_altivec()
283 VEC_ST(rgb2, 32, tmpbuf); in jsimd_h2v1_merged_upsample_altivec()
294 VEC_ST(rgb2, 32, outptr); in jsimd_h2v1_merged_upsample_altivec()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator_unittest.cpp123 float rgb2[3] = {1, 0.9f, 0}; in TEST_F() local
124 pPathObj->m_ColorState.SetStrokeColor(pCS, rgb2, 3); in TEST_F()
180 float rgb2[3] = {1, 0.9f, 0}; in TEST_F() local
181 pTextObj->m_ColorState.SetStrokeColor(pCS, rgb2, 3); in TEST_F()
/external/webp/src/dsp/
Dyuv_sse41.c136 __m128i rgb0, rgb1, rgb2, rgb3, rgb4, rgb5; in VP8YuvToRgb32_SSE41() local
146 rgb2 = _mm_packus_epi16(G0, G1); in VP8YuvToRgb32_SSE41()
152 PlanarTo24b_SSE41(&rgb0, &rgb1, &rgb2, &rgb3, &rgb4, &rgb5, dst); in VP8YuvToRgb32_SSE41()
186 __m128i rgb0, rgb1, rgb2, rgb3, rgb4, rgb5; in YuvToRgbRow_SSE41() local
196 rgb2 = _mm_packus_epi16(G0, G1); in YuvToRgbRow_SSE41()
202 PlanarTo24b_SSE41(&rgb0, &rgb1, &rgb2, &rgb3, &rgb4, &rgb5, dst); in YuvToRgbRow_SSE41()
Dyuv_sse2.c250 __m128i rgb0, rgb1, rgb2, rgb3, rgb4, rgb5; in VP8YuvToRgb32_SSE2() local
260 rgb2 = _mm_packus_epi16(G0, G1); in VP8YuvToRgb32_SSE2()
266 PlanarTo24b_SSE2(&rgb0, &rgb1, &rgb2, &rgb3, &rgb4, &rgb5, dst); in VP8YuvToRgb32_SSE2()
366 __m128i rgb0, rgb1, rgb2, rgb3, rgb4, rgb5; in YuvToRgbRow_SSE2() local
376 rgb2 = _mm_packus_epi16(G0, G1); in YuvToRgbRow_SSE2()
382 PlanarTo24b_SSE2(&rgb0, &rgb1, &rgb2, &rgb3, &rgb4, &rgb5, dst); in YuvToRgbRow_SSE2()
/external/skia/include/private/
DSkNx_sse.h445 __m128i rgb2 = _mm_srli_si128(_mm_loadu_si128((const __m128i*) (ptr8 + 4*2)), 2*2); in Load3() local
446 __m128i rgb3 = _mm_srli_si128(rgb2, 3*2); in Load3()
449 __m128i rrggbb23 = _mm_unpacklo_epi16(rgb2, rgb3); in Load3()
520 __m128i rgb2 = _mm_loadu_si128((const __m128i*) (ptr8 + 6*2)); in Load3() local
521 __m128i rgb3 = _mm_srli_si128(rgb2, 3*2); in Load3()
528 __m128i rgb23 = _mm_unpacklo_epi16(rgb2, rgb3); in Load3()
/external/skqp/include/private/
DSkNx_sse.h445 __m128i rgb2 = _mm_srli_si128(_mm_loadu_si128((const __m128i*) (ptr8 + 4*2)), 2*2); in Load3() local
446 __m128i rgb3 = _mm_srli_si128(rgb2, 3*2); in Load3()
449 __m128i rrggbb23 = _mm_unpacklo_epi16(rgb2, rgb3); in Load3()
520 __m128i rgb2 = _mm_loadu_si128((const __m128i*) (ptr8 + 6*2)); in Load3() local
521 __m128i rgb3 = _mm_srli_si128(rgb2, 3*2); in Load3()
528 __m128i rgb23 = _mm_unpacklo_epi16(rgb2, rgb3); in Load3()