Re: [Mesa-dev] [PATCH] st/va: enable vbr rate control for vaapi encode

2016-09-26 Thread Andy Furniss
Andy Furniss wrote: Zhang, Boyuan wrote: For the overflow concern, unsigned int can handle about 4294Mbit/s, which we thought is big enough for real life cases, right? Yea, but it gets x 100 and my vce can do at least 2160p so for baseline higher than 42.94 mbit is not that extreme. OK so

Re: [Mesa-dev] [PATCH] st/va: enable vbr rate control for vaapi encode

2016-09-26 Thread Andy Furniss
König; Zhang, Boyuan; mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] st/va: enable vbr rate control for vaapi encode Leo Liu wrote: On 09/07/2016 03:02 AM, Christian König wrote: Am 06.09.2016 um 22:39 schrieb boyuan.zh...@amd.com: From: Boyuan Zhang This patch enables variabl

Re: [Mesa-dev] [PATCH] st/va: enable vbr rate control for vaapi encode

2016-09-26 Thread Zhang, Boyuan
h for real life cases, right? Regards, Boyuan -Original Message- From: Andy Furniss [mailto:adf.li...@gmail.com] Sent: September-25-16 6:46 AM To: Liu, Leo; Christian König; Zhang, Boyuan; mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] st/va: enable vbr rate control for

Re: [Mesa-dev] [PATCH] st/va: enable vbr rate control for vaapi encode

2016-09-26 Thread Andy Furniss
Andy Furniss wrote: Andy Furniss wrote: Andy Furniss wrote: https://patchwork.freedesktop.org/patch/112040/ Hmm that got mungled I'll try again later going to be AFK for a while. This one worked. https://patchwork.freedesktop.org/patch/112069/ Or maybe a version that uses float - I don'

Re: [Mesa-dev] [PATCH] st/va: enable vbr rate control for vaapi encode

2016-09-25 Thread Andy Furniss
Andy Furniss wrote: Andy Furniss wrote: https://patchwork.freedesktop.org/patch/112040/ Hmm that got mungled I'll try again later going to be AFK for a while. This one worked. https://patchwork.freedesktop.org/patch/112069/ ___ mesa-dev mailing

Re: [Mesa-dev] [PATCH] st/va: enable vbr rate control for vaapi encode

2016-09-25 Thread Andy Furniss
Andy Furniss wrote: https://patchwork.freedesktop.org/patch/112040/ Hmm that got mungled I'll try again later going to be AFK for a while. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-d

Re: [Mesa-dev] [PATCH] st/va: enable vbr rate control for vaapi encode

2016-09-25 Thread Andy Furniss
Leo Liu wrote: On 09/07/2016 03:02 AM, Christian König wrote: Am 06.09.2016 um 22:39 schrieb boyuan.zh...@amd.com: From: Boyuan Zhang This patch enables variable bit-rate for vaapi encoding. According to va.h, target bit-rate equals to maximum bit-rate multiplies by target_percentage. Sign

Re: [Mesa-dev] [PATCH] st/va: enable vbr rate control for vaapi encode

2016-09-07 Thread Leo Liu
On 09/07/2016 03:02 AM, Christian König wrote: Am 06.09.2016 um 22:39 schrieb boyuan.zh...@amd.com: From: Boyuan Zhang This patch enables variable bit-rate for vaapi encoding. According to va.h, target bit-rate equals to maximum bit-rate multiplies by target_percentage. Signed-off-by: Bo

Re: [Mesa-dev] [PATCH] st/va: enable vbr rate control for vaapi encode

2016-09-07 Thread Christian König
Am 06.09.2016 um 22:39 schrieb boyuan.zh...@amd.com: From: Boyuan Zhang This patch enables variable bit-rate for vaapi encoding. According to va.h, target bit-rate equals to maximum bit-rate multiplies by target_percentage. Signed-off-by: Boyuan Zhang That was astonishing simple to fix :)

[Mesa-dev] [PATCH] st/va: enable vbr rate control for vaapi encode

2016-09-06 Thread boyuan.zhang
From: Boyuan Zhang This patch enables variable bit-rate for vaapi encoding. According to va.h, target bit-rate equals to maximum bit-rate multiplies by target_percentage. Signed-off-by: Boyuan Zhang --- src/gallium/state_trackers/va/config.c | 2 +- src/gallium/state_trackers/va/picture.c | 2