diff options
author | Yaowu Xu <yaowu@google.com> | 2014-04-08 07:13:49 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@gerrit.golo.chromium.org> | 2014-04-08 07:13:49 -0700 |
commit | 2914bcfd9b95f04f51ac124316ccfdac2714b699 (patch) | |
tree | 2e9e70bb97ae9d7ef40c63e6a7c2757a1761a1ad /vp9/encoder/vp9_ratectrl.h | |
parent | 6769143cef03f52a4619caa56bb44d258cd0ec27 (diff) | |
parent | ded9e191445c599f4fcc5d75ccf26a8b4c33532e (diff) | |
download | libvpx-2914bcfd9b95f04f51ac124316ccfdac2714b699.tar libvpx-2914bcfd9b95f04f51ac124316ccfdac2714b699.tar.gz libvpx-2914bcfd9b95f04f51ac124316ccfdac2714b699.tar.bz2 libvpx-2914bcfd9b95f04f51ac124316ccfdac2714b699.zip |
Merge "vp9_firstpass: Get rid of magic number in bits per MB calculation"
Diffstat (limited to 'vp9/encoder/vp9_ratectrl.h')
-rw-r--r-- | vp9/encoder/vp9_ratectrl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_ratectrl.h b/vp9/encoder/vp9_ratectrl.h index c0dffe751..4b3d2f1e4 100644 --- a/vp9/encoder/vp9_ratectrl.h +++ b/vp9/encoder/vp9_ratectrl.h @@ -22,6 +22,9 @@ extern "C" { #define FRAME_OVERHEAD_BITS 200 +// Bits Per MB at different Q (Multiplied by 512) +#define BPER_MB_NORMBITS 9 + typedef struct { // Rate targetting variables int this_frame_target; |