Home
last modified time | relevance | path

Searched refs:Primitive (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
DMesh.java51 public enum Primitive { enum in Mesh
89 Primitive(int id) { in Primitive() method in Mesh.Primitive
96 Primitive[] mPrimitives;
153 public Primitive getPrimitive(int slot) { in getPrimitive()
172 mPrimitives = new Primitive[idxCount]; in updateFromNative()
186 mPrimitives[i] = Primitive.values()[primitives[i]]; in updateFromNative()
205 Primitive prim;
298 public Builder addIndexSetType(Type t, Primitive p) { in addIndexSetType()
316 public Builder addIndexSetType(Primitive p) { in addIndexSetType()
336 public Builder addIndexSetType(Element e, int size, Primitive p) { in addIndexSetType()
[all …]
/frameworks/av/media/codec2/core/include/
DC2Param.h832 union Primitive { union
843 Primitive(uint64_t value) : u64(value) { } in Primitive() function
844 Primitive(int64_t value) : i64(value) { } in Primitive() function
845 Primitive(c2_cntr64_t value) : c64(value) { } in Primitive() function
846 Primitive(uint32_t value) : u32(value) { } in Primitive() function
847 Primitive(int32_t value) : i32(value) { } in Primitive() function
848 Primitive(c2_cntr32_t value) : c32(value) { } in Primitive() function
849 Primitive(uint8_t value) : u32(value) { } in Primitive() function
850 Primitive(char value) : i32(value) { } in Primitive() function
851 Primitive(float value) : fp(value) { } in Primitive() function
[all …]
DC2Enum.h46 inline operator C2Value::Primitive() { return (T)_mValue; } in Primitive() function
109 std::vector<C2Value::Primitive> { _C2_MAP(_C2_GET_ENUM_VALUE, name, __VA_ARGS__) }, \
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DMesh.h31 enum Primitive { enum
91 Primitive getPrimitive() const;
133 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize,
154 Primitive mPrimitive;
161 Builder& setPrimitive(Primitive primitive) { in setPrimitive()
200 Primitive mPrimitive;
/frameworks/native/libs/renderengine/include/renderengine/
DMesh.h31 enum Primitive { enum
91 Primitive getPrimitive() const;
133 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize,
154 Primitive mPrimitive;
161 Builder& setPrimitive(Primitive primitive) { in setPrimitive()
200 Primitive mPrimitive;
/frameworks/av/media/codec2/tests/
DC2SampleComponent_test.cpp223 int32_t get(const C2FieldSupportedValues::Primitive &p, int32_t*) { in get()
226 int64_t get(const C2FieldSupportedValues::Primitive &p, int64_t*) { in get()
229 uint32_t get(const C2FieldSupportedValues::Primitive &p, uint32_t*) { in get()
232 uint64_t get(const C2FieldSupportedValues::Primitive &p, uint64_t*) { in get()
235 float get(const C2FieldSupportedValues::Primitive &p, float*) { in get()
242 typename std::underlying_type<E>::type get(const C2FieldSupportedValues::Primitive &p, E*) { in get()
260 const C2FieldSupportedValues::Primitive &p, E*) { in get()
283 for (const C2FieldSupportedValues::Primitive &p : sv.values) { in dumpFSV()
DC2ComponentInterface_test.cpp351 auto prim2Value = [](const C2Value::Primitive &prim) -> TField { in getTestValues()
444 for (const C2Value::Primitive &prim : c2FSV.values) { in getTestValues()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp886 const pb::Primitive& pb_prim = pb_item.prim(); in DeserializeItemFromPb()
889 case pb::Primitive::kNullValue: { in DeserializeItemFromPb()
893 case pb::Primitive::kEmptyValue: { in DeserializeItemFromPb()
897 case pb::Primitive::kFloatValue: { in DeserializeItemFromPb()
902 case pb::Primitive::kDimensionValue: { in DeserializeItemFromPb()
906 case pb::Primitive::kFractionValue: { in DeserializeItemFromPb()
910 case pb::Primitive::kIntDecimalValue: { in DeserializeItemFromPb()
914 case pb::Primitive::kIntHexadecimalValue: { in DeserializeItemFromPb()
918 case pb::Primitive::kBooleanValue: { in DeserializeItemFromPb()
922 case pb::Primitive::kColorArgb8Value: { in DeserializeItemFromPb()
[all …]
DProtoSerialize.cpp570 pb::Primitive* pb_prim = out_value_->mutable_item()->mutable_prim(); in Visit()
/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceUtils.h36 inline static std::ostream& put(std::ostream &os, const C2Value::Primitive &p) { in put()
44 static std::ostream& put(std::ostream &os, const C2Value::Primitive &p);
50 static std::ostream& put(std::ostream &os, const C2Value::Primitive &p);
353 return C2SupportedFlags(std::initializer_list<C2Value::Primitive>());
439 C2SupportedFlags(std::vector<C2Value::Primitive> &&values)
467 std::vector<C2Value::Primitive> _mValues; ///< the minimum flag set followed by the set of flags
578 C2SupportedValueSet(std::vector<C2Value::Primitive> &&values)
604 std::vector<C2Value::Primitive> _mValues; ///< the supported set of values
/frameworks/native/libs/renderengine/
DMesh.cpp24 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize, in Mesh()
66 Mesh::Primitive Mesh::getPrimitive() const { in getPrimitive()
/frameworks/av/media/libstagefright/renderfright/
DMesh.cpp24 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize, in Mesh()
66 Mesh::Primitive Mesh::getPrimitive() const { in getPrimitive()
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceUtils.cpp172 std::vector<C2Value::Primitive> values; in limitedTo()
190 for (const C2Value::Primitive &v : _mValues) { in contains()
206 [](const C2Value::Primitive &p)->T { in flags()
215 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo()
223 const C2Value::Primitive &v) -> bool { in limitedTo()
230 for (const C2Value::Primitive &v : _mValues) { in limitedTo()
266 [value](const C2Value::Primitive &p) -> bool { in contains()
273 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo()
275 [&limit](const C2Value::Primitive &v) -> bool { in limitedTo()
284 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo()
[all …]
DC2Debug.cpp145 std::ostream& _C2FieldValueHelper<char>::put(std::ostream &os, const C2Value::Primitive &p) { in put()
153 std::ostream& _C2FieldValueHelper<uint8_t>::put(std::ostream &os, const C2Value::Primitive &p) { in put()
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp172 for (C2Value::Primitive profile : profileQuery[0].values.values) { in addSupportedProfileLevels()
188 C2Value::Primitive level = levelQuery[0].values.values.back(); in addSupportedProfileLevels()
226 for (C2Value::Primitive v : levelQuery[0].values.values) { in addSupportedProfileLevels()
271 for (C2Value::Primitive value : fsv.values) { in addSupportedColorFormats()
DCCodec.cpp2896 for (const C2Value::Primitive &flags : supported.values) { in CalculateMinMaxUsage()
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsRS.java116 smb.addIndexSetType(Mesh.Primitive.POINT); in init()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp480 for (const C2Value::Primitive& prim : c2FSVWidth.values) { in getMaxMinResolutionSupported()
485 for (const C2Value::Primitive& prim : c2FSVHeight.values) { in getMaxMinResolutionSupported()
/frameworks/base/tools/aapt2/
DResources.proto271 Primitive prim = 7;
383 message Primitive { message
/frameworks/av/media/codec2/vndk/
DC2Store.cpp203 for (C2Value::Primitive v : fsv.values) { in UseComponentStoreForIonAllocator()
259 for (C2Value::Primitive v : fsv.values) { in UseComponentStoreForDmaBufAllocator()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp260 for (const C2Value::Primitive& prim : c2FSV.values) { in getChannelCount()
/frameworks/av/media/codec2/hidl/1.0/utils/
Dtypes.cpp633 C2Value::Primitive(static_cast<uint64_t>(sNamedValue.value))); in objcpy()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt45999 Landroid/renderscript/Mesh$AllocationBuilder$Entry;->prim:Landroid/renderscript/Mesh$Primitive;
46007 Landroid/renderscript/Mesh$Builder$Entry;->prim:Landroid/renderscript/Mesh$Primitive;
46012 …dIndexSetType(Landroid/renderscript/Element;ILandroid/renderscript/Mesh$Primitive;)Landroid/render…
46013 Landroid/renderscript/Mesh$Builder;->addIndexSetType(Landroid/renderscript/Mesh$Primitive;)Landroid…
46014 …->addIndexSetType(Landroid/renderscript/Type;Landroid/renderscript/Mesh$Primitive;)Landroid/render…
46026 Landroid/renderscript/Mesh$Primitive;->LINE:Landroid/renderscript/Mesh$Primitive;
46027 Landroid/renderscript/Mesh$Primitive;->LINE_STRIP:Landroid/renderscript/Mesh$Primitive;
46028 Landroid/renderscript/Mesh$Primitive;->mID:I
46029 Landroid/renderscript/Mesh$Primitive;->TRIANGLE_FAN:Landroid/renderscript/Mesh$Primitive;
46030 Landroid/renderscript/Mesh$Primitive;->TRIANGLE_STRIP:Landroid/renderscript/Mesh$Primitive;
[all …]