projects
/
platform
/
upstream
/
libva-intel-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
568b709
)
Adjust HW bit rate contorl panic mode's threshold for P frame.
author
Zhou Chang
<chang.zhou@intel.com>
Wed, 15 Jun 2011 05:58:01 +0000
(13:58 +0800)
committer
Gwenole Beauchesne
<gwenole.beauchesne@intel.com>
Thu, 25 Aug 2011 12:28:59 +0000
(14:28 +0200)
src/gen6_mfc.c
patch
|
blob
|
history
diff --git
a/src/gen6_mfc.c
b/src/gen6_mfc.c
index
b2875ac
..
948e8f5
100644
(file)
--- a/
src/gen6_mfc.c
+++ b/
src/gen6_mfc.c
@@
-684,7
+684,7
@@
static int gen6_mfc_avc_pak_object_inter(VADriverContextP ctx, int x, int y, int
struct intel_batchbuffer *batch = gen6_encoder_context->base.batch;
int len_in_dwords = 11;
unsigned char target_mb_size = inter_mb_size_in_bits / 16; //In Words
- unsigned char max_mb_size = target_mb_size *
2 > 255? 255: target_mb_size * 2
;
+ unsigned char max_mb_size = target_mb_size *
16 > 255? 255: target_mb_size * 16
;
BEGIN_BCS_BATCH(batch, len_in_dwords);