Home
last modified time | relevance | path

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

/hardware/google/av/media/eco/
DECOSession.cpp55 sp<ECOSession> ECOSession::createECOSession(int32_t width, int32_t height, bool isCameraRecording) { in createECOSession()
64 return new ECOSession(width, height, isCameraRecording); in createECOSession()
67 ECOSession::ECOSession(int32_t width, int32_t height, bool isCameraRecording) in ECOSession() function in android::media::eco::ECOSession
92 ECOSession::~ECOSession() { in ~ECOSession()
105 void ECOSession::startThread(ECOSession* session) { in startThread()
109 void ECOSession::run() { in run()
147 bool ECOSession::processStats(const ECOData& stats) { in processStats()
174 void ECOSession::processSessionStats(const ECOData& stats) { in processSessionStats()
249 ECOData ECOSession::generateLatestSessionInfoEcoData() { in generateLatestSessionInfoEcoData()
300 void ECOSession::processFrameStats(const ECOData& stats) { in processFrameStats()
[all …]
DECOService.cpp76 sp<ECOSession> session = iter->second.promote(); in obtainSession()
87 sp<ECOSession> newSession = ECOSession::createECOSession(width, height, isCameraRecording); in obtainSession()
115 sp<ECOSession> session = iter->second.promote(); in getSessions()
121 inline bool isEmptySession(const android::wp<ECOSession>& entry) { in isEmptySession()
122 sp<ECOSession> session = entry.promote(); in isEmptySession()
127 const std::function<void(std::unordered_map<SessionConfig, wp<ECOSession>, in SanitizeSession() argument
150 sp<ECOSession> session = it->second.promote(); in dump()
DAndroid.bp21 "ECOSession.cpp",
/hardware/google/av/media/eco/include/eco/
DECOSession.h50 class ECOSession : public BinderService<ECOSession>,
53 friend class BinderService<ECOSession>;
56 virtual ~ECOSession();
91 static android::sp<ECOSession> createECOSession(int32_t width, int32_t height,
96 ECOSession(int32_t width, int32_t height, bool isCameraRecording);
101 static void startThread(ECOSession* session);
DECOService.h34 using android::media::eco::ECOSession;
110 std::unordered_map<SessionConfig, wp<ECOSession>, SessionConfigHash> mSessionConfigToSessionMap;
113 std::unordered_map<SessionConfig, wp<ECOSession>, SessionConfigHash>::iterator;
/hardware/google/av/media/eco/tests/
DEcoSessionTest.cpp56 sp<ECOSession> createSession(int32_t width, int32_t height, bool isCameraRecording) { in createSession()
57 mSession = ECOSession::createECOSession(width, height, isCameraRecording); in createSession()
63 sp<ECOSession> mSession = nullptr;
93 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F()
106 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F()
120 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F()
136 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F()
155 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F()
169 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F()
183 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F()
[all …]