Searched defs:num_pixels (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium_org/third_party/webrtc/modules/video_processing/main/source/
H A Dbrighten.cc27 int num_pixels = frame->width() * frame->height(); local
37 for (int i = 0; i < num_pixels; i++) {
H A Dcontent_analysis.cc166 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);
H A Dcontent_analysis_sse2.cc19 uint32_t num_pixels = 0; // counter for # of pixels local
75 num_pixels += (width_end - border_);
102 const float tempDiffAvg = (float)tempDiffSum / (float)(num_pixels);
103 const float pixelSumAvg = (float)pixelSum / (float)(num_pixels);
104 const float pixelSqSumAvg = (float)pixelSqSum / (float)(num_pixels);
/external/chromium_org/third_party/webrtc/modules/video_processing/main/interface/
H A Dvideo_processing.h48 num_pixels(0),
57 uint32_t num_pixels; // Number of pixels. member in struct:webrtc::VideoProcessingModule::FrameStats
/external/chromium_org/third_party/libwebp/dec/
H A Dalpha.c96 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/
H A Dalpha.c96 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/cc/resources/
H A Dpicture_pile_impl_unittest.cc696 int num_pixels = bitmap.width() * bitmap.height(); local
698 for (int i = 0; i < num_pixels; ++i) {
745 int num_pixels = bitmap.width() * bitmap.height(); local
746 for (int i = 0; i < num_pixels; ++i) {
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dtexcompress_cpal.c83 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++)
82 paletted_to_color(const struct cpal_format_info *info, const GLubyte *palette, const void *indices, GLuint num_pixels, GLubyte *image) argument
/external/chromium_org/ui/events/ozone/evdev/
H A Dtouch_event_converter_evdev.cc61 float num_pixels) {
63 // [min_pixels, min_pixels + num_pixels).
64 return min_pixels + (val - min_tuxels) * num_pixels / num_tuxels;
67 float TuxelToPixelSize(float val, float num_tuxels, float num_pixels) { argument
68 return val * num_pixels / num_tuxels;
57 TuxelsToPixels(float val, float min_tuxels, float num_tuxels, float min_pixels, float num_pixels) argument
/external/mesa3d/src/mesa/main/
H A Dtexcompress_cpal.c83 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++)
82 paletted_to_color(const struct cpal_format_info *info, const GLubyte *palette, const void *indices, GLuint num_pixels, GLubyte *image) argument
/external/chromium_org/ppapi/native_client/tests/ppapi_test_lib/
H A Dtest_interface.cc202 int num_pixels = image_desc.stride / kBytesPerPixel * image_desc.size.height; local
203 for (int i = 0; i < num_pixels; i++)
/external/chromium_org/ppapi/tests/
H A Dtest_fullscreen.cc223 int num_pixels = image.stride() / kBytesPerPixel * image.size().height(); local
224 for (int i = 0; i < num_pixels; i++)
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_aos.c380 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
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_aos.c380 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
[all...]
/external/chromium_org/gpu/command_buffer/tests/
H A Dgl_test_utils.cc203 int num_pixels = width * height; local
204 int size = num_pixels * 4;
210 for (int ii = 0; ii < num_pixels; ++ii) {
/external/chromium_org/third_party/libwebp/dsp/
H A Dlossless_neon.c30 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_
29 ConvertBGRAToRGBA(const uint32_t* src, int num_pixels, uint8_t* dst) argument
44 ConvertBGRAToBGR(const uint32_t* src, int num_pixels, uint8_t* dst) argument
56 ConvertBGRAToRGB(const uint32_t* src, int num_pixels, uint8_t* dst) argument
74 ConvertBGRAToRGBA(const uint32_t* src, int num_pixels, uint8_t* dst) argument
92 ConvertBGRAToBGR(const uint32_t* src, int num_pixels, uint8_t* dst) argument
119 ConvertBGRAToRGB(const uint32_t* src, int num_pixels, uint8_t* dst) argument
268 SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) argument
282 AddGreenToBlueAndRed(uint32_t* argb_data, int num_pixels) argument
[all...]
H A Dlossless_sse2.c159 static void SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) { argument
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) { argument
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) {
208 TransformColor(const VP8LMultipliers* const m, uint32_t* argb_data, int num_pixels) argument
247 TransformColorInverse(const VP8LMultipliers* const m, uint32_t* argb_data, int num_pixels) argument
289 ConvertBGRAToRGBA(const uint32_t* src, int num_pixels, uint8_t* dst) argument
316 ConvertBGRAToRGBA4444(const uint32_t* src, int num_pixels, uint8_t* dst) argument
350 ConvertBGRAToRGB565(const uint32_t* src, int num_pixels, uint8_t* dst) argument
389 ConvertBGRAToBGR(const uint32_t* src, int num_pixels, uint8_t* dst) argument
[all...]
/external/webp/src/dsp/
H A Dlossless_neon.c30 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_
29 ConvertBGRAToRGBA(const uint32_t* src, int num_pixels, uint8_t* dst) argument
44 ConvertBGRAToBGR(const uint32_t* src, int num_pixels, uint8_t* dst) argument
56 ConvertBGRAToRGB(const uint32_t* src, int num_pixels, uint8_t* dst) argument
74 ConvertBGRAToRGBA(const uint32_t* src, int num_pixels, uint8_t* dst) argument
92 ConvertBGRAToBGR(const uint32_t* src, int num_pixels, uint8_t* dst) argument
119 ConvertBGRAToRGB(const uint32_t* src, int num_pixels, uint8_t* dst) argument
268 SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) argument
282 AddGreenToBlueAndRed(uint32_t* argb_data, int num_pixels) argument
[all...]
H A Dlossless_sse2.c159 static void SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) { argument
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) { argument
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) {
208 TransformColor(const VP8LMultipliers* const m, uint32_t* argb_data, int num_pixels) argument
247 TransformColorInverse(const VP8LMultipliers* const m, uint32_t* argb_data, int num_pixels) argument
289 ConvertBGRAToRGBA(const uint32_t* src, int num_pixels, uint8_t* dst) argument
316 ConvertBGRAToRGBA4444(const uint32_t* src, int num_pixels, uint8_t* dst) argument
350 ConvertBGRAToRGB565(const uint32_t* src, int num_pixels, uint8_t* dst) argument
389 ConvertBGRAToBGR(const uint32_t* src, int num_pixels, uint8_t* dst) argument
[all...]
/external/chromium_org/content/common/gpu/media/
H A Drendering_helper.cc480 const size_t num_pixels = thumbnails_fbo_size_.GetArea(); local
482 rgba.resize(num_pixels * 4);
494 rgb->resize(num_pixels * 3);
499 for (size_t i = 0; i < num_pixels; ++i) {
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dvideoadapter.cc84 // to num_pixels.
137 // fewer than num_pixels.
254 void VideoAdapter::SetOutputNumPixels(int num_pixels) { argument
255 output_num_pixels_ = num_pixels;
458 int* num_pixels) {
461 *num_pixels /= 2;
465 *num_pixels *= 2;
694 int num_pixels = GetOutputNumPixels(); local
695 return new_pixels <= num_pixels;
456 StepPixelCount( CoordinatedVideoAdapter::AdaptRequest request, int* num_pixels) argument
/external/chromium_org/third_party/webrtc/video_engine/
H A Doveruse_frame_detector.cc436 bool OveruseFrameDetector::FrameSizeChanged(int num_pixels) const {
437 if (num_pixels != num_pixels_) {
450 void OveruseFrameDetector::ResetAll(int num_pixels) { argument
451 num_pixels_ = num_pixels;
/external/chromium_org/ui/gfx/
H A Dicon_util.cc413 size_t num_pixels = s.GetArea(); local
414 memset(bits, 0, num_pixels * 4);
419 scoped_ptr<bool[]> opaque(new bool[num_pixels]);
420 for (size_t i = 0; i < num_pixels; ++i)
424 memset(bits, 0, num_pixels * 4);
426 memcpy(bitmap.getPixels(), static_cast<void*>(bits), num_pixels * 4);
430 static_cast<const uint32*>(bitmap.getPixels()), num_pixels);
436 for (size_t i = 0; i < num_pixels; ++p, ++i) {
523 bool IconUtil::PixelsHaveAlpha(const uint32* pixels, size_t num_pixels) { argument
524 for (const uint32* end = pixels + num_pixels; pixel
[all...]
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
H A Dmedia_opt_util.cc154 int num_pixels = parameters->codecWidth * parameters->codecHeight; local
155 if (num_pixels <= 352 * 288) {
157 } else if (num_pixels > 640 * 480) {
/external/pixman/pixman/
H A Dpixman-fast-path.c1218 int32_t num_pixels; local
1341 num_pixels = src_width - sx;
1343 if (num_pixels > width_remain)
1344 num_pixels = width_remain;
1347 info2.width = num_pixels;
1352 width_remain -= num_pixels;
1353 info2.mask_x += num_pixels;
1354 info2.dest_x += num_pixels;

Completed in 667 milliseconds

12