• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

Revision7c87a3e4c2d47dff9982a45b9ca4400d58b997cd (tree)
Zeit2013-06-25 14:53:58
AutorElaine Wang <elaine.wang@inte...>
CommiterXiang, Haihao

Log Message

h264encode: reset IDR poc to 0

Signed-off-by: Elaine Wang <elaine.wang@intel.com>

Ändern Zusammenfassung

Diff

--- a/test/encode/h264encode.c
+++ b/test/encode/h264encode.c
@@ -1568,7 +1568,7 @@ static int render_slice(void)
15681568
15691569 slice_param.slice_alpha_c0_offset_div2 = 2;
15701570 slice_param.slice_beta_offset_div2 = 2;
1571- slice_param.pic_order_cnt_lsb = current_frame_display % MaxPicOrderCntLsb;
1571+ slice_param.pic_order_cnt_lsb = (current_frame_display - current_IDR_display) % MaxPicOrderCntLsb;
15721572
15731573 va_status = vaCreateBuffer(va_dpy,context_id,VAEncSliceParameterBufferType,
15741574 sizeof(slice_param),1,&slice_param,&slice_param_buf);