Re: [Libva] [PATCH v2 intel-driver 8/8] decoder: h264: optimize support for grayscale surfaces.

2014-05-15 Thread Gwenole Beauchesne
2014-05-15 10:25 GMT+02:00 Xiang, Haihao : > On Wed, 2014-05-14 at 15:13 +0200, Gwenole Beauchesne wrote: >> Optimize support for grayscale surfaces in two aspects: (i) space >> by only allocating the luminance component ; (ii) speed by avoiding >> initialization of the (now inexistent) chrominance

Re: [Libva] [PATCH v2 intel-driver 8/8] decoder: h264: optimize support for grayscale surfaces.

2014-05-15 Thread Xiang, Haihao
On Wed, 2014-05-14 at 15:13 +0200, Gwenole Beauchesne wrote: > Optimize support for grayscale surfaces in two aspects: (i) space > by only allocating the luminance component ; (ii) speed by avoiding > initialization of the (now inexistent) chrominance planes. > > Keep backward compatibility with

Re: [Libva] [PATCH v2 intel-driver 8/8] decoder: h264: optimize support for grayscale surfaces.

2014-05-15 Thread Gwenole Beauchesne
Hi, 2014-05-15 9:10 GMT+02:00 Xiang, Haihao : > On Thu, 2014-05-15 at 14:26 +0800, Zhao, Yakui wrote: >> On Thu, 2014-05-15 at 00:05 -0600, Gwenole Beauchesne wrote: >> > Hi, >> > >> > 2014-05-15 7:24 GMT+02:00 Zhao, Yakui : >> > > On Wed, 2014-05-14 at 22:28 -0600, Gwenole Beauchesne wrote: >> >

Re: [Libva] [PATCH v2 intel-driver 8/8] decoder: h264: optimize support for grayscale surfaces.

2014-05-15 Thread Xiang, Haihao
On Thu, 2014-05-15 at 14:26 +0800, Zhao, Yakui wrote: > On Thu, 2014-05-15 at 00:05 -0600, Gwenole Beauchesne wrote: > > Hi, > > > > 2014-05-15 7:24 GMT+02:00 Zhao, Yakui : > > > On Wed, 2014-05-14 at 22:28 -0600, Gwenole Beauchesne wrote: > > >> Hi, > > >> > > >> 2014-05-15 3:34 GMT+02:00 Zhao,

Re: [Libva] [PATCH v2 intel-driver 8/8] decoder: h264: optimize support for grayscale surfaces.

2014-05-14 Thread Zhao, Yakui
On Thu, 2014-05-15 at 00:05 -0600, Gwenole Beauchesne wrote: > Hi, > > 2014-05-15 7:24 GMT+02:00 Zhao, Yakui : > > On Wed, 2014-05-14 at 22:28 -0600, Gwenole Beauchesne wrote: > >> Hi, > >> > >> 2014-05-15 3:34 GMT+02:00 Zhao, Yakui : > >> > On Wed, 2014-05-14 at 07:13 -0600, Gwenole Beauchesne wr

Re: [Libva] [PATCH v2 intel-driver 8/8] decoder: h264: optimize support for grayscale surfaces.

2014-05-14 Thread Gwenole Beauchesne
Hi, 2014-05-15 7:24 GMT+02:00 Zhao, Yakui : > On Wed, 2014-05-14 at 22:28 -0600, Gwenole Beauchesne wrote: >> Hi, >> >> 2014-05-15 3:34 GMT+02:00 Zhao, Yakui : >> > On Wed, 2014-05-14 at 07:13 -0600, Gwenole Beauchesne wrote: >> >> Optimize support for grayscale surfaces in two aspects: (i) space

Re: [Libva] [PATCH v2 intel-driver 8/8] decoder: h264: optimize support for grayscale surfaces.

2014-05-14 Thread Zhao, Yakui
On Wed, 2014-05-14 at 22:28 -0600, Gwenole Beauchesne wrote: > Hi, > > 2014-05-15 3:34 GMT+02:00 Zhao, Yakui : > > On Wed, 2014-05-14 at 07:13 -0600, Gwenole Beauchesne wrote: > >> Optimize support for grayscale surfaces in two aspects: (i) space > >> by only allocating the luminance component ; (

Re: [Libva] [PATCH v2 intel-driver 8/8] decoder: h264: optimize support for grayscale surfaces.

2014-05-14 Thread Gwenole Beauchesne
Hi, 2014-05-15 3:34 GMT+02:00 Zhao, Yakui : > On Wed, 2014-05-14 at 07:13 -0600, Gwenole Beauchesne wrote: >> Optimize support for grayscale surfaces in two aspects: (i) space >> by only allocating the luminance component ; (ii) speed by avoiding >> initialization of the (now inexistent) chrominan

Re: [Libva] [PATCH v2 intel-driver 8/8] decoder: h264: optimize support for grayscale surfaces.

2014-05-14 Thread Zhao, Yakui
On Wed, 2014-05-14 at 07:13 -0600, Gwenole Beauchesne wrote: > Optimize support for grayscale surfaces in two aspects: (i) space > by only allocating the luminance component ; (ii) speed by avoiding > initialization of the (now inexistent) chrominance planes. > > Keep backward compatibility with o

[Libva] [PATCH v2 intel-driver 8/8] decoder: h264: optimize support for grayscale surfaces.

2014-05-14 Thread Gwenole Beauchesne
Optimize support for grayscale surfaces in two aspects: (i) space by only allocating the luminance component ; (ii) speed by avoiding initialization of the (now inexistent) chrominance planes. Keep backward compatibility with older codec layers that only supported YUV 4:2:0 and not grayscale forma