Home
last modified time | relevance | path

Searched refs:argb_data (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dlossless_enc_neon.c55 static void SubtractGreenFromBlueAndRed_NEON(uint32_t* argb_data, in SubtractGreenFromBlueAndRed_NEON() argument
57 const uint32_t* const end = argb_data + (num_pixels & ~3); in SubtractGreenFromBlueAndRed_NEON()
63 for (; argb_data < end; argb_data += 4) { in SubtractGreenFromBlueAndRed_NEON()
64 const uint8x16_t argb = vld1q_u8((uint8_t*)argb_data); in SubtractGreenFromBlueAndRed_NEON()
66 vst1q_u8((uint8_t*)argb_data, vsubq_u8(argb, greens)); in SubtractGreenFromBlueAndRed_NEON()
69 VP8LSubtractGreenFromBlueAndRed_C(argb_data, num_pixels & 3); in SubtractGreenFromBlueAndRed_NEON()
76 uint32_t* argb_data, int num_pixels) { in TransformColor_NEON() argument
104 const uint8x16_t in = vld1q_u8((uint8_t*)(argb_data + i)); in TransformColor_NEON()
122 vst1q_s8((int8_t*)(argb_data + i), out); in TransformColor_NEON()
125 VP8LTransformColor_C(m, argb_data + i, num_pixels - i); in TransformColor_NEON()
A Dlossless_enc_mips_dsp_r2.c21 static void SubtractGreenFromBlueAndRed_MIPSdspR2(uint32_t* argb_data, in SubtractGreenFromBlueAndRed_MIPSdspR2() argument
24 uint32_t* const p_loop1_end = argb_data + (num_pixels & ~3); in SubtractGreenFromBlueAndRed_MIPSdspR2()
67 : [argb_data]"+&r"(argb_data), [temp0]"=&r"(temp0), in SubtractGreenFromBlueAndRed_MIPSdspR2()
A Dlossless_enc_sse41.c27 static void SubtractGreenFromBlueAndRed_SSE41(uint32_t* argb_data, in SubtractGreenFromBlueAndRed_SSE41() argument
33 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); in SubtractGreenFromBlueAndRed_SSE41()
36 _mm_storeu_si128((__m128i*)&argb_data[i], out); in SubtractGreenFromBlueAndRed_SSE41()
40 VP8LSubtractGreenFromBlueAndRed_C(argb_data + i, num_pixels - i); in SubtractGreenFromBlueAndRed_SSE41()
A Dlossless_enc_msa.c97 static void SubtractGreenFromBlueAndRed_MSA(uint32_t* argb_data, in SubtractGreenFromBlueAndRed_MSA() argument
100 uint8_t* ptemp_data = (uint8_t*)argb_data; in SubtractGreenFromBlueAndRed_MSA()
A Dlossless_enc_sse2.c29 static void SubtractGreenFromBlueAndRed_SSE2(uint32_t* argb_data, in SubtractGreenFromBlueAndRed_SSE2() argument
33 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); // argb in SubtractGreenFromBlueAndRed_SSE2()
38 _mm_storeu_si128((__m128i*)&argb_data[i], out); in SubtractGreenFromBlueAndRed_SSE2()
42 VP8LSubtractGreenFromBlueAndRed_C(argb_data + i, num_pixels - i); in SubtractGreenFromBlueAndRed_SSE2()
53 uint32_t* argb_data, int num_pixels) { in TransformColor_SSE2() argument
61 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); // argb in TransformColor_SSE2()
72 _mm_storeu_si128((__m128i*)&argb_data[i], out); in TransformColor_SSE2()
76 VP8LTransformColor_C(m, argb_data + i, num_pixels - i); in TransformColor_SSE2()
A Dlossless.h140 void VP8LSubtractGreenFromBlueAndRed_C(uint32_t* argb_data, int num_pixels);
A Dlossless_enc.c503 void VP8LSubtractGreenFromBlueAndRed_C(uint32_t* argb_data, int num_pixels) { in VP8LSubtractGreenFromBlueAndRed_C() argument
506 const int argb = argb_data[i]; in VP8LSubtractGreenFromBlueAndRed_C()
510 argb_data[i] = (argb & 0xff00ff00u) | (new_r << 16) | new_b; in VP8LSubtractGreenFromBlueAndRed_C()

Completed in 11 milliseconds