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:
6aa8696
)
support picture order count type 2 for H.264 encoding
author
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 2 Nov 2011 01:57:54 +0000
(09:57 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 2 Nov 2011 01:57:54 +0000
(09:57 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/i965_encoder_utils.c
patch
|
blob
|
history
diff --git
a/src/i965_encoder_utils.c
b/src/i965_encoder_utils.c
index
3a93d8d
..
b6076f5
100644
(file)
--- a/
src/i965_encoder_utils.c
+++ b/
src/i965_encoder_utils.c
@@
-215,8
+215,10
@@
slice_header(avc_bitstream *bs,
if (sps_param->pic_order_cnt_type == 0) {
avc_bitstream_put_ui(bs, pic_param->CurrPic.TopFieldOrderCnt, sps_param->log2_max_pic_order_cnt_lsb_minus4 + 4);
/* pic_order_present_flag == 0 */
- } else {
- /* FIXME: */
+ }
+
+ if (sps_param->pic_order_cnt_type == 1 && !sps_param->seq_fields.bits.delta_pic_order_always_zero_flag) {
+ /* FIXME: pack delta pic information */
assert(0);
}