Re: [Libva] [PATCH v1 8/9] ENC: add MFX pipeline for AVC encoder

2017-01-18 Thread Qu, Pengfei
-Original Message- From: Zhao, Yakui Sent: Tuesday, January 17, 2017 10:47 AM To: Qu, Pengfei Cc: libva@lists.freedesktop.org Subject: Re: [Libva] [PATCH v1 8/9] ENC: add MFX pipeline for AVC encoder On 01/13/2017 05:24 PM, Pengfei Qu wrote: > MFX pipeline: > add

Re: [Libva] [PATCH v1 0/9]Encoder Architecture Changes (Primarily AVC)

2017-01-18 Thread Qu, Pengfei
-Original Message- From: Zhao, Yakui Sent: Tuesday, January 17, 2017 10:30 AM To: Qu, Pengfei Cc: libva@lists.freedesktop.org Subject: Re: [Libva] [PATCH v1 0/9]Encoder Architecture Changes (Primarily AVC) On 01/13/2017 05:24 PM, Pengfei Qu wrote: > Encoder

Re: [Libva] [PATCH v1 2/9] ENC: add common structure for AVC/HEVC encoder

2017-01-18 Thread Qu, Pengfei
-Original Message- From: Zhao, Yakui Sent: Tuesday, January 17, 2017 9:15 AM To: Qu, Pengfei Cc: libva@lists.freedesktop.org Subject: Re: [Libva] [PATCH v1 2/9] ENC: add common structure for AVC/HEVC encoder On 01/13/2017 05:24 PM, Pengfei Qu wrote: > add

Re: [Libva] [PATCH v1 0/9]Encoder Architecture Changes (Primarily AVC)

2017-01-18 Thread Mark Thompson
On 13/01/17 09:24, Pengfei Qu wrote: > Encoder architecture restructuring for H.264 (with some impact to HEVC now) > on HSW+ > * Improvements to the shaders > * Improvements to the B frame efficiency > * Improvements to the low bit rate mode > * Improved features in two stage VME/PAK pipeline >

[Libva] [PATCH] va: Keep compatibility with the backend driver built against 0.39.x

2017-01-18 Thread Xiang, Haihao
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99375 Signed-off-by: Xiang, Haihao --- va/va.c | 1 + 1 file changed, 1 insertion(+) diff --git a/va/va.c b/va/va.c index 5cf7220..5040dc1 100644 --- a/va/va.c +++ b/va/va.c @@ -303,6 +303,7 @@ static VAStatus

Re: [Libva] [PATCH V1] libva-intel-driver: fix i965 encoder wrong bits shift operation

2017-01-18 Thread Xiang, Haihao
Thanks for the patch, applied. > From: Kuang-che Wu > > shift uint32_t by 32 bits is undefined behavior. > > For this particular case: when invoke avc_bitstream_put_ui() with 32 > bits value at byte position of multiple of 4, existing 32 bits garbage > data in the buffer

Re: [Libva] [PATCH] libva-intel-driver: fix i965 encoder wrong bits shift operation

2017-01-18 Thread Sean V Kelley
On Tue, Jan 17, 2017 at 6:48 PM, Xiang, Haihao wrote: > On Tue, 2017-01-17 at 13:15 -0800, Sean V Kelley wrote: > > From: Kuang-che Wu > > > > shift uint32_t by 32 bits is undefined behavior. > > > > For this particular case: when invoke

[Libva] [PATCH V1] libva-intel-driver: fix i965 encoder wrong bits shift operation

2017-01-18 Thread Sean V Kelley
From: Kuang-che Wu shift uint32_t by 32 bits is undefined behavior. For this particular case: when invoke avc_bitstream_put_ui() with 32 bits value at byte position of multiple of 4, existing 32 bits garbage data in the buffer may be retained instead of cleared. The result