Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DSetFrameRateTest.cpp53 using FrameRate = Layer::FrameRate; typedef
112 const FrameRate FRAME_RATE_VOTE1 = FrameRate(67.f, FrameRateCompatibility::Default);
113 const FrameRate FRAME_RATE_VOTE2 = FrameRate(14.f, FrameRateCompatibility::ExactOrMultiple);
114 const FrameRate FRAME_RATE_VOTE3 = FrameRate(99.f, FrameRateCompatibility::NoVote);
115 const FrameRate FRAME_RATE_TREE = FrameRate(0, FrameRateCompatibility::NoVote);
116 const FrameRate FRAME_RATE_NO_VOTE = FrameRate(0, FrameRateCompatibility::Default);
DLayerHistoryTestV2.cpp126 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F()
157 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F()
181 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F()
202 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F()
229 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F()
257 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F()
287 Return(Layer::FrameRate(73.4f, Layer::FrameRateCompatibility::Default))); in TEST_F()
319 Layer::FrameRate(73.4f, Layer::FrameRateCompatibility::ExactOrMultiple))); in TEST_F()
354 EXPECT_CALL(*layer1, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F()
357 EXPECT_CALL(*layer2, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F()
[all …]
DLayerHistoryTest.cpp88 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F()
117 EXPECT_CALL(*layer, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F()
141 EXPECT_CALL(*layer1, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F()
145 EXPECT_CALL(*layer2, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F()
149 EXPECT_CALL(*layer3, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F()
/frameworks/native/services/surfaceflinger/
DLayer.h160 struct FrameRate { struct
164 FrameRate() : rate(0), type(FrameRateCompatibility::Default) {} in FrameRate() argument
165 FrameRate(float rate, FrameRateCompatibility type) : rate(rate), type(type) {} in FrameRate() argument
167 bool operator==(const FrameRate& other) const {
171 bool operator!=(const FrameRate& other) const { return !(*this == other); }
269 FrameRate frameRate;
835 bool setFrameRate(FrameRate frameRate);
836 virtual FrameRate getFrameRateForLayerTree() const;
DRefreshRateOverlay.cpp162 mLayer->setFrameRate(Layer::FrameRate(0, Layer::FrameRateCompatibility::NoVote)); in createLayer()
DLayer.cpp1409 bool Layer::setFrameRate(FrameRate frameRate) { in setFrameRate()
1431 Layer::FrameRate Layer::getFrameRateForLayerTree() const { in getFrameRateForLayerTree()
2613 Layer::FrameRateCompatibility Layer::FrameRate::convertCompatibility(int8_t compatibility) { in convertCompatibility()
DSurfaceFlinger.cpp3849 layer->setFrameRate(Layer::FrameRate(s.frameRate, in setClientStateLocked()
3850 Layer::FrameRate::convertCompatibility( in setClientStateLocked()
6231 Layer::FrameRate(frameRate, in setFrameRate()
6232 Layer::FrameRate::convertCompatibility(compatibility)))) { in setFrameRate()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockLayer.h35 MOCK_CONST_METHOD0(getFrameRateForLayerTree, FrameRate());
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmp4lib_int.h395 float FrameRate; /* Src frame Rate */ member
Dmp4enc_api.cpp454 video->FrameRate = timeIncRes / ((float)timeInc); in PVInitVideoEncoder()
2662 srcFrameInterval = 1000 / video->FrameRate; in DetermineCodingLayer()