Home
last modified time | relevance | path

Searched refs:image_info (Results 1 – 6 of 6) sorted by relevance

/external/vboot_reference/firmware/lib/
Dregion-kernel.c99 ImageInfo *image_info, char **image_datap, in VbGbbReadImage() argument
129 ret = VbRegionReadGbb(cparams, image_offset, sizeof(*image_info), in VbGbbReadImage()
130 image_info); in VbGbbReadImage()
134 data_offset = image_offset + sizeof(*image_info); in VbGbbReadImage()
135 data_size = image_info->compressed_size; in VbGbbReadImage()
139 data = VbExMalloc(image_info->compressed_size); in VbGbbReadImage()
141 image_info->compressed_size, data); in VbGbbReadImage()
146 if (image_info->compression != COMPRESS_NONE) { in VbGbbReadImage()
147 uint32_t inoutsize = image_info->original_size; in VbGbbReadImage()
149 orig_data = VbExMalloc(image_info->original_size); in VbGbbReadImage()
[all …]
Dvboot_display.c101 ImageInfo *image_info = 0; in VbRenderTextAtPos() local
114 if (!image_info) in VbRenderTextAtPos()
115 image_info = VbFindFontGlyph(font, text[i], in VbRenderTextAtPos()
119 cur_y += image_info->height; in VbRenderTextAtPos()
123 image_info = VbFindFontGlyph(font, text[i], &buffer, in VbRenderTextAtPos()
127 cur_x -= image_info->width; in VbRenderTextAtPos()
136 cur_x += image_info->width; in VbRenderTextAtPos()
220 ImageInfo image_info; in VbDisplayScreenFromGBB() local
224 i, &layout, &image_info, in VbDisplayScreenFromGBB()
233 switch(image_info.format) { in VbDisplayScreenFromGBB()
[all …]
/external/vboot_reference/tests/
Dvboot_region_tests.c44 ImageInfo *image_info; in ResetMocks() local
86 image_info = (ImageInfo *)(gbb_data + gbb_used); in ResetMocks()
87 image_info->format = FORMAT_BMP; in ResetMocks()
88 image_info->compressed_size = ORIGINAL_SIZE; in ResetMocks()
89 image_info->original_size = ORIGINAL_SIZE; in ResetMocks()
90 image_info->compression = COMPRESS_NONE; in ResetMocks()
91 gbb_used += sizeof(*image_info); in ResetMocks()
98 image_info = (ImageInfo *)(gbb_data + gbb_used); in ResetMocks()
99 image_info->format = FORMAT_BMP; in ResetMocks()
100 image_info->compressed_size = COMPRESSED_SIZE; in ResetMocks()
[all …]
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp1643 VkImageCreateInfo image_info = {}; in Init() local
1650 image_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in Init()
1651 image_info.pNext = NULL; in Init()
1652 image_info.imageType = VK_IMAGE_TYPE_2D; in Init()
1653 image_info.format = m_depth_stencil_fmt; in Init()
1654 image_info.extent.width = width; in Init()
1655 image_info.extent.height = height; in Init()
1656 image_info.extent.depth = 1; in Init()
1657 image_info.mipLevels = 1; in Init()
1658 image_info.arrayLayers = 1; in Init()
[all …]
Dvktestbinding.h213 const VkDescriptorImageInfo *image_info);
226 const std::vector<VkDescriptorImageInfo> &image_info);
914 const VkDescriptorImageInfo *image_info) { in write_descriptor_set() argument
922 write.pImageInfo = image_info; in write_descriptor_set()
960 const std::vector<VkDescriptorImageInfo> &image_info) { in write_descriptor_set() argument
962 image_info.size(), &image_info[0]); in write_descriptor_set()
/external/vboot_reference/firmware/include/
Dgbb_access.h80 struct ImageInfo *image_info, char **image_datap,