Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/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()
/third_party/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()
/third_party/ffmpeg/libavfilter/
Dcolorspacedsp_template.c61 int16_t *rgb0 = rgb[0], *rgb1 = rgb[1], *rgb2 = rgb[2]; in fn() local
111 rgb2[x << SS_W] = av_clip_int16((y00 * cy + cbu * u + rnd) >> sh); in fn()
113 rgb2[2 * x + 1] = av_clip_int16((y01 * cy + cbu * u + rnd) >> sh); in fn()
115 rgb2[2 * x + rgb_stride] = av_clip_int16((y10 * cy + cbu * u + rnd) >> sh); in fn()
116 rgb2[2 * x + rgb_stride + 1] = av_clip_int16((y11 * cy + cbu * u + rnd) >> sh); in fn()
126 rgb2 += rgb_stride * (1 << SS_H); in fn()
137 const int16_t *rgb0 = rgb[0], *rgb1 = rgb[1], *rgb2 = rgb[2]; in fn() local
157 int r00 = rgb0[x << SS_W], g00 = rgb1[x << SS_W], b00 = rgb2[x << SS_W]; in fn()
159 int r01 = rgb0[x * 2 + 1], g01 = rgb1[x * 2 + 1], b01 = rgb2[x * 2 + 1]; in fn()
161 int r10 = rgb0[x * 2 + 0 + s], g10 = rgb1[x * 2 + 0 + s], b10 = rgb2[x * 2 + 0 + s]; in fn()
[all …]
/third_party/skia/third_party/externals/libwebp/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()
/third_party/flutter/skia/third_party/externals/libwebp/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()
/third_party/flutter/skia/third_party/externals/wuffs/script/
Dmake-artificial.go1064 if rgb2, _, ok := parseHex(s); ok {
1066 [4]uint8{uint8(rgb0), uint8(rgb1), uint8(rgb2), 0xFF})
1084 if rgb2, _, ok := parseHex(s); ok {
1086 [4]uint8{uint8(rgb0), uint8(rgb1), uint8(rgb2), 0xFF})
/third_party/skia/include/private/
DSkNx_sse.h442 __m128i rgb2 = _mm_srli_si128(_mm_loadu_si128((const __m128i*) (ptr8 + 4*2)), 2*2); in Load3() local
443 __m128i rgb3 = _mm_srli_si128(rgb2, 3*2); in Load3()
446 __m128i rrggbb23 = _mm_unpacklo_epi16(rgb2, rgb3); in Load3()
518 __m128i rgb2 = _mm_loadu_si128((const __m128i*) (ptr8 + 6*2)); in Load3() local
519 __m128i rgb3 = _mm_srli_si128(rgb2, 3*2); in Load3()
526 __m128i rgb23 = _mm_unpacklo_epi16(rgb2, rgb3); in Load3()
/third_party/flutter/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()