:
_dri2_initialize_x11_dri2 in libegl_dri2.a(platform_x11.o)
https://bugs.freedesktop.org/show_bug.cgi?id=91077
Signed-off-by: Julien Isorce j.iso...@samsung.com
---
src/loader/loader.c | 36 ++--
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/loader
On 19 June 2015 at 10:24, Jose Fonseca jfons...@vmware.com wrote:
On 19/06/15 04:46, Ian Romanick wrote:
On 06/17/2015 10:53 PM, Julien Isorce wrote:
From: Jon TURNEY jon.tur...@dronecode.org.uk
On darwin, GLhandleARB is defined as a void *, not the unsigned int it
is on
linux
/opengles/sdk/docs/man/xhtml/glBindAttribLocation.xml
)
What is the purpose of src/mapi/glapi/gen/ARB_robustness.xml ?
Thx
Julien
On 18 June 2015 at 19:16, Emil Velikov emil.l.veli...@gmail.com wrote:
On 18 June 2015 at 06:53, Julien Isorce julien.iso...@gmail.com wrote:
From: Jon TURNEY jon.tur
, Emil Velikov emil.l.veli...@gmail.com wrote:
On 18 June 2015 at 06:53, Julien Isorce julien.iso...@gmail.com wrote:
From: Jon TURNEY jon.tur...@dronecode.org.uk
_SET_DrawBuffers requires driDispatchRemapTable,
so we need to link with libmesa for remap.c.
libmesa requires the C++ linker
On 18 June 2015 at 19:29, Emil Velikov emil.l.veli...@gmail.com wrote:
On 18 June 2015 at 06:53, Julien Isorce julien.iso...@gmail.com wrote:
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90903
Signed-off-by: Julien Isorce j.iso...@samsung.com
---
src/egl/drivers/dri2/egl_dri2
On 18 June 2015 at 19:33, Emil Velikov emil.l.veli...@gmail.com wrote:
On 18 June 2015 at 19:29, Emil Velikov emil.l.veli...@gmail.com wrote:
Sorry about that. Unintentionally hit send ;-\
On 18 June 2015 at 06:53, Julien Isorce julien.iso...@gmail.com wrote:
CC egl_dri2.lo
include
On 18 June 2015 at 19:46, Emil Velikov emil.l.veli...@gmail.com wrote:
On 18 June 2015 at 06:53, Julien Isorce julien.iso...@gmail.com wrote:
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90908
Signed-off-by: Julien Isorce j.iso...@samsung.com
---
configure.ac | 2
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90903
Signed-off-by: Julien Isorce j.iso...@samsung.com
---
src/egl/drivers/dri2/egl_dri2.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index a1cbd43..90b9648 100644
From: Jon TURNEY jon.tur...@dronecode.org.uk
_SET_DrawBuffers requires driDispatchRemapTable,
so we need to link with libmesa for remap.c.
libmesa requires the C++ linker.
Also need to arrange to call _mesa_init_remap_table()
to initialize the remap table.
Bugzilla:
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90908
Signed-off-by: Julien Isorce j.iso...@samsung.com
---
configure.ac | 2 +-
src/mesa/x86-64/xform4.S | 53 +---
src/mesa/x86/assyntax.h | 2 +-
3 files changed, 30 insertions
From: Jon TURNEY jon.tur...@dronecode.org.uk
On darwin, GLhandleARB is defined as a void *, not the unsigned int it is on
linux.
For the moment, apply a cast to supress the warning
Possibly this is safe, as for the mesa software renderer the shader program
handle is not a real pointer, but a
-by: Julien Isorce j.iso...@samsung.com
---
include/EGL/eglplatform.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index 7802542..b376e64 100644
--- a/include/EGL/eglplatform.h
+++ b/include/EGL/eglplatform.h
@@ -77,7 +77,7
From: Julien Isorce j.iso...@samsung.com
I also created an bug in Khronos 's bugzilla as you suggested:
https://www.khronos.org/bugzilla/show_bug.cgi?id=1356
I'll let you know if I get feedback from this bug or else where.
Patch with updated error messages:
[PATCH] eglplatform: treat __APPLE__
Hi,
vlVaQueryImageFormats (or
vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities) implementation call
pscreen-is_video_format_supported with input profile equal to
PIPE_VIDEO_PROFILE_UNKNOWN.
Problem is that nouveau_vp3_screen_video_supported or
rvid_is_format_supported will returns several
deathsim...@vodafone.de wrote:
On 21.08.2015 18:30, Ilia Mirkin wrote:
On Fri, Aug 21, 2015 at 12:22 PM, Julien Isorce julien.iso...@gmail.com
wrote:
What is the purpose of checking PIPE_VIDEO_PROFILE_UNKNOWN :
http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau
that the value will be preserved when casting back to GLuint.
When GLhandleARB appears as a pointer there are also separate
entry-points, i.e. _mesa_FuncNameARB. So the same logic can
be applied.
https://bugs.freedesktop.org/show_bug.cgi?id=66346
Signed-off-by: Julien Isorce julien.iso...@gmail.com
- libdrm: used as a last resource fall-back after the above two. the
sole option used by *BSD, MacOS and Android.
Hi,
Unless I am missing something, libdrm is not used on MacOS.
On osx, EGL_PLATFORM=x11 eglGetDisplay(NULL) calls dri2_initialize_x11
which fallback to
At least vl_mpeg12_decoder uses the picture
desc in begin_frame and decode_bitstream.
https://bugs.freedesktop.org/show_bug.cgi?id=92634
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/picture.c | 4 ++--
1 file changed, 2 insertions(+), 2 del
On 25 October 2015 at 21:56, Samuel Pitoiset <samuel.pitoi...@gmail.com>
wrote:
>
>
> On 10/22/2015 01:16 AM, Julien Isorce wrote:
>
>> The real fix is in nouveau_drm_winsys.c by setting dev to 0.
>> Which means dev's ownership has been passed to p
This patch prevents to call nouveau_device_del twice on the same device.
Encountered this case when nvc0_screen_create fails with:
nvc0_screen_create:717 - Error allocating PGRAPH context for M2MF: -16
https://bugs.freedesktop.org/show_bug.cgi?id=70354
Signed-off-by: Julien Isorce <j.
one http://hastebin.com/uboruxicof.coffee ?
>
> This patch is loosely based on your first attempt, except that I removed
> the call
> to nouveau_device_del() in nouveau_drm_screen_create().
>
>
> On 27/10/2015 09:52, Julien Isorce wrote:
>
>> This patch prevents to call nouv
array.
On of the consequences is that it is only possible VaDeriveImage
is only useful on surfaces backed with contiguous planes.
Implementation inspired from cgit.freedesktop.org/vaapi/intel-driver
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/bu
with nouveau driver.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/buffer.c | 136 -
src/gallium/state_trackers/va/context.c| 4 +-
src/gallium/state_trackers/va/va_private.h | 6 ++
3 files changed, 144 insertions
ub.com/Samsung/ChromiumGStreamerBackend
The VA surface is exported as dmabuf in the new Media Process.
Then this dmabuf is imported into an EGLImage in the GPU Process.
Julien Isorce (2):
st/va: implement VaDeriveImage
st/va: add support to export a surface as dmabuf
src/gallium/state_track
This patch allows to use gallium vaapi without requiring
a X server running for your second graphic card.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/Makefile.am | 9
src/gallium/state_trackers/va/context.c | 70
-Original Message-
From: Christian König [mailto:deathsim...@vodafone.de]
Sent: 29 October 2015 12:29
To: Julien Isorce; mesa-dev@lists.freedesktop.org
Subject: Re: [Mesa-dev] [PATCH 2/2] st/va: add support to export a surface as
dmabuf
> @@ -108,6 +109,9 @@ vlVaMapBuf
Ack. I confirm it still works without it. So I'll remove it. Thx
-Original Message-
From: Christian König [mailto:deathsim...@vodafone.de]
Sent: 29 October 2015 14:02
To: Julien Isorce; mesa-dev@lists.freedesktop.org
Cc: emil.l.veli...@gmail.com
Subject: Re: [Mesa-dev] [PATCH v2 7/8] st
This patch allows to use gallium vaapi without requiring
a X server running for your second graphic card.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/Makefile.am | 9
src/gallium/state_trackers/va/context.c | 70
handleVAProcPipelineParameterBufferType helper.
One application is:
VASurfaceNV12 -> gstvaapipostproc -> VASurfaceRGBA
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/context.c| 124 +
src/gallium/state_trackers/va/picture.c| 81
If formats are not the same vlVaPutImage re-creates the video
buffer with the right format. But if the creation of this new
video buffer fails then the surface looses its current buffer.
Let's just destroy the previous buffer on success.
Signed-off-by: Julien Isorce <j.iso...@samsung.
Add support for VA_PROFILE_NONE and VAEntrypointVideoProc
in the 4 following functions:
vlVaQueryConfigProfiles
vlVaQueryConfigEntrypoints
vlVaCreateConfig
vlVaQueryConfigAttributes
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/config.c
Ack. And I'll move this bit at the end just before the other FREE. Thx
-Original Message-
From: Christian König [mailto:deathsim...@vodafone.de]
Sent: 29 October 2015 12:22
To: Julien Isorce; mesa-dev@lists.freedesktop.org
Subject: Re: [Mesa-dev] [PATCH 1/2] st/va: implement
Hi Julien,
>
> if Emil or Ilia have no further comments please send out your full set of
> patches once more I would like to get this pusched upstream.
>
> Best regards,
> Christian.
>
>
> On 17.10.2015 01:14, Julien Isorce wrote:
>
>> This patch serie adds initial
Also add RGBA, RGBX and BGRX.
Also extend ChromaToPipe and implement PipeToYCbCr.
Note that gstreamer-vaapi check all the VAImageFormat fields.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/image.c | 18 +++---
src/gallium/state_track
with nouveau driver.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/buffer.c | 136 -
src/gallium/state_trackers/va/context.c| 4 +-
src/gallium/state_trackers/va/va_private.h | 6 ++
3 files changed, 144 insertions
For now it is limited to RGBA, BGRA, RGBX, BGRX surfaces.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/surface.c | 97 -
1 file changed, 96 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/va/sur
with VaQuerySurfaceAttributes.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/context.c| 5 +-
src/gallium/state_trackers/va/surface.c| 294 -
src/gallium/state_trackers/va/va_private.h | 6 +-
3 files changed, 253 insertions(+), 52 del
array.
On of the consequences is that it is only possible VaDeriveImage
is only useful on surfaces backed with contiguous planes.
Implementation inspired from cgit.freedesktop.org/vaapi/intel-driver
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/bu
Yes please. Thx
Julien
On 29 October 2015 at 19:12, Christian König <deathsim...@vodafone.de>
wrote:
> On 29.10.2015 18:40, Julien Isorce wrote:
>
>> If formats are not the same vlVaPutImage re-creates the video
>> buffer with the right format. But if the creation of
On 25 October 2015 at 21:38, Samuel Pitoiset
wrote:
>
> Do you need someone to push this patch?
>
Yes please
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Hi Christian,
Would you mind to push this patch ? Thx
Cheers
Julien
On 23 October 2015 at 14:33, Christian König <deathsim...@vodafone.de>
wrote:
> On 23.10.2015 14:25, Julien Isorce wrote:
>
>> At least vl_mpeg12_decoder uses the picture
>> desc in begin_fr
This patch is missing "memset(, 0, sizeof(templat));" so I am going
to submit a v3 for this one.
On 20 October 2015 at 17:34, Julien Isorce <j.iso...@samsung.com> wrote:
> Inspired from http://cgit.freedesktop.org/vaapi/intel-driver/
> especially src/i965_drv_video.c
with VaQuerySurfaceAttributes.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/context.c| 5 +-
src/gallium/state_trackers/va/surface.c| 296 -
src/gallium/state_trackers/va/va_private.h | 6 +-
3 files changed, 255 insertions(+), 52 del
toi...@gmail.com>
wrote:
> Is there a particular situation where nv50_miptree_from_handle() fails?
> And did you check nv50?
>
> Anyway, this patch is:
> Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
>
> On 20/10/2015 18:34, Julien Isorce wrote:
>
>
with:
nvc0_screen_create:717 - Error allocating PGRAPH context for M2MF: -16
Also see: https://bugs.freedesktop.org/show_bug.cgi?id=70354
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/drivers/nouveau/nv30/nv30_screen.c | 5 -
src/gallium/drivers/nouveau/nv50/nv50_sc
handleVAProcPipelineParameterBufferType helper.
One application is:
VASurfaceNV12 -> gstvaapipostproc -> VASurfaceRGBA
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/context.c| 91 +--
src/gallium/state_trackers/va/picture.c| 86 +++
Add support for VA_PROFILE_NONE and VAEntrypointVideoProc
in the 4 following functions:
vlVaQueryConfigProfiles
vlVaQueryConfigEntrypoints
vlVaCreateConfig
vlVaQueryConfigAttributes
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/config.c
On 19 October 2015 at 18:10, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> On 17 October 2015 at 00:14, Julien Isorce <julien.iso...@gmail.com>
> wrote:
> > +
> > + if (!(picture_width && picture_height) && !is_vpp)
> >return V
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 <emil.l.veli...@gmail.com> wrote:
> On 17 October 2015 at 00:14, Julien Isorce <julien.iso...@gmail.com>
> wrote:
>
lt;imir...@alum.mit.edu> wrote:
> On Fri, Oct 16, 2015 at 6:13 PM, Julien Isorce <julien.iso...@gmail.com>
> wrote:
> >
> >
> > On 18 September 2015 at 21:34, Ilia Mirkin <imir...@alum.mit.edu> wrote:
> >>
> >> On Fri, Sep 18, 2015 at 4:
with nouveau driver.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/buffer.c | 136 -
src/gallium/state_trackers/va/context.c| 4 +-
src/gallium/state_trackers/va/va_private.h | 6 ++
3 files changed, 144 insertions
For now it is limited to RGBA, BGRA, RGBX, BGRX surfaces.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/surface.c | 97 -
1 file changed, 96 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/va/sur
Add support for VA_PROFILE_NONE and VAEntrypointVideoProc
in the 4 following functions:
vlVaQueryConfigProfiles
vlVaQueryConfigEntrypoints
vlVaCreateConfig
vlVaQueryConfigAttributes
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/config.c
-Original Message-
From: Christian König [mailto:deathsim...@vodafone.de]
Sent: 29 October 2015 19:07
To: Julien Isorce; mesa-dev@lists.freedesktop.org
Subject: Re: [PATCH v4 1/9] st/va: properly defines VAImageFormat formats
and improve VaCreateImage
> @@ -80,12 +82,46 @@ YCbCrToP
Ok I will reorder, make sense.
-Original Message-
From: Christian König [mailto:deathsim...@vodafone.de]
Sent: 29 October 2015 19:26
To: Julien Isorce; mesa-dev@lists.freedesktop.org
Subject: Re: [PATCH v4 5/9] st/va: handle Video Post Processing for configs
On 29.10.2015 18:40, Julien
-Original Message-
From: Christian König [mailto:deathsim...@vodafone.de]
Sent: 29 October 2015 19:24
To: Julien Isorce; mesa-dev@lists.freedesktop.org
Subject: Re: [PATCH v4 4/9] st/va: implement dmabuf import for
VaCreateSurfaces2
On 29.10.2015 18:40, Julien Isorce wrote:
> For
niel
>
> On 29 October 2015 at 17:40, Julien Isorce <j.iso...@samsung.com> wrote:
> > This patch allows to use gallium vaapi without requiring
> > a X server running for your second graphic card.
> >
> > Signed-off-by: Julien Isorce <j.iso...@samsun
ackend for the Chromium browser:
https://github.com/Samsung/ChromiumGStreamerBackend
The VA surface is exported as dmabuf in the new Media Process.
Then this dmabuf is imported into an EGLImage in the GPU Process.
Julien Isorce (10):
st/va: properly defines VAImageFormat formats and improve
VaCreateImage
handleVAProcPipelineParameterBufferType helper.
One application is:
VASurfaceNV12 -> gstvaapipostproc -> VASurfaceRGBA
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/context.c| 124 +
src/gallium/state_trackers/va/picture.c| 81
array.
On of the consequences is that it is only possible VaDeriveImage
is only useful on surfaces backed with contiguous planes.
Implementation inspired from cgit.freedesktop.org/vaapi/intel-driver
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/bu
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/buffer.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/gallium/state_trackers/va/buffer.c
b/src/gallium/state_trackers/va/buffer.c
index 8f9ba44..f5b9e81 100644
--- a/src/gallium/state_tr
with VaQuerySurfaceAttributes.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/context.c| 5 +-
src/gallium/state_trackers/va/surface.c| 290 -
src/gallium/state_trackers/va/va_private.h | 6 +-
3 files changed, 249 insertions(+), 52 del
the VAImageFormat fields.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/include/pipe/p_format.h| 3 ++-
src/gallium/state_trackers/va/image.c | 24 -
src/gallium/state_trackers/va/va_private.h | 41 +++---
3 files changed, 57 inse
-Original Message-
From: Christian König [mailto:deathsim...@vodafone.de]
Sent: 29 October 2015 19:26
To: Julien Isorce; mesa-dev@lists.freedesktop.org
Subject: Re: [PATCH v4 5/9] st/va: handle Video Post Processing for configs
On 29.10.2015 18:40, Julien Isorce wrote:
> Add supp
-Original Message-
From: Emil Velikov [mailto:emil.l.veli...@gmail.com]
Sent: 29 October 2015 19:04
To: Julien Isorce
Cc: ML mesa-dev
Subject: Re: [Mesa-dev] [PATCH v4 3/9] st/va: implement VaCreateSurfaces2 and
VaQuerySurfaceAttributes
On 29 October 2015 at 17:40, Julien Isorce
-Original Message-
From: Emil Velikov [mailto:emil.l.veli...@gmail.com]
Sent: 29 October 2015 22:21
To: Christian König
Cc: Julien Isorce; ML mesa-dev
Subject: Re: [Mesa-dev] [PATCH v2 07/13] st/va: add headless support, i.e.
VA_DISPLAY_DRM
>>With the VA_RT_FORMAT_YUV400 ha
If formats are not the same vlVaPutImage re-creates the video
buffer with the right format. But if the creation of this new
video buffer fails then the surface looses its current buffer.
Let's just destroy the previous buffer on success.
Signed-off-by: Julien Isorce <j.iso...@samsung.
This patch allows to use gallium vaapi without requiring
a X server running for your second graphic card.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/Makefile.am | 9
src/gallium/state_trackers/va/context.c | 70
On 30 October 2015 at 11:54, Christian König <deathsim...@vodafone.de>
wrote:
> On 29.10.2015 18:40, Julien Isorce wrote:
>
>> Add support for VPP in the following functions:
>> vlVaCreateContext
>> vlVaDestroyContext
>> vlVaBeginPicture
>> vlVaRenderP
Some lines were using 4 indentation spaces instead of 3.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/surface.c | 566
1 file changed, 283 insertions(+), 283 deletions(-)
diff --git a/src/gallium/state_track
Some lines were using 4 indentation spaces instead of 3.
The switch in vlVaAcquireBufferHandle actually had wrong brackets
surrounding case+default.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/buffer.c | 23 +
src/gallium/state_track
Before it was only possible to convert a NV12 surface to
RGBA or BGRA. This patch uses the same post processing
function, "handleVAProcPipelineParameterBufferType", but
add definitions for RGBX and BGRX.
This patch also makes vlVaQuerySurfaceAttributes more generic.
Signed-off-by: Jul
A few fixes and small improvement from recent changes in st/va:
* Indentation was wrong for some functions.
* Coverity reported a memory leak. (thx to Ilia for pointing this)
* More color formats convertion for Video Post Processing
Julien Isorce (4):
st/va: indent vlVaQuerySurfaceAttributes
Found by coverity: CID #1337953
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/surface.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/va/surface.c
b/src/gallium/state_trackers/va/sur
On 5 November 2015 at 16:27, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> Hi Julien,
>
> On 5 November 2015 at 08:24, Julien Isorce <julien.iso...@gmail.com>
> wrote:
> > Before it was only possible to convert a NV12 surface to
> > RGBA or BGRA. This
On 5 November 2015 at 16:28, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> On 5 November 2015 at 08:24, Julien Isorce <julien.iso...@gmail.com>
> wrote:
> > Some lines were using 4 indentation spaces instead of 3.
> >
> > The switch in vlVaAcquireBuff
ds,
> Christian.
>
>
> On 05.11.2015 09:24, Julien Isorce wrote:
>
>> A few fixes and small improvement from recent changes in st/va:
>> * Indentation was wrong for some functions.
>> * Coverity reported a memory leak. (thx to Ilia for pointing this)
>>
Useful is one wants to create RGBX or BGRX surfaces.
The infrastructure is such that it required just a
few definitions to support these formats.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/auxiliary/vl/vl_video_buffer.c | 18 ++
1 file chang
In "switch (mem_type)" the brackets were surrounding "case+default"
instead of "case" only.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/buffer.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff -
Some lines were using 4 indentation spaces instead of 3.
The switch in vlVaAcquireBufferHandle actually had wrong brackets
surrounding case+default.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/buffer.c | 14 +++---
src/gallium/state_track
nd pasting the same lines.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/picture.c | 5 +++--
src/gallium/state_trackers/va/surface.c | 36 ++---
2 files changed, 23 insertions(+), 18 deletions(-)
diff --git a/src/gallium/s
Ok I'll make a separate patch for the add of errors checks and add the break in
the loop.
Thx
Julien
-Original Message-
From: Emil Velikov [mailto:emil.l.veli...@gmail.com]
Sent: 29 October 2015 22:03
To: Julien Isorce
Cc: ML mesa-dev
Subject: Re: [Mesa-dev] [PATCH v4 8/9] st/va
October 2015 at 00:14, Julien Isorce <julien.iso...@gmail.com>
> wrote:
> > Signed-off-by: Julien Isorce <j.iso...@samsung.com>
> > ---
> > src/gallium/drivers/nouveau/nvc0/nvc0_resource.c | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> &
On 19 October 2015 at 16:55, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> On 17 October 2015 at 00:14, Julien Isorce <julien.iso...@gmail.com>
> wrote:
> > Inspired from
> http://cgit.freedesktop.org/vaapi/intel-driver/tree/src/i965_drv_video.c
> >
> Pl
u when it is about
using "RGBs" formats. And after my patch it still does not.
Though I can add them if you want but it will be untested :)
Julien
>
> -ilia
>
> On Fri, Oct 16, 2015 at 7:14 PM, Julien Isorce <julien.iso...@gmail.com>
> wrote:
> > Also add RG
On 19 October 2015 at 17:16, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> On 17 October 2015 at 00:14, Julien Isorce <julien.iso...@gmail.com>
> wrote:
> > This patch allows to use gallium vaapi without requiring
> > a X server running for your second graphic c
with VaQuerySurfaceAttributes.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/context.c| 5 +-
src/gallium/state_trackers/va/surface.c| 294 -
src/gallium/state_trackers/va/va_private.h | 6 +-
3 files changed, 253 insertions(+), 52 del
For now it is limited to RGBA, BGRA, RGBX, BGRX surfaces.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/surface.c | 97 -
1 file changed, 96 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/va/sur
Also add RGBA, RGBX and BGRX.
Also extend ChromaToPipe and implement PipeToYCbCr.
Note that gstreamer-vaapi check all the VAImageFormat fields.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/image.c | 18 +++---
src/gallium/state_track
If formats are not the same vlVaPutImage re-creates the video
buffer with the right format. But if the creation of this new
video buffer fails then the surface looses its current buffer.
Let's just destroy the previous buffer on success.
Signed-off-by: Julien Isorce <j.iso...@samsung.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/drivers/nouveau/nvc0/nvc0_resource.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_resource.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_resource.c
index 1
Inspired from
http://cgit.freedesktop.org/vaapi/intel-driver/tree/src/i965_drv_video.c
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/context.c| 5 +-
src/gallium/state_trackers/va/surface.c| 288 -
src/g
This patch serie adds initial support for Video Post Processing.
It also implements VaCreateSurfaces2 for common purpose and
also to import a dmabuf.
Finally it adds support for headless mode, i.e. using DRM
instead of X11 for device setup.
Julien Isorce (7):
nvc0: fix crash when
If formats are not the same it seems to re-create the video
buffer with the right format.
But if the creation of this new video buffer fails the surface
loose its video buffer.
Let's just destroy the previous buffer on success.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/g
Also add RGBA, RGBX and BGRX.
Also extend ChromaToPipe and implement PipeToYCbCr.
Note that gstreamer-vaapi check all the VAImageFormat fields.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/image.c | 10 ++--
src/gallium/state_track
This patch allows to use gallium vaapi without requiring
a X server running for your second graphic card.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/Makefile.am | 9 ++
src/gallium/state_trackers/va/context.c
vlVaRenderPicture
vlVaEndPicture
Add handleVAProcPipelineParameterBufferType helper.
One of the application is:
VASurfaceNV12 -> gstvaapipostproc -> VASurfaceRGBA
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/config.c | 20 +++
src/gallium/state
For now it is limited to RGBA, BGRA, RGBX, BGRX surfaces.
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/state_trackers/va/surface.c| 90 +-
src/gallium/state_trackers/va/va_private.h | 1 +
2 files changed, 90 insertions(+), 1 de
Signed-off-by: Julien Isorce <j.iso...@samsung.com>
---
src/gallium/drivers/nouveau/nvc0/nvc0_resource.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_resource.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_resource.c
index 1
On 18 September 2015 at 21:34, Ilia Mirkin <imir...@alum.mit.edu> wrote:
> On Fri, Sep 18, 2015 at 4:29 PM, Julien Isorce <julien.iso...@gmail.com>
> wrote:
> >
> >
> > On 17 September 2015 at 17:52, Ilia Mirkin <imir...@alum.mit.edu> wrote:
> &g
1 - 100 of 258 matches
Mail list logo