Home
last modified time | relevance | path

Searched refs:GetByteCount (Results 1 – 25 of 64) sorted by relevance

123

/ohos5.0/foundation/multimedia/av_session/frameworks/native/session/src/
H A Davsession_pixel_map_adapter.cpp57 uint32_t imgByteSizeInner = static_cast<uint32_t>(pixelMap->GetByteCount()); in ConvertFromInner()
110 originalPixelMapBytes_ = pixelMap->GetByteCount(); in ConvertToInner()
127 originalPixelMapBytes_ = pixelMapTemp->GetByteCount(); in ConvertToInner()
136 uint32_t pixelDataSize = static_cast<uint32_t>(pixelMapTemp->GetByteCount()); in ConvertToInner()
163 originalPixelMapBytes_ = pixelMap->GetByteCount(); in ConvertToInnerWithLimitedSize()
181 originalPixelMapBytes_ = pixelMapTemp->GetByteCount(); in ConvertToInnerWithLimitedSize()
190 uint32_t pixelDataSize = static_cast<uint32_t>(pixelMapTemp->GetByteCount()); in ConvertToInnerWithLimitedSize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/
H A Dimage_data.cpp24 return pixmap_ ? pixmap_->GetByteCount() : 0; in GetSize()
35 ", ByteCount: " + std::to_string(pixmap_->GetByteCount()) + "(B)"; in ToString()
/ohos5.0/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dpixel_map_manager.h43 int32_t GetByteCount() in GetByteCount() function
48 return pixelMap_->GetByteCount(); in GetByteCount()
H A Dpixel_yuv_ext.h42 NATIVEEXPORT int32_t GetByteCount() override;
H A Dpixel_yuv.h50 NATIVEEXPORT int32_t GetByteCount() override;
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dpixel_map_ohos.cpp196 int32_t PixelMapOhos::GetByteCount() const in GetByteCount() function in OHOS::Ace::PixelMapOhos
199 return pixmap_->GetByteCount(); in GetByteCount()
272 data.resize(pixmap_->GetByteCount()); in GetPixelsVec()
274 uint32_t errCode = pixmap_->ReadPixels(pixmap_->GetByteCount(), dst); in GetPixelsVec()
299 int32_t totalSize = pixmap_->GetByteCount(); in SavePixelMapToFile()
H A Dpixel_map_ohos.h42 int32_t GetByteCount() const override;
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/
H A Dimage_pixel_map_test.cpp84 int32_t bufferSize = pixelMap->GetByteCount(); in ConstructBigPixmap()
363 EXPECT_EQ(pixelMap.GetByteCount(), 0);
390 EXPECT_EQ(pixelMap.GetByteCount(), 0);
417 EXPECT_EQ(pixelMap.GetByteCount(), 0);
1462 bufferSize = pixelMap->GetByteCount();
1612 uint64_t size4 = static_cast<uint64_t>(pixelMap->GetByteCount());
1674 uint64_t size5 = static_cast<uint64_t>(pixelMap->GetByteCount());
1772 size6 = static_cast<uint64_t>(pixelMap->GetByteCount());
1816 uint32_t pixelsSize = pixelmap->GetByteCount();
1862 uint32_t pixelsSize = pixelmap2->GetByteCount();
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_map_parcel.cpp155 int32_t bufferSize = pixelMap->GetByteCount(); in WriteImageInfo()
202 int32_t bufferSize = pixelMap->GetByteCount(); in WriteToParcel()
H A Dpixel_yuv_ext.cpp297 int32_t PixelYuvExt::GetByteCount() in GetByteCount() function in OHOS::Media::PixelYuvExt
299 return PixelYuv::GetByteCount(); in GetByteCount()
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/test/unittest/src/
H A Davmetadata_mock.cpp165 int32_t bufferSize = frame->GetByteCount(); in FrameToFile()
225 uint32_t rgb888Size = (frame->GetByteCount() / RGB565_PIXEL_BYTES) * RGB888_PIXEL_BYTES; in FrameToJpeg()
236 … ret = RGB565ToRGB888(rgb565Data, frame->GetByteCount() / RGB565_PIXEL_BYTES, rgb888, rgb888Size); in FrameToJpeg()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/
H A Dpixel_map.cpp31 int32_t PixelMap::GetByteCount() in GetByteCount() function in OHOS::Media::PixelMap
/ohos5.0/foundation/multimedia/image_effect/test/unittest/mock/include/
H A Dmock_pixel_map.h35 MOCK_METHOD0(GetByteCount, int32_t());
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/
H A Davmetadatahelper_impl.cpp192 …CHECK_AND_RETURN_RET_LOG(pixelMap->GetByteCount() <= frame->size_, nullptr, "Size inconsistent !"); in CreatePixelMap()
197 pixelMap->SetPixelsAddr(holder->heap, holder, static_cast<uint32_t>(pixelMap->GetByteCount()), in CreatePixelMap()
255 pixelMap->SetPixelsAddr(pixelAddr, holder, pixelMap->GetByteCount(), in OnCreatePixelMapSdr()
262 pixelMap->GetByteCount(), opts); in OnCreatePixelMapSdr()
561 …:Create(reinterpret_cast<const uint32_t *>(pixelMap->GetPixels()), pixelMap->GetByteCount(), opts); in FetchFrameAtTime()
/ohos5.0/foundation/arkui/ace_engine/test/mock/base/
H A Dmock_pixel_map.h32 MOCK_METHOD(int32_t, GetByteCount, (), (const override));
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dpixel_map_preview.cpp95 int32_t PixelMapPreview::GetByteCount() const in GetByteCount() function in OHOS::Ace::PixelMapPreview
H A Dpixel_map_preview.h39 int32_t GetByteCount() const override;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
H A Drs_common_tools.cpp47 int32_t totalSize = pixelMap->GetByteCount(); in SavePixelmapToFile()
/ohos5.0/foundation/multimedia/image_effect/test/unittest/mock/src/
H A Dmock_pixel_map.cpp43 ON_CALL(*this, GetByteCount()).WillByDefault(Return(byteCount)); in MockPixelMap()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/effectChain/src/
H A Doutput.cpp90 pixelMap_->WritePixels(colorBuffer_.data(), pixelMap_->GetByteCount()); in EncodeToPixelMap()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
H A Dbundle_resource_image_info.cpp77 …pixelMap->GetByteCount(), static_cast<int32_t>(packedSize), static_cast<int32_t>(originalString.le… in ConvertToString()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/image/
H A Dpixel_map.h167 virtual int32_t GetByteCount() const = 0;
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/cj/src/
H A Dpixel_map_impl.cpp178 return real_->GetByteCount(); in GetPixelBytesNumber()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dinterface_test.cpp163 int32_t count = pixelMapManager.GetByteCount();
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_image_util.cpp49 auto size = static_cast<uint32_t>(pixelMap->GetByteCount()); in PackImage()

123