Home
last modified time | relevance | path

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

/external/webrtc/api/video/
Dcolor_space.cc19 bool SetFromUint8(uint8_t enum_value, uint64_t enum_bitmask, T* out) { in SetFromUint8() argument
20 if ((enum_value < 64) && ((enum_bitmask >> enum_value) & 1)) { in SetFromUint8()
59 constexpr uint64_t enum_bitmask = CreateEnumBitmask(kChromaSitings); in SetChromaSitingFromUint8() local
61 return SetFromUint8(enum_value, enum_bitmask, chroma_siting); in SetChromaSitingFromUint8()
133 constexpr uint64_t enum_bitmask = CreateEnumBitmask(kPrimaryIds); in set_primaries_from_uint8() local
135 return SetFromUint8(enum_value, enum_bitmask, &primaries_); in set_primaries_from_uint8()
149 constexpr uint64_t enum_bitmask = CreateEnumBitmask(kTransferIds); in set_transfer_from_uint8() local
151 return SetFromUint8(enum_value, enum_bitmask, &transfer_); in set_transfer_from_uint8()
161 constexpr uint64_t enum_bitmask = CreateEnumBitmask(kMatrixIds); in set_matrix_from_uint8() local
163 return SetFromUint8(enum_value, enum_bitmask, &matrix_); in set_matrix_from_uint8()
[all …]