/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/ |
A D | lossless_msa.c | 127 num_pixels -= 8; in ConvertBGRAToRGBA_MSA() 136 num_pixels -= 4; in ConvertBGRAToRGBA_MSA() 168 num_pixels -= 16; in ConvertBGRAToBGR_MSA() 180 num_pixels -= 8; in ConvertBGRAToBGR_MSA() 185 num_pixels -= 4; in ConvertBGRAToBGR_MSA() 215 num_pixels -= 16; in ConvertBGRAToRGB_MSA() 217 if (num_pixels) { in ConvertBGRAToRGB_MSA() 227 num_pixels -= 8; in ConvertBGRAToRGB_MSA() 232 num_pixels -= 4; in ConvertBGRAToRGB_MSA() 264 num_pixels -= 8; in AddGreenToBlueAndRed_MSA() [all …]
|
A D | lossless.h | 36 const uint32_t* upper, int num_pixels, 42 int num_pixels, uint32_t* dst); 54 int num_pixels, uint32_t* dst); 68 typedef void (*VP8LConvertFunc)(const uint32_t* src, int num_pixels, 77 void VP8LConvertFromBGRA(const uint32_t* const in_data, int num_pixels, 101 const uint32_t* src, int num_pixels, 107 int num_pixels, uint8_t* dst); 109 int num_pixels, uint8_t* dst); 111 void VP8LAddGreenToBlueAndRed_C(const uint32_t* src, int num_pixels, 123 uint32_t* dst, int num_pixels); [all …]
|
A D | lossless_enc_msa.c | 62 while (num_pixels >= 8) { in TransformColor_MSA() 68 num_pixels -= 8; in TransformColor_MSA() 70 if (num_pixels > 0) { in TransformColor_MSA() 71 if (num_pixels >= 4) { in TransformColor_MSA() 76 num_pixels -= 4; in TransformColor_MSA() 78 if (num_pixels > 0) { in TransformColor_MSA() 105 while (num_pixels >= 8) { in SubtractGreenFromBlueAndRed_MSA() 112 num_pixels -= 8; in SubtractGreenFromBlueAndRed_MSA() 114 if (num_pixels > 0) { in SubtractGreenFromBlueAndRed_MSA() 115 if (num_pixels >= 4) { in SubtractGreenFromBlueAndRed_MSA() [all …]
|
A D | lossless_neon.c | 31 const uint32_t* const end = src + (num_pixels & ~15); in ConvertBGRAToRGBA_NEON() 211 for (i = 0; i + 4 <= num_pixels; i += 4) { in PredictorAdd0_NEON() 224 for (i = 0; i + 4 <= num_pixels; i += 4) { in PredictorAdd1_NEON() 278 for (i = 0; i + 4 <= num_pixels; i += 4) { in PredictorAdd5_NEON() 303 for (i = 0; i + 4 <= num_pixels; i += 4) { in PredictorAdd6_NEON() 319 for (i = 0; i + 4 <= num_pixels; i += 4) { in PredictorAdd7_NEON() 365 for (i = 0; i + 4 <= num_pixels; i += 4) { in PredictorAdd10_NEON() 396 for (i = 0; i + 4 <= num_pixels; i += 4) { in PredictorAdd11_NEON() 429 for (i = 0; i + 4 <= num_pixels; i += 4) { in PredictorAdd12_NEON() 470 for (i = 0; i + 4 <= num_pixels; i += 4) { in PredictorAdd13_NEON() [all …]
|
A D | lossless_sse2.c | 193 if (i != num_pixels) { in PredictorAdd0_SSE2() 219 if (i != num_pixels) { in PredictorAdd1_SSE2() 313 if (i != num_pixels) { 516 num_pixels -= 32; in ConvertBGRAToRGB_SSE2() 519 if (num_pixels > 0) { in ConvertBGRAToRGB_SSE2() 544 num_pixels -= 8; in ConvertBGRAToRGBA_SSE2() 547 if (num_pixels > 0) { in ConvertBGRAToRGBA_SSE2() 580 num_pixels -= 8; in ConvertBGRAToRGBA4444_SSE2() 583 if (num_pixels > 0) { in ConvertBGRAToRGBA4444_SSE2() 621 num_pixels -= 8; in ConvertBGRAToRGB565_SSE2() [all …]
|
A D | lossless_mips_dsp_r2.c | 238 const uint32_t* const p_loop1_end = src + (num_pixels & ~3); in AddGreenToBlueAndRed_MIPSdspR2() 239 const uint32_t* const p_loop2_end = src + num_pixels; in AddGreenToBlueAndRed_MIPSdspR2() 300 const uint32_t* const p_loop_end = src + (num_pixels & ~1); in TransformColorInverse_MIPSdspR2() 366 const uint32_t* const p_loop1_end = src + (num_pixels & ~3); in ConvertBGRAToRGB_MIPSdspR2() 367 const uint32_t* const p_loop2_end = src + num_pixels; in ConvertBGRAToRGB_MIPSdspR2() 418 const uint32_t* const p_loop1_end = src + (num_pixels & ~3); in ConvertBGRAToRGBA_MIPSdspR2() 419 const uint32_t* const p_loop2_end = src + num_pixels; in ConvertBGRAToRGBA_MIPSdspR2() 468 const uint32_t* const p_loop1_end = src + (num_pixels & ~3); in ConvertBGRAToRGBA4444_MIPSdspR2() 469 const uint32_t* const p_loop2_end = src + num_pixels; in ConvertBGRAToRGBA4444_MIPSdspR2() 543 const uint32_t* const p_loop2_end = src + num_pixels; in ConvertBGRAToRGB565_MIPSdspR2() [all …]
|
A D | lossless.c | 175 for (i = 0; i < num_pixels; ++i) { in GENERATE_PREDICTOR_ADD() 245 for (i = 0; i < num_pixels; ++i) { in VP8LAddGreenToBlueAndRed_C() 271 for (i = 0; i < num_pixels; ++i) { in VP8LTransformColorInverse_C() 427 const uint32_t* const src_end = src + num_pixels; in VP8LConvertBGRAToRGB_C() 438 const uint32_t* const src_end = src + num_pixels; in VP8LConvertBGRAToRGBA_C() 450 const uint32_t* const src_end = src + num_pixels; in VP8LConvertBGRAToRGBA4444_C() 503 memcpy(dst, src, num_pixels * sizeof(*src)); in CopyOrSwap() 524 CopyOrSwap(in_data, num_pixels, rgba, 1); in VP8LConvertFromBGRA() 527 CopyOrSwap(in_data, num_pixels, rgba, 1); in VP8LConvertFromBGRA() 531 CopyOrSwap(in_data, num_pixels, rgba, 0); in VP8LConvertFromBGRA() [all …]
|
A D | lossless_enc_sse2.c | 32 for (i = 0; i + 4 <= num_pixels; i += 4) { in SubtractGreenFromBlueAndRed_SSE2() 41 if (i != num_pixels) { in SubtractGreenFromBlueAndRed_SSE2() 60 for (i = 0; i + 4 <= num_pixels; i += 4) { in TransformColor_SSE2() 75 if (i != num_pixels) { in TransformColor_SSE2() 452 for (i = 0; i + 4 <= num_pixels; i += 4) { in PredictorSub0_SSE2() 457 if (i != num_pixels) { in PredictorSub0_SSE2() 498 if (i != num_pixels) { in PredictorSub5_SSE2() 544 if (i != num_pixels) { in PredictorSub10_SSE2() 583 if (i != num_pixels) { in PredictorSub11_SSE2() 612 if (i != num_pixels) { in PredictorSub12_SSE2() [all …]
|
A D | lossless_enc_neon.c | 56 int num_pixels) { in SubtractGreenFromBlueAndRed_NEON() argument 57 const uint32_t* const end = argb_data + (num_pixels & ~3); 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 103 for (i = 0; i + 4 <= num_pixels; i += 4) { in TransformColor_NEON() 125 VP8LTransformColor_C(m, argb_data + i, num_pixels - i); in TransformColor_NEON()
|
A D | upsampling_sse41.c | 98 #define UPSAMPLE_LAST_BLOCK(tb, bb, num_pixels, out) { \ argument 100 memcpy(r1, (tb), (num_pixels)); \ 101 memcpy(r2, (bb), (num_pixels)); \ 103 memset(r1 + (num_pixels), r1[(num_pixels) - 1], 17 - (num_pixels)); \ 104 memset(r2 + (num_pixels), r2[(num_pixels) - 1], 17 - (num_pixels)); \
|
A D | lossless_enc_mips_dsp_r2.c | 22 int num_pixels) { in SubtractGreenFromBlueAndRed_MIPSdspR2() argument 24 uint32_t* const p_loop1_end = argb_data + (num_pixels & ~3); in SubtractGreenFromBlueAndRed_MIPSdspR2() 25 uint32_t* const p_loop2_end = p_loop1_end + (num_pixels & 3); in SubtractGreenFromBlueAndRed_MIPSdspR2() 82 uint32_t* data, int num_pixels) { in TransformColor_MIPSdspR2() argument 88 uint32_t* const p_loop_end = data + (num_pixels & ~1); in TransformColor_MIPSdspR2() 148 if (num_pixels & 1) { in TransformColor_MIPSdspR2()
|
A D | upsampling_sse2.c | 96 #define UPSAMPLE_LAST_BLOCK(tb, bb, num_pixels, out) { \ argument 98 memcpy(r1, (tb), (num_pixels)); \ 99 memcpy(r2, (bb), (num_pixels)); \ 101 memset(r1 + (num_pixels), r1[(num_pixels) - 1], 17 - (num_pixels)); \ 102 memset(r2 + (num_pixels), r2[(num_pixels) - 1], 17 - (num_pixels)); \
|
A D | upsampling_neon.c | 66 #define UPSAMPLE_LAST_BLOCK(tb, bb, num_pixels, out) { \ argument 68 memcpy(r1, (tb), (num_pixels)); \ 69 memcpy(r2, (bb), (num_pixels)); \ 71 memset(r1 + (num_pixels), r1[(num_pixels) - 1], 9 - (num_pixels)); \ 72 memset(r2 + (num_pixels), r2[(num_pixels) - 1], 9 - (num_pixels)); \
|
A D | lossless_common.h | 178 int num_pixels, uint32_t* out) { \ 180 for (x = 0; x < num_pixels; ++x) { \ 190 int num_pixels, uint32_t* out) { \ 192 for (x = 0; x < num_pixels; ++x) { \
|
A D | lossless_enc_sse41.c | 28 int num_pixels) { in SubtractGreenFromBlueAndRed_SSE41() argument 32 for (i = 0; i + 4 <= num_pixels; i += 4) { in SubtractGreenFromBlueAndRed_SSE41() 39 if (i != num_pixels) { in SubtractGreenFromBlueAndRed_SSE41() 40 VP8LSubtractGreenFromBlueAndRed_C(argb_data + i, num_pixels - i); in SubtractGreenFromBlueAndRed_SSE41()
|
A D | lossless_enc.c | 503 void VP8LSubtractGreenFromBlueAndRed_C(uint32_t* argb_data, int num_pixels) { in VP8LSubtractGreenFromBlueAndRed_C() argument 505 for (i = 0; i < num_pixels; ++i) { in VP8LSubtractGreenFromBlueAndRed_C() 519 int num_pixels) { in VP8LTransformColor_C() argument 521 for (i = 0; i < num_pixels; ++i) { in VP8LTransformColor_C() 835 int num_pixels, uint32_t* out) { in PredictorSub0_C() argument 837 for (i = 0; i < num_pixels; ++i) out[i] = VP8LSubPixels(in[i], ARGB_BLACK); in PredictorSub0_C() 842 int num_pixels, uint32_t* out) { in PredictorSub1_C() argument 844 for (i = 0; i < num_pixels; ++i) out[i] = VP8LSubPixels(in[i], in[i - 1]); in PredictorSub1_C()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/demux/ |
A D | anim_decode.c | 28 const uint32_t* const dst, int num_pixels); 30 int num_pixels); 239 const uint32_t* const dst, int num_pixels) { in BlendPixelRowNonPremult() argument 241 for (i = 0; i < num_pixels; ++i) { in BlendPixelRowNonPremult() 266 int num_pixels) { in BlendPixelRowPremult() argument 268 for (i = 0; i < num_pixels; ++i) { in BlendPixelRowPremult()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/ |
A D | predictor_enc.c | 69 int num_pixels, const uint32_t* current, in PredictBatch() argument 81 --num_pixels; in PredictBatch() 85 VP8LPredictorsSub[1](current + x_start, NULL, num_pixels, out); in PredictBatch() 87 VP8LPredictorsSub[mode](current + x_start, upper + x_start, num_pixels, in PredictBatch()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/ |
A D | vp8l_dec.c | 1509 const uint64_t num_pixels = (uint64_t)dec->width_ * dec->height_; in AllocateInternalBuffers32b() local 1516 num_pixels + cache_top_pixels + cache_pixels; in AllocateInternalBuffers32b() 1525 dec->argb_cache_ = dec->pixels_ + num_pixels + cache_top_pixels; in AllocateInternalBuffers32b()
|