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

2014-05-11 Thread Gwenole Beauchesne
2014-05-12 6:52 GMT+02:00 Zhao, Yakui : > On Sun, 2014-05-11 at 22:26 -0600, Gwenole Beauchesne wrote: >> Hi, >> >> 2014-05-12 3:21 GMT+02:00 Zhao Yakui : >> > On Sat, 2014-05-10 at 00:03 -0600, Gwenole Beauchesne wrote: >> >> Optimize support for grayscale surfaces in two aspects: (i) space >> >>

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

2014-05-11 Thread Zhao, Yakui
On Sun, 2014-05-11 at 22:26 -0600, Gwenole Beauchesne wrote: > Hi, > > 2014-05-12 3:21 GMT+02:00 Zhao Yakui : > > On Sat, 2014-05-10 at 00:03 -0600, Gwenole Beauchesne wrote: > >> Optimize support for grayscale surfaces in two aspects: (i) space > >> by only allocating the luma component ; (ii) sp

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

2014-05-11 Thread Gwenole Beauchesne
Hi, 2014-05-12 3:21 GMT+02:00 Zhao Yakui : > On Sat, 2014-05-10 at 00:03 -0600, Gwenole Beauchesne wrote: >> Optimize support for grayscale surfaces in two aspects: (i) space >> by only allocating the luma component ; (ii) speed by avoiding >> initialization of the (now inexistent) chroma planes.

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

2014-05-11 Thread Zhao Yakui
On Sat, 2014-05-10 at 00:03 -0600, Gwenole Beauchesne wrote: > Optimize support for grayscale surfaces in two aspects: (i) space > by only allocating the luma component ; (ii) speed by avoiding > initialization of the (now inexistent) chroma planes. > > Keep backward compatibility with older codec