Re: [Mesa-dev] [PATCH 6/7] st/va: add initial Video Post Processing support

2015-10-22 Thread Julien Isorce
On 19 October 2015 at 18:10, Emil Velikov wrote: > On 17 October 2015 at 00:14, Julien Isorce > wrote: > > + > > + if (!(picture_width && picture_height) && !is_vpp) > >return VA_STATUS_ERROR_INVALID_IMAGE_FORMAT; > > > > drv = VL_VA_DRIVER(ctx); > > @@ -163,38 +177,48 @@ vlVaCreat

Re: [Mesa-dev] [PATCH 6/7] st/va: add initial Video Post Processing support

2015-10-22 Thread Julien Isorce
Hi, Thx for your review. I'll submit a new version of the patch. Just replying here first to answer your questions: On 19 October 2015 at 18:10, Emil Velikov wrote: > On 17 October 2015 at 00:14, Julien Isorce > wrote: > > Improve following functions to support VA_PROFILE_NONE profile (vpp): >

Re: [Mesa-dev] [PATCH 6/7] st/va: add initial Video Post Processing support

2015-10-19 Thread Emil Velikov
On 19 October 2015 at 18:17, Ilia Mirkin wrote: > On Mon, Oct 19, 2015 at 1:10 PM, Emil Velikov > wrote: >> On 17 October 2015 at 00:14, Julien Isorce wrote: >>> if (!ctx) >>>return VA_STATUS_ERROR_INVALID_CONTEXT; >>> >>> - if (!(picture_width && picture_height)) >>> + is_vpp =

Re: [Mesa-dev] [PATCH 6/7] st/va: add initial Video Post Processing support

2015-10-19 Thread Ilia Mirkin
On Mon, Oct 19, 2015 at 1:10 PM, Emil Velikov wrote: > On 17 October 2015 at 00:14, Julien Isorce wrote: >> if (!ctx) >>return VA_STATUS_ERROR_INVALID_CONTEXT; >> >> - if (!(picture_width && picture_height)) >> + is_vpp = config_id == PIPE_VIDEO_PROFILE_UNKNOWN && >> + pictu

Re: [Mesa-dev] [PATCH 6/7] st/va: add initial Video Post Processing support

2015-10-19 Thread Emil Velikov
On 17 October 2015 at 00:14, Julien Isorce wrote: > Improve following functions to support VA_PROFILE_NONE profile (vpp): > vlVaQueryConfigProfiles > vlVaQueryConfigEntrypoints > vlVaCreateConfig > vlVaQueryConfigAttributes > > Add VADriverVTableVPP and improve following functions to support vpp:

[Mesa-dev] [PATCH 6/7] st/va: add initial Video Post Processing support

2015-10-16 Thread Julien Isorce
Improve following functions to support VA_PROFILE_NONE profile (vpp): vlVaQueryConfigProfiles vlVaQueryConfigEntrypoints vlVaCreateConfig vlVaQueryConfigAttributes Add VADriverVTableVPP and improve following functions to support vpp: vlVaCreateContext vlVaDestroyContext vlVaBeginPicture vlVaRender