oying
Any comments on the v2 patches? Unless there are any objections, I'm
going to push v2 of patches 1 & 2 later this week. I'm not going to push
patch 3 myself without getting at least a Tested-by: from somebody.
Patch 2 is:
Tested and Reviewed by
happens when without count down the reference.
Checked and found with mpv vo=opengl case, there only one static TFP,
the leak happens once, but for totem player using gstreamer VA-API glx,
the dynamic TFP for each frame, so leak quite a bit.
This fixes mem leak for mpv and totem.
Signed-off-by: Leo
I have tested the leak is fixed by this patch.
And have a look again, the leak actually happens in the case of
st_vdpau_output_surface_dma_buf.
Sorry for the noise.
The patch is
Tested-and-Reviewed by: Leo Liu
Regards,
Leo
On 07/13/2016 10:08 AM, Leo Liu wrote:
On 07/13/2016 08:56 AM
Patch is Reviewed-by: Leo Liu
Regards,
Leo
On 07/13/2016 10:00 AM, Christian König wrote:
From: Christian König
This way we have unlimited UVD sessions.
Signed-off-by: Christian König
---
src/gallium/drivers/radeon/radeon_uvd.c | 20
src/gallium/drivers/radeon
On 07/13/2016 08:56 AM, Christian König wrote:
From: Christian König
Otherwise we leak the resources created for the DMA-buf descriptors.
Signed-off-by: Christian König
Cc: 12.0
---
src/mesa/state_tracker/st_vdpau.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff
The uninitialized list should be checked and returned.
Thank Julien for the notification and suggested fix.
Signed-off-by: Leo Liu
Cc: "12.0"
---
src/gallium/state_trackers/omx/vid_enc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_tr
Hi Emil,
Have a look again, I think the logic is nothing wrong.
reason In lines
On 07/07/2016 11:39 AM, Emil Velikov wrote:
On 6 July 2016 at 19:03, Leo Liu wrote:
The idea of encode tunneling is to use video buffer directly for encoder,
but currently the encoder doesn’t support interlaced
On 07/07/2016 11:39 AM, Emil Velikov wrote:
On 6 July 2016 at 19:03, Leo Liu wrote:
The idea of encode tunneling is to use video buffer directly for encoder,
but currently the encoder doesn’t support interlaced surface, the OMX
decoder set progressive surface before on that purpose.
Since
at 19:03, Leo Liu <mailto:leo@amd.com>> wrote:
The idea of encode tunneling is to use video buffer directly for
encoder,
but currently the encoder doesn’t support interlaced surface, the OMX
decoder set progressive surface before on that purpose.
Since now we are
On 07/07/2016 11:17 AM, Julien Isorce wrote:
It happens when trying to use omxh264enc with nouveau driver
because it does not provide any encoder at the moment.
It crashes on enc_ReleaseTasks(&priv->free_tasks) because
at this time the list is not initialized.
So this patch make sure the lists
@@ -43,6 +43,8 @@
#include "radeon_video.h"
#include "radeon_vce.h"
+#define FW_1_66_16 ((1 << 24) | (66 << 16) | (16 << 8))
+
Please add "UVD_" in front of Macro, 'cause at radeon/video, we are
dealing VCE as well.
With th
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_compositor.c | 30 ++
src/gallium/auxiliary/vl/vl_compositor.h | 12
2 files changed, 42 insertions(+)
diff --git a/src/gallium/auxiliary/vl/vl_compositor.c
b/src/gallium/auxiliary/vl
This shader will make interlaced yuv to progressive yuv.
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_compositor.c | 38
src/gallium/auxiliary/vl/vl_compositor.h | 5 +
2 files changed, 43 insertions(+)
diff --git a/src/gallium/auxiliary/vl
We'll use weave shader in the later patch.
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_compositor.c | 157 ---
src/gallium/auxiliary/vl/vl_compositor.h | 2 +-
2 files changed, 83 insertions(+), 76 deletions(-)
diff --git a/src/gallium/auxilia
as before
with surface from progressive to progressive.
Signed-off-by: Leo Liu
---
src/gallium/state_trackers/omx/vid_dec.c | 65 +++-
src/gallium/state_trackers/omx/vid_dec.h | 6 ++-
2 files changed, 68 insertions(+), 3 deletions(-)
diff --git a/src/gallium
Height should be aligned with 2 macroblocks, thus making safer
for tiled mode
Signed-off-by: Leo Liu
---
src/gallium/drivers/radeon/radeon_vce.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeon/radeon_vce.c
b/src/gallium/drivers/radeon/radeon_vce.c
Signed-off-by: Leo Liu
---
src/gallium/drivers/radeon/radeon_vce_52.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/radeon/radeon_vce_52.c
b/src/gallium/drivers/radeon/radeon_vce_52.c
index 7d33313..869b29b 100644
--- a/src/gallium/drivers/radeon/radeon_vce_52.c
+++ b
On 06/30/2016 03:19 AM, Christian König wrote:
Am 29.06.2016 um 21:53 schrieb Leo Liu:
This will make safer for not acrossing the boundary
Signed-off-by: Leo Liu
---
src/gallium/drivers/radeon/radeon_vce.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src
This will make safer for not acrossing the boundary
Signed-off-by: Leo Liu
---
src/gallium/drivers/radeon/radeon_vce.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeon/radeon_vce.c
b/src/gallium/drivers/radeon/radeon_vce.c
index e8aac8e
Signed-off-by: Leo Liu
---
src/gallium/drivers/radeon/radeon_vce_52.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/radeon/radeon_vce_52.c
b/src/gallium/drivers/radeon/radeon_vce_52.c
index 7d33313..869b29b 100644
--- a/src/gallium/drivers/radeon/radeon_vce_52.c
+++ b
On 06/29/2016 09:08 AM, Christian König wrote:
Am 29.06.2016 um 14:46 schrieb Leo Liu:
On 06/28/2016 05:07 AM, Christian König wrote:
Hi Leo,
nice catch patch is Reviewed-by: Christian König
.
But we still need to fix transcoding issue with interlaced as true.
Our transcode support
From: sonjiang
Signed-off-by: sonjiang
Cc: "12.0"
---
src/gallium/drivers/radeon/radeon_uvd.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/drivers/radeon/radeon_uvd.c
b/src/gallium/drivers/radeon/radeon_uvd.c
index 1f28b01..7d0d2fd 100644
--- a/src/gallium/drivers/radeon
From: sonjiang
Signed-off-by: sonjiang
Cc: "12.0"
---
src/gallium/drivers/radeon/radeon_uvd.c | 106 +---
1 file changed, 97 insertions(+), 9 deletions(-)
diff --git a/src/gallium/drivers/radeon/radeon_uvd.c
b/src/gallium/drivers/radeon/radeon_uvd.c
index a2d1d2d.
From: sonjiang
Signed-off-by: sonjiang
Cc: "12.0"
---
src/gallium/drivers/radeon/radeon_winsys.h| 1 +
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c | 11 ++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeon/radeon_winsys.h
b/src/gallium/d
for the inconvenience, could you let me know how to
reproduce the problem ?
I have been playing with some gst pipelines and they all work but
I can only test with nouveau driver.
Cheers
Julien
On 27 June 2016 at 21:35, Leo Liu wrote:
This patch break omx decode
This patch break omx decode to file, it got seg fault. Will take look
further.
Regards,
Leo
On 06/27/2016 04:16 AM, Julien Isorce wrote:
Signed-off-by: Julien Isorce
---
src/gallium/state_trackers/omx/vid_dec.c | 51
1 file changed, 26 insertions(+), 25 de
On 06/27/2016 04:16 AM, Julien Isorce wrote:
Interlaced can be true for nouveau driver.
Signed-off-by: Julien Isorce
---
src/gallium/state_trackers/omx/vid_dec.c | 26 --
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/omx/v
c->enc_pic.vui.cpb_removal_delay_length_minus1);
//hrdParam.cpbRemovalDelayLengthMinus1
+ RVCE_CS(enc->enc_pic.vui.dpb_output_delay_length_minus1);
//hrdParam.dpbOutputDelayLengthMinus1
+ RVCE_CS(enc->enc_pic.vui.time_offset_length);
//hrdParam.timeOffsetLength
+ RVCE
On 06/09/2016 07:13 PM, Emil Velikov wrote:
Hi Leo,
On 9 June 2016 at 20:11, Leo Liu wrote:
in order to accommodate scons build
IIRC Jose fixed the SCons build (Makefile.sources actually) a while
back. One do does not build any of VL with scons so I'm not sure what
you with
in order to accommodate scons build
Signed-off-by: Leo Liu
Cc: "12.0"
---
src/gallium/auxiliary/Makefile.am | 7 +++
src/gallium/auxiliary/Makefile.sources| 4 +++-
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 4
3 files changed, 10 insertions(+), 5 deletions(-)
With gstreamer-vaapi, the temporay pixmap for front buffer got realloc
each time, so when we receive a new pixmap for each frame, get a new
front buffer for it.
This also fix Totem player playback corruption.
Signed-off-by: Leo Liu
Cc: "12.0"
---
src/gallium/auxiliary/vl/vl_winsys_
With xwayland, vainfo use VA_DISPLAY_WAYLAND as default and it fails
and fails when specify display with `vainfo --display wayland`.
In fact wayland support for libva uses drm path to connect device,
and should use drm pipe loader to create screen.
Signed-off-by: Leo Liu
---
src/gallium
On 05/16/2016 05:02 PM, Jose Fonseca wrote:
On 16/05/16 21:59, Leo Liu wrote:
Thanks Jose.
How to trigger SCons build?
From Mesa top of dir, just do
scons
on a Linux machine. You can also easily build MinGW target doing
'scons platform=windows' but for that you need mingw
Thanks Jose.
How to trigger SCons build?
Thanks,
Leo
On 05/16/2016 04:52 PM, Jose Fonseca wrote:
On 16/05/16 21:43, Jose Fonseca wrote:
On 12/05/16 18:13, Leo Liu wrote:
required functions into place for implementation, create screen
with device fd returned from X server, also bail out to
Series is:
Reviewed-by: Leo Liu
On 05/14/2016 11:33 AM, Emil Velikov wrote:
Add separate labels and jump to the correct one as needed.
Signed-off-by: Emil Velikov
---
src/gallium/state_trackers/dri/dri2.c | 30 --
1 file changed, 20 insertions(+), 10 deletions
required functions into place for implementation, create screen
with device fd returned from X server, also bail out to DRI2
with certain conditions.
v2: -organize the error out path (Axel)
-squash previous patch 1 and 2 into one (Emil)
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
On 05/12/2016 11:08 AM, Emil Velikov wrote:
On 12 May 2016 at 15:01, Leo Liu wrote:
On 05/12/2016 09:47 AM, Emil Velikov wrote:
Hi Leo,
On 11 May 2016 at 22:14, Leo Liu wrote:
On 05/11/2016 04:20 PM, Axel Davy wrote:
On 11/05/2016 17:06, Leo Liu wrote:
Screen created with device fd
On 05/12/2016 11:10 AM, Emil Velikov wrote:
On 12 May 2016 at 15:10, Leo Liu wrote:
fd should be set to -1 only if it got closed by pipe_loader_release.
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_winsys_dri.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff
fd should be set to -1 only if it got closed by pipe_loader_release.
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_winsys_dri.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri.c
b/src/gallium/auxiliary/vl/vl_winsys_dri.c
On 05/12/2016 09:47 AM, Emil Velikov wrote:
Hi Leo,
On 11 May 2016 at 22:14, Leo Liu wrote:
On 05/11/2016 04:20 PM, Axel Davy wrote:
On 11/05/2016 17:06, Leo Liu wrote:
Screen created with device fd returned from X server,
also will bail out to DRI2 with certain conditions.
Signed-off-by
spec
will get implemented.
Thanks a lot for your commenting, that has been very helpful!
Leo
On 05/11/2016 05:43 PM, Leo Liu wrote:
On 05/11/2016 05:37 PM, Axel Davy wrote:
On 11/05/2016 23:31, Leo Liu wrote:
On 05/11/2016 05:18 PM, Axel Davy wrote:
On 11/05/2016 23:08, Leo Liu wrot
On 05/11/2016 05:37 PM, Axel Davy wrote:
On 11/05/2016 23:31, Leo Liu wrote:
On 05/11/2016 05:18 PM, Axel Davy wrote:
On 11/05/2016 23:08, Leo Liu wrote:
scrn->next_msc = ((int64_t)stamp - scrn->last_ust +
scrn->ns_frame/2) /
+ scrn->ns_frame + sc
On 05/11/2016 05:18 PM, Axel Davy wrote:
On 11/05/2016 23:08, Leo Liu wrote:
scrn->next_msc = ((int64_t)stamp - scrn->last_ust + scrn->ns_frame/2) /
+ scrn->ns_frame + scrn->last_msc;
Could you explain this calculation ?
ns_frame is the time for vsync
On 05/11/2016 04:20 PM, Axel Davy wrote:
On 11/05/2016 17:06, Leo Liu wrote:
Screen created with device fd returned from X server,
also will bail out to DRI2 with certain conditions.
Signed-off-by: Leo Liu
---
configure.ac | 7 ++-
src/gallium/auxiliary/vl
ust(msc for the first frame) are the exact same
idea based on existing vl/dri, which is working well for different players.
Thanks,
Leo
Axel
On 11/05/2016 17:06, Leo Liu wrote:
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 59
+++
1 f
bit complicated because of thread safety, but likely
you don't need the thread safety part for you.
Basically the idea is that when only one pixmap hasn't been released,
you send it again with the copy flag, which garantees it will get
released.
Axel
On 11/05/2016 20:29, Axel Davy w
eep this in mind. File attached.
Thanks,
Leo
Axel
On 11/05/2016 17:06, Leo Liu wrote :
This series implement DRI3 supports for VA-API and VDPAU. It implements
supports for DRI3 Open, PixmapFromBuffer, BufferFromPixmap, and for
PRESENT including PresentPixmap, PresentNotifyMSC, Prese
This will clear presentation area not covered by video content
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri3.c
b/src/gallium/auxiliary/vl
This implements DRI3 PixmapFromBuffer. Create buffer objects, and
associate it to a dma-buf fd, and then pass this fd with a pixmap
ID to X server for creating pixmap object; also add a function
for wait events.
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 187
Screen created with device fd returned from X server,
also will bail out to DRI2 with certain conditions.
Signed-off-by: Leo Liu
---
configure.ac | 7 ++-
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 88 ++-
2 files changed, 93 insertions
and get timestamp calculated based on the event's reply
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 28 +++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri3.c
b/src/gallium/auxilia
We also need render to the front buffer of temporary X pixmap,
this is the case of when we using opengl as video out for vaapi.
the basic implementation is to pass pixmap ID to X server, and
then X will return dma-buf fd, we will get the buffer object
through this dma-buf fd.
Signed-off-by: Leo
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 35 +++
1 file changed, 35 insertions(+)
diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri3.c
b/src/gallium/auxiliary/vl/vl_winsys_dri3.c
index c018379..40e98d4 100644
--- a/src/gallium
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 59 +++
1 file changed, 53 insertions(+), 6 deletions(-)
diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri3.c
b/src/gallium/auxiliary/vl/vl_winsys_dri3.c
index f917e4b..d8e8319 100644
--- a/src
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri3.c
b/src/gallium/auxiliary/vl/vl_winsys_dri3.c
index 40e98d4..6014537 100644
--- a/src/gallium/auxiliary
Request drawable content in pixmap by calling DRI3 PresentPixmap,
and handle PresentIdleNotify event.
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 32 +--
1 file changed, 30 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary
Required functions into place for implementation later
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/Makefile.sources| 5 ++
src/gallium/auxiliary/vl/vl_winsys.h | 5 ++
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 109 ++
3 files changed, 119
Signed-off-by: Leo Liu
---
src/gallium/state_trackers/vdpau/device.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/vdpau/device.c
b/src/gallium/state_trackers/vdpau/device.c
index de7e951..81b7582 100644
--- a/src/gallium/state_trackers
Signed-off-by: Leo Liu
---
src/gallium/state_trackers/va/context.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/va/context.c
b/src/gallium/state_trackers/va/context.c
index 25d587a..93ab3d9 100644
--- a/src/gallium/state_trackers/va
When drawable size changed, PresentConfigureNotify event will be
emitted, by handling the event to re-allocate resized buffer.
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/src/gallium
and vlc with various clips from
480p to 4K with framerate from 24 to 60. Also includes window mode
and fullscreen w/wo compositing manager. The test also includes VA-API
glx extension.
There's still some future work like DRI_PRIME different GPU support
to be added.
Leo Liu (14):
vl: add
also place holder for present events handling
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 36 +++
1 file changed, 36 insertions(+)
diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri3.c
b/src/gallium/auxiliary/vl/vl_winsys_dri3.c
index
Stacking frames is for driver that's capable to do dual instances
encoding. Such feature is not enabled for B frames currently.
Signed-off-by: Leo Liu
Cc: "11.1 11.2"
---
src/gallium/state_trackers/omx/vid_enc.c | 19 ---
1 file changed, 12 insertions(+), 7 del
This only applies to tonga
Signed-off-by: Leo Liu
Reviewed-by: Christian König
Cc: "11.1 11.2"
---
src/gallium/drivers/radeon/radeon_uvd.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/gallium/drivers/radeon/radeon_uvd.c
b/src/gallium/driv
Cc:
On 04/08/2016 11:34 AM, Boyuan Zhang wrote:
Signed-off-by: Boyuan Zhang
Reviewed-by: Christian König
---
src/gallium/drivers/radeon/radeon_uvd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeon/radeon_uvd.c
b/src/gallium/drivers/radeon/rad
Patch 6-10 are:
Reviewed-by: Leo Liu
On 03/08/2016 07:21 AM, Christian König wrote:
From: Christian König
Works around a bug in radeonsi and tiling is actually
not very beneficial in this use case.
Signed-off-by: Christian König
---
src/gallium/state_trackers/vdpau/output.c | 3 ++-
1
From: Nishanth Peethambaran
Reviewed-by: Christian König
Signed-off-by: Nishanth Peethambaran
Cc: "11.1 11.2"
---
src/gallium/state_trackers/omx/vid_dec.c | 10 +++---
src/gallium/state_trackers/omx/vid_dec_h264.c | 8 ++---
src/gallium/state_trackers/omx/vid_enc.c | 44 +++
From: Nishanth Peethambaran
Attach the timestamp to the dpb buffer and use that timestamp
while pushing buffer from dpb list to the omx client.
Reviewed-by: Christian König
Signed-off-by: Nishanth Peethambaran
Cc: "11.1 11.2"
---
src/gallium/state_trackers/omx/vid_dec.c| 11 +
From: Tamil velan
With this issue 'mpv --hwdec=vdpau --vo=vdpau ' fails
for vdpau decode if the stream height is 4096. Vdpau decode of
height upto 4096 is necessary usecase on amdgpu driver for VI
and newer platforms.
The fix is in driver specific implementation of "Decoder
Query Capabilities" A
The scaling list should be filled out with zig zag scan
v2: integrate zig zag scan for list 4x4 to vl(Christian)
v3: move list determination out from the loop(Ilia)
Cc: "11.0 11.1"
Signed-off-by: Leo Liu
---
src/gallium/state_trackers/omx/vid_dec_h264.c | 7 +--
1 file
Cc: "11.0 11.1"
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/vl/vl_zscan.c | 7 +++
src/gallium/auxiliary/vl/vl_zscan.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/src/gallium/auxiliary/vl/vl_zscan.c
b/src/gallium/auxiliary/vl/vl_zscan.c
index 1c6cdd4..5241471 10
On 02/01/2016 12:59 PM, Ilia Mirkin wrote:
On Mon, Feb 1, 2016 at 12:35 PM, Leo Liu wrote:
The scaling list should be filled out with zig zag scan
v2: integrate zig zag scan for list 4x4 to vl(Christian)
Cc: "11.0 11.1"
Signed-off-by: Leo Liu
---
src/gallium/state_tr
The scaling list should be filled out with zig zag scan
v2: integrate zig zag scan for list 4x4 to vl(Christian)
Cc: "11.0 11.1"
Signed-off-by: Leo Liu
---
src/gallium/state_trackers/omx/vid_dec_h264.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/s
The scaling lsit should be filling out with zig zag scan
Cc: "11.0 11.1"
Signed-off-by: Leo Liu
---
src/gallium/state_trackers/omx/vid_dec_h264.c | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/omx/vid_dec_h26
the patch series
Reviewed-by: Leo Liu
On 11/23/2015 09:37 AM, Christian König wrote:
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/picture.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/gallium
Signed-off-by: Leo Liu
Cc: "11.0"
---
src/gallium/drivers/radeon/radeon_vce.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/gallium/drivers/radeon/radeon_vce.c
b/src/gallium/drivers/radeon/radeon_vce.c
index 0dac6fb..7c5a961 100644
--- a/src/gallium/drivers/radeon/ra
Signed-off-by: Leo Liu
"11.0"
---
src/gallium/drivers/radeon/radeon_vce.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/gallium/drivers/radeon/radeon_vce.c
b/src/gallium/drivers/radeon/radeon_vce.c
index 0dac6fb..7c5a961 100644
--- a/src/gallium/drivers/radeon/radeon_v
Add new interface to create and encode
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
---
src/gallium/drivers/radeon/Makefile.sources | 1 +
src/gallium/drivers/radeon/radeon_vce.c | 21 ++-
src/gallium/drivers/radeon/radeon_vce.h | 3 +
src/gallium/drivers/radeon/radeon_vce_52
Only one encoding pipe available for Stoney
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
---
src/gallium/drivers/radeon/radeon_vce.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeon/radeon_vce.c
b/src/gallium/drivers/radeon/radeon_vce.c
v2: -move the dup to vl_wys_drm for pipe loader
Signed-off-by: Leo Liu
Reviewed-by: Christian König
---
src/gallium/state_trackers/va/context.c | 24 +++-
1 file changed, 3 insertions(+), 21 deletions(-)
diff --git a/src/gallium/state_trackers/va/context.c
b/src/gallium
This will allow dec/enc/transcode without X
v2: -use env override even with X,
-use loader_open_device instead of open
v3: -cleanup
Signed-off-by: Leo Liu
Reviewed-by: Christian König
---
src/gallium/state_trackers/omx/entrypoint.c | 45 ++---
1 file changed, 35
This will allow the state trackers to use render nodes
with screen creation
v2 -dup fd for pipe loader
Signed-off-by: Leo Liu
Reviewed-by: Christian König
---
src/gallium/auxiliary/Makefile.sources | 3 +-
src/gallium/auxiliary/vl/vl_winsys.h | 6 +++
src/gallium/auxiliary/vl
This will allow dec/enc/transcode without X
v2: -use env override even with X,
-use loader_open_device instead of open
Signed-off-by: Leo Liu
Reviewed-by: Christian König
---
src/gallium/state_trackers/omx/entrypoint.c | 37 ++---
1 file changed, 28 insertions
From: Boyuan Zhang
Signed-off-by: Boyuan Zhang
Reviewed-by: Christian König
---
src/gallium/state_trackers/va/buffer.c | 24 +-
src/gallium/state_trackers/va/context.c| 7 ++
src/gallium/state_trackers/va/picture.c| 117 +
src/gallium/state_tracke
This will allow dec/enc/transcode without X
Signed-off-by: Leo Liu
---
src/gallium/state_trackers/omx/entrypoint.c | 39 +
1 file changed, 29 insertions(+), 10 deletions(-)
diff --git a/src/gallium/state_trackers/omx/entrypoint.c
b/src/gallium/state_trackers/omx
---
src/gallium/state_trackers/va/context.c | 20 +++-
1 file changed, 3 insertions(+), 17 deletions(-)
diff --git a/src/gallium/state_trackers/va/context.c
b/src/gallium/state_trackers/va/context.c
index 25fa905..845b547 100644
--- a/src/gallium/state_trackers/va/context.c
+++ b
This will allow the state trackers to use render nodes
with screen creation
Signed-off-by: Leo Liu
---
src/gallium/auxiliary/Makefile.sources | 3 +-
src/gallium/auxiliary/vl/vl_winsys.h | 6 +++
src/gallium/auxiliary/vl/vl_winsys_drm.c | 76
3 files
There is no dev in drv, and dev should be from vl_screen here
---
src/gallium/state_trackers/va/context.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/va/context.c
b/src/gallium/state_trackers/va/context.c
index ec9e048..25fa905 100644
--- a/
From: Boyuan Zhang
Signed-off-by: Boyuan Zhang
Reviewed-by: Christian König
Reviewed-by: Leo Liu
---
src/gallium/drivers/radeon/radeon_uvd.c | 7 +++
src/gallium/drivers/radeon/radeon_uvd.h | 9 +
2 files changed, 16 insertions(+)
diff --git a/src/gallium/drivers/radeon
From: Boyuan Zhang
Signed-off-by: Boyuan Zhang
Reviewed-by: Christian König
Reviewed-by: Leo Liu
---
src/gallium/state_trackers/vdpau/decode.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/state_trackers/vdpau/decode.c
b/src/gallium/state_trackers/vdpau/decode.c
index
From: Boyuan Zhang
Signed-off-by: Boyuan Zhang
Reviewed-by: Christian König
Reviewed-by: Leo Liu
---
configure.ac | 2 +-
src/gallium/state_trackers/va/config.c | 2 +-
src/gallium/state_trackers/va/context.c| 20
src/gallium/state_trackers/va
From: Boyuan Zhang
Signed-off-by: Boyuan Zhang
Reviewed-by: Christian König
Reviewed-by: Leo Liu
---
src/gallium/include/pipe/p_video_state.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/include/pipe/p_video_state.h
b/src/gallium/include/pipe/p_video_state.h
index
The series support HEVC codec for VA-API and fix for VDPAU
they are tested with the latest ffmpeg and gstreamer-vaapi
plugins.
Boyuan Zhang (4):
vl: add RefPicList defines for VAAPI HEVC decode
radeon/uvd: implement and add flag for VAAPI HEVC decode
st/va: add VAAPI HEVC decode support
s
Signed-off-by: Leo Liu
Cc: "10.6 11.0"
---
src/gallium/state_trackers/omx/vid_dec_h264.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/gallium/state_trackers/omx/vid_dec_h264.c
b/src/gallium/state_trackers/omx/vid_dec_h264.c
index 18d8803..f66e
if app pass 0 as frame_rate_num, it should not be encoded to the VUI.
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Reviewed-by: Christian König
Cc: "10.6 11.0"
---
src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/galli
if app pass 0 as frame_rate_num, it should not be encoded to the VUI.
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Reviewed-by: Christian König
Cc: "10.6"
---
src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/driv
This will help encoding VUI into the bitstream
v2: make backward compatible
Signed-off-by: Leo Liu
---
src/gallium/drivers/radeon/radeon_vce.c| 6 ++-
src/gallium/drivers/radeon/radeon_vce.h| 2 +
src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 53
This will help encoding VUI into the bitstream
Signed-off-by: Leo Liu
---
src/gallium/drivers/radeon/radeon_vce.c| 1 +
src/gallium/drivers/radeon/radeon_vce.h| 1 +
src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 52 ++
3 files changed, 54 insertions
The framerate will be used for video usability info support by VCE driver
Signed-off-by: Leo Liu
---
src/gallium/state_trackers/omx/vid_enc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/gallium/state_trackers/omx/vid_enc.c
b/src/gallium/state_trackers/omx
poc counter should be reset with IDR frame,
otherwise there would be a re-order issue with
frames before and after IDR
v2: add commit message
Signed-off-by: Leo Liu
Reviewed-by: Christian König
Cc: "10.4 10.5"
---
src/gallium/state_trackers/omx/vid_dec_h264.c | 5 +
1 file
301 - 400 of 444 matches
Mail list logo