Home
last modified time | relevance | path

Searched refs:bpp (Results 1 - 12 of 12) sorted by relevance

/foundation/graphic/graphic_utils_lite/frameworks/
H A Dpixel_format_utils.cpp21 int16_t bpp; member
29 bool PixelFormatUtils::BppOfPixelFormat(ImagePixelFormat pixelFormat, int16_t& bpp) in BppOfPixelFormat() argument
34 bpp = g_mapBpp[i].bpp; in BppOfPixelFormat()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render_backend/
H A Drs_render_surface_frame.h69 bpp = 0; in FrameConfig()
97 int32_t bpp; member
/foundation/window/window_manager/test/common/utils/src/
H A Dcommon_test_utils.cpp45 const int bpp = 4; // bytes per pixel in CreatePixelMap() local
48 const int voulumeSize = opt.size.width * opt.size.height * bpp; in CreatePixelMap()
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_encoder/
H A Dffmpeg_vid_enc_config.cpp94 int32_t bpp = 0; in SetVideoPixelFormat() local
98 bpp += desc->comp[i].depth; in SetVideoPixelFormat()
101 codecContext.bits_per_coded_sample = (bpp > 0) ? bpp : DEFAULT_BIT_PER_CODED_SAMPLE; in SetVideoPixelFormat()
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dpixel_format_utils.h98 static bool BppOfPixelFormat(ImagePixelFormat pixelFormat, int16_t& bpp);
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/tools/
H A Dbitmap_helpers.cpp94 const int32_t bpp = *(reinterpret_cast<const int32_t*>(img_bytes.data() + bmpAddressOffset.bbpAddressOffset)); in ReadBmp() local
95 imageInfo.channels = bpp / BIT_TO_BYTE; in ReadBmp()
/foundation/graphic/graphic_utils_lite/frameworks/hals/
H A Dhi_fbdev.cpp101 g_layerInfo.bpp = LAYER_BPP; in OpenLayer()
162 g_devSurfaceData.bytePerPixel = g_layerInfo.bpp / BITS_PER_BYTE; in HiFbdevInit()
/foundation/graphic/graphic_3d/lume/LumeFont/src/
H A Dfont_manager.cpp497 uint32_t bpp = (atlasTextures_[atlasIndex].inColor ? 4u : 1u); in AddGlyphToColumn() local
499 if (width > 0 && height > 0 && bitmap.pitch / bpp >= width) { in AddGlyphToColumn()
/foundation/window/window_manager_lite/services/wms/
H A Dlite_wm.cpp713 int16_t bpp = 0; in Screenshot() local
733 if (!PixelFormatUtils::BppOfPixelFormat(static_cast<ImagePixelFormat>(screenshotSurface_->GetFormat()), bpp)) { in Screenshot()
737 lineSize = width * bpp; in Screenshot()
/foundation/graphic/graphic_surface/interfaces/inner_api/surface/
H A Dsurface_type.h161 int32_t bpp; /**< Number of bits occupied by each pixel */
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/
H A DHeifDecoderImpl.cpp880 static bool IsEmptyBuffer(uint8_t *buffer, uint32_t width, uint32_t height, uint32_t bpp, uint32_t rowStride) in IsEmptyBuffer() argument
886 uint32_t rowBytes = width * bpp; in IsEmptyBuffer()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/
H A Dcmd_list_helper.cpp117 auto bpp = ColorTypeToBytesPerPixel(format.colorType); in AddBitmapToCmdList() local
118 auto bitmapSize = bitmap.GetHeight() * bitmap.GetWidth() * bpp; in AddBitmapToCmdList()

Completed in 11 milliseconds