add whitespace

Signed-off-by: hobbycao <caohui10@huawei.com>
This commit is contained in:
hobbycao
2022-03-22 11:38:11 +08:00
parent 42847e3667
commit 39be0ec958
11 changed files with 11 additions and 0 deletions
+1
View File
@@ -141,6 +141,7 @@ public:
delete consumerThread_;
}
}
public:
std::atomic<uint64_t> shotCount_ = 0;
std::mutex l_;
+1
View File
@@ -42,6 +42,7 @@ public:
bool FindString(const string& name, string& value);
virtual ~DataBuffer();
private:
size_t capacity_ = 0;
size_t rangeOffset_ = 0;
@@ -24,6 +24,7 @@ namespace OHOS {
namespace DistributedHardware {
class DCameraSinkHandlerIpc {
DECLARE_SINGLE_INSTANCE_BASE(DCameraSinkHandlerIpc);
public:
void Init();
void UnInit();
@@ -24,6 +24,7 @@ namespace OHOS {
namespace DistributedHardware {
class DCameraSourceHandlerIpc {
DECLARE_SINGLE_INSTANCE_BASE(DCameraSourceHandlerIpc);
public:
void Init();
void UnInit();
@@ -27,6 +27,7 @@ namespace OHOS {
namespace DistributedHardware {
class DistributedCameraSinkService : public SystemAbility, public DistributedCameraSinkStub {
DECLARE_SYSTEM_ABILITY(DistributedCameraSinkService);
public:
DistributedCameraSinkService(int32_t saId, bool runOnCreate);
~DistributedCameraSinkService() = default;
@@ -24,6 +24,7 @@ namespace OHOS {
namespace DistributedHardware {
class DCameraSinkServiceIpc {
DECLARE_SINGLE_INSTANCE_BASE(DCameraSinkServiceIpc);
public:
void Init();
void UnInit();
@@ -32,6 +32,7 @@ namespace OHOS {
namespace DistributedHardware {
class DistributedCameraSourceService : public SystemAbility, public DistributedCameraSourceStub {
DECLARE_SYSTEM_ABILITY(DistributedCameraSourceService);
public:
DistributedCameraSourceService(int32_t saId, bool runOnCreate);
~DistributedCameraSourceService() = default;
@@ -54,6 +54,7 @@ public:
class DCameraSourceEvent : public Event {
TYPEINDENT(DCameraSourceEvent)
public:
DCameraSourceEvent(EventSender& sender) : Event(sender) {}
~DCameraSourceEvent() = default;
@@ -24,6 +24,7 @@ namespace OHOS {
namespace DistributedHardware {
class DCameraSourceServiceIpc {
DECLARE_SINGLE_INSTANCE_BASE(DCameraSourceServiceIpc);
public:
void Init();
void UnInit();
@@ -40,6 +40,7 @@ public:
void Stop();
void FeedStream(const std::shared_ptr<DataBuffer>& buffer);
void UpdateInterval(uint32_t fps);
private:
void LooperContinue();
void LooperSnapShot();
@@ -34,6 +34,7 @@ typedef enum {
class DCameraSoftbusAdapter {
DECLARE_SINGLE_INSTANCE_BASE(DCameraSoftbusAdapter);
public:
int32_t CreateSoftbusSessionServer(std::string sessionName, DCAMERA_CHANNEL_ROLE role);
int32_t DestroySoftbusSessionServer(std::string sessionName);