Search Results

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 H264FrameConfigImpl;
27 
29  {
30  public:
31 
32  DB_EDGEVIS_SDK H264FrameConfig();
33 
34  H264FrameConfig(FrameConfig config);
35 
64  DB_EDGEVIS_SDK H264FrameConfig(int32_t height, int32_t max_fps, int32_t bitrate, int32_t i_frame_interval);
65  DB_EDGEVIS_SDK H264FrameConfig(int32_t height, int32_t max_fps, int32_t bitrate, int32_t i_frame_interval, int32_t min_quantization);
66 
67  DB_EDGEVIS_SDK virtual ~H264FrameConfig();
68 
74  DB_EDGEVIS_SDK int32_t GetBitrate() const;
75 
84  DB_EDGEVIS_SDK void SetBitrate(int32_t bitrate);
85 
92  DB_EDGEVIS_SDK int32_t GetIFrameInterval() const;
93 
102  DB_EDGEVIS_SDK void SetIFrameInterval(int32_t i_frame_interval);
103 
109  DB_EDGEVIS_SDK int32_t GetMinQuantization() const;
110 
120  DB_EDGEVIS_SDK void SetMinQuantization(int32_t min_quantization);
121 
122 
123 
130  DB_EDGEVIS_SDK int32_t GetMaxSliceSize() const;
131 
132 
133 
141  DB_EDGEVIS_SDK void SetMaxSliceSize(int32_t slice_size);
142 
143  };
144 }
This is the derived class for the H264FrameConfig objects.
Definition: H264FrameConfig.h:28
DB_EDGEVIS_SDK void SetBitrate(int32_t bitrate)
Set the bitrate used for the H.264 encoder when this frame config is applied.
DB_EDGEVIS_SDK void SetMaxSliceSize(int32_t slice_size)
Set the maximum slice size for the H.264 NAL units.
DB_EDGEVIS_SDK int32_t GetBitrate() const
Get the bitrate used for the H.264 encoder.
This is the base class for the FrameConfig objects.
Definition: FrameConfig.h:28
DB_EDGEVIS_SDK void SetMinQuantization(int32_t min_quantization)
Set the minimum quantization encoder parameter.
DB_EDGEVIS_SDK void SetIFrameInterval(int32_t i_frame_interval)
Set the number of frames between I-frames (i.e.
The EdgeVis Decoder SDK namespace.
DB_EDGEVIS_SDK int32_t GetIFrameInterval() const
Get the number of frames between I-frames (i.e.
DB_EDGEVIS_SDK int32_t GetMinQuantization() const
Get the minimum quantization encoder parameter.
DB_EDGEVIS_SDK int32_t GetMaxSliceSize() const
Get the maximum slice size for the H.264 NAL units.