Home
last modified time | relevance | path

Searched refs:bpp (Results 1 – 25 of 41) sorted by relevance

12

/ohos5.0/drivers/peripheral/display/test/unittest/lite/
H A Dloadbmp_test.c94 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 Ddisplay_test.c66 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 Dloadbmp_test.h60 uint16_t bpp; /* bpp */ member
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/display/
H A D_layer_info_v10.md25 | int [bpp](#bpp) | 每像素所占Bit数 |
32 ### bpp subsection
35 int LayerInfo::bpp
/ohos5.0/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()
/ohos5.0/drivers/hdf_core/framework/model/display/driver/adapter_soc/
H A Dhi35xx_disp.c140 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 Ddisplay_test_utils.cpp98 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 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()
/ohos5.0/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
/ohos5.0/drivers/peripheral/display/hal/default_standard/src/display_gralloc/
H A Ddrm_allocator.cpp51 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 Dcommon_test_utils.cpp44 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 Dhdf_driver_config_file.py29 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 Dbitmap_helpers.cpp94 …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 Dhi_fbdev.cpp101 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 Dhi_gbm.cpp137 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 Dhdi_layer.cpp186 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 Dpixel_format_utils.h98 static bool BppOfPixelFormat(ImagePixelFormat pixelFormat, int16_t& bpp);
/ohos5.0/drivers/hdf_core/framework/support/platform/src/hdmi/
H A Dhdmi_dfm.c194 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 Dhdmi_dfm.h89 uint32_t bpp; /* Bits per Pixel */ member
/ohos5.0/foundation/window/window_manager_lite/services/wms/
H A Dlite_wm.cpp713 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 Dsurface_type.h157 int32_t bpp; /**< Number of bits occupied by each pixel */ member
/ohos5.0/drivers/peripheral/display/interfaces/include/
H A Ddisplay_type.h291 int32_t bpp; /**< Number of bits occupied by each pixel */ member
/ohos5.0/base/powermgr/battery_manager/charger/src/dev/
H A Ddrm_driver.cpp64 create.bpp = pixelDepth; in ModesetCreateFb()
/ohos5.0/base/update/updater/services/ui/driver/
H A Ddrm_driver.cpp62 create.bpp = pixelDepth; in ModesetCreateFb()
/ohos5.0/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()

12