Lines Matching defs:format
52 uint32_t format;
67 static const FormatInfo *GetFormatInfo(uint32_t format)
82 if (fmtInfos[i].format == format) {
86 HDF_LOGE("the format can not support %d %d", format, PIXEL_FMT_RGBA_8888);
90 static uint32_t AdjustStrideFromFormat(uint32_t format, uint32_t width)
92 const FormatInfo *fmtInfo = GetFormatInfo(format);
110 const FormatInfo *fmtInfo = GetFormatInfo(info->format);
112 HDF_LOGE("can not get format information : %d", buffer->hdl.format);
116 stride = ALIGN_UP(AdjustStrideFromFormat(info->format, info->width), WIDTH_ALIGN) *
126 buffer->hdl.format = info->format;