DropFrameReason is declared in two places. This moves it
to the common place.
Change-Id: I04c16db4a49135588edff7e1746dcf9172750bb9
int temporal_layer_id;
};
-enum class FrameDropDecision {
- kOk, // Frame is encoded.
- kDrop, // Frame is dropped.
-};
-
class VP8RateControlRTC {
public:
static std::unique_ptr<VP8RateControlRTC> Create(
size_t delta_q_size;
};
-enum class FrameDropDecision {
- kOk, // Frame is encoded.
- kDrop, // Frame is dropped.
-};
-
// This interface allows using VP9 real-time rate control without initializing
// the encoder. To use this interface, you need to link with libvpxrc.a.
//
enum class RcFrameType { kKeyFrame = 0, kInterFrame = 1 };
+enum class FrameDropDecision {
+ kOk, // Frame is encoded.
+ kDrop, // Frame is dropped.
+};
+
struct VpxRateControlRtcConfig {
public:
VpxRateControlRtcConfig() {