Searched refs:imgCfg (Results 1 – 2 of 2) sorted by relevance
/dports/www/gitea/gitea-1.16.5/modules/avatar/ |
H A D | avatar.go | 47 imgCfg, _, err := image.DecodeConfig(bytes.NewReader(data)) 51 if imgCfg.Width > setting.Avatar.MaxWidth { 52 return nil, fmt.Errorf("Image width is too large: %d > %d", imgCfg.Width, setting.Avatar.MaxWidth) 54 if imgCfg.Height > setting.Avatar.MaxHeight { 55 …return nil, fmt.Errorf("Image height is too large: %d > %d", imgCfg.Height, setting.Avatar.MaxHeig… 63 if imgCfg.Width != imgCfg.Height { 65 if imgCfg.Width > imgCfg.Height { 66 newSize = imgCfg.Height 67 ax = (imgCfg.Width - imgCfg.Height) / 2 69 newSize = imgCfg.Width [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/modules/glshared/ |
H A D | glsFboCompletenessTests.cpp | 737 Image* const imgCfg = makeImage (bufType, format, width, height, builder); in makeAttachment() local 741 if (Renderbuffer* rboCfg = dynamic_cast<Renderbuffer*>(imgCfg)) in makeAttachment() 746 else if (Texture2D* texCfg = dynamic_cast<Texture2D*>(imgCfg)) in makeAttachment() 755 DE_ASSERT(imgCfg == DE_NULL); in makeAttachment()
|