HomeSort by relevance Sort by last modified time
    Searched refs:pixelCount (Results 1 - 11 of 11) sorted by null

  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/
ThroughputFilter.java 89 int pixelCount = inputFormat.getWidth() * inputFormat.getHeight();
93 pixelCount);
  /external/skia/tools/
skdiff.cpp 220 int pixelCount = w * h;
221 dr->fFractionDifference = ((float) mismatchedPixels) / pixelCount;
222 dr->fWeightedFraction /= pixelCount;
224 dr->fAverageMismatchA = ((float) totalMismatchA) / pixelCount;
225 dr->fAverageMismatchR = ((float) totalMismatchR) / pixelCount;
226 dr->fAverageMismatchG = ((float) totalMismatchG) / pixelCount;
227 dr->fAverageMismatchB = ((float) totalMismatchB) / pixelCount;
  /external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/
WEBPImageEncoder.cpp 57 size_t pixelCount = picture->height * picture->width;
58 rgb.reserveInitialCapacity(pixelCount * 3);
60 for (unsigned char* data = rgb.data(); pixelCount-- > 0; pixels += 4) {
PNGImageEncoder.cpp 50 static void preMultipliedBGRAtoRGBA(const void* pixels, int pixelCount, unsigned char* output)
55 for (; pixelCount-- > 0; ++input) {
JPEGImageEncoder.cpp 82 static void preMultipliedBGRAtoRGB(const unsigned char* pixels, unsigned int pixelCount, unsigned char* output)
85 for (; pixelCount-- > 0; ++input) {
92 static void RGBAtoRGB(const unsigned char* pixels, unsigned int pixelCount, unsigned char* output)
94 for (; pixelCount-- > 0; pixels += 4) {
  /frameworks/base/services/java/com/android/server/
AssetAtlasService.java 204 Renderer(ArrayList<Bitmap> bitmaps, int pixelCount) {
206 mPixelCount = pixelCount;
393 ArrayList<Bitmap> bitmaps, int pixelCount) {
402 new ComputeWorker(MIN_SIZE, MAX_SIZE, STEP, bitmaps, pixelCount, results, null).run();
412 bitmaps, pixelCount, results, signal);
468 private Configuration chooseConfiguration(ArrayList<Bitmap> bitmaps, int pixelCount,
478 config = computeBestConfiguration(bitmaps, pixelCount);
669 * @param pixelCount The total number of pixels occupied by the list of bitmaps
673 ComputeWorker(int start, int end, int step, List<Bitmap> bitmaps, int pixelCount,
683 int threshold = (int) (pixelCount * PACKING_THRESHOLD)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
TextureRender.java 277 int pixelCount = width * height;
278 int[] colors = new int[pixelCount];
280 for (int i = 0; i < pixelCount; i++) {
  /packages/apps/VideoEditor/src/com/android/videoeditor/util/
ImageUtils.java 183 final int pixelCount = width * height;
185 double scale = Math.sqrt( (double) pixelCount / MAX_PIXELS_FOR_SCALED_IMAGE);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ContactAggregator.java     [all...]
  /external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/
exif_encoder.js 89 var pixelCount = this.metadata_.width * this.metadata_.height;
90 var maxEncodedSize = 5000 * Math.min(10, 1 + pixelCount / 1000000);
image_view.js 619 var pixelCount = 10000;
621 Math.max(1, Math.sqrt(canvas.width * canvas.height / pixelCount));
    [all...]

Completed in 778 milliseconds