[Mesa-dev] [PATCH] radeon/uvd: fix poc for hevc encode

2019-05-29 Thread boyuan.zhang
From: Boyuan Zhang MaxPicOrderCntLsb should be at least 16 according to the spec, therefore add minimum value check. Also use poc value passed from st instead of calculation in slice header encoding. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110673 Cc:

Re: [Mesa-dev] [PATCH] radeon/uvd: fix poc for hevc encode

2019-05-29 Thread Koenig, Christian
To: Zhang, Boyuan ; mesa-dev@lists.freedesktop.org Cc: mesa-sta...@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] radeon/uvd: fix poc for hevc encode It would be better to have those checks in the state tracker than in the backend code. Christian. Am 27.05.19 um 20:41 schrieb boyuan.zh...@amd.c

Re: [Mesa-dev] [PATCH] radeon/uvd: fix poc for hevc encode

2019-05-29 Thread Zhang, Boyuan
: May 28, 2019 3:27 AM To: Zhang, Boyuan ; mesa-dev@lists.freedesktop.org Cc: mesa-sta...@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] radeon/uvd: fix poc for hevc encode It would be better to have those checks in the state tracker than in the backend code. Christian. Am 27.05.19 um 20:41

Re: [Mesa-dev] [PATCH] radeon/uvd: fix poc for hevc encode

2019-05-28 Thread Christian König
It would be better to have those checks in the state tracker than in the backend code. Christian. Am 27.05.19 um 20:41 schrieb boyuan.zh...@amd.com: From: Boyuan Zhang MaxPicOrderCntLsb should be at 16 according to the spec, therefore add minimum value check. Also use poc value passed from

[Mesa-dev] [PATCH] radeon/uvd: fix poc for hevc encode

2019-05-27 Thread boyuan.zhang
From: Boyuan Zhang MaxPicOrderCntLsb should be at least 16 according to the spec, therefore add minimum value check. Also use poc value passed from st instead of calculation in slice header encoding. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110673 Cc:

[Mesa-dev] [PATCH] radeon/uvd: fix poc for hevc encode

2019-05-27 Thread boyuan.zhang
From: Boyuan Zhang MaxPicOrderCntLsb should be at 16 according to the spec, therefore add minimum value check. Also use poc value passed from st instead of calculation in slice header encoding. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110673 Cc: mesa-sta...@lists.freedesktop.org