Lines Matching refs:format
41 uint32_t format;
66 static const FormatInfo *GetFormatInfo(uint32_t format)
82 if (FMT_INFOS[i].format == format) {
86 DISPLAY_LOGE("the format can not support");
99 static uint32_t AdjustStrideFromFormat(uint32_t format, uint32_t height)
102 const FormatInfo *fmtInfo = GetFormatInfo(format);
116 struct gbm_bo *HdiGbmBoCreate(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format,
123 const FormatInfo *fmtInfo = GetFormatInfo(format);
125 DISPLAY_LOGE("formt: 0x%{public}x can not get layout info", format));
132 bo->format = format;
134 dumb.height = ALIGN_UP(AdjustStrideFromFormat(format, height), HEIGHT_ALIGN);
141 format, dumb.width, dumb.height, dumb.bpp, dumb.pitch, dumb.size);
145 "fmt 0x%{public}x create dumb width: %{public}d height: %{public}d stride %{public}d size %{public}u", format,