/external/webp/src/dsp/ |
D | lossless_neon.c | 30 int num_pixels, uint8_t* dst) { in ConvertBGRAToRGBA() argument 31 const uint32_t* const end = src + (num_pixels & ~15); in ConvertBGRAToRGBA() 41 VP8LConvertBGRAToRGBA_C(src, num_pixels & 15, dst); // left-overs in ConvertBGRAToRGBA() 45 int num_pixels, uint8_t* dst) { in ConvertBGRAToBGR() argument 46 const uint32_t* const end = src + (num_pixels & ~15); in ConvertBGRAToBGR() 53 VP8LConvertBGRAToBGR_C(src, num_pixels & 15, dst); // left-overs in ConvertBGRAToBGR() 57 int num_pixels, uint8_t* dst) { in ConvertBGRAToRGB() argument 58 const uint32_t* const end = src + (num_pixels & ~15); in ConvertBGRAToRGB() 65 VP8LConvertBGRAToRGB_C(src, num_pixels & 15, dst); // left-overs in ConvertBGRAToRGB() 75 int num_pixels, uint8_t* dst) { in ConvertBGRAToRGBA() argument [all …]
|
D | lossless.h | 34 typedef void (*VP8LProcessBlueAndRedFunc)(uint32_t* argb_data, int num_pixels); 46 uint32_t* argb_data, int num_pixels); 50 typedef void (*VP8LConvertFunc)(const uint32_t* src, int num_pixels, 60 uint32_t* data, int num_pixels); 62 uint32_t* data, int num_pixels); 64 void VP8LConvertBGRAToRGB_C(const uint32_t* src, int num_pixels, uint8_t* dst); 65 void VP8LConvertBGRAToRGBA_C(const uint32_t* src, int num_pixels, uint8_t* dst); 67 int num_pixels, uint8_t* dst); 69 int num_pixels, uint8_t* dst); 70 void VP8LConvertBGRAToBGR_C(const uint32_t* src, int num_pixels, uint8_t* dst); [all …]
|
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)); \ 108 top_dst, bottom_dst, cur_x, num_pixels) { \ argument 110 for (n = 0; n < (num_pixels); ++n) { \ 115 for (n = 0; n < (num_pixels); ++n) { \
|
D | lossless_sse2.c | 159 static void SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) { in SubtractGreenFromBlueAndRed() argument 162 for (i = 0; i + 4 <= num_pixels; i += 4) { 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 178 for (i = 0; i + 4 <= num_pixels; i += 4) { in AddGreenToBlueAndRed() 188 VP8LAddGreenToBlueAndRed_C(argb_data + i, num_pixels - i); in AddGreenToBlueAndRed() 210 int num_pixels) { in TransformColor() argument 217 for (i = 0; i + 4 <= num_pixels; i += 4) { in TransformColor() 244 VP8LTransformColor_C(m, argb_data + i, num_pixels - i); in TransformColor() 249 int num_pixels) { in TransformColorInverse() argument [all …]
|
D | lossless.c | 795 void VP8LSubtractGreenFromBlueAndRed_C(uint32_t* argb_data, int num_pixels) { in VP8LSubtractGreenFromBlueAndRed_C() argument 797 for (i = 0; i < num_pixels; ++i) { in VP8LSubtractGreenFromBlueAndRed_C() 808 void VP8LAddGreenToBlueAndRed_C(uint32_t* data, int num_pixels) { in VP8LAddGreenToBlueAndRed_C() argument 810 for (i = 0; i < num_pixels; ++i) { in VP8LAddGreenToBlueAndRed_C() 847 int num_pixels) { in VP8LTransformColor_C() argument 849 for (i = 0; i < num_pixels; ++i) { in VP8LTransformColor_C() 865 int num_pixels) { in VP8LTransformColorInverse_C() argument 867 for (i = 0; i < num_pixels; ++i) { in VP8LTransformColorInverse_C() 1298 int num_pixels, uint8_t* dst) { in VP8LConvertBGRAToRGB_C() argument 1299 const uint32_t* const src_end = src + num_pixels; in VP8LConvertBGRAToRGB_C() [all …]
|
D | upsampling_neon.c | 79 #define UPSAMPLE_LAST_BLOCK(tb, bb, num_pixels, out) { \ argument 81 memcpy(r1, (tb), (num_pixels)); \ 82 memcpy(r2, (bb), (num_pixels)); \ 84 memset(r1 + (num_pixels), r1[(num_pixels) - 1], 9 - (num_pixels)); \ 85 memset(r2 + (num_pixels), r2[(num_pixels) - 1], 9 - (num_pixels)); \
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_format_aos.c | 380 unsigned num_pixels = type.length / 4; in lp_build_fetch_rgba_aos() local 441 for (k = 0; k < num_pixels; ++k) { in lp_build_fetch_rgba_aos() 444 packed = lp_build_gather_elem(gallivm, num_pixels, in lp_build_fetch_rgba_aos() 468 tmps, num_pixels, &res, 1); in lp_build_fetch_rgba_aos() 488 tmp_type.length = num_pixels * 4; in lp_build_fetch_rgba_aos() 493 num_pixels, in lp_build_fetch_rgba_aos() 567 res = LLVMGetUndef(LLVMVectorType(i32t, num_pixels)); in lp_build_fetch_rgba_aos() 574 for (k = 0; k < num_pixels; ++k) { in lp_build_fetch_rgba_aos() 579 args[1] = lp_build_gather_elem_ptr(gallivm, num_pixels, in lp_build_fetch_rgba_aos() 582 if (num_pixels == 1) { in lp_build_fetch_rgba_aos() [all …]
|
/external/ceres-solver/examples/ |
D | pgm_image.h | 194 int num_pixels = width_*height_; in WriteToFile() local 195 for (int i = 0; i < num_pixels; ++i) { in WriteToFile() 256 int num_pixels = width_*height_; in ReadFromFile() local 257 data_.resize(num_pixels); in ReadFromFile() 260 for (int i = 0; i < num_pixels; ++i) { in ReadFromFile() 282 for (int i = 0; i < num_pixels; ++i) { in ReadFromFile()
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_cpal.c | 83 const void *indices, GLuint num_pixels, GLubyte *image) in paletted_to_color() argument 93 remain = num_pixels % 2; in paletted_to_color() 94 for (i = 0; i < num_pixels / 2; i++) { in paletted_to_color() 105 for (i = 0; i < num_pixels; i++) in paletted_to_color()
|
/external/webp/src/dec/ |
D | alpha.c | 96 const size_t num_pixels = num_rows * width; in ALPHDecode() local 97 assert(dec->alpha_data_size_ >= ALPHA_HEADER_LEN + offset + num_pixels); in ALPHDecode() 99 dec->alpha_data_ + ALPHA_HEADER_LEN + offset, num_pixels); in ALPHDecode()
|
D | vp8l.c | 1195 const uint64_t num_pixels = (uint64_t)dec->width_ * dec->height_; in AllocateInternalBuffers32b() local 1202 num_pixels + cache_top_pixels + cache_pixels; in AllocateInternalBuffers32b() 1211 dec->argb_cache_ = dec->pixels_ + num_pixels + cache_top_pixels; in AllocateInternalBuffers32b()
|