/ohos5.0/drivers/peripheral/display/test/unittest/lite/ |
H A D | loadbmp_test.c | 94 uint16_t bpp; in CheckBmpInfo() local 96 bpp = bmpInfo->header.bitCnt / EIGHT_BITS_PER_PIXEL; in CheckBmpInfo() 97 if (bpp < INVALID_BITS) { in CheckBmpInfo() 146 videoLogo->bpp = bmpInfo.header.bitCnt / EIGHT_BITS_PER_PIXEL; in LoadPicToBuffer() 150 *stride = videoLogo->width * videoLogo->bpp; in LoadPicToBuffer() 198 start = origBuf + ((h - 1) - i) * stride + j * videoLogo->bpp; in LoadRgbData() 220 (origBuf + ((h - 1) - i) * stride + j * videoLogo->bpp), videoLogo->bpp); in LoadData() 265 ret = memcpy_s((pRGBBuf + i * videoLogo->stride + j * videoLogo->bpp), videoLogo->len, in Copy2BitsAnd4Bits() 266 … (origBuf + ((videoLogo->height - 1) - i) * stride + j * videoLogo->bpp), videoLogo->bpp); in Copy2BitsAnd4Bits() 287 if (videoLogo->bpp == THREE_BITS_PER_PIXEL) { in LoadBMPEx() [all …]
|
H A D | display_test.c | 66 layInfo->bpp = LAYER_BPP; in GetLayerInfo() 88 static void PicSourceSurfaceInit(ISurface *surface, uint64_t phyAddr, int32_t bpp) in PicSourceSurfaceInit() argument 94 surface->stride = SAMPLE_IMAGE_WIDTH * bpp / BITS_PER_BYTE; in PicSourceSurfaceInit() 101 static void DestSurfaceInit(ISurface *surface, uint64_t phyAddr, int32_t bpp) in DestSurfaceInit() argument 107 surface->stride = g_displayTest.displayInfo.width * bpp / BITS_PER_BYTE; in DestSurfaceInit()
|
H A D | loadbmp_test.h | 60 uint16_t bpp; /* bpp */ member
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/display/ |
H A D | _layer_info_v10.md | 25 | int [bpp](#bpp) | 每像素所占Bit数 | 32 ### bpp subsection 35 int LayerInfo::bpp
|
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | pixel_format_utils.cpp | 21 int16_t bpp; member 29 bool PixelFormatUtils::BppOfPixelFormat(ImagePixelFormat pixelFormat, int16_t& bpp) in BppOfPixelFormat() argument 34 bpp = g_mapBpp[i].bpp; in BppOfPixelFormat()
|
/ohos5.0/drivers/hdf_core/framework/model/display/driver/adapter_soc/ |
H A D | hi35xx_disp.c | 140 int32_t bpp; in GetBitsPerPixel() local 144 bpp = 16; // 16 bits per pixel in GetBitsPerPixel() 147 bpp = 18; // 18 bits per pixel in GetBitsPerPixel() 150 bpp = 24; // 24 bits per pixel in GetBitsPerPixel() 153 bpp = 24; // 24 bits per pixel in GetBitsPerPixel() 156 return bpp; in GetBitsPerPixel() 181 int32_t bpp = GetBitsPerPixel(info->mipi.format); in CalcDataRate() local 182 uint32_t bitNum = hpixel * vline * info->frameRate * bpp; in CalcDataRate()
|
/ohos5.0/drivers/peripheral/display/composer/test/common/ |
H A D | display_test_utils.cpp | 98 int32_t bpp = GetPixelFormatBpp((Composer::V1_0::PixelFormat)handle.format); in GetPixelValue() local 99 …DISPLAY_TEST_CHK_RETURN((bpp <= 0), 0, DISPLAY_TEST_LOGE("CheckPixel do not support format %{publi… in GetPixelValue() 131 int32_t bpp = GetPixelFormatBpp(static_cast<Composer::V1_0::PixelFormat>(handle.format)); in CheckPixel() local 132 …DISPLAY_TEST_CHK_RETURN((bpp <= 0), 0, DISPLAY_TEST_LOGE("CheckPixel do not support format %{publi… in CheckPixel()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_encoder/ |
H A D | ffmpeg_vid_enc_config.cpp | 94 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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render_backend/ |
H A D | rs_render_surface_frame.h | 69 bpp = 0; in FrameConfig() 97 int32_t bpp; member
|
/ohos5.0/drivers/peripheral/display/hal/default_standard/src/display_gralloc/ |
H A D | drm_allocator.cpp | 51 dumb.bpp = bufferInfo.bitsPerPixel_; in Allocate() 56 handle.format, dumb.width, dumb.height, dumb.bpp, dumb.pitch, dumb.size); in Allocate()
|
/ohos5.0/foundation/window/window_manager/test/common/utils/src/ |
H A D | common_test_utils.cpp | 44 const int bpp = 4; // bytes per pixel in CreatePixelMap() local 47 const int voulumeSize = opt.size.width * opt.size.height * bpp; in CreatePixelMap()
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | hdf_driver_config_file.py | 29 bpp = HdfToolSettings().get_board_parent_path(self.board) 30 board_path = os.path.join(self.root, bpp, self.board)
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/tools/ |
H A D | bitmap_helpers.cpp | 94 …const int32_t bpp = *(reinterpret_cast<const int32_t*>(img_bytes.data() + bmpAddressOffset.bbpAddr… in ReadBmp() local 95 imageInfo.channels = bpp / BIT_TO_BYTE; in ReadBmp()
|
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/hals/ |
H A D | hi_fbdev.cpp | 101 g_layerInfo.bpp = LAYER_BPP; in OpenLayer() 162 g_devSurfaceData.bytePerPixel = g_layerInfo.bpp / BITS_PER_BYTE; in HiFbdevInit()
|
/ohos5.0/drivers/peripheral/display/buffer/vdi_base/src/ |
H A D | hi_gbm.cpp | 137 dumb.bpp = fmtInfo->bitsPerPixel; in HdiGbmBoCreate() 141 format, dumb.width, dumb.height, dumb.bpp, dumb.pitch, dumb.size); in HdiGbmBoCreate()
|
/ohos5.0/drivers/peripheral/display/hal/default_standard/src/display_device/core/ |
H A D | hdi_layer.cpp | 186 const int32_t bpp = 32; in SetPixel() local 187 DISPLAY_CHK_RETURN_NOT_VALUE((bpp <= 0), in SetPixel()
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | pixel_format_utils.h | 98 static bool BppOfPixelFormat(ImagePixelFormat pixelFormat, int16_t& bpp);
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/hdmi/ |
H A D | hdmi_dfm.c | 194 info->bpp = ((24 * kcd) / k420) / HDMI_DFM_MAGNIFICATION_8; in HdmiDfmCaculateVideoInfo() 197 info->activeBytesPerLine = info->bpp * param->hactive / HDMI_DFM_MAGNIFICATION_8; in HdmiDfmCaculateVideoInfo()
|
/ohos5.0/drivers/hdf_core/framework/support/platform/include/hdmi/ |
H A D | hdmi_dfm.h | 89 uint32_t bpp; /* Bits per Pixel */ member
|
/ohos5.0/foundation/window/window_manager_lite/services/wms/ |
H A D | lite_wm.cpp | 713 int16_t bpp = 0; in Screenshot() local 733 …rmatUtils::BppOfPixelFormat(static_cast<ImagePixelFormat>(screenshotSurface_->GetFormat()), bpp)) { in Screenshot() 737 lineSize = width * bpp; in Screenshot()
|
/ohos5.0/foundation/graphic/graphic_surface/interfaces/inner_api/surface/ |
H A D | surface_type.h | 157 int32_t bpp; /**< Number of bits occupied by each pixel */ member
|
/ohos5.0/drivers/peripheral/display/interfaces/include/ |
H A D | display_type.h | 291 int32_t bpp; /**< Number of bits occupied by each pixel */ member
|
/ohos5.0/base/powermgr/battery_manager/charger/src/dev/ |
H A D | drm_driver.cpp | 64 create.bpp = pixelDepth; in ModesetCreateFb()
|
/ohos5.0/base/update/updater/services/ui/driver/ |
H A D | drm_driver.cpp | 62 create.bpp = pixelDepth; in ModesetCreateFb()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/ |
H A D | cmd_list_helper.cpp | 117 auto bpp = ColorTypeToBytesPerPixel(format.colorType); in AddBitmapToCmdList() local 118 auto bitmapSize = bitmap.GetHeight() * bitmap.GetWidth() * bpp; in AddBitmapToCmdList()
|