HomeSort by relevance Sort by last modified time
    Searched defs:Bitmap (Results 1 - 25 of 83) sorted by null

1 2 3 4

  /external/mesa3d/src/gallium/state_trackers/hgl/
bitmap_wrapper.h 35 typedef void Bitmap;
42 Bitmap* create_bitmap(int32 width, int32 height, color_space colorSpace);
43 void delete_bitmap(Bitmap* bitmap);
45 void copy_bitmap_bits(const Bitmap* bitmap, void* data, int32 length);
46 void import_bitmap_bits(const Bitmap* bitmap, void* data, int32 length,
49 void get_bitmap_size(const Bitmap* bitmap, int32* width, int32* height)
    [all...]
  /external/fonttools/Lib/fontTools/ttLib/tables/
sbixBitmap.py 18 class Bitmap(object):
37 #print "Bitmap %i header too short: Expected %x, got %x." % (self.gid, sbixBitmapHeaderFormatSize, len(self.rawdata))
38 raise ttLib.TTLibError("Bitmap header too short.")
43 # bitmap is a reference to another glyph's bitmap
56 raise ttLib.TTLibError("Can't compile bitmap without glyph name")
68 # a bitmap entry is required for each glyph,
70 xmlWriter.simpletag("bitmap", glyphname=self.glyphName)
73 xmlWriter.begintag("bitmap", format=self.imageFormatTag, glyphname=self.glyphName)
88 xmlWriter.endtag("bitmap")
    [all...]
  /art/runtime/gc/accounting/
bitmap.cc 17 #include "bitmap-inl.h"
30 Bitmap* Bitmap::CreateFromMemMap(MemMap* mem_map, size_t num_bits) {
32 return new Bitmap(mem_map, num_bits);
35 Bitmap::Bitmap(MemMap* mem_map, size_t bitmap_size)
42 Bitmap::~Bitmap() {
46 MemMap* Bitmap::AllocateMemMap(const std::string& name, size_t num_bits) {
54 LOG(ERROR) << "Failed to allocate bitmap " << name << ": " << error_msg
    [all...]
bitmap.h 37 class Bitmap {
39 // Create and initialize a bitmap with size num_bits. Storage is allocated with a MemMap.
40 static Bitmap* Create(const std::string& name, size_t num_bits);
42 // Initialize a space bitmap using the provided mem_map as the live bits. Takes ownership of the
45 static Bitmap* CreateFromMemMap(MemMap* mem_map, size_t num_bits);
74 // Fill the bitmap with zeroes. Returns the bitmap's memory to the system as a side-effect.
82 void CopyFrom(Bitmap* source_bitmap);
89 // Size of our bitmap in bits.
104 Bitmap(MemMap* mem_map, size_t bitmap_size)
    [all...]
  /external/tensorflow/tensorflow/core/lib/core/
bitmap.h 25 class Bitmap {
27 // Create a bitmap that holds 0 bits.
28 Bitmap();
30 // Create a bitmap that holds n bits, all initially zero.
31 explicit Bitmap(size_t n);
33 ~Bitmap();
35 Bitmap(const Bitmap&) = delete;
36 Bitmap& operator=(const Bitmap&) = delete
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/
BitmapTypeRequest.java 3 import android.graphics.Bitmap;
17 * A class for creating a load request that either loads an {@link Bitmap} directly or that adds an
18 * {@link com.bumptech.glide.load.resource.transcode.ResourceTranscoder} to transcode the {@link Bitmap} into another
21 * @param <ModelType> The type of model to load the {@link Bitmap} or transcoded class from.
23 public class BitmapTypeRequest<ModelType> extends BitmapRequestBuilder<ModelType, Bitmap> {
29 private static <A, R> FixedLoadProvider<A, ImageVideoWrapper, Bitmap, R> buildProvider(Glide glide,
32 Class<R> transcodedClass, ResourceTranscoder<Bitmap, R> transcoder) {
38 transcoder = glide.buildTranscoder(Bitmap.class, transcodedClass);
40 DataLoadProvider<ImageVideoWrapper, Bitmap> loadProvider = glide.buildDataProvider(ImageVideoWrapper.class,
41 Bitmap.class)
    [all...]
  /art/test/079-phantom/src/
Bitmap.java 22 public class Bitmap {
25 Bitmap.NativeWrapper mNativeWrapper;
37 Bitmap(String name, int width, int height, Bitmap.NativeWrapper nativeData) {
47 return "Bitmap " + mName + ": " + mWidth + "x" + mHeight + " (" +
62 System.out.println("Bitmap has shut down");
69 static Bitmap.NativeWrapper allocNativeStorage(int width, int height) {
72 synchronized (Bitmap.class) {
76 Bitmap.NativeWrapper wrapper = new Bitmap.NativeWrapper(nativeData)
    [all...]
Main.java 20 Bitmap mBitmap1, mBitmap2, mBitmap3, mBitmap4;
76 Bitmap.shutDown();
89 Bitmap.NativeWrapper dataA = Bitmap.allocNativeStorage(10, 10);
91 Bitmap.NativeWrapper dataB = Bitmap.allocNativeStorage(20, 20);
94 mBitmap1 = new Bitmap("one", 10, 10, dataA);
95 mBitmap2 = new Bitmap("two", 20, 20, dataB);
96 mBitmap3 = mBitmap4 = new Bitmap("three/four", 20, 20, dataB);
  /frameworks/base/libs/hwui/hwui/
Bitmap.cpp 16 #include "Bitmap.h"
50 typedef sk_sp<Bitmap> (*AllocPixelRef)(size_t allocSize, const SkImageInfo& info, size_t rowBytes);
52 static sk_sp<Bitmap> allocateBitmap(SkBitmap* bitmap, AllocPixelRef alloc) {
53 const SkImageInfo& info = bitmap->info();
55 LOG_ALWAYS_FATAL("unknown bitmap configuration");
61 // we must respect the rowBytes value already set on the bitmap instead of
63 const size_t rowBytes = bitmap->rowBytes();
64 if (!computeAllocationSize(rowBytes, bitmap->height(), &size)) {
70 wrapper->getSkBitmap(bitmap);
    [all...]
Bitmap.h 47 class ANDROID_API Bitmap : public SkPixelRef {
49 static sk_sp<Bitmap> allocateHeapBitmap(SkBitmap* bitmap);
50 static sk_sp<Bitmap> allocateHeapBitmap(const SkImageInfo& info);
52 static sk_sp<Bitmap> allocateHardwareBitmap(SkBitmap& bitmap);
54 static sk_sp<Bitmap> allocateAshmemBitmap(SkBitmap* bitmap);
55 static sk_sp<Bitmap> allocateAshmemBitmap(size_t allocSize, const SkImageInfo& info,
58 static sk_sp<Bitmap> createFrom(sp<GraphicBuffer> graphicBuffer)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/
gdiplusheaders.h 4 * GDI+ Bitmap, CachedBitmap, CustomLineCap, Font, FontCollection,
42 class Bitmap;
53 friend class Bitmap;
156 class Bitmap: public Image
159 static Bitmap* FromBITMAPINFO(const BITMAPINFO *gdiBitmapInfo,
161 static Bitmap* FromDirectDrawSurface7(IDirectDrawSurface7 *surface);
162 static Bitmap* FromFile(const WCHAR *filename,
164 static Bitmap* FromHBITMAP(HBITMAP hbm, HPALETTE hpal);
165 static Bitmap* FromHICON(HICON icon);
166 static Bitmap* FromResource(HINSTANCE hInstance
    [all...]
  /external/llvm/include/llvm/DebugInfo/PDB/Raw/
PublicsStream.h 61 ArrayRef<uint8_t> Bitmap;
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/
PublicsStream.h 60 ArrayRef<uint8_t> Bitmap;
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/DebugInfo/PDB/Native/
PublicsStream.h 61 ArrayRef<uint8_t> Bitmap;
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/DebugInfo/PDB/Native/
PublicsStream.h 61 ArrayRef<uint8_t> Bitmap;
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/
PublicsStream.h 60 ArrayRef<uint8_t> Bitmap;
  /prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/DebugInfo/PDB/Native/
PublicsStream.h 61 ArrayRef<uint8_t> Bitmap;
  /prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/DebugInfo/PDB/Native/
PublicsStream.h 61 ArrayRef<uint8_t> Bitmap;
  /frameworks/layoutlib/bridge/src/android/graphics/
BitmapFactory_Delegate.java 51 /*package*/ static Bitmap nativeDecodeStream(InputStream is, byte[] storage,
53 Bitmap bm = null;
70 // load the bitmap as a nine patch
74 // get the bitmap and chunk objects.
79 // put the chunk in the bitmap
91 // load the bitmap directly.
102 /*package*/ static Bitmap nativeDecodeFileDescriptor(FileDescriptor fd,
111 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts) {
119 /*package*/ static Bitmap nativeDecodeByteArray(byte[] data, int offset,
133 * Set the newly decoded bitmap's density based on the Options
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiImage/
HiiImage.h 48 EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Bitmap;
57 EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Bitmap;
123 EFI_OUT_OF_RESOURCES - The bitmap could not be retrieved because there was not
171 This function renders an image to a bitmap or the screen using the specified
172 color and options. It draws the image on an existing bitmap, allocates a new
173 bitmap or uses the screen. The images can be clipped.
213 This function renders an image to a bitmap or the screen using the specified
214 color and options. It draws the image on an existing bitmap, allocates a new
215 bitmap or uses the screen. The images can be clipped.
  /device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
HiiImage.h 43 @param Bitmap A pointer to the actual bitmap, organized left-to-right,
44 top-to-bottom. The size of the bitmap is
53 EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Bitmap;
119 @retval EFI_OUT_OF_RESOURCES The bitmap could not be retrieved because there was not
186 @param Bitmap Points to the output bitmap.
197 EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Bitmap;
205 This function renders an image to a bitmap or the screen using
207 existing bitmap, allocates a new bitmap or uses the screen. The
    [all...]
  /frameworks/base/libs/hwui/
LayerBuilder.h 46 Bitmap,
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapColorSpaceTest.java 28 import android.graphics.Bitmap;
68 Bitmap b;
74 b = Bitmap.createBitmap(32, 32, Bitmap.Config.ARGB_8888, true, sRGB);
79 b = Bitmap.createBitmap(32, 32, Bitmap.Config.ARGB_8888, true,
85 b = Bitmap.createBitmap(32, 32, Bitmap.Config.RGBA_F16, true, sRGB);
90 b = Bitmap.createBitmap(32, 32, Bitmap.Config.RGBA_F16, true
137 Bitmap bitmap = Bitmap.createBitmap(32, 32, config, true); local
    [all...]
  /external/python/cpython2/Lib/lib-tk/
Canvas.py 93 class Bitmap(CanvasItem):
95 CanvasItem.__init__(self, canvas, 'bitmap', *args, **kw)
  /external/v8/src/heap/
marking.h 49 // Bitmap is a sequence of cells each containing fixed number of bits.
50 class Bitmap {
95 INLINE(static Bitmap* FromAddress(Address addr)) {
96 return reinterpret_cast<Bitmap*>(addr);
111 unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2;
112 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index);
114 unsigned int end_cell_index = end_index >> Bitmap::kBitsPerCellLog2;
115 MarkBit::CellType end_index_mask = 1u << Bitmap::IndexInCell(end_index);
134 unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2;
135 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index)
    [all...]

Completed in 2111 milliseconds

1 2 3 4