Home
last modified time | relevance | path

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

/external/libjpeg-turbo/simd/
Djcgryext-altivec.c39 __vector unsigned char rgb0, rgb1 = {0}, rgb2 = {0}, in jsimd_rgb_gray_convert_altivec() local
89 rgb2 = vec_ld(32, tmpbuf); in jsimd_rgb_gray_convert_altivec()
99 rgb2 = vec_ld(32, inptr); in jsimd_rgb_gray_convert_altivec()
108 rgb1 = vec_perm(rgb1, rgb2, unaligned_shift_index); in jsimd_rgb_gray_convert_altivec()
109 rgb2 = vec_perm(rgb2, rgb3, unaligned_shift_index); in jsimd_rgb_gray_convert_altivec()
120 rgb2 = vec_ld(32, tmpbuf); in jsimd_rgb_gray_convert_altivec()
130 rgb2 = vec_ld(32, inptr); in jsimd_rgb_gray_convert_altivec()
143 rgb2 = vec_vsx_ld(32, inptr); in jsimd_rgb_gray_convert_altivec()
162 rgbg2 = vec_perm(rgb1, rgb2, (__vector unsigned char)RGBG_INDEX2); in jsimd_rgb_gray_convert_altivec()
163 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
94 rgb2 = vec_ld(32, tmpbuf); in jsimd_rgb_ycc_convert_altivec()
104 rgb2 = vec_ld(32, inptr); in jsimd_rgb_ycc_convert_altivec()
113 rgb1 = vec_perm(rgb1, rgb2, unaligned_shift_index); in jsimd_rgb_ycc_convert_altivec()
114 rgb2 = vec_perm(rgb2, rgb3, unaligned_shift_index); in jsimd_rgb_ycc_convert_altivec()
126 rgb2 = VEC_LD(32, tmpbuf); in jsimd_rgb_ycc_convert_altivec()
136 rgb2 = VEC_LD(32, inptr); in jsimd_rgb_ycc_convert_altivec()
158 rgbg2 = vec_perm(rgb1, rgb2, (__vector unsigned char)RGBG_INDEX2); in jsimd_rgb_ycc_convert_altivec()
159 rgbg3 = vec_perm(rgb2, rgb2, (__vector unsigned char)RGBG_INDEX3); in jsimd_rgb_ycc_convert_altivec()
173 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
179 rgb2 = vec_perm(rgbx2, rgbx3, (__vector unsigned char)RGB_INDEX2); in jsimd_ycc_rgb_convert_altivec()
193 rgb2 = vec_perm(rgbx2, rgbx2, (__vector unsigned char)RGB_INDEX); in jsimd_ycc_rgb_convert_altivec()
213 vec_st(rgb2, 32, tmpbuf); in jsimd_ycc_rgb_convert_altivec()
227 out2 = vec_perm(rgb1, rgb2, unaligned_shift_index); in jsimd_ycc_rgb_convert_altivec()
229 out3 = vec_perm(rgb2, rgb3, unaligned_shift_index); in jsimd_ycc_rgb_convert_altivec()
232 out3 = vec_perm(rgb2, edges, unaligned_shift_index); in jsimd_ycc_rgb_convert_altivec()
252 VEC_ST(rgb2, 32, tmpbuf); in jsimd_ycc_rgb_convert_altivec()
263 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
204 rgb2 = vec_perm(rgbx2, rgbx3, (__vector unsigned char)RGB_INDEX2); in jsimd_h2v1_merged_upsample_altivec()
218 rgb2 = vec_perm(rgbx2, rgbx2, (__vector unsigned char)RGB_INDEX); in jsimd_h2v1_merged_upsample_altivec()
238 vec_st(rgb2, 32, tmpbuf); in jsimd_h2v1_merged_upsample_altivec()
252 out2 = vec_perm(rgb1, rgb2, unaligned_shift_index); in jsimd_h2v1_merged_upsample_altivec()
254 out3 = vec_perm(rgb2, rgb3, unaligned_shift_index); in jsimd_h2v1_merged_upsample_altivec()
257 out3 = vec_perm(rgb2, edges, unaligned_shift_index); in jsimd_h2v1_merged_upsample_altivec()
277 VEC_ST(rgb2, 32, tmpbuf); in jsimd_h2v1_merged_upsample_altivec()
288 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_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/skqp/src/opts/
DSkNx_sse.h346 __m128i rgb2 = _mm_srli_si128(_mm_loadu_si128((const __m128i*) (ptr8 + 4*2)), 2*2); in Load3() local
347 __m128i rgb3 = _mm_srli_si128(rgb2, 3*2); in Load3()
350 __m128i rrggbb23 = _mm_unpacklo_epi16(rgb2, rgb3); in Load3()
421 __m128i rgb2 = _mm_loadu_si128((const __m128i*) (ptr8 + 6*2)); in Load3() local
422 __m128i rgb3 = _mm_srli_si128(rgb2, 3*2); in Load3()
429 __m128i rgb23 = _mm_unpacklo_epi16(rgb2, rgb3); in Load3()
/external/skia/src/opts/
DSkNx_sse.h353 __m128i rgb2 = _mm_srli_si128(_mm_loadu_si128((const __m128i*) (ptr8 + 4*2)), 2*2); in Load3() local
354 __m128i rgb3 = _mm_srli_si128(rgb2, 3*2); in Load3()
357 __m128i rrggbb23 = _mm_unpacklo_epi16(rgb2, rgb3); in Load3()
428 __m128i rgb2 = _mm_loadu_si128((const __m128i*) (ptr8 + 6*2)); in Load3() local
429 __m128i rgb3 = _mm_srli_si128(rgb2, 3*2); in Load3()
436 __m128i rgb23 = _mm_unpacklo_epi16(rgb2, rgb3); in Load3()