/external/skia/bench/ |
EncoderBench.cpp | 82 #define PNG(FLAG, ZLIBLEVEL) [](SkWStream* d, const SkPixmap& s) { \ 85 static const char* srcs[2] = {"images/mandrill_512.png", "images/color_wheel.jpg"}; 98 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kAll, 6), "PNG")); 99 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kAll, 3), "PNG_3")); 100 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kAll, 1), "PNG_1")); 102 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kSub, 6), "PNG_6s")); 103 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kSub, 3), "PNG_3s")); 104 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kSub, 1), "PNG_1s")); 106 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kNone, 6), "PNG_6n")) [all...] |
/external/skqp/bench/ |
EncoderBench.cpp | 82 #define PNG(FLAG, ZLIBLEVEL) [](SkWStream* d, const SkPixmap& s) { \ 85 static const char* srcs[2] = {"images/mandrill_512.png", "images/color_wheel.jpg"}; 98 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kAll, 6), "PNG")); 99 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kAll, 3), "PNG_3")); 100 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kAll, 1), "PNG_1")); 102 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kSub, 6), "PNG_6s")); 103 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kSub, 3), "PNG_3s")); 104 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kSub, 1), "PNG_1s")); 106 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kNone, 6), "PNG_6n")) [all...] |
/external/libpng/scripts/ |
def.c | 8 * and license in png.h 20 PNG_DFN "OS2 DESCRIPTION "PNG image compression library"" 29 #include "../png.h"
|
/external/swiftshader/third_party/LLVM/docs/tutorial/ |
Makefile | 14 PNG := $(wildcard $(PROJ_SRC_DIR)/*.png) 22 $(Verb) $(DataInstall) $(PNG) $(HTML_DIR)
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
Bitmap_CompressFormatTest.java | 38 assertEquals(CompressFormat.PNG, CompressFormat.valueOf("PNG")); 48 assertEquals(CompressFormat.PNG, comFormat[1]); 54 assertTrue(b.compress(CompressFormat.PNG, 24, new ByteArrayOutputStream()));
|
/prebuilts/jdk/jdk8/linux-x86/jre/lib/ |
flavormap.properties | 77 PNG=image/x-java-image;class=java.awt.Image
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
BitmapFactoryTest.java | 36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out);
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
IconTest.java | 84 bm1.compress(Bitmap.CompressFormat.PNG, 100, 85 new FileOutputStream(new File(dir, "bitmap1-original.png"))); 86 test1.compress(Bitmap.CompressFormat.PNG, 100, 87 new FileOutputStream(new File(dir, "bitmap1-test.png"))); 93 bm2.compress(Bitmap.CompressFormat.PNG, 100, 94 new FileOutputStream(new File(dir, "bitmap2-original.png"))); 95 test2.compress(Bitmap.CompressFormat.PNG, 100, 96 new FileOutputStream(new File(dir, "bitmap2-test.png"))); 102 bm3.compress(Bitmap.CompressFormat.PNG, 100, 103 new FileOutputStream(new File(dir, "bitmap3-original.png"))); [all...] |
/tools/tradefederation/core/src/com/android/tradefed/result/ |
LogDataType.java | 26 PNG("png", "image/png", true, false),
|
LogFilesReporter.java | 119 if (file.getName().endsWith(LogDataType.PNG.getFileExt())) { 120 logDataType = LogDataType.PNG;
|
/prebuilts/jdk/jdk8/darwin-x86/jre/lib/ |
flavormap.properties | 77 PNG=image/x-java-image;class=java.awt.Image
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
MediaStoreSaver.java | 51 File file = File.createTempFile(imageName, ".png", dir); 53 bitmap.compress(Bitmap.CompressFormat.PNG, 0, fOut);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
BitmapEncoder.java | 19 * using {@link android.graphics.Bitmap.CompressFormat#PNG} to preserve alpha and all other bitmaps are written 63 return Bitmap.CompressFormat.PNG;
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
BitmapUtils.java | 40 File outputFile = new File(externalFilesDir, fileTitle + "_generated.png"); 46 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
|
/frameworks/support/graphics/drawable/animated/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/ |
DrawableUtils.java | 55 String outputFilename = outputFolder + fileTitle + "_golden.png"; 62 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
UriBitmap.java | 53 File tempFile = File.createTempFile("tmpImage", ".png"); 70 bitmap.compress(Bitmap.CompressFormat.PNG, 100, fs);
|
/prebuilts/go/darwin-x86/src/image/png/ |
paeth.go | 5 package png package 22 // paeth implements the Paeth filter function, as per the PNG specification. 24 // This is an optimized version of the sample code in the PNG spec.
|
/prebuilts/go/linux-x86/src/image/png/ |
paeth.go | 5 package png package 22 // paeth implements the Paeth filter function, as per the PNG specification. 24 // This is an optimized version of the sample code in the PNG spec.
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
FilePullerLogCollector.java | 57 if (".png".equals(ext)) { 58 type = LogDataType.PNG;
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
BitmapUtils.java | 90 bmp.compress(CompressFormat.PNG, 0 /*ignored for PNG*/, bos); 122 bitmap.compress(Bitmap.CompressFormat.PNG, 0 /* ignored for PNG */, fileStream);
|
/external/webrtc/webrtc/tools/barcode_tools/ |
barcode_decoder.py | 26 """Converts a YUV video file into PNG frames. 29 the form frame_xxxx.png, where xxxx is the frame number, starting from 0001. 35 output_directory(string): The output directory where the PNG frames will be 44 output_files_pattern = os.path.join(output_directory, 'frame_%04d.png') 48 % yuv_file_name, '-f', 'image2', '-vcodec', 'png', 51 print 'Converting YUV file to PNG images (may take a while)...' 54 command, fail_msg='Error during YUV to PNG conversion') 68 to decode the barcode in every PNG frame from the input directory. The frames 69 should be named frame_xxxx.png, where xxxx is the frame number. The frame 76 input_directory(string): The input directory from where the PNG frames ar [all...] |
/cts/hostsidetests/theme/app/src/android/theme/app/ |
GenerateBitmapTask.java | 32 * as a PNG asynchronously. 71 final File file = new File(mOutDir, mName + ".png"); 82 success = bitmap.compress(CompressFormat.PNG, 100, stream);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GetBitmapActivity.java | 50 button.setText("Copy bitmap to /sdcard/textureview.png"); 57 Environment.getExternalStorageDirectory() + "/textureview.png"); 59 b.compress(Bitmap.CompressFormat.PNG, 100, out);
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
MediaStoreSaver.java | 50 String suffix = ".png"; 51 Bitmap.CompressFormat format = Bitmap.CompressFormat.PNG;
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
MediaStoreSaver.java | 49 //File file = new File(dir, imageName + n + ".png"); 50 File file = new File(dir, imageName + ".png"); 53 bitmap.compress(Bitmap.CompressFormat.PNG, 0, fOut);
|