Home
last modified time | relevance | path

Searched refs:fsv (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/codec2/vndk/
DC2Store.cpp199 const C2FieldSupportedValues &fsv = query[0].values; in UseComponentStoreForIonAllocator() local
200 if (fsv.type == C2FieldSupportedValues::FLAGS && !fsv.values.empty()) { in UseComponentStoreForIonAllocator()
201 minUsage = fsv.values[0].u64; in UseComponentStoreForIonAllocator()
203 for (C2Value::Primitive v : fsv.values) { in UseComponentStoreForIonAllocator()
209 const C2FieldSupportedValues &fsv = query[1].values; in UseComponentStoreForIonAllocator() local
210 if (fsv.type == C2FieldSupportedValues::RANGE && fsv.range.step.u32 > 0) { in UseComponentStoreForIonAllocator()
211 blockSize = fsv.range.step.u32; in UseComponentStoreForIonAllocator()
255 const C2FieldSupportedValues& fsv = query[0].values; in UseComponentStoreForDmaBufAllocator() local
256 if (fsv.type == C2FieldSupportedValues::FLAGS && !fsv.values.empty()) { in UseComponentStoreForDmaBufAllocator()
257 minUsage = fsv.values[0].u64; in UseComponentStoreForDmaBufAllocator()
[all …]
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceHelper.cpp100 C2FieldSupportedValues fsv; in createFieldsAndSupportedValues() local
102 case C2FieldDescriptor::INT32: fsv = C2SupportedRange<int32_t>::Any(); break; in createFieldsAndSupportedValues()
103 case C2FieldDescriptor::UINT32: fsv = C2SupportedRange<uint32_t>::Any(); break; in createFieldsAndSupportedValues()
104 case C2FieldDescriptor::INT64: fsv = C2SupportedRange<int64_t>::Any(); break; in createFieldsAndSupportedValues()
105 case C2FieldDescriptor::UINT64: fsv = C2SupportedRange<uint64_t>::Any(); break; in createFieldsAndSupportedValues()
106 case C2FieldDescriptor::FLOAT: fsv = C2SupportedRange<float>::Any(); break; in createFieldsAndSupportedValues()
107 case C2FieldDescriptor::BLOB: fsv = C2SupportedRange<uint8_t>::Any(); break; in createFieldsAndSupportedValues()
108 case C2FieldDescriptor::STRING: fsv = C2SupportedRange<char>::Any(); break; in createFieldsAndSupportedValues()
112 fsvPointer = std::make_unique<C2FieldSupportedValues>(fsv); in createFieldsAndSupportedValues()