AVCENC: Pass the H264 RefPicList0/1 by using slice_param instead of hacked DPB reference

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 968a9bf006679ad8d752fa1ddcd4bb80fc8c5e51)
h264encode: fix wrong print information

Signed-off-by: Elaine Wang <elaine.wang@intel.com>
h264encode: refine calculation logic of reference frame setting

Signed-off-by: Elaine Wang <elaine.wang@intel.com>
h264encode: add some comments

Signed-off-by: Elaine Wang <elaine.wang@intel.com>
h264encode: fix encode corruption issue with multiple IDR (-idr_period XX)

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
h264encode: correct negative POC after a new IDR

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
h264encode: use frame height not the height from VAImage which may be wrong

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
h264encode: dump reconstructed frame and calc PSNR

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
h264encode: reset IDR poc to 0

Signed-off-by: Elaine Wang <elaine.wang@intel.com>
h264encode: fix idr_pic_id issue when encode multiple IDR frames

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
h264encode: fix thread lockup issue

Change-Id: I3e0f23b5301d8405297b4b88b27e9edccdab6063
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
h264encode: fix thread lockup issue

Change-Id: I6065525f76796603856f5cebf0468f4a59c4b5b5
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
h264encode: print correct number of RefPicList0/1

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
h264encode: coding 1920x1080 with crop

Change-Id: I4ba61943c9f2d246deb4bcb69a4781680f63b046
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
h264encode: fix ftell overflow issue when open large source YUV files

Change-Id: I30190d4e28bd643f00808a15846e50e8fca28764
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
h264encode: add more cmdline options

Change-Id: Ia0326c2649dcf6dfbce275539cb8f4221fa37501
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
h264encode: fix mmap out of memmory issue

Change-Id: I9d7047d5ac66efefb31509f3ee52a9db28aada23
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Remove the EGL dependency on X11

Otherwise when x11 is disabled, it can't be compiled correctly.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Remove the dummy driver dependency on X11

Otherwise when x11 is disabled, it can't be compiled correctly.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
NEWS: updates

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>