Searched refs:argb_data (Results 1 – 4 of 4) sorted by relevance
/external/webp/src/dsp/ |
D | lossless_neon.c | 291 static void SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) { in SubtractGreenFromBlueAndRed() argument 292 const uint32_t* const end = argb_data + (num_pixels & ~3); in SubtractGreenFromBlueAndRed() 298 for (; argb_data < end; argb_data += 4) { in SubtractGreenFromBlueAndRed() 299 const uint8x16_t argb = vld1q_u8((uint8_t*)argb_data); in SubtractGreenFromBlueAndRed() 301 vst1q_u8((uint8_t*)argb_data, vsubq_u8(argb, greens)); in SubtractGreenFromBlueAndRed() 304 VP8LSubtractGreenFromBlueAndRed_C(argb_data, num_pixels & 3); in SubtractGreenFromBlueAndRed() 307 static void AddGreenToBlueAndRed(uint32_t* argb_data, int num_pixels) { in AddGreenToBlueAndRed() argument 308 const uint32_t* const end = argb_data + (num_pixels & ~3); in AddGreenToBlueAndRed() 314 for (; argb_data < end; argb_data += 4) { in AddGreenToBlueAndRed() 315 const uint8x16_t argb = vld1q_u8((uint8_t*)argb_data); in AddGreenToBlueAndRed() [all …]
|
D | lossless_sse2.c | 159 static void SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) { in SubtractGreenFromBlueAndRed() argument 163 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); in SubtractGreenFromBlueAndRed() 169 _mm_storeu_si128((__m128i*)&argb_data[i], out); in SubtractGreenFromBlueAndRed() 172 VP8LSubtractGreenFromBlueAndRed_C(argb_data + i, num_pixels - i); in SubtractGreenFromBlueAndRed() 175 static void AddGreenToBlueAndRed(uint32_t* argb_data, int num_pixels) { in AddGreenToBlueAndRed() argument 179 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); in AddGreenToBlueAndRed() 185 _mm_storeu_si128((__m128i*)&argb_data[i], out); in AddGreenToBlueAndRed() 188 VP8LAddGreenToBlueAndRed_C(argb_data + i, num_pixels - i); in AddGreenToBlueAndRed() 209 uint32_t* argb_data, in TransformColor() argument 218 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); in TransformColor() [all …]
|
D | lossless.h | 34 typedef void (*VP8LProcessBlueAndRedFunc)(uint32_t* argb_data, int num_pixels); 46 uint32_t* argb_data, int num_pixels); 71 void VP8LSubtractGreenFromBlueAndRed_C(uint32_t* argb_data, int num_pixels);
|
D | lossless.c | 795 void VP8LSubtractGreenFromBlueAndRed_C(uint32_t* argb_data, int num_pixels) { in VP8LSubtractGreenFromBlueAndRed_C() argument 798 const uint32_t argb = argb_data[i]; in VP8LSubtractGreenFromBlueAndRed_C() 802 argb_data[i] = (argb & 0xff00ff00) | (new_r << 16) | new_b; in VP8LSubtractGreenFromBlueAndRed_C()
|