/external/webp/src/dsp/ |
lossless_neon.c | 30 int num_pixels, uint8_t* dst) { 31 const uint32_t* const end = src + (num_pixels & ~15); 41 VP8LConvertBGRAToRGBA_C(src, num_pixels & 15, dst); // left-overs 45 int num_pixels, uint8_t* dst) { 46 const uint32_t* const end = src + (num_pixels & ~15); 53 VP8LConvertBGRAToBGR_C(src, num_pixels & 15, dst); // left-overs 57 int num_pixels, uint8_t* dst) { 58 const uint32_t* const end = src + (num_pixels & ~15); 65 VP8LConvertBGRAToRGB_C(src, num_pixels & 15, dst); // left-overs 75 int num_pixels, uint8_t* dst) [all...] |
lossless.c | 238 void VP8LAddGreenToBlueAndRed_C(uint32_t* data, int num_pixels) { 240 for (i = 0; i < num_pixels; ++i) { 263 int num_pixels) { 265 for (i = 0; i < num_pixels; ++i) { 417 int num_pixels, uint8_t* dst) { 418 const uint32_t* const src_end = src + num_pixels; 428 int num_pixels, uint8_t* dst) { 429 const uint32_t* const src_end = src + num_pixels; 440 int num_pixels, uint8_t* dst) { 441 const uint32_t* const src_end = src + num_pixels; [all...] |
upsampling_sse2.c | 96 #define UPSAMPLE_LAST_BLOCK(tb, bb, num_pixels, out) { \ 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) { \ [all...] |
lossless_enc_neon.c | 55 static void SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) { 56 const uint32_t* const end = argb_data + (num_pixels & ~3); 68 VP8LSubtractGreenFromBlueAndRed_C(argb_data, num_pixels & 3); 75 uint32_t* argb_data, int num_pixels) { 102 for (i = 0; i + 4 <= num_pixels; i += 4) { 124 VP8LTransformColor_C(m, argb_data + i, num_pixels - i);
|
lossless_sse2.c | 158 static void AddGreenToBlueAndRed(uint32_t* argb_data, int num_pixels) { 160 for (i = 0; i + 4 <= num_pixels; i += 4) { 169 VP8LAddGreenToBlueAndRed_C(argb_data + i, num_pixels - i); 176 uint32_t* argb_data, int num_pixels) { 190 for (i = 0; i + 4 <= num_pixels; i += 4) { 206 VP8LTransformColorInverse_C(m, argb_data + i, num_pixels - i); 213 int num_pixels, uint8_t* dst) { 216 while (num_pixels >= 8) { 233 num_pixels -= 8; 236 VP8LConvertBGRAToRGBA_C((const uint32_t*)in, num_pixels, (uint8_t*)out) [all...] |
lossless.h | 38 typedef void (*VP8LProcessBlueAndRedFunc)(uint32_t* argb_data, int num_pixels); 49 uint32_t* argb_data, int num_pixels); 63 typedef void (*VP8LConvertFunc)(const uint32_t* src, int num_pixels, 72 void VP8LConvertFromBGRA(const uint32_t* const in_data, int num_pixels, 113 uint32_t* data, int num_pixels); 115 void VP8LConvertBGRAToRGB_C(const uint32_t* src, int num_pixels, uint8_t* dst); 116 void VP8LConvertBGRAToRGBA_C(const uint32_t* src, int num_pixels, uint8_t* dst); 118 int num_pixels, uint8_t* dst); 120 int num_pixels, uint8_t* dst); 121 void VP8LConvertBGRAToBGR_C(const uint32_t* src, int num_pixels, uint8_t* dst) [all...] |
upsampling_neon.c | 79 #define UPSAMPLE_LAST_BLOCK(tb, bb, num_pixels, out) { \ 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)); \
|
lossless_enc_sse41.c | 24 static void SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) { 28 for (i = 0; i + 4 <= num_pixels; i += 4) { 35 VP8LSubtractGreenFromBlueAndRed_C(argb_data + i, num_pixels - i);
|
lossless_mips_dsp_r2.c | 230 static void AddGreenToBlueAndRed(uint32_t* data, int num_pixels) { 232 uint32_t* const p_loop1_end = data + (num_pixels & ~3); 233 uint32_t* const p_loop2_end = data + num_pixels; 284 uint32_t* data, int num_pixels) { 290 uint32_t* const p_loop_end = data + (num_pixels & ~1); 347 if (num_pixels & 1) VP8LTransformColorInverse_C(m, data, 1); 351 int num_pixels, uint8_t* dst) { 353 const uint32_t* const p_loop1_end = src + (num_pixels & ~3); 354 const uint32_t* const p_loop2_end = src + num_pixels; 403 int num_pixels, uint8_t* dst) [all...] |
/external/webrtc/webrtc/modules/video_processing/ |
brightness_detection.cc | 51 prop_low /= stats.num_pixels; 59 prop_high /= stats.num_pixels; 73 std_y = sqrt(std_y / stats.num_pixels); 80 float pos_perc05 = stats.num_pixels * 0.05f; 81 float pos_median = stats.num_pixels * 0.5f; 82 float posPerc95 = stats.num_pixels * 0.95f;
|
video_processing_impl.cc | 64 stats->num_pixels = (width * height) / ((1 << stats->sub_sampling_factor) * 66 assert(stats->num_pixels > 0); 69 stats->mean = stats->sum / stats->num_pixels; 73 if (stats.num_pixels == 0) { 83 stats->num_pixels = 0; 93 int num_pixels = frame->width() * frame->height(); local 102 for (int i = 0; i < num_pixels; i++) {
|
content_analysis.cc | 165 uint32_t num_pixels = 0; // Counter for # of pixels. local 170 num_pixels += 1; 191 static_cast<float>(tempDiffSum) / static_cast<float>(num_pixels); 193 static_cast<float>(pixelSum) / static_cast<float>(num_pixels); 195 static_cast<float>(pixelSqSum) / static_cast<float>(num_pixels);
|
/external/opencv3/3rdparty/libwebp/dsp/ |
upsampling_sse2.c | 100 #define UPSAMPLE_LAST_BLOCK(tb, bb, num_pixels, out) { \ 102 memcpy(r1, (tb), (num_pixels)); \ 103 memcpy(r2, (bb), (num_pixels)); \ 105 memset(r1 + (num_pixels), r1[(num_pixels) - 1], 17 - (num_pixels)); \ 106 memset(r2 + (num_pixels), r2[(num_pixels) - 1], 17 - (num_pixels)); \ 112 top_dst, bottom_dst, cur_x, num_pixels) { \ [all...] |
upsampling_neon.c | 78 #define UPSAMPLE_LAST_BLOCK(tb, bb, num_pixels, out) { \ 80 memcpy(r1, (tb), (num_pixels)); \ 81 memcpy(r2, (bb), (num_pixels)); \ 83 memset(r1 + (num_pixels), r1[(num_pixels) - 1], 9 - (num_pixels)); \ 84 memset(r2 + (num_pixels), r2[(num_pixels) - 1], 9 - (num_pixels)); \
|
lossless.c | [all...] |
/external/libdrm/tests/exynos/ |
exynos_fimg2d_perf.c | 98 printf("num_pixels = %u, usecs = %llu\n", w * h, g2d_time); 144 unsigned num_pixels = 0; local 165 num_pixels += w * h; 178 fprintf(stderr, "error: iteration %u failed (num_pixels = %u)\n", i, num_pixels); 189 printf("{%u,%llu}", num_pixels, g2d_time); 191 printf("num_pixels = %u, usecs = %llu\n", num_pixels, g2d_time);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_format_aos.c | 380 unsigned num_pixels = type.length / 4; local 441 for (k = 0; k < num_pixels; ++k) { 444 packed = lp_build_gather_elem(gallivm, num_pixels, 468 tmps, num_pixels, &res, 1); 488 tmp_type.length = num_pixels * 4; 493 num_pixels, 567 res = LLVMGetUndef(LLVMVectorType(i32t, num_pixels)); 574 for (k = 0; k < num_pixels; ++k) { 579 args[1] = lp_build_gather_elem_ptr(gallivm, num_pixels, 582 if (num_pixels == 1) [all...] |
/external/webrtc/webrtc/modules/video_processing/test/ |
brightness_detection_test.cc | 34 EXPECT_GT(stats.num_pixels, 0u); 71 EXPECT_GT(stats.num_pixels, 0u); 105 EXPECT_GT(stats.num_pixels, 0u);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
layered_filter_f32_helper.rsh | 198 static void ResetSharpImage(SharpPixelF32_t *sharp_image, int num_pixels) { 199 const SharpPixelF32_t *last_p = sharp_image + num_pixels; 211 static void ResetIntegralImage(float4 *integral_image, int num_pixels) { 212 const float4 *last_p = integral_image + num_pixels; 218 static void ResetFuzzyImage(FuzzyPixelF32_t *fuzzy_image, int num_pixels) { 219 const FuzzyPixelF32_t *last_p = fuzzy_image + num_pixels;
|
/external/ceres-solver/examples/ |
pgm_image.h | 194 int num_pixels = width_*height_; 195 for (int i = 0; i < num_pixels; ++i) { 256 int num_pixels = width_*height_; 257 data_.resize(num_pixels); 260 for (int i = 0; i < num_pixels; ++i) { 282 for (int i = 0; i < num_pixels; ++i) {
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
layered_filter_f32_helper.rsh | 198 static void ResetSharpImage(SharpPixelF32_t *sharp_image, int num_pixels) { 199 const SharpPixelF32_t *last_p = sharp_image + num_pixels; 211 static void ResetIntegralImage(float4 *integral_image, int num_pixels) { 212 const float4 *last_p = integral_image + num_pixels; 218 static void ResetFuzzyImage(FuzzyPixelF32_t *fuzzy_image, int num_pixels) { 219 const FuzzyPixelF32_t *last_p = fuzzy_image + num_pixels;
|
/external/mesa3d/src/mesa/main/ |
texcompress_cpal.c | 83 const void *indices, GLuint num_pixels, GLubyte *image) 93 remain = num_pixels % 2; 94 for (i = 0; i < num_pixels / 2; i++) { 105 for (i = 0; i < num_pixels; i++)
|
/external/webp/src/demux/ |
anim_decode.c | 28 const uint32_t* const dst, int num_pixels); 30 int num_pixels); 232 // Blend 'num_pixels' in 'src' over 'dst' assuming they are NOT pre-multiplied 235 const uint32_t* const dst, int num_pixels) { 237 for (i = 0; i < num_pixels; ++i) { 259 // Blend 'num_pixels' in 'src' over 'dst' assuming they are pre-multiplied by 262 int num_pixels) { 264 for (i = 0; i < num_pixels; ++i) {
|
/external/webrtc/webrtc/video/ |
overuse_frame_detector.h | 114 bool FrameSizeChanged(int num_pixels) const EXCLUSIVE_LOCKS_REQUIRED(crit_); 116 void ResetAll(int num_pixels) EXCLUSIVE_LOCKS_REQUIRED(crit_);
|
/external/opencv3/modules/calib3d/test/ |
test_chesscorners_timing.cpp | 160 int num_pixels = gray->width*gray->height; local 163 check_chessboard_time*1e-6, check_chessboard_time/num_pixels); 167 find_chessboard_time*1e-6, find_chessboard_time/num_pixels);
|