Searched refs:C2SupportedRange (Results 1 – 5 of 5) sorted by relevance
/hardware/google/av/codec2/vndk/include/util/ |
D | C2InterfaceUtils.h | 58 class C2SupportedRange { 73 inline static constexpr C2SupportedRange<T> None() { 74 return C2SupportedRange(MAX_VALUE, MIN_VALUE); 80 inline static constexpr C2SupportedRange<T> Any() { 81 return C2SupportedRange(MIN_VALUE, MAX_VALUE); 89 inline static constexpr C2SupportedRange<T> EqualTo(T value) { 90 return C2SupportedRange(value, value); 98 inline static C2SupportedRange<T> GreaterThan(T value) { 101 C2SupportedRange(std::nextafter(value, MAX_VALUE), MAX_VALUE) : 102 C2SupportedRange(value + MIN_STEP, MAX_VALUE)); [all …]
|
D | C2Debug-interface.h | 26 std::ostream& operator<<(std::ostream& os, const C2SupportedRange<T> &i);
|
/hardware/google/av/codec2/vndk/util/ |
D | C2Debug.cpp | 165 std::ostream& operator<<(std::ostream& os, const C2SupportedRange<T> &i) { in operator <<() 173 template std::ostream& operator<<(std::ostream& os, const C2SupportedRange<char> &i); 174 template std::ostream& operator<<(std::ostream& os, const C2SupportedRange<uint8_t> &i); 175 template std::ostream& operator<<(std::ostream& os, const C2SupportedRange<int32_t> &i); 176 template std::ostream& operator<<(std::ostream& os, const C2SupportedRange<uint32_t> &i); 178 template std::ostream& operator<<(std::ostream& os, const C2SupportedRange<int64_t> &i); 179 template std::ostream& operator<<(std::ostream& os, const C2SupportedRange<uint64_t> &i); 181 template std::ostream& operator<<(std::ostream& os, const C2SupportedRange<float> &i); 242 C2SupportedRange<ValueType> _mRange;
|
D | C2InterfaceUtils.cpp | 71 C2SupportedRange<T>::C2SupportedRange(const C2FieldSupportedValues &values) { in C2SupportedRange() function in C2SupportedRange 88 bool C2SupportedRange<T>::contains(T value) const { in contains() 136 C2SupportedRange<T> C2SupportedRange<T>::limitedTo(const C2SupportedRange<T> &limit) const { in limitedTo() 138 return C2SupportedRange(std::max(_mMin, limit._mMin), std::min(_mMax, limit._mMax), in limitedTo() 142 template class C2SupportedRange<uint8_t>; variable 143 template class C2SupportedRange<char>; variable 144 template class C2SupportedRange<int32_t>; variable 145 template class C2SupportedRange<uint32_t>; variable 147 template class C2SupportedRange<int64_t>; variable 148 template class C2SupportedRange<uint64_t>; variable [all …]
|
D | C2InterfaceHelper.cpp | 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()
|