JPEGFrameConfig.h
Go to the documentation of this file.
1 // Copyright (c) 2018 Digital Barriers
4 
18 #pragma once
19 
20 #include "FrameConfig.h"
21 #include "EdgeVisSDK.h"
22 #include "Pimpl.h"
23 
24 namespace EdgeVisDecoderSDK
25 {
26  class JPEGFrameConfigImpl;
27 
29  {
30  public:
31 
32  DB_EDGEVIS_SDK JPEGFrameConfig();
33 
34  JPEGFrameConfig(FrameConfig config);
35 
55  DB_EDGEVIS_SDK JPEGFrameConfig(int32_t height, int32_t max_fps, int32_t quality);
56 
57  DB_EDGEVIS_SDK virtual ~JPEGFrameConfig();
58 
64  DB_EDGEVIS_SDK int32_t GetQuality() const;
65 
75  DB_EDGEVIS_SDK void SetQuality(int32_t quality);
76 
77  };
78 }
DB_EDGEVIS_SDK void SetQuality(int32_t quality)
Set the JPEG compression quality to use when generating JPEGs.
This is the derived class for the JPEGFrameConfig objects.
Definition: JPEGFrameConfig.h:28
DB_EDGEVIS_SDK int32_t GetQuality() const
Retrieve the JPEG compression quality being used when generating JPEGs.
This is the base class for the FrameConfig objects.
Definition: FrameConfig.h:28
The EdgeVis Decoder SDK namespace.