Re: [Libva] [PATCH v1 7/9] ENC: add VME pipeline for AVC encoder

2017-01-18 Thread Qu, Pengfei
-Original Message- From: Mark Thompson [mailto:s...@jkqxz.net] Sent: Thursday, January 19, 2017 7:25 AM To: libva@lists.freedesktop.org; Qu, Pengfei Subject: Re: [Libva] [PATCH v1 7/9] ENC: add VME pipeline for AVC encoder On 13/01/17 09:24, Pengfei Qu wrote: > VME pipeline: > add reso

[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 va_openDriver(VADisplay dpy, ch

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 may be retained instea

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 > >

Re: [Libva] [PATCH v1 7/9] ENC: add VME pipeline for AVC encoder

2017-01-18 Thread Mark Thompson
On 13/01/17 09:24, Pengfei Qu wrote: > VME pipeline: > add resource and surface allocation and free function > add init table for frame mbbrc update > add scaling kernel for AVC encoder > add BRC init reset kernel for AVC RC logic > add BRC frame update-kernel for AVC RC logic > add BRC MB level up

[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 is, the position of NA

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 avc_bitstream_put_ui() with 32 > > bits value at byte posi

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 MFX command for AVC en

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 architecture restructuring f

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 context init function for AVC

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:06 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 context init function for AVC

Re: [Libva] [PATCH v1 1/9] ENC: move gpe related function into src/i965_gpe_utils.h/c

2017-01-18 Thread Qu, Pengfei
-Original Message- From: Zhao, Yakui Sent: Tuesday, January 17, 2017 8:55 AM To: Qu, Pengfei Cc: libva@lists.freedesktop.org Subject: Re: [Libva] [PATCH v1 1/9] ENC: move gpe related function into src/i965_gpe_utils.h/c On 01/13/2017 05:24 PM, Pengfei Qu wrote: > v1: > add align versi