diff options
author | Zhao, Yakui <yakui.zhao@intel.com> | 2014-06-10 14:11:01 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-06-16 11:53:35 +0800 |
commit | 9aec3ffc5b1cf05ae19b70580506bb53eefc245b (patch) | |
tree | 40d4c9c38abf2ceab6e2d1d7ace55a17226f1ef4 /src/gen6_mfc.h | |
parent | 143c53900943c660390122f7fa4a1c5705798fdd (diff) | |
download | libva-intel-driver-9aec3ffc5b1cf05ae19b70580506bb53eefc245b.tar.gz libva-intel-driver-9aec3ffc5b1cf05ae19b70580506bb53eefc245b.tar.bz2 libva-intel-driver-9aec3ffc5b1cf05ae19b70580506bb53eefc245b.zip |
Encoding: Reinitialize CBR bit rate-control parameter to support switch of bitrate under CBR
Tested-By: Sean V Kelley <sean.v.kelley@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 929c1446a28dbefd9655774f2db3e10f7b631dcf)
Diffstat (limited to 'src/gen6_mfc.h')
-rw-r--r-- | src/gen6_mfc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gen6_mfc.h b/src/gen6_mfc.h index 6df8093..9437c31 100644 --- a/src/gen6_mfc.h +++ b/src/gen6_mfc.h @@ -159,6 +159,12 @@ struct gen6_mfc_context int target_frame_size[3]; // I,P,B double bits_per_frame; double qpf_rounding_accumulator; + + double saved_bps; + double saved_fps; + int saved_intra_period; + int saved_ip_period; + int saved_idr_period; } brc; struct { |