mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 06:51:18 +12:00
Formatting
This commit is contained in:
parent
95238d60b7
commit
fd946f63db
2 changed files with 5 additions and 4 deletions
|
@ -126,7 +126,6 @@ namespace camera
|
|||
CameraManager::instance().GetNV12Data(surfaceBuffer.GetPtr());
|
||||
s_instance.outTargetBuffers.Push(surfaceBuffer);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma once
|
||||
#include <shared_mutex>
|
||||
|
||||
#include <openpnp-capture.h>
|
||||
#include "util/helpers/Singleton.h"
|
||||
|
||||
class CameraManager : public Singleton<CameraManager>
|
||||
{
|
||||
CapContext m_ctx;
|
||||
|
@ -14,7 +14,8 @@ class CameraManager : public Singleton<CameraManager>
|
|||
std::thread m_captureThread;
|
||||
std::atomic_bool m_capturing;
|
||||
mutable std::shared_mutex m_mutex;
|
||||
public:
|
||||
|
||||
public:
|
||||
CameraManager();
|
||||
~CameraManager();
|
||||
|
||||
|
@ -24,6 +25,7 @@ public:
|
|||
void Close();
|
||||
|
||||
void GetNV12Data(uint8_t* nv12Buffer) const;
|
||||
private:
|
||||
|
||||
private:
|
||||
void CaptureWorker();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue