Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-03 Thread Sharma, Deepak
To: Koenig, Christian Cc: Sharma, Deepak ; ML Mesa-dev ; Guttula, Suresh Subject: Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16. On Wed, Oct 3, 2018 at 10:59 AM Koenig, Christian wrote: > > Am 03.10.2018 um 16:56 schrieb Ilia Mirkin: > > On Wed, Oct 3, 2018 at 9:36

Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-03 Thread Ilia Mirkin
On Wed, Oct 3, 2018 at 10:59 AM Koenig, Christian wrote: > > Am 03.10.2018 um 16:56 schrieb Ilia Mirkin: > > On Wed, Oct 3, 2018 at 9:36 AM Christian König > > wrote: > >> What the heck are you talking about? As far as I can see this patch is > >> about adding hw specific alignment to

Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-03 Thread Koenig, Christian
Am 03.10.2018 um 16:56 schrieb Ilia Mirkin: > On Wed, Oct 3, 2018 at 9:36 AM Christian König > wrote: >> What the heck are you talking about? As far as I can see this patch is >> about adding hw specific alignment to vlVaCreateImage which is a state >> tracker function. >> >> Completely agree

Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-03 Thread Ilia Mirkin
On Wed, Oct 3, 2018 at 9:36 AM Christian König wrote: > > What the heck are you talking about? As far as I can see this patch is > about adding hw specific alignment to vlVaCreateImage which is a state > tracker function. > > Completely agree that vlVaGetImage should respect the parameters given

Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-03 Thread Christian König
18 3:42 AM To: Sharma, Deepak ; mesa-dev@lists.freedesktop.org Cc: Guttula, Suresh Subject: Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16. Am 02.10.2018 um 03:47 schrieb Sharma, Deepak: From: suresh guttula In case of decoding of resolution like 40x24, while allocating sur

Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-02 Thread Ilia Mirkin
r 2, 2018 3:42 AM > To: Sharma, Deepak ; mesa-dev@lists.freedesktop.org > Cc: Guttula, Suresh > Subject: Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16. > > Am 02.10.2018 um 03:47 schrieb Sharma, Deepak: > > From: suresh guttula > > > > In case o

Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-02 Thread Koenig, Christian
[PATCH] st/va:Aligned image width and height to 16. Am 02.10.2018 um 03:47 schrieb Sharma, Deepak: > From: suresh guttula > > In case of decoding of resolution like 40x24, while allocating surface > video buffer is always aligned with macroblock width/height which is 16. > But when

Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-02 Thread Sharma, Deepak
, Deepak ; mesa-dev@lists.freedesktop.org Cc: Guttula, Suresh Subject: Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16. Am 02.10.2018 um 03:47 schrieb Sharma, Deepak: > From: suresh guttula > > In case of decoding of resolution like 40x24, while allocating surface >

Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-02 Thread Christian König
Am 02.10.2018 um 03:47 schrieb Sharma, Deepak: From: suresh guttula In case of decoding of resolution like 40x24, while allocating surface video buffer is always aligned with macroblock width/height which is 16. But when application tries to get data after decoding through vaCreateImage

Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-02 Thread Guttula, Suresh
tps://aka.ms/ghei36> From: Ilia Mirkin Sent: Tuesday, October 2, 2018 7:53:09 AM To: Sharma, Deepak Cc: ML Mesa-dev; Guttula, Suresh Subject: Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16. Looking at vlVaGetImage, it looks like it just copie

Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-01 Thread Ilia Mirkin
rather > > the surface width/height and that causes issue in this case,not sure how > > driver will handle that ? > > > > > > From: Ilia Mirkin > > Sent: Monday, October 1, 2018 6:49 PM > > To: Sharma, Deepak > > Cc:

Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-01 Thread Ilia Mirkin
___ > From: Ilia Mirkin > Sent: Monday, October 1, 2018 6:49 PM > To: Sharma, Deepak > Cc: ML Mesa-dev; Guttula, Suresh > Subject: Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16. > > On Mon, Oct 1, 2018 at 9:47 PM Sharma, Deepak wrote: > > &g

Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-01 Thread Sharma, Deepak
To: Sharma, Deepak Cc: ML Mesa-dev; Guttula, Suresh Subject: Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16. On Mon, Oct 1, 2018 at 9:47 PM Sharma, Deepak wrote: > > From: suresh guttula > > In case of decoding of resolution like 40x24, while allocating surface &g

Re: [Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-01 Thread Ilia Mirkin
On Mon, Oct 1, 2018 at 9:47 PM Sharma, Deepak wrote: > > From: suresh guttula > > In case of decoding of resolution like 40x24, while allocating surface > video buffer is always aligned with macroblock width/height which is 16. > But when application tries to get data after decoding through

[Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.

2018-10-01 Thread Sharma, Deepak
From: suresh guttula In case of decoding of resolution like 40x24, while allocating surface video buffer is always aligned with macroblock width/height which is 16. But when application tries to get data after decoding through vaCreateImage /vaGetImage, image width/height aligned with 2 and