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

/external/webp/src/dsp/
H A Dlossless_enc_sse41.c24 static void SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) { argument
28 for (i = 0; i + 4 <= num_pixels; i += 4) {
35 VP8LSubtractGreenFromBlueAndRed_C(argb_data + i, num_pixels - i);
H A Dlossless_enc_neon.c55 static void SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) { argument
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);
74 TransformColor(const VP8LMultipliers* const m, uint32_t* argb_data, int num_pixels) argument
H A Dlossless_enc_mips_dsp_r2.c22 int num_pixels) {
24 uint32_t* const p_loop1_end = argb_data + (num_pixels & ~3);
25 uint32_t* const p_loop2_end = p_loop1_end + (num_pixels & 3);
82 int num_pixels) {
88 uint32_t* const p_loop_end = data + (num_pixels & ~1);
148 if (num_pixels & 1) {
21 SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) argument
81 TransformColor(const VP8LMultipliers* const m, uint32_t* data, int num_pixels) argument
H A Dlossless_mips_dsp_r2.c230 static void AddGreenToBlueAndRed(uint32_t* data, int num_pixels) { argument
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_
283 TransformColorInverse(const VP8LMultipliers* const m, uint32_t* data, int num_pixels) argument
350 ConvertBGRAToRGB(const uint32_t* src, int num_pixels, uint8_t* dst) argument
402 ConvertBGRAToRGBA(const uint32_t* src, int num_pixels, uint8_t* dst) argument
452 ConvertBGRAToRGBA4444(const uint32_t* src, int num_pixels, uint8_t* dst) argument
526 ConvertBGRAToRGB565(const uint32_t* src, int num_pixels, uint8_t* dst) argument
604 ConvertBGRAToBGR(const uint32_t* src, int num_pixels, uint8_t* dst) argument
[all...]
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
174 AddGreenToBlueAndRed(uint32_t* argb_data, int num_pixels) argument
193 TransformColorInverse(const VP8LMultipliers* const m, uint32_t* argb_data, int num_pixels) argument
[all...]
H A Dlossless_enc_sse2.c27 static void SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) { argument
29 for (i = 0; i + 4 <= num_pixels; i += 4) {
38 VP8LSubtractGreenFromBlueAndRed_C(argb_data + i, num_pixels - i);
45 uint32_t* argb_data, int num_pixels) {
57 for (i = 0; i + 4 <= num_pixels; i += 4) {
72 VP8LTransformColor_C(m, argb_data + i, num_pixels - i);
44 TransformColor(const VP8LMultipliers* const m, uint32_t* argb_data, int num_pixels) argument
H A Dlossless.c238 void VP8LAddGreenToBlueAndRed_C(uint32_t* data, int num_pixels) { argument
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;
262 VP8LTransformColorInverse_C(const VP8LMultipliers* const m, uint32_t* data, int num_pixels) argument
416 VP8LConvertBGRAToRGB_C(const uint32_t* src, int num_pixels, uint8_t* dst) argument
427 VP8LConvertBGRAToRGBA_C(const uint32_t* src, int num_pixels, uint8_t* dst) argument
439 VP8LConvertBGRAToRGBA4444_C(const uint32_t* src, int num_pixels, uint8_t* dst) argument
456 VP8LConvertBGRAToRGB565_C(const uint32_t* src, int num_pixels, uint8_t* dst) argument
473 VP8LConvertBGRAToBGR_C(const uint32_t* src, int num_pixels, uint8_t* dst) argument
484 CopyOrSwap(const uint32_t* src, int num_pixels, uint8_t* dst, int swap_on_big_endian) argument
513 VP8LConvertFromBGRA(const uint32_t* const in_data, int num_pixels, WEBP_CSP_MODE out_colorspace, uint8_t* const rgba) argument
[all...]
H A Dlossless_sse2.c158 static void AddGreenToBlueAndRed(uint32_t* argb_data, int num_pixels) { argument
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_
175 TransformColorInverse(const VP8LMultipliers* const m, uint32_t* argb_data, int num_pixels) argument
212 ConvertBGRAToRGBA(const uint32_t* src, int num_pixels, uint8_t* dst) argument
239 ConvertBGRAToRGBA4444(const uint32_t* src, int num_pixels, uint8_t* dst) argument
273 ConvertBGRAToRGB565(const uint32_t* src, int num_pixels, uint8_t* dst) argument
312 ConvertBGRAToBGR(const uint32_t* src, int num_pixels, uint8_t* dst) argument
[all...]
H A Dlossless_enc.c713 void VP8LSubtractGreenFromBlueAndRed_C(uint32_t* argb_data, int num_pixels) { argument
715 for (i = 0; i < num_pixels; ++i) {
751 int num_pixels) {
753 for (i = 0; i < num_pixels; ++i) {
750 VP8LTransformColor_C(const VP8LMultipliers* const m, uint32_t* data, int num_pixels) argument
/external/webrtc/webrtc/modules/video_processing/include/
H A Dvideo_processing.h35 uint32_t num_pixels; member in struct:webrtc::VideoProcessing::FrameStats
/external/webp/src/dec/
H A Dalpha.c98 const size_t num_pixels = num_rows * width; local
99 assert(dec->alpha_data_size_ >= ALPHA_HEADER_LEN + offset + num_pixels);
101 dec->alpha_data_ + ALPHA_HEADER_LEN + offset, num_pixels);
H A Dvp8l.c1407 const uint64_t num_pixels = (uint64_t)dec->width_ * dec->height_; local
1414 num_pixels + cache_top_pixels + cache_pixels;
1423 dec->argb_cache_ = dec->pixels_ + num_pixels + cache_top_pixels;
/external/libdrm/tests/exynos/
H A Dexynos_fimg2d_perf.c98 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/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/webrtc/webrtc/modules/video_processing/
H A Dvideo_processing_impl.cc64 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++) {
H A Dcontent_analysis.cc165 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);
H A Dcontent_analysis_sse2.cc19 uint32_t num_pixels = 0; // counter for # of pixels local
75 num_pixels += (width_end - border_);
104 static_cast<float>(tempDiffSum) / static_cast<float>(num_pixels);
106 static_cast<float>(pixelSum) / static_cast<float>(num_pixels);
108 static_cast<float>(pixelSqSum) / static_cast<float>(num_pixels);
/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/webrtc/webrtc/video/
H A Doveruse_frame_detector.cc220 bool OveruseFrameDetector::FrameSizeChanged(int num_pixels) const {
221 if (num_pixels != num_pixels_) {
234 void OveruseFrameDetector::ResetAll(int num_pixels) { argument
235 num_pixels_ = num_pixels;
/external/webp/src/demux/
H A Danim_decode.c28 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) {
234 BlendPixelRowNonPremult(uint32_t* const src, const uint32_t* const dst, int num_pixels) argument
261 BlendPixelRowPremult(uint32_t* const src, const uint32_t* const dst, int num_pixels) argument
/external/webrtc/talk/media/base/
H A Dvideoadapter.cc87 // to num_pixels.
140 // fewer than num_pixels.
252 void VideoAdapter::SetOutputNumPixels(int num_pixels) { argument
253 output_num_pixels_ = num_pixels;
383 int* num_pixels) {
386 *num_pixels /= 2;
390 *num_pixels *= 2;
619 int num_pixels = GetOutputNumPixels(); local
620 return new_pixels <= num_pixels;
381 StepPixelCount( CoordinatedVideoAdapter::AdaptRequest request, int* num_pixels) argument
/external/webrtc/webrtc/modules/video_coding/
H A Dmedia_opt_util.cc145 int num_pixels = parameters->codecWidth * parameters->codecHeight; local
146 if (num_pixels <= 352 * 288) {
148 } else if (num_pixels > 640 * 480) {

Completed in 400 milliseconds