Index: source/libvpx/vp9/encoder/vp9_ratectrl.h |
diff --git a/source/libvpx/vp9/encoder/vp9_ratectrl.h b/source/libvpx/vp9/encoder/vp9_ratectrl.h |
index f9b0488bb3473a13029b6d4106c59e685dad6f96..11dfa35c3cdb073d747eab3d5f18b27c235ad83d 100644 |
--- a/source/libvpx/vp9/encoder/vp9_ratectrl.h |
+++ b/source/libvpx/vp9/encoder/vp9_ratectrl.h |
@@ -142,6 +142,9 @@ typedef struct { |
int frame_width[FRAME_SCALE_STEPS]; |
int frame_height[FRAME_SCALE_STEPS]; |
int rf_level_maxq[RATE_FACTOR_LEVELS]; |
+ |
+ uint64_t avg_source_sad; |
+ int high_source_sad; |
} RATE_CONTROL; |
struct VP9_COMP; |
@@ -256,6 +259,10 @@ void vp9_set_target_rate(struct VP9_COMP *cpi); |
int vp9_resize_one_pass_cbr(struct VP9_COMP *cpi); |
+void vp9_avg_source_sad(struct VP9_COMP *cpi); |
+ |
+int vp9_encodedframe_overshoot(struct VP9_COMP *cpi, int frame_size, int *q); |
+ |
#ifdef __cplusplus |
} // extern "C" |
#endif |