Lines Matching defs:bmpInfo
63 int32_t GetBmpInfo(const int8_t *fileName, OsdBitMapFileHeader *bmpFileHeader, OsdBitMapInfo *bmpInfo)
86 (void)fread(bmpInfo, 1, sizeof(OsdBitMapInfo), file);
92 static int32_t CheckBmpInfo(const OsdBitMapInfo *bmpInfo)
96 bpp = bmpInfo->header.bitCnt / EIGHT_BITS_PER_PIXEL;
103 if (bmpInfo->header.compress != 0) {
107 if (bmpInfo->header.height == 0) {
108 HDF_LOGE("%s: bmpInfo.header.height is 0", __func__);
138 OsdBitMapInfo bmpInfo;
141 file = OpenPicFile(fileName, &bmpFileHeader, &bmpInfo);
146 videoLogo->bpp = bmpInfo.header.bitCnt / EIGHT_BITS_PER_PIXEL;
147 videoLogo->width = bmpInfo.header.width;
148 videoLogo->height = ((bmpInfo.header.height > 0) ? bmpInfo.header.height :
149 (-bmpInfo.header.height));