Searched refs:saturate (Results 1 – 2 of 2) sorted by relevance
/hardware/google/av/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 175 static_assert(C2Segment(123u, 456u).saturate() == C2Segment(123u, 456u), ""); in StaticSegmentTest() 176 static_assert(C2Segment(123u, ~123u).saturate() == C2Segment(123u, ~123u), ""); in StaticSegmentTest() 177 static_assert(C2Segment(123u, 1 + ~123u).saturate() == C2Segment(123u, ~123u), ""); in StaticSegmentTest() 180 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(150u, 1 + ~150u).saturate()).normalize() =… in StaticSegmentTest() 181 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(0u, 100u).saturate()).normalize() == C2Seg… in StaticSegmentTest() 182 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(1000u, 100u).saturate()).normalize() != C2… in StaticSegmentTest() 183 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(1000u, 100u).saturate()).normalize() == C2… in StaticSegmentTest()
|
/hardware/google/av/codec2/include/ |
D | C2Buffer.h | 330 inline constexpr C2Segment saturate() const { in saturate() function
|