projects
/
profile
/
ivi
/
libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c81eefb
)
mpeg2enc: VBV buffer size
author
Xiang, Haihao
<haihao.xiang@intel.com>
Mon, 26 Nov 2012 02:15:27 +0000
(10:15 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Fri, 7 Dec 2012 08:05:34 +0000
(16:05 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
test/encode/mpeg2enc.c
patch
|
blob
|
history
diff --git
a/test/encode/mpeg2enc.c
b/test/encode/mpeg2enc.c
index
a605622
..
05be017
100644
(file)
--- a/
test/encode/mpeg2enc.c
+++ b/
test/encode/mpeg2enc.c
@@
-620,7
+620,7
@@
mpeg2enc_init_sequence_parameter(struct mpeg2enc_context *ctx,
seq_param->frame_rate = ctx->fps;
seq_param->aspect_ratio_information = 1;
- seq_param->vbv_buffer_size =
0x10000;
+ seq_param->vbv_buffer_size =
3; /* B = 16 * 1024 * vbv_buffer_size */
seq_param->sequence_extension.bits.profile_and_level_indication = 4 << 4 | 0x8; /* FIXME: Main/Main ??? */
seq_param->sequence_extension.bits.progressive_sequence = 1; /* progressive frame-pictures */