Lines Matching refs:rgba
196 uint8x8x4_t rgba = vld4_u8((const uint8_t*) src); in premul_should_swapRB() local
198 uint8x8_t a = rgba.val[3], in premul_should_swapRB()
199 b = rgba.val[2], in premul_should_swapRB()
200 g = rgba.val[1], in premul_should_swapRB()
201 r = rgba.val[0]; in premul_should_swapRB()
210 rgba.val[2] = r; in premul_should_swapRB()
211 rgba.val[1] = g; in premul_should_swapRB()
212 rgba.val[0] = b; in premul_should_swapRB()
214 rgba.val[2] = b; in premul_should_swapRB()
215 rgba.val[1] = g; in premul_should_swapRB()
216 rgba.val[0] = r; in premul_should_swapRB()
218 vst4_u8((uint8_t*) dst, rgba); in premul_should_swapRB()
241 uint8x16x4_t rgba = vld4q_u8((const uint8_t*) src); in RGBA_to_BGRA() local
244 swap(rgba.val[0], rgba.val[2]); in RGBA_to_BGRA()
247 vst4q_u8((uint8_t*) dst, rgba); in RGBA_to_BGRA()
255 uint8x8x4_t rgba = vld4_u8((const uint8_t*) src); in RGBA_to_BGRA() local
258 swap(rgba.val[0], rgba.val[2]); in RGBA_to_BGRA()
261 vst4_u8((uint8_t*) dst, rgba); in RGBA_to_BGRA()
277 uint8x16x4_t rgba; in insert_alpha_should_swaprb() local
279 rgba.val[0] = rgb.val[2]; in insert_alpha_should_swaprb()
280 rgba.val[2] = rgb.val[0]; in insert_alpha_should_swaprb()
282 rgba.val[0] = rgb.val[0]; in insert_alpha_should_swaprb()
283 rgba.val[2] = rgb.val[2]; in insert_alpha_should_swaprb()
285 rgba.val[1] = rgb.val[1]; in insert_alpha_should_swaprb()
286 rgba.val[3] = vdupq_n_u8(0xFF); in insert_alpha_should_swaprb()
289 vst4q_u8((uint8_t*) dst, rgba); in insert_alpha_should_swaprb()
300 uint8x8x4_t rgba; in insert_alpha_should_swaprb() local
302 rgba.val[0] = rgb.val[2]; in insert_alpha_should_swaprb()
303 rgba.val[2] = rgb.val[0]; in insert_alpha_should_swaprb()
305 rgba.val[0] = rgb.val[0]; in insert_alpha_should_swaprb()
306 rgba.val[2] = rgb.val[2]; in insert_alpha_should_swaprb()
308 rgba.val[1] = rgb.val[1]; in insert_alpha_should_swaprb()
309 rgba.val[3] = vdup_n_u8(0xFF); in insert_alpha_should_swaprb()
312 vst4_u8((uint8_t*) dst, rgba); in insert_alpha_should_swaprb()
337 uint8x16x4_t rgba; in gray_to_RGB1() local
338 rgba.val[0] = gray; in gray_to_RGB1()
339 rgba.val[1] = gray; in gray_to_RGB1()
340 rgba.val[2] = gray; in gray_to_RGB1()
341 rgba.val[3] = vdupq_n_u8(0xFF); in gray_to_RGB1()
344 vst4q_u8((uint8_t*) dst, rgba); in gray_to_RGB1()
355 uint8x8x4_t rgba; in gray_to_RGB1() local
356 rgba.val[0] = gray; in gray_to_RGB1()
357 rgba.val[1] = gray; in gray_to_RGB1()
358 rgba.val[2] = gray; in gray_to_RGB1()
359 rgba.val[3] = vdup_n_u8(0xFF); in gray_to_RGB1()
362 vst4_u8((uint8_t*) dst, rgba); in gray_to_RGB1()
385 uint8x16x4_t rgba; in expand_grayA() local
386 rgba.val[0] = ga.val[0]; in expand_grayA()
387 rgba.val[1] = ga.val[0]; in expand_grayA()
388 rgba.val[2] = ga.val[0]; in expand_grayA()
389 rgba.val[3] = ga.val[1]; in expand_grayA()
392 vst4q_u8((uint8_t*) dst, rgba); in expand_grayA()
408 uint8x8x4_t rgba; in expand_grayA() local
409 rgba.val[0] = ga.val[0]; in expand_grayA()
410 rgba.val[1] = ga.val[0]; in expand_grayA()
411 rgba.val[2] = ga.val[0]; in expand_grayA()
412 rgba.val[3] = ga.val[1]; in expand_grayA()
415 vst4_u8((uint8_t*) dst, rgba); in expand_grayA()
572 __m128i rgba = _mm_loadu_si128((const __m128i*) src); in RGBA_to_BGRA() local
573 __m128i bgra = _mm_shuffle_epi8(rgba, swapRB); in RGBA_to_BGRA()
602 __m128i rgba = _mm_or_si128(_mm_shuffle_epi8(rgb, expand), alphaMask); in insert_alpha_should_swaprb() local
605 _mm_storeu_si128((__m128i*) dst, rgba); in insert_alpha_should_swaprb()