|
RawSpeed
fast raw decoding library
|
#include "adt/Bit.h"#include <algorithm>#include <cstdint>#include <limits>#include <string>#include <tuple>#include <vector>#include <gtest/gtest.h>Go to the source code of this file.
Classes | |
| class | rawspeed_test::anonymous_namespace{BitTest.cpp}::PowerOfTwoTest |
| class | rawspeed_test::anonymous_namespace{BitTest.cpp}::ClampBitsTest |
| class | string |
| STL class. More... | |
Namespaces | |
| namespace | rawspeed_test |
| namespace | rawspeed_test::anonymous_namespace{BitTest.cpp} |
Macros | |
| #define | MIN(a, b) |
| #define | MAX(a, b) |
| #define | ROW(v, p, pv) |
| #define | ROWS(v, p, pv) |
| #define | THREEROWS(v, p) |
| #define | MOREROWS(v) |
| #define | GENERATE() |
Typedefs | |
| using | rawspeed_test::anonymous_namespace{BitTest.cpp}::powerOfTwoType = std::tuple<int, bool> |
| using | rawspeed_test::anonymous_namespace{BitTest.cpp}::ClampBitsType = std::tuple<int, int, uint16_t> |
Functions | |
| rawspeed_test::anonymous_namespace{BitTest.cpp}::INSTANTIATE_TEST_SUITE_P (PowerOfTwoTest, PowerOfTwoTest, ::testing::ValuesIn(powerOfTwoValues)) | |
| rawspeed_test::anonymous_namespace{BitTest.cpp}::TEST_P (PowerOfTwoTest, PowerOfTwoTest) | |
| rawspeed_test::anonymous_namespace{BitTest.cpp}::INSTANTIATE_TEST_SUITE_P (ClampBitsTest, ClampBitsTest, ::testing::ValuesIn(ClampBitsValues)) | |
| rawspeed_test::anonymous_namespace{BitTest.cpp}::TEST_P (ClampBitsTest, ClampBitsTest) | |
| rawspeed_test::anonymous_namespace{BitTest.cpp}::TEST (ClampBitsDeathTest, Only16Bit) | |
| rawspeed_test::anonymous_namespace{BitTest.cpp}::TEST (ClampBitsUnsignedDeathTest, NoNopClamps) | |
| template<typename T> requires std::is_arithmetic_v<T> | |
| constexpr auto RAWSPEED_READNONE | clampBits (T value, unsigned int nBits) |
| template<typename T> | |
| constexpr bool RAWSPEED_READNONE | isPowerOfTwo (T val) |
Variables | |
| const powerOfTwoType | rawspeed_test::anonymous_namespace{BitTest.cpp}::powerOfTwoValues [] |
| const ClampBitsType | rawspeed_test::anonymous_namespace{BitTest.cpp}::ClampBitsValues [] |
| #define GENERATE | ( | ) |
Definition at line 101 of file BitTest.cpp.
| #define MAX | ( | a, | |
| b ) |
Definition at line 83 of file BitTest.cpp.
| #define MIN | ( | a, | |
| b ) |
Definition at line 82 of file BitTest.cpp.
| #define MOREROWS | ( | v | ) |
Definition at line 94 of file BitTest.cpp.
| #define ROW | ( | v, | |
| p, | |||
| pv ) |
Definition at line 85 of file BitTest.cpp.
| #define ROWS | ( | v, | |
| p, | |||
| pv ) |
Definition at line 87 of file BitTest.cpp.
| #define THREEROWS | ( | v, | |
| p ) |
Definition at line 89 of file BitTest.cpp.
|
constexpr |
Definition at line 75 of file Bit.h.
Referenced by rawspeed::DngOpcodes::OffsetPerRowOrCol< S >::apply(), rawspeed_test::anonymous_namespace{BitTest.cpp}::TEST(), rawspeed_test::anonymous_namespace{BitTest.cpp}::TEST(), and rawspeed_test::anonymous_namespace{BitTest.cpp}::TEST_P().
|
constexpr |
Definition at line 38 of file Bit.h.
Referenced by rawspeed_test::anonymous_namespace{BitTest.cpp}::TEST_P().