Home
last modified time | relevance | path

Searched refs:rgb2 (Results 1 – 7 of 7) 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.cpp114 FX_FLOAT rgb2[3] = {1, 0.9f, 0}; in TEST_F() local
115 pPathObj->m_ColorState.SetStrokeColor(pCS, rgb2, 3); in TEST_F()
/external/skia/src/opts/
DSkNx_sse.h306 __m128i rgb2 = _mm_srli_si128(_mm_loadu_si128((const __m128i*) (ptr8 + 4*2)), 2*2); in Load3() local
307 __m128i rgb3 = _mm_srli_si128(rgb2, 3*2); in Load3()
310 __m128i rrggbb23 = _mm_unpacklo_epi16(rgb2, rgb3); in Load3()
381 __m128i rgb2 = _mm_loadu_si128((const __m128i*) (ptr8 + 6*2)); in Load3() local
382 __m128i rgb3 = _mm_srli_si128(rgb2, 3*2); in Load3()
389 __m128i rgb23 = _mm_unpacklo_epi16(rgb2, rgb3); in Load3()
/external/webp/src/dsp/
Dyuv_sse2.c246 __m128i rgb0, rgb1, rgb2, rgb3, rgb4, rgb5; in VP8YuvToRgb32() local
256 rgb2 = _mm_packus_epi16(G0, G1); in VP8YuvToRgb32()
262 PlanarTo24b(&rgb0, &rgb1, &rgb2, &rgb3, &rgb4, &rgb5, dst); in VP8YuvToRgb32()
358 __m128i rgb0, rgb1, rgb2, rgb3, rgb4, rgb5; in YuvToRgbRow() local
368 rgb2 = _mm_packus_epi16(G0, G1); in YuvToRgbRow()
374 PlanarTo24b(&rgb0, &rgb1, &rgb2, &rgb3, &rgb4, &rgb5, dst); in YuvToRgbRow()