Home
last modified time | relevance | path

Searched refs:Layout (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/third_party/boost/libs/gil/example/
Dinterleaved_ptr.hpp35 typename Layout> // A layout (includes the color space and channel ordering)
38 interleaved_ptr<ChannelPtr, Layout>,
39 pixel<typename std::iterator_traits<ChannelPtr>::value_type, Layout>,
41 interleaved_ref<typename std::iterator_traits<ChannelPtr>::reference, Layout> const
47 interleaved_ptr<ChannelPtr, Layout>,
48 pixel<typename std::iterator_traits<ChannelPtr>::value_type, Layout>,
53 Layout
65 …template <typename CP> interleaved_ptr(const interleaved_ptr<CP,Layout>& ptr) : _channels(ptr._cha… in interleaved_ptr()
85 static const std::size_t num_channels = mp11::mp_size<typename Layout::color_space_t>::value;
110 template <typename ChannelPtr, typename Layout>
[all …]
Dinterleaved_ref.hpp37 template <typename ChannelReference, typename Layout>
47 using layout_t = Layout; // Required by ColorBaseConcept
82 template <typename ChannelReference, typename Layout, int K>
83 struct kth_element_type<interleaved_ref<ChannelReference, Layout>, K>
88 template <typename ChannelReference, typename Layout, int K>
89 struct kth_element_reference_type<interleaved_ref<ChannelReference, Layout>, K>
94 template <typename ChannelReference, typename Layout, int K>
95 struct kth_element_const_reference_type<interleaved_ref<ChannelReference, Layout>, K>
102 template <int K, typename ChannelReference, typename Layout>
103 typename element_reference_type<interleaved_ref<ChannelReference,Layout>>::type
[all …]
/third_party/boost/libs/gil/doc/html/_downloads/
Dinterleaved_ptr.hpp35 typename Layout> // A layout (includes the color space and channel ordering)
38 interleaved_ptr<ChannelPtr, Layout>,
39 pixel<typename std::iterator_traits<ChannelPtr>::value_type, Layout>,
41 interleaved_ref<typename std::iterator_traits<ChannelPtr>::reference, Layout> const
47 interleaved_ptr<ChannelPtr, Layout>,
48 pixel<typename std::iterator_traits<ChannelPtr>::value_type, Layout>,
53 Layout
65 …template <typename CP> interleaved_ptr(const interleaved_ptr<CP,Layout>& ptr) : _channels(ptr._cha… in interleaved_ptr()
85 static const std::size_t num_channels = mp11::mp_size<typename Layout::color_space_t>::value;
110 template <typename ChannelPtr, typename Layout>
[all …]
Dinterleaved_ref.hpp37 template <typename ChannelReference, typename Layout>
47 using layout_t = Layout; // Required by ColorBaseConcept
82 template <typename ChannelReference, typename Layout, int K>
83 struct kth_element_type<interleaved_ref<ChannelReference, Layout>, K>
88 template <typename ChannelReference, typename Layout, int K>
89 struct kth_element_reference_type<interleaved_ref<ChannelReference, Layout>, K>
94 template <typename ChannelReference, typename Layout, int K>
95 struct kth_element_const_reference_type<interleaved_ref<ChannelReference, Layout>, K>
102 template <int K, typename ChannelReference, typename Layout>
103 typename element_reference_type<interleaved_ref<ChannelReference,Layout>>::type
[all …]
/third_party/boost/boost/gil/
Dpixel.hpp98 template <typename ChannelValue, typename Layout>
103 Layout,
104 mp11::mp_size<typename Layout::color_space_t>::value
112 Layout,
113 mp11::mp_size<typename Layout::color_space_t>::value
116 using value_type = pixel<ChannelValue, Layout>;
207 static_assert(std::is_same<typename Layout::color_space_t, gray_t>::value, ""); in check_gray()
243 template <typename ChannelValue, typename Layout, int K>
244 struct kth_element_type<pixel<ChannelValue,Layout>, K>
249 template <typename ChannelValue, typename Layout, int K>
[all …]
Dcolor_base.hpp77 template <typename Element, typename Layout>
78 struct homogeneous_color_base<Element, Layout, 1>
80 using layout_t = Layout;
109 template <typename Element, typename Layout>
110 struct homogeneous_color_base<Element, Layout, 2>
112 using layout_t = Layout;
120 : v0_(gil::at_c<mapping_transform<Layout, L2, 0>::value>(c)) in homogeneous_color_base()
121 , v1_(gil::at_c<mapping_transform<Layout, L2, 1>::value>(c)) in homogeneous_color_base()
127 : v0_(gil::at_c<mapping_transform<Layout, L2, 0>::value>(c)) in homogeneous_color_base()
128 , v1_(gil::at_c<mapping_transform<Layout, L2, 1>::value>(c)) in homogeneous_color_base()
[all …]
Dpacked_pixel.hpp48 template <typename BitField, typename ChannelRefs, typename Layout>
53 using layout_t = Layout;
54 using value_type = packed_pixel<BitField, ChannelRefs, Layout>;
159 static_assert(std::is_same<typename Layout::color_space_t, gray_t>::value, ""); in check_gray()
195 template <typename BitField, typename ChannelRefs, typename Layout, int K>
196 struct kth_element_type<packed_pixel<BitField, ChannelRefs, Layout>, K>
201 template <typename BitField, typename ChannelRefs, typename Layout, int K>
202 struct kth_element_reference_type<packed_pixel<BitField, ChannelRefs, Layout>, K>
207 template <typename BitField, typename ChannelRefs, typename Layout, int K>
208 struct kth_element_const_reference_type<packed_pixel<BitField, ChannelRefs, Layout>, K>
[all …]
Dmetafunctions.hpp24 template <typename BitField,typename ChannelRefs,typename Layout> struct packed_pixel;
36 template <typename BitField, typename ChannelBitSizes, typename Layout, bool IsMutable> struct bit_…
365 template <typename BitField, typename ChannelBitSizes, typename Layout>
376 Layout>;
390 template <typename BitField, typename ChannelBitSizes, typename Layout, typename Alloc=std::allocat…
393 … using type = image<typename packed_pixel_type<BitField,ChannelBitSizes,Layout>::type,false,Alloc>;
398 template <typename BitField, unsigned Size1, typename Layout, typename Alloc = std::allocator<unsig…
400 : packed_image_type<BitField, mp11::mp_list_c<unsigned, Size1>, Layout, Alloc>
405 template <typename BitField, unsigned Size1, unsigned Size2, typename Layout, typename Alloc = std:…
407 : packed_image_type<BitField, mp11::mp_list_c<unsigned, Size1, Size2>, Layout, Alloc>
[all …]
Dbit_aligned_pixel_reference.hpp114 template <typename BitField, typename ChannelBitSizes, typename Layout, bool IsMutable>
129 using layout_t = Layout;
131 using value_type = typename packed_pixel_type<bitfield_t,ChannelBitSizes,Layout>::type;
132 … using reference = const bit_aligned_pixel_reference<BitField, ChannelBitSizes, Layout, IsMutable>;
133 … using const_reference = bit_aligned_pixel_reference<BitField,ChannelBitSizes,Layout,false> const;
140 …xel_reference(const bit_aligned_pixel_reference<BitField,ChannelBitSizes,Layout,IsMutable2>& p) : … in bit_aligned_pixel_reference()
155 bit_aligned_pixel_reference(packed_pixel<BF, CR, Layout>& p) in bit_aligned_pixel_reference()
158 check_compatible<packed_pixel<BF, CR, Layout>>(); in bit_aligned_pixel_reference()
211 static_assert(std::is_same<typename Layout::color_space_t, gray_t>::value, ""); in check_gray()
321 template <typename BitField, int NumBits, typename Layout>
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DDbiModuleDescriptorBuilder.cpp43 ::memset(&Layout, 0, sizeof(Layout)); in DbiModuleDescriptorBuilder()
44 Layout.Mod = ModIndex; in DbiModuleDescriptorBuilder()
50 return Layout.ModDiStream; in getStreamIndex()
63 Layout.SC = SC; in setFirstSectionContrib()
99 uint32_t L = sizeof(Layout); in calculateSerializedLength()
106 Layout.FileNameOffs = 0; // TODO: Fix this in finalize()
107 Layout.Flags = 0; // TODO: Fix this in finalize()
108 Layout.C11Bytes = 0; in finalize()
109 Layout.C13Bytes = calculateC13DebugInfoSize(); in finalize()
110 (void)Layout.Mod; // Set in constructor in finalize()
[all …]
DDbiModuleDescriptor.cpp24 if (auto EC = Reader.readObject(Info.Layout)) in initialize()
36 return (Layout->Flags & ModInfoFlags::HasECFlagMask) != 0; in hasECInfo()
40 return (Layout->Flags & ModInfoFlags::TypeServerIndexMask) >> in getTypeServerIndex()
45 return Layout->SC; in getSectionContrib()
49 return Layout->ModDiStream; in getModuleStreamIndex()
53 return Layout->SymBytes; in getSymbolDebugInfoByteSize()
57 return Layout->C11Bytes; in getC11LineInfoByteSize()
61 return Layout->C13Bytes; in getC13LineInfoByteSize()
65 return Layout->NumFiles; in getNumberOfFiles()
69 return Layout->SrcFileNameNI; in getSourceFileNameIndex()
[all …]
/third_party/boost/boost/bimap/relation/
Dstructured_pair.hpp140 class Layout
160 template< class TA, class TB, class Info, class Layout >
162 public ::boost::bimaps::relation::detail::storage_finder<TA,TB,Layout>::type
164 …typedef BOOST_DEDUCED_TYPENAME ::boost::bimaps::relation::detail::storage_finder<TA,TB,Layout>::ty…
209 template< class TA, class TB, class Layout>
210 class pair_info_hook<TA,TB,::boost::mpl::na,Layout> :
211 public ::boost::bimaps::relation::detail::storage_finder<TA,TB,Layout>::type
213 …typedef BOOST_DEDUCED_TYPENAME ::boost::bimaps::relation::detail::storage_finder<TA,TB,Layout>::ty…
261 template< class FirstType, class SecondType, class Info, class Layout = normal_layout >
268 Layout
[all …]
/third_party/skia/include/sksl/
DDSLLayout.h25 return this->flag(SkSL::Layout::kOriginUpperLeft_Flag, "origin_upper_left", pos);
29 return this->flag(SkSL::Layout::kPushConstant_Flag, "push_constant", pos);
33 return this->flag(SkSL::Layout::kBlendSupportAllEquations_Flag,
38 return this->flag(SkSL::Layout::kSRGBUnpremul_Flag, "srgb_unpremul", pos);
42 return this->intValue(&fSkSLLayout.fLocation, location, SkSL::Layout::kLocation_Flag,
47 return this->intValue(&fSkSLLayout.fOffset, offset, SkSL::Layout::kOffset_Flag, "offset",
52 return this->intValue(&fSkSLLayout.fBinding, binding, SkSL::Layout::kBinding_Flag,
57 return this->intValue(&fSkSLLayout.fIndex, index, SkSL::Layout::kIndex_Flag, "index", pos);
61 return this->intValue(&fSkSLLayout.fSet, set, SkSL::Layout::kSet_Flag, "set", pos);
65 return this->intValue(&fSkSLLayout.fBuiltin, builtin, SkSL::Layout::kBuiltin_Flag,
[all …]
/third_party/skia/src/sksl/ir/
DSkSLModifiers.cpp46 static constexpr struct { Layout::Flag flag; const char* name; } kLayoutFlags[] = { in checkPermitted()
47 { Layout::kOriginUpperLeft_Flag, "origin_upper_left"}, in checkPermitted()
48 { Layout::kPushConstant_Flag, "push_constant"}, in checkPermitted()
49 { Layout::kBlendSupportAllEquations_Flag, "blend_support_all_equations"}, in checkPermitted()
50 { Layout::kSRGBUnpremul_Flag, "srgb_unpremul"}, in checkPermitted()
51 { Layout::kLocation_Flag, "location"}, in checkPermitted()
52 { Layout::kOffset_Flag, "offset"}, in checkPermitted()
53 { Layout::kBinding_Flag, "binding"}, in checkPermitted()
54 { Layout::kIndex_Flag, "index"}, in checkPermitted()
55 { Layout::kSet_Flag, "set"}, in checkPermitted()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DLayout.h41 struct Layout struct
46 static Layout Identity() { return {0, 1}; } in Identity() argument
47 static Layout Invalid() { return {0, 0}; } in Invalid() argument
48 static Layout Both(size_t n) { return {n, n}; } in Both() argument
52 bool operator==(const Layout &other) const;
54 void operator+=(const Layout &other);
57 Layout operator+(const Layout &other) const;
58 Layout operator*(size_t scale) const;
71 ANGLE_NO_DISCARD Layout MetalLayoutOf(const TType &type, MetalLayoutOfConfig config = {});
74 ANGLE_NO_DISCARD Layout
[all …]
DLayout.cpp33 void Layout::requireAlignment(size_t align, bool pad) in requireAlignment()
42 bool Layout::operator==(const Layout &other) const in operator ==()
47 void Layout::operator+=(const Layout &other) in operator +=()
53 void Layout::operator*=(size_t scale) in operator *=()
58 Layout Layout::operator+(const Layout &other) const in operator +()
65 Layout Layout::operator*(size_t scale) const in operator *()
72 static Layout ScalarLayoutOf(const TType &type, Language language) in ScalarLayoutOf()
95 return Layout::Invalid(); in ScalarLayoutOf()
102 Layout sh::MetalLayoutOf(const TType &type, MetalLayoutOfConfig config) in MetalLayoutOf()
115 const Layout layout = MetalLayoutOf(type, config); in MetalLayoutOf()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCAssembler.cpp191 bool MCAssembler::evaluateFixup(const MCAsmLayout &Layout, in evaluateFixup() argument
207 if (!Expr->evaluateAsRelocatable(Target, &Layout, &Fixup)) { in evaluateFixup()
224 return getBackend().evaluateTargetFixup(*this, Layout, Fixup, DF, Target, in evaluateFixup()
257 Value += Layout.getSymbolOffset(Sym); in evaluateFixup()
262 Value -= Layout.getSymbolOffset(Sym); in evaluateFixup()
271 uint32_t Offset = Layout.getFragmentOffset(DF) + Fixup.getOffset(); in evaluateFixup()
288 uint64_t MCAssembler::computeFragmentSize(const MCAsmLayout &Layout, in computeFragmentSize() argument
301 if (!FF.getNumValues().evaluateAsAbsolute(NumValues, Layout)) { in computeFragmentSize()
325 unsigned Offset = Layout.getFragmentOffset(&AF); in computeFragmentSize()
348 if (!OF.getOffset().evaluateAsValue(Value, Layout)) { in computeFragmentSize()
[all …]
DMCExpr.cpp464 const MCAsmLayout &Layout) const { in evaluateAsAbsolute()
465 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr, false); in evaluateAsAbsolute()
469 const MCAsmLayout &Layout, in evaluateAsAbsolute() argument
473 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs, true); in evaluateAsAbsolute()
485 const MCAsmLayout &Layout) const { in evaluateKnownAbsolute()
486 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr, in evaluateKnownAbsolute()
491 const MCAsmLayout *Layout, in evaluateAsAbsolute() argument
502 evaluateAsRelocatableImpl(Value, Asm, Layout, nullptr, Addrs, InSet); in evaluateAsAbsolute()
512 const MCAssembler *Asm, const MCAsmLayout *Layout, in AttemptToFoldSymbolOffsetDifference() argument
547 if (!Layout) in AttemptToFoldSymbolOffsetDifference()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp46 const MSFStreamLayout &Layout, in MappedBlockStream() argument
49 : BlockSize(BlockSize), StreamLayout(Layout), MsfData(MsfData), in MappedBlockStream()
53 uint32_t BlockSize, const MSFStreamLayout &Layout, BinaryStreamRef MsfData, in createStream() argument
56 BlockSize, Layout, MsfData, Allocator); in createStream()
60 const MSFLayout &Layout, BinaryStreamRef MsfData, uint32_t StreamIndex, in createIndexedStream() argument
62 assert(StreamIndex < Layout.StreamMap.size() && "Invalid stream index"); in createIndexedStream()
64 SL.Blocks = Layout.StreamMap[StreamIndex]; in createIndexedStream()
65 SL.Length = Layout.StreamSizes[StreamIndex]; in createIndexedStream()
67 Layout.SB->BlockSize, SL, MsfData, Allocator); in createIndexedStream()
71 MappedBlockStream::createDirectoryStream(const MSFLayout &Layout, in createDirectoryStream() argument
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLCPPUniformCTypes.cpp116 Layout::CType ctype, const std::vector<String>& skslTypes, const String& setUniformFormat, in UniformCTypeMapper()
131 static UniformCTypeMapper REGISTER(Layout::CType ctype, const std::vector<String>& skslTypes, in REGISTER()
138 static UniformCTypeMapper REGISTER(Layout::CType ctype, const std::vector<String>& skslTypes, in REGISTER()
150 REGISTER(Layout::CType::kSkRect, { "half4", "float4", "double4" }, in get_mappers()
155 REGISTER(Layout::CType::kSkIRect, { "int4", "short4", "byte4" }, in get_mappers()
160 REGISTER(Layout::CType::kSkPMColor4f, { "half4", "float4", "double4" }, in get_mappers()
164 REGISTER(Layout::CType::kSkVector4, { "half4", "float4", "double4" }, in get_mappers()
169 REGISTER(Layout::CType::kSkPoint, { "half2", "float2", "double2" } , in get_mappers()
173 REGISTER(Layout::CType::kSkIPoint, { "int2", "short2", "byte2" }, in get_mappers()
177 REGISTER(Layout::CType::kSkMatrix, { "half3x3", "float3x3", "double3x3" }, in get_mappers()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp29 const MCAsmLayout &Layout,
37 const MCAsmLayout &Layout,
45 const MCAsmLayout &Layout,
51 const MCAsmLayout &Layout,
60 const MCAsmLayout &Layout, const MCFragment *Fragment, in recordRelocation() argument
64 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
67 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
103 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in RecordX86_64Relocation() argument
112 Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); in RecordX86_64Relocation()
114 Writer->getFragmentAddress(Fragment, Layout) + Fixup.getOffset(); in RecordX86_64Relocation()
[all …]
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DLayout.h63 class Layout {
65 Layout() : mGlyphs(), mAdvances(), mFaces(), mAdvance(0), mBounds() { in Layout() function
69 Layout(Layout&& layout) = default;
72 Layout(const Layout&) = delete;
73 void operator=(const Layout&) = delete;
141 Layout* layout,
153 Layout* layout,
166 void appendLayout(Layout* src, size_t start, float extraAdvance);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp67 ASanStackFrameLayout Layout; in ComputeASanStackFrameLayout() local
68 Layout.Granularity = Granularity; in ComputeASanStackFrameLayout()
69 Layout.FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout()
79 assert(Layout.FrameAlignment >= Alignment); in ComputeASanStackFrameLayout()
92 Layout.FrameSize = Offset; in ComputeASanStackFrameLayout()
93 assert((Layout.FrameSize % MinHeaderSize) == 0); in ComputeASanStackFrameLayout()
94 return Layout; in ComputeASanStackFrameLayout()
117 const ASanStackFrameLayout &Layout) { in GetShadowBytes() argument
121 const size_t Granularity = Layout.Granularity; in GetShadowBytes()
130 SB.resize(Layout.FrameSize / Granularity, kAsanStackRightRedzoneMagic); in GetShadowBytes()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dlayout_test.cc88 TEST(Layout, ElementType) { in TEST() argument
90 using L = Layout<int32_t>; in TEST()
96 using L = Layout<int32_t, int32_t>; in TEST()
105 using L = Layout<int8_t, int32_t, Int128>; in TEST()
121 TEST(Layout, ElementTypes) { in TEST() argument
123 using L = Layout<int32_t>; in TEST()
129 using L = Layout<int32_t, int32_t>; in TEST()
137 using L = Layout<int8_t, int32_t, Int128>; in TEST()
150 TEST(Layout, OffsetByIndex) { in TEST() argument
152 using L = Layout<int32_t>; in TEST()
[all …]
/third_party/abseil-cpp/absl/container/internal/
Dlayout_test.cc88 TEST(Layout, ElementType) { in TEST() argument
90 using L = Layout<int32_t>; in TEST()
96 using L = Layout<int32_t, int32_t>; in TEST()
105 using L = Layout<int8_t, int32_t, Int128>; in TEST()
121 TEST(Layout, ElementTypes) { in TEST() argument
123 using L = Layout<int32_t>; in TEST()
129 using L = Layout<int32_t, int32_t>; in TEST()
135 using L = Layout<int8_t, int32_t, Int128>; in TEST()
148 TEST(Layout, OffsetByIndex) { in TEST() argument
150 using L = Layout<int32_t>; in TEST()
[all …]

12345678910>>...20