/external/chromium_org/third_party/webrtc/modules/video_processing/main/source/ |
brighten.cc | 27 int num_pixels = frame->width() * frame->height(); local 37 for (int i = 0; i < num_pixels; i++) {
|
brightness_detection.cc | 56 prop_low /= stats.num_pixels; 64 prop_high /= stats.num_pixels; 78 std_y = sqrt(std_y / stats.num_pixels); 85 float pos_perc05 = stats.num_pixels * 0.05f; 86 float pos_median = stats.num_pixels * 0.5f; 87 float posPerc95 = stats.num_pixels * 0.95f;
|
content_analysis.cc | 166 uint32_t num_pixels = 0; // Counter for # of pixels. local 171 num_pixels += 1; 189 float const tempDiffAvg = (float)tempDiffSum / (float)(num_pixels); 190 float const pixelSumAvg = (float)pixelSum / (float)(num_pixels); 191 float const pixelSqSumAvg = (float)pixelSqSum / (float)(num_pixels);
|
video_processing_impl.cc | 105 stats->num_pixels = (width * height) / ((1 << stats->subSamplWidth) * 107 assert(stats->num_pixels > 0); 110 stats->mean = stats->sum / stats->num_pixels; 116 if (stats.num_pixels == 0) { 126 stats->num_pixels = 0;
|
/external/chromium_org/third_party/libwebp/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.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); 65 int num_pixels, uint8_t* dst); 67 int num_pixels, uint8_t* dst); 69 int num_pixels, uint8_t* dst); 71 int num_pixels, uint8_t* dst); 73 int num_pixels, uint8_t* dst) [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_sse2.c | 159 static void SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) { 162 for (i = 0; i + 4 <= num_pixels; i += 4) { 172 VP8LSubtractGreenFromBlueAndRed_C(argb_data + i, num_pixels - i); 175 static void AddGreenToBlueAndRed(uint32_t* argb_data, int num_pixels) { 178 for (i = 0; i + 4 <= num_pixels; i += 4) { 188 VP8LAddGreenToBlueAndRed_C(argb_data + i, num_pixels - i); 210 int num_pixels) { 217 for (i = 0; i + 4 <= num_pixels; i += 4) { 244 VP8LTransformColor_C(m, argb_data + i, num_pixels - i); 249 int num_pixels) { [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.c | [all...] |
/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.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); 65 int num_pixels, uint8_t* dst); 67 int num_pixels, uint8_t* dst); 69 int num_pixels, uint8_t* dst); 71 int num_pixels, uint8_t* dst); 73 int num_pixels, uint8_t* dst) [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_sse2.c | 159 static void SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) { 162 for (i = 0; i + 4 <= num_pixels; i += 4) { 172 VP8LSubtractGreenFromBlueAndRed_C(argb_data + i, num_pixels - i); 175 static void AddGreenToBlueAndRed(uint32_t* argb_data, int num_pixels) { 178 for (i = 0; i + 4 <= num_pixels; i += 4) { 188 VP8LAddGreenToBlueAndRed_C(argb_data + i, num_pixels - i); 210 int num_pixels) { 217 for (i = 0; i + 4 <= num_pixels; i += 4) { 244 VP8LTransformColor_C(m, argb_data + i, num_pixels - i); 249 int num_pixels) { [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.c | [all...] |
/external/chromium_org/third_party/webrtc/modules/video_processing/main/interface/ |
video_processing.h | 48 num_pixels(0), 57 uint32_t num_pixels; // Number of pixels. member in struct:webrtc::VideoProcessingModule::FrameStats
|
/external/chromium_org/third_party/webrtc/video_engine/ |
overuse_frame_detector.h | 106 bool FrameSizeChanged(int num_pixels) const; 108 void ResetAll(int 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) {
|
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/libwebp/dec/ |
alpha.c | 96 const size_t num_pixels = num_rows * width; local 97 assert(dec->alpha_data_size_ >= ALPHA_HEADER_LEN + offset + num_pixels); 99 dec->alpha_data_ + ALPHA_HEADER_LEN + offset, num_pixels);
|
/external/webp/src/dec/ |
alpha.c | 96 const size_t num_pixels = num_rows * width; local 97 assert(dec->alpha_data_size_ >= ALPHA_HEADER_LEN + offset + num_pixels); 99 dec->alpha_data_ + ALPHA_HEADER_LEN + offset, num_pixels);
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
videoadapter.h | 50 void SetOutputNumPixels(int num_pixels); 183 int* num_pixels);
|
/external/chromium_org/third_party/mesa/src/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++)
|