/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/image/ |
H A D | bitmap.cpp | 23 Bitmap::Bitmap() in Bitmap() function in OHOS::Rosen::Drawing::Bitmap 27 Bitmap::~Bitmap() {} in ~Bitmap() 40 int Bitmap::GetWidth() const in GetWidth() 45 int Bitmap::GetHeight() const in GetHeight() 80 bool Bitmap::ExtractSubset(Bitmap& dst, const Rect& subset) const in ExtractSubset() 96 void Bitmap::CopyPixels(Bitmap& dst, int srcLeft, int srcTop) const in CopyPixels() 107 bool Bitmap::IsImmutable() in IsImmutable() 112 void Bitmap::SetImmutable() in SetImmutable() 122 bool Bitmap::IsValid() const in IsValid() 127 bool Bitmap::IsEmpty() const in IsEmpty() [all …]
|
H A D | image.cpp | 57 bool Image::BuildFromBitmap(const Bitmap& bitmap) in BuildFromBitmap() 80 bool Image::BuildFromBitmap(GPUContext& gpuContext, const Bitmap& bitmap) in BuildFromBitmap() 126 bool Image::AsLegacyBitmap(Bitmap& bitmap) const in AsLegacyBitmap() 166 bool Image::ReadPixels(Bitmap& bitmap, int x, int y) in ReadPixels() 187 bool Image::ScalePixels(const Bitmap& bitmap, const SamplingOptions& sampling, bool allowCachingHin… in ScalePixels() 202 bool Image::GetROPixels(Bitmap& bitmap) const in GetROPixels()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/bitmap/ |
H A D | bitmap_test.cpp | 51 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); 65 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); 96 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); 118 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); 140 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); 157 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); 173 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); 189 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); 205 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); 221 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); [all …]
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/font/ |
H A D | ui_font_cache.cpp | 29 allocator_.SetMinChunkSize(FONT_CACHE_MIN_SIZE + sizeof(Bitmap)); in UIFontCache() 42 void UIFontCache::UpdateLru(Bitmap* bitmap) in UpdateLru() 51 Bitmap* bitmap = nullptr; in GetSpace() 53 uint32_t allocSize = sizeof(Bitmap) + size; in GetSpace() 55 bitmap = reinterpret_cast<Bitmap*>(allocator_.Allocate(allocSize)); in GetSpace() 61 … Bitmap* toFree = reinterpret_cast<struct Bitmap *>(reinterpret_cast<uint8_t *>(lruList_.prev) - in GetSpace() 62 offsetof(struct Bitmap, lruHead)); in GetSpace() 88 Bitmap* bitmap = reinterpret_cast<Bitmap*>(addr - sizeof(Bitmap)); in PutSpace() 98 Bitmap* bitmap = nullptr; in GetBitmap() 101 …bitmap = reinterpret_cast<struct Bitmap*>(reinterpret_cast<uint8_t*>(node) - offsetof(struct Bitma… in GetBitmap()
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/ |
H A D | bitmap_manager.h | 38 class Bitmap { 40 Bitmap(); 42 explicit Bitmap(uint32_t n); 44 Bitmap(const Bitmap &other); 46 ~Bitmap() = default; 76 void And(const Bitmap &other); 83 void Or(const Bitmap &other); 87 Bitmap &operator = (const Bitmap &other); 329 Bitmap bitmap; 335 Bitmap bitmap; [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_bitmap.cpp | 27 static Bitmap* CastToBitmap(OH_Drawing_Bitmap* cBitmap) in CastToBitmap() 29 return reinterpret_cast<Bitmap*>(cBitmap); in CastToBitmap() 34 return (OH_Drawing_Bitmap*)new Bitmap; in OH_Drawing_BitmapCreate() 55 Bitmap* bitmap = new Bitmap; in OH_Drawing_BitmapCreateFromPixels() 67 Bitmap* bitmap = CastToBitmap(cBitmap); in OH_Drawing_BitmapBuild() 80 Bitmap* bitmap = CastToBitmap(cBitmap); in OH_Drawing_BitmapGetWidth() 90 Bitmap* bitmap = CastToBitmap(cBitmap); in OH_Drawing_BitmapGetHeight() 100 Bitmap* bitmap = CastToBitmap(cBitmap); in OH_Drawing_BitmapGetColorFormat() 110 Bitmap* bitmap = CastToBitmap(cBitmap); in OH_Drawing_BitmapGetAlphaFormat() 119 Bitmap* bitmap = CastToBitmap(cBitmap); in OH_Drawing_BitmapGetPixels()
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/ |
H A D | bitmap_manager.cpp | 36 Bitmap::Bitmap() in Bitmap() function in OHOS::NetManagerStandard::Bitmap 41 Bitmap::Bitmap(uint32_t n) in Bitmap() function in OHOS::NetManagerStandard::Bitmap 47 Bitmap::Bitmap(const Bitmap &other) in Bitmap() function in OHOS::NetManagerStandard::Bitmap 52 void Bitmap::Clear() in Clear() 59 void Bitmap::Set(uint32_t n) in Set() 81 void Bitmap::And(const Bitmap &other) in And() 88 void Bitmap::Or(const Bitmap &other) in Or() 95 bool Bitmap::operator == (const Bitmap &other) const in operator ==() 100 Bitmap &Bitmap::operator = (const Bitmap &other) in operator =() 124 uint32_t *Bitmap::Get() in Get() [all …]
|
/ohos5.0/drivers/interface/input/v1_0/ |
H A D | InputTypes.idl | 97 unsigned long[] eventType; /**< Bitmap for recording the supported event types */ 100 unsigned long[] keyCode; /**< Bitmap for recording the supported keycodes */ 101 unsigned long[] ledCode; /**< Bitmap for recording the supported indicators */ 102 unsigned long[] miscCode; /**< Bitmap for recording other supported functions */ 103 unsigned long[] soundCode; /**< Bitmap for recording supported sounds or alerts */ 104 unsigned long[] forceCode; /**< Bitmap for recording the supported force functions */ 105 unsigned long[] switchCode; /**< Bitmap for recording the supported switch functions */ 106 unsigned long[] keyType; /**< Bitmap of the key type */ 107 unsigned long[] ledType; /**< Bitmap of the LED type */ 108 unsigned long[] soundType; /**< Bitmap of the sound type */ [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/input_v1_0/foo/input/v1_0/ |
H A D | InputTypes.idl | 97 unsigned long[] eventType; /**< Bitmap for recording the supported event types */ 100 unsigned long[] keyCode; /**< Bitmap for recording the supported keycodes */ 101 unsigned long[] ledCode; /**< Bitmap for recording the supported indicators */ 102 unsigned long[] miscCode; /**< Bitmap for recording other supported functions */ 103 unsigned long[] soundCode; /**< Bitmap for recording supported sounds or alerts */ 104 unsigned long[] forceCode; /**< Bitmap for recording the supported force functions */ 105 unsigned long[] switchCode; /**< Bitmap for recording the supported switch functions */ 106 unsigned long[] keyType; /**< Bitmap of the key type */ 107 unsigned long[] ledType; /**< Bitmap of the LED type */ 108 unsigned long[] soundType; /**< Bitmap of the sound type */ [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/image/ |
H A D | bitmap.h | 30 class DRAWING_API Bitmap { 32 Bitmap(); 33 virtual ~Bitmap(); 56 bool ExtractSubset(Bitmap& dst, const Rect& subset) const; 128 void CopyPixels(Bitmap& dst, int srcLeft, int srcTop) const;
|
H A D | image.h | 238 bool BuildFromBitmap(const Bitmap& bitmap); 275 bool BuildFromBitmap(GPUContext& gpuContext, const Bitmap& bitmap); 342 bool AsLegacyBitmap(Bitmap& bitmap) const; 393 bool ReadPixels(Bitmap& bitmap, int x, int y); 407 bool ScalePixels(const Bitmap& bitmap, const SamplingOptions& sampling, 417 bool GetROPixels(Bitmap& bitmap) const;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | image_impl.h | 61 virtual bool BuildFromBitmap(const Bitmap& bitmap) = 0; 63 virtual bool BuildFromBitmap(GPUContext& gpuContext, const Bitmap& bitmap) = 0; 76 virtual bool AsLegacyBitmap(Bitmap& bitmap) const = 0; 84 virtual bool ReadPixels(Bitmap& bitmap, int x, int y) = 0; 89 virtual bool ScalePixels(const Bitmap& bitmap, const SamplingOptions& sampling, 93 virtual bool GetROPixels(Bitmap& bitmap) const = 0;
|
H A D | bitmap_impl.h | 29 class Bitmap; variable 45 virtual bool ExtractSubset(Bitmap& dst, const Rect& subset) const = 0; 50 virtual void CopyPixels(Bitmap& dst, int srcLeft, int srcTop) const = 0;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/image/bitmap_fuzzer/ |
H A D | bitmap_fuzzer.cpp | 41 Bitmap bitmap; in BitmapFuzzTest001() 59 Bitmap bitmap; in BitmapFuzzTest002() 71 Bitmap dst; in BitmapFuzzTest002() 91 Bitmap bitmap; in BitmapFuzzTest003() 121 Bitmap bitmap; in BitmapFuzzTest004() 146 Bitmap bitmap; in BitmapFuzzTest005() 147 Bitmap dst; in BitmapFuzzTest005() 168 Bitmap bitmap; in BitmapFuzzTest006() 193 Bitmap bitmap; in BitmapFuzzTest007()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_image.h | 56 bool BuildFromBitmap(const Bitmap& bitmap) override; 61 bool BuildFromBitmap(GPUContext& gpuContext, const Bitmap& bitmap) override; 74 bool AsLegacyBitmap(Bitmap& bitmap) const override; 82 bool ReadPixels(Bitmap& bitmap, int x, int y) override; 88 bool ScalePixels(const Bitmap& bitmap, const SamplingOptions& sampling, 92 bool GetROPixels(Bitmap& bitmap) const override;
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/ |
H A D | drawable_descriptor.cpp | 457 …std::shared_ptr<Rosen::Drawing::Bitmap>& background, std::shared_ptr<Rosen::Drawing::Bitmap>& mask) in GetLayeredIconParm() 481 const Rosen::Drawing::Bitmap& bitmap, const Rosen::Drawing::ImageInfo& imageInfo) in TransformToPixelMap() 508 …std::shared_ptr<Rosen::Drawing::Bitmap>& background, std::shared_ptr<Rosen::Drawing::Bitmap>& mask) in CompositeIconAdaptive() 518 Rosen::Drawing::Bitmap tempCache; in CompositeIconAdaptive() 553 const std::shared_ptr<Rosen::Drawing::Bitmap>& foreground) in BlendForeground() 580 …std::shared_ptr<Rosen::Drawing::Bitmap>& background, std::shared_ptr<Rosen::Drawing::Bitmap>& mask) in CompositeIconNotAdaptive() 585 Rosen::Drawing::Bitmap tempCache; in CompositeIconNotAdaptive() 647 std::shared_ptr<Rosen::Drawing::Bitmap> foreground; in CreatePixelMap() 648 std::shared_ptr<Rosen::Drawing::Bitmap> background; in CreatePixelMap() 649 std::shared_ptr<Rosen::Drawing::Bitmap> mask; in CreatePixelMap() [all …]
|
H A D | drawable_descriptor.h | 178 bool GetLayeredIconParm(std::shared_ptr<Rosen::Drawing::Bitmap>& foreground, 179 …std::shared_ptr<Rosen::Drawing::Bitmap>& background, std::shared_ptr<Rosen::Drawing::Bitmap>& mask… 181 void CompositeIconNotAdaptive(std::shared_ptr<Rosen::Drawing::Bitmap>& foreground, 182 …std::shared_ptr<Rosen::Drawing::Bitmap>& background, std::shared_ptr<Rosen::Drawing::Bitmap>& mask… 183 void CompositeIconAdaptive(std::shared_ptr<Rosen::Drawing::Bitmap>& foreground, 184 …std::shared_ptr<Rosen::Drawing::Bitmap>& background, std::shared_ptr<Rosen::Drawing::Bitmap>& mask… 186 …void TransformToPixelMap(const Rosen::Drawing::Bitmap& bitmap, const Rosen::Drawing::ImageInfo& im… 187 …void DrawOntoCanvas(const std::shared_ptr<Rosen::Drawing::Bitmap>& bitMap, float width, float heig… 190 Rosen::Drawing::Image& image, const std::shared_ptr<Rosen::Drawing::Bitmap>& background, 191 const std::shared_ptr<Rosen::Drawing::Bitmap>& foreground);
|
H A D | image_converter.cpp | 120 std::shared_ptr<Rosen::Drawing::Bitmap> ImageConverter::PixelMapToBitmap( 127 Rosen::Drawing::Bitmap bitmap; 133 return std::make_shared<Rosen::Drawing::Bitmap>(bitmap); 137 const std::shared_ptr<Rosen::Drawing::Bitmap>& bitMap, Media::InitializationOptions& opts)
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_image_test.cpp | 54 Bitmap bitmap; 102 Bitmap bitmap; 130 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); 228 Bitmap bitmap; 254 Bitmap bitmap; 273 Bitmap bitmap; 324 Bitmap bitmap; 341 Bitmap bitmap2; 372 Bitmap bitmap; 472 Bitmap bitmap; [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/ |
H A D | surface_test.cpp | 64 Bitmap bitmap; 78 Bitmap bitmap; 144 Bitmap bitmap; 176 Bitmap bitmap; 209 Bitmap bitmap; 228 Bitmap bitmap;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/round_corner_display/ |
H A D | rs_round_corner_display.h | 147 Drawing::Bitmap bitmapTopPortrait_; 148 Drawing::Bitmap bitmapTopLadsOrit_; 149 Drawing::Bitmap bitmapTopHidden_; 150 Drawing::Bitmap bitmapBottomPortrait_; 187 static bool DecodeBitmap(std::shared_ptr<Drawing::Image> image, Drawing::Bitmap &bitmap);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/image/ |
H A D | image_test.cpp | 288 Bitmap bitmap; 301 Bitmap bitmap; 319 Bitmap bitmap; 337 Bitmap bitmap; 354 Bitmap bitmap; 383 Bitmap bitmap; 398 Bitmap bitmap; 416 Bitmap bitmap; 481 Bitmap bitmap; 544 auto bitmap = std::make_shared<Bitmap>();
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/frame_analyzer/unittest/ |
H A D | frame_painter_test.cpp | 65 Drawing::Bitmap bitmap; 83 Drawing::Bitmap bitmap; 101 Drawing::Bitmap bitmap; 119 Drawing::Bitmap bitmap;
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-standard-newip.md | 31 New IP WiFi灵活极简报文头如下图所示,通过LLC Header中的EtherType = 0xEADD标识New IP报文。Bitmap是一组由0和1组成的二进制序列,每个二进制位的数值用… 37 2) Bitmap:变长,Bitmap默认为紧跟在Dispatch有效位后面的7比特,Bitmap字段长度可持续扩展。Bitmap最后一位置0表示Bitmap结束,最后一位置1表示Bitmap向后扩… 40 **Bitmap字段定义如下:** 42 | 极简Bitmap标识 | Bitops | 携带字段的长度 | 置位策略 | 备注 … 44 | Bitmap 1st Byte: | - | - | - | 下面8bit是从高位到低位排列。 … 53 | Bitmap 2nd Byte: | - | - | - | 下面8bit是从高位到低位排列。 …
|
/ohos5.0/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_netfirewall_test/ |
H A D | netsys_netfirewall_test.cpp | 170 Bitmap a(1); 171 Bitmap b(a); 186 Bitmap val(10); 187 Bitmap other(20);
|