Re: [Libva] [PATCH Libva-intel-driver 4/4] Add the csc conversion from YV16 to NV12

2014-03-17 Thread Yuan, Feng
>-Original Message- >From: Libva [mailto:libva-boun...@lists.freedesktop.org] On Behalf Of >Gwenole Beauchesne >Sent: Tuesday, March 18, 2014 1:06 PM >To: Wu, Zhiwen >Cc: libva@lists.freedesktop.org >Subject: Re: [Libva] [PATCH Libva-intel-driver 4/4] Add the csc conversion >from YV16 to N

Re: [Libva] [PATCH Libva-intel-driver 4/4] Add the csc conversion from YV16 to NV12

2014-03-17 Thread Wu, Zhiwen
I had an old version of this patch which contains the following snippets, and tested it on my baytraili platform. if (fourcc == VA_FOURCC('Y', 'V', '1', '6')) { width[1] = obj_image->image.width / 2; height[1] = obj_image->image.height;

Re: [Libva] [PATCH Libva-intel-driver 4/4] Add the csc conversion from YV16 to NV12

2014-03-17 Thread Gwenole Beauchesne
Hi, 2014-03-18 1:44 GMT+01:00 Wu, Zhiwen : > Looks good to me, tested on baytraili. Interesting, how? The patch doesn't do what it tells to do in several places: >>-Original Message- >>From: Libva [mailto:libva-boun...@lists.freedesktop.org] On Behalf Of Zhao >>Yakui >>Sent: Monday, Marc

[Libva] [PATCH] va: keep compatibility with the backend driver built against 0.34.x

2014-03-17 Thread Xiang, Haihao
From: "Xiang, Haihao" 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 ae853bb..c770f0d 100644 --- a/va/va.c +++ b/va/va.c @@ -246,6 +246,7 @@ static VAStatus va_openDriver(VADisplay dpy, char *driver_name)

[Libva] [ANNOUNCE] libva-intel-driver-1.3.0.pre1

2014-03-17 Thread Xiang, Haihao
Hi, all libva-intel-driver-1.3.0 is planned for release soon. Please report any critical with http://www.freedesktop.org/software/vaapi/testing/libva-intel-driver/libva-intel-driver-1.3.0.pre1.tar.bz2 * Add support for Broadwell - Decoding: H.264/MPEG-2/VC-1/JPEG/VP8 - Encoding: H.264/MPEG-

Re: [Libva] [PATCH Libva-intel-driver 4/4] Add the csc conversion from YV16 to NV12

2014-03-17 Thread Wu, Zhiwen
Looks good to me, tested on baytraili. >-Original Message- >From: Libva [mailto:libva-boun...@lists.freedesktop.org] On Behalf Of Zhao >Yakui >Sent: Monday, March 17, 2014 5:08 PM >To: libva@lists.freedesktop.org >Subject: [Libva] [PATCH Libva-intel-driver 4/4] Add the csc conversion from

Re: [Libva] [PATCH libva-intel-driver V2 1/4] Add the support of create surface based on YV16 format

2014-03-17 Thread Zhao Yakui
On Mon, 2014-03-17 at 03:08 -0600, Zhao, Yakui wrote: > Reviewed-by: Wind Yuan > Tested-by: Wind Yuan > Signed-off-by: Zhao Yakui This will be pushed. Thanks. Yakui > --- > src/i965_drv_video.c | 26 +- > 1 file changed, 25 insertions(+), 1 deletion(-) > > diff

Re: [Libva] [PATCH 1/2] va: User specified tiling and stride support.

2014-03-17 Thread Sean V Kelley
Looks good to me and tested on Baytrail. On Sun, Mar 16, 2014 at 11:09 PM, Zhao, Halley wrote: > Thanks Yakui。 > > > -Original Message- > From: Zhao, Yakui > Sent: Monday, March 17, 2014 10:25 AM > To: Zhao, Halley > Cc: libva@lists.freedesktop.org > Subject: Re: [Libva] [PATCH 1/2] va: U

[Libva] [PATCH Libva-intel-driver 4/4] Add the csc conversion from YV16 to NV12

2014-03-17 Thread Zhao Yakui
V1->V2: Follow Zhiwen's comment to add the missing code when the source is YV16 image instead of YV16 surface. Reviewed-by: Wind Yuan Tested-by: Wind Yuan Signed-off-by: Zhao Yakui --- src/gen8_post_processing.c | 8 src/i965_post_processing.c | 23 +-- 2 files c

[Libva] [PATCH Libva-intel-driver 3/4] Add the support of derive image from YV16 surface

2014-03-17 Thread Zhao Yakui
Reviewed-by: Wind Yuan Tested-by: Wind Yuan Signed-off-by: Zhao Yakui --- src/i965_drv_video.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index 14a0926..253e06e 100755 --- a/src/i965_drv_video.c +++ b/src/i965_drv_video.c @@ -321

[Libva] [PATCH libva-intel-driver V2 1/4] Add the support of create surface based on YV16 format

2014-03-17 Thread Zhao Yakui
Reviewed-by: Wind Yuan Tested-by: Wind Yuan Signed-off-by: Zhao Yakui --- src/i965_drv_video.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index 0453c04..f306d91 100755 --- a/src/i965_drv_video.c +++

[Libva] [PATCH libva-intel-driver V2 2/4] Export the surface attribute based on YV16 for VPP on Gen7+

2014-03-17 Thread Zhao Yakui
Reviewed-by: Wind Yuan Tested-by: Wind Yuan Signed-off-by: Zhao Yakui --- src/i965_drv_video.c | 12 1 file changed, 12 insertions(+) diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index f306d91..14a0926 100755 --- a/src/i965_drv_video.c +++ b/src/i965_drv_video.c @@ -4

Re: [Libva] [PATCH Libva-intel-driver 1/4] Add the support of create surface based on YV16 format

2014-03-17 Thread Xiang, Haihao
On Mon, 2014-03-17 at 16:22 +0800, Zhao Yakui wrote: > On Sun, 2014-03-16 at 23:50 -0600, Xiang, Haihao wrote: > > It would be better to add a pre-defined fourcc code for YV16 in va.h > > Thanks for your review. > > OK. I can send a patch about YV16 fourcc code for libva. > > > > > Signed-off-b

Re: [Libva] [PATCH Libva-intel-driver 1/4] Add the support of create surface based on YV16 format

2014-03-17 Thread Zhao Yakui
On Sun, 2014-03-16 at 23:50 -0600, Xiang, Haihao wrote: > It would be better to add a pre-defined fourcc code for YV16 in va.h Thanks for your review. OK. I can send a patch about YV16 fourcc code for libva. > > > Signed-off-by: Zhao Yakui > > --- > > src/i965_drv_video.c | 26

Re: [Libva] [PATCH Libva-intel-driver 3/4] Add the support of derive image from YV16 surface

2014-03-17 Thread Yuan, Feng
Reviewed-by: Wind Yuan Tested-by: Wind Yuan >-Original Message- >From: libva-boun...@lists.freedesktop.org >[mailto:libva-boun...@lists.freedesktop.org] On Behalf Of Zhao Yakui >Sent: Friday, March 14, 2014 3:21 PM >To: libva@lists.freedesktop.org >Subject: [Libva] [PATCH Libva-intel-dri

Re: [Libva] [PATCH Libva-intel-driver 2/4] Export the surface attribute based on YV16 for VPP on Gen7+

2014-03-17 Thread Yuan, Feng
Reviewed-by: Wind Yuan Tested-by: Wind Yuan >-Original Message- >From: libva-boun...@lists.freedesktop.org >[mailto:libva-boun...@lists.freedesktop.org] On Behalf Of Zhao Yakui >Sent: Friday, March 14, 2014 3:21 PM >To: libva@lists.freedesktop.org >Subject: [Libva] [PATCH Libva-intel-dri

Re: [Libva] [PATCH Libva-itnel-driver 4/4] Add the csc conversion from YV16 to NV12

2014-03-17 Thread Yuan, Feng
Reviewed-by: Wind Yuan Tested-by: Wind Yuan >-Original Message- >From: libva-boun...@lists.freedesktop.org >[mailto:libva-boun...@lists.freedesktop.org] On Behalf Of Zhao Yakui >Sent: Friday, March 14, 2014 3:21 PM >To: libva@lists.freedesktop.org >Subject: [Libva] [PATCH Libva-itnel-dri

Re: [Libva] [PATCH Libva-intel-driver 1/4] Add the support of create surface based on YV16 format

2014-03-17 Thread Yuan, Feng
Reviewed-by: Wind Yuan Tested-by: Wind Yuan >-Original Message- >From: libva-boun...@lists.freedesktop.org >[mailto:libva-boun...@lists.freedesktop.org] On Behalf Of Zhao Yakui >Sent: Friday, March 14, 2014 3:21 PM >To: libva@lists.freedesktop.org >Subject: [Libva] [PATCH Libva-intel-dri