From: Leo Liu leo@amd.com
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/omx/vid_enc.c | 38
src/gallium/state_trackers/omx/vid_enc.h | 7 --
2 files changed, 29 insertions(+), 16 deletions(-)
diff --git a/src/gallium
From: Leo Liu leoxs...@gmail.com
Signed-off-by: Leo Liu leoxs...@gmail.com
---
src/gallium/state_trackers/omx/vid_enc.c | 39
src/gallium/state_trackers/omx/vid_enc.h | 7 --
2 files changed, 29 insertions(+), 17 deletions(-)
diff --git a/src/gallium
From: Leo Liu leo@amd.com
This reverts commit 96e8b916a7a39a9ba58e92d1ad77b5501de63ac7.
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/drivers/radeon/r600_texture.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/radeon/r600_texture.c
b
From: Leo Liu leo@amd.com
This reverts commit 96e8b916a7a39a9ba58e92d1ad77b5501de63ac7.
In the case of VCE encoding with raw YUV file, CPU load directly
to VRAM is faster than combination of CPU writing to GTT and
then blit to VRAM with GPU.
---
src/gallium/drivers/radeon/r600_texture.c | 4
From: Leo Liu leo@amd.com
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/drivers/radeon/radeon_vce.c| 22 +++---
src/gallium/drivers/radeon/radeon_vce.h| 3 +++
src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 6 --
3 files changed, 26 insertions
From: Leo Liu leo@amd.com
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/drivers/radeon/radeon_vce.c| 22 +++---
src/gallium/drivers/radeon/radeon_vce.h| 3 +++
src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 21 +++--
3 files changed
From: Christian König christian.koe...@amd.com
v2: move allocation to a function as first step
to clean vid_enc_EncodeFrame
Signed-off-by: Christian König christian.koe...@amd.com
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/omx/vid_enc.c | 124
From: Leo Liu leo@amd.com
cleanup by moving each step into a separate function
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/omx/vid_enc.c | 220 +--
1 file changed, 118 insertions(+), 102 deletions(-)
diff --git a/src/gallium
From: Leo Liu leo@amd.com
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/omx/vid_enc.c | 214 ++-
1 file changed, 185 insertions(+), 29 deletions(-)
diff --git a/src/gallium/state_trackers/omx/vid_enc.c
b/src/gallium/state_trackers/omx
Signed-off-by: Leo Liu leo@amd.com
---
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 0256a8f..6621dbd 100644
--- a/src/gallium/include/pipe
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/omx/vid_enc.c | 11 +--
src/gallium/state_trackers/omx/vid_enc.h | 1 +
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/omx/vid_enc.c
b/src/gallium/state_trackers/omx
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/drivers/radeon/radeon_vce.c| 6 --
src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/gallium/drivers/radeon/radeon_vce.c
b/src/gallium/drivers/radeon
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/auxiliary/util/u_video.h | 4
src/gallium/include/pipe/p_video_enums.h | 6 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/util/u_video.h
b/src/gallium/auxiliary/util/u_video.h
index
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/omx/vid_enc.c | 50 ++--
src/gallium/state_trackers/omx/vid_enc.h | 1 +
2 files changed, 49 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/omx/vid_enc.c
b/src/gallium
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/omx/vid_enc.c | 6 --
src/gallium/state_trackers/omx/vid_enc.h | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/omx/vid_enc.c
b/src/gallium/state_trackers/omx/vid_enc.c
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeon/radeon_vce_40_2_2.c
b/src/gallium/drivers/radeon/radeon_vce_40_2_2.c
index 3010c5b..c67f8f9 100644
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/include/pipe/p_video_codec.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/include/pipe/p_video_codec.h
b/src/gallium/include/pipe/p_video_codec.h
index d4cdacb..196d00b 100644
--- a/src/gallium/include/pipe/p_video_codec.h
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/omx/vid_enc.c | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/gallium/state_trackers/omx/vid_enc.c
b/src/gallium/state_trackers/omx/vid_enc.c
index d16fa01..70f63d1
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/drivers/radeon/radeon_vce.c | 60 +++--
src/gallium/drivers/radeon/radeon_vce.h | 3 +-
2 files changed, 58 insertions(+), 5 deletions(-)
diff --git a/src/gallium/drivers/radeon/radeon_vce.c
b/src/gallium
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeon/radeon_vce_40_2_2.c
b/src/gallium/drivers/radeon/radeon_vce_40_2_2.c
index c67f8f9..ecb4b0d 100644
--- a/src
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/omx/vid_enc.c | 39
1 file changed, 39 insertions(+)
diff --git a/src/gallium/state_trackers/omx/vid_enc.c
b/src/gallium/state_trackers/omx/vid_enc.c
index 70f63d1..db4fc8f 100644
--- a/src
v2: add error check for cpb size 0
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/drivers/radeon/radeon_vce.c | 63 +++--
src/gallium/drivers/radeon/radeon_vce.h | 3 +-
2 files changed, 61 insertions(+), 5 deletions(-)
diff --git a/src/gallium/drivers
Break out these functions so that they can be shared with a other
state trackers. They will be used in subsequent patches for the new
VA-API state tracker.
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/auxiliary/util/u_video.h | 74 +++
src/gallium
From: Christian König christian.koe...@amd.com
This patch is for application to query configuration,
such as profiles, entrypoints, and attributes
Signed-off-by: Christian König christian.koe...@amd.com
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/va/config.c | 74
From: Christian König christian.koe...@amd.com
This patch implements codec for mpeg2 h264 and vc1,
populates codec parameters and pass them to HW driver.
Signed-off-by: Christian König christian.koe...@amd.com
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/va/context.c
)Surfaces
vlVa(Create|Destroy)Buffer
Signed-off-by: Christian König christian.koe...@amd.com
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/va/buffer.c | 83 --
src/gallium/state_trackers/va/context.c| 80 --
src/gallium/state_trackers/va
This patch implements functions for images support,
which basically supports copy data between video
surface and user buffers, in this case supports
SW decode, and other video output
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/va/image.c | 233
From: Christian König christian.koe...@amd.com
This patch adds a skeleton VA-API state tracker,
which is filled with live in the subsequent patches.
Signed-off-by: Christian König christian.koe...@amd.com
Signed-off-by: Leo Liu leo@amd.com
---
configure.ac
From: Christian König christian.koe...@amd.com
This patch adds a skeleton VA-API state tracker,
which is filled with live in the subsequent patches.
v2: fixes in configure.ac and va state_tracker Makefile.am
Signed-off-by: Christian König christian.koe...@amd.com
Signed-off-by: Leo Liu leo
-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/va/config.c | 78 --
src/gallium/state_trackers/va/context.c| 2 +-
src/gallium/state_trackers/va/va_private.h | 68 ++
3 files changed, 143 insertions(+), 5 deletions
This patch implements functions for images support,
which basically supports copy data between video
surface and user buffers, in this case supports
SW decode, and other video output
v2: fix buffer size for odd-sized image case
expose I420 format as well
Signed-off-by: Leo Liu leo
-off-by: Leo Liu leo@amd.com
---
configure.ac | 34 ++
src/gallium/Makefile.am| 4 +
src/gallium/state_trackers/va/Makefile.am | 37 ++
src/gallium/state_trackers/va/Makefile.sources | 10 ++
src/gallium/state_trackers
size
cleanup I420 format exposure
Signed-off-by: Leo Liu leo@amd.com
---
src/gallium/state_trackers/va/context.c| 2 +-
src/gallium/state_trackers/va/image.c | 266 -
src/gallium/state_trackers/va/va_private.h | 22 +++
3 files changed, 281
entrypoint name.
rebase(cleanup) targets/va/Makefile.am
v4: cleanup va version auto detection
add back targets/va/va.sym
Signed-off-by: Christian König christian.koe...@amd.com
Signed-off-by: Leo Liu leo@amd.com
---
configure.ac | 37 ++
src/gallium
From: Michael Varga michael.va...@amd.com
If the VOP and GOV headers were truncated they will be regenerated.
Signed-off-by: Michael Varga michael.va...@amd.com
---
src/gallium/state_trackers/va/picture.c | 7 +++
1 file changed, 7 insertions(+)
diff --git
From: Michael Varga michael.va...@amd.com
Signed-off-by: Michael Varga michael.va...@amd.com
---
src/gallium/state_trackers/va/picture.c| 72 ++
src/gallium/state_trackers/va/va_private.h | 9
2 files changed, 81 insertions(+)
diff --git
From: Michael Varga michael.va...@amd.com
This patch cleans the function handleVASliceDataBufferType() for better
readability.
Signed-off-by: Michael Varga michael.va...@amd.com
---
src/gallium/state_trackers/va/picture.c | 75 ++---
1 file changed, 40 insertions(+),
From: Michael Varga michael.va...@amd.com
Signed-off-by: Michael Varga michael.va...@amd.com
---
src/gallium/state_trackers/va/picture.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/gallium/state_trackers/va/picture.c
b/src/gallium/state_trackers/va/picture.c
index
From: Michael Varga michael.va...@amd.com
Signed-off-by: Michael Varga michael.va...@amd.com
---
src/gallium/state_trackers/va/picture.c | 16
1 file changed, 16 insertions(+)
diff --git a/src/gallium/state_trackers/va/picture.c
b/src/gallium/state_trackers/va/picture.c
index
From: Michael Varga michael.va...@amd.com
Signed-off-by: Michael Varga michael.va...@amd.com
---
src/gallium/state_trackers/va/surface.c | 120
1 file changed, 120 insertions(+)
diff --git a/src/gallium/state_trackers/va/surface.c
From: Michael Varga michael.va...@amd.com
added BGRA format
create/destroy
set image
associate/deassociate
Signed-off-by: Michael Varga michael.va...@amd.com
---
src/gallium/state_trackers/va/subpicture.c | 160 ++---
src/gallium/state_trackers/va/va_private.h | 12 +++
From: Michael Varga michael.va...@amd.com
When calling vaCreateImage() an internal copy of VAImage is maintained
since the allocation of image may not be guaranteed to live long enough.
Signed-off-by: Michael Varga michael.va...@amd.com
---
src/gallium/state_trackers/va/image.c | 70
From: Michael Varga michael.va...@amd.com
In a few locations handles were being added but not removed.
Signed-off-by: Michael Varga michael.va...@amd.com
---
src/gallium/state_trackers/va/buffer.c | 1 +
src/gallium/state_trackers/va/context.c | 1 +
src/gallium/state_trackers/va/image.c | 1
The framerate will be used for video usability info support by VCE driver
Signed-off-by: Leo Liu leo@amd.com
---
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
This will help encoding VUI into the bitstream
Signed-off-by: Leo Liu leo@amd.com
---
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
This will help encoding VUI into the bitstream
v2: make backward compatible
Signed-off-by: Leo Liu leo@amd.com
---
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
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 leo@amd.com
Reviewed-by: Christian König christian.koe...@amd.com
Cc: 10.4 10.5 mesa-sta...@lists.freedesktop.org
---
src
From: Boyuan Zhang <boyuan.zh...@amd.com>
Signed-off-by: Boyuan Zhang <boyuan.zh...@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
Reviewed-by: Leo Liu <leo@amd.com>
---
src/gallium/drivers/radeon/radeon_uvd.c | 7 +++
src/gallium/drivers
From: Boyuan Zhang <boyuan.zh...@amd.com>
Signed-off-by: Boyuan Zhang <boyuan.zh...@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
Reviewed-by: Leo Liu <leo@amd.com>
---
configure.ac | 2 +-
src/gallium/state_tracke
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
From: Boyuan Zhang <boyuan.zh...@amd.com>
Signed-off-by: Boyuan Zhang <boyuan.zh...@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
Reviewed-by: Leo Liu <leo@amd.com>
---
src/gallium/include/pipe/p_video_state.h | 2 ++
1 file changed, 2 inserti
From: Boyuan Zhang <boyuan.zh...@amd.com>
Signed-off-by: Boyuan Zhang <boyuan.zh...@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
Reviewed-by: Leo Liu <leo@amd.com>
---
src/gallium/state_trackers/vdpau/decode.c | 1 +
1 file changed, 1 insert
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
---
This will allow dec/enc/transcode without X
Signed-off-by: Leo Liu <leo@amd.com>
---
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/g
This will allow the state trackers to use render nodes
with screen creation
Signed-off-by: Leo Liu <leo@amd.com>
---
src/gallium/auxiliary/Makefile.sources | 3 +-
src/gallium/auxiliary/vl/vl_winsys.h | 6 +++
src/gallium/auxiliary/vl/vl_winsys_drm.
---
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
+++
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 ++
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 <leo@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
---
src/gallium/state_trackers/omx/entry
This will allow the state trackers to use render nodes
with screen creation
v2 -dup fd for pipe loader
Signed-off-by: Leo Liu <leo@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
---
src/gallium/auxiliary/Makefile.sources | 3 +-
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
v3: -cleanup
Signed-off-by: Leo Liu <leo@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
---
src/gallium/state_trackers/omx/entry
v2: -move the dup to vl_wys_drm for pipe loader
Signed-off-by: Leo Liu <leo@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
---
src/gallium/state_trackers/va/context.c | 24 +++-
1 file changed, 3 insertions(+), 21 deletions(-)
diff --git a
Signed-off-by: Leo Liu <leo@amd.com>
Cc: "10.6 11.0" <mesa-sta...@lists.freedesktop.org>
---
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
if app pass 0 as frame_rate_num, it should not be encoded to the VUI.
Signed-off-by: Leo Liu <leo@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
Cc: "10.6 11.0" <mesa-sta...@lists.freedeskto
if app pass 0 as frame_rate_num, it should not be encoded to the VUI.
Signed-off-by: Leo Liu <leo@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
Cc: "10.6" <mesa-sta...@lists.freedeskto
Only one encoding pipe available for Stoney
Signed-off-by: Leo Liu <leo@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
---
src/gallium/drivers/radeon/radeon_vce.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeon/rad
Add new interface to create and encode
Signed-off-by: Leo Liu <leo@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
---
src/gallium/drivers/radeon/Makefile.sources | 1 +
src/gallium/drivers/radeon/radeon_vce.c | 21 ++-
src/gallium/drivers/radeon/radeon_vce
Signed-off-by: Leo Liu <leo@amd.com>
"11.0" <mesa-sta...@lists.freedesktop.org>
---
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 0
Signed-off-by: Leo Liu <leo@amd.com>
Cc: "11.0" <mesa-sta...@lists.freedesktop.org>
---
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
the patch series
Reviewed-by: Leo Liu <leo@amd.com>
On 11/23/2015 09:37 AM, Christian König wrote:
From: Christian König <christian.koe...@amd.com>
Signed-off-by: Christian König <christian.koe...@amd.com>
---
src/gallium/state_trackers/va/picture.c | 14 +++--
in order to accommodate scons build
Signed-off-by: Leo Liu <leo@amd.com>
Cc: "12.0" <mesa-sta...@lists.freedesktop.org>
---
src/gallium/auxiliary/Makefile.am | 7 +++
src/gallium/auxiliary/Makefile.sources| 4 +++-
src/gallium/auxiliary/vl/vl_winsys_dr
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 <leo@amd.com>
Cc: "12.0" <mesa-sta...@li
On 06/09/2016 07:13 PM, Emil Velikov wrote:
Hi Leo,
On 9 June 2016 at 20:11, Leo Liu <leo@amd.com> 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 wh
);
//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_CS(enc->enc_pic.vui.low_delay_hrd_flag); //lowDelayHRDFlag
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,
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
The scaling lsit should be filling out with zig zag scan
Cc: "11.0 11.1" <mesa-sta...@lists.freedesktop.org>
Signed-off-by: Leo Liu <leo@amd.com>
---
src/gallium/state_trackers/omx/vid_dec_h264.c | 21 +++--
1 file changed, 19 insertions(+), 2 deletion
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" <mesa-sta...@lists.freedesktop.org>
Signed-off-by: Leo Liu <leo@amd.com>
---
src/gall
On 02/01/2016 12:59 PM, Ilia Mirkin wrote:
On Mon, Feb 1, 2016 at 12:35 PM, Leo Liu <leo@amd.com> 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" <mesa-sta...@lists.freedesk
Cc: "11.0 11.1" <mesa-sta...@lists.freedesktop.org>
Signed-off-by: Leo Liu <leo@amd.com>
---
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
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" <mesa-sta...@lists.freedesktop.org>
Signed-off-by: Leo Liu <leo@amd.com>
---
src/gallium/state_trackers/omx/vid_dec_h264.c | 6 +++
This only applies to tonga
Signed-off-by: Leo Liu <leo@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
Cc: "11.1 11.2" <mesa-sta...@lists.freedesktop.org>
---
src/gallium/drivers/radeon/radeon_uvd.c | 12
1 file changed, 8 inserti
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(-)
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
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
Patch 6-10 are:
Reviewed-by: Leo Liu <leo@amd.com>
On 03/08/2016 07:21 AM, Christian König wrote:
From: Christian König <christian.koe...@amd.com>
Works around a bug in radeonsi and tiling is actually
not very beneficial in this use case.
Signed-off-by: Christian König &l
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
Required functions into place for implementation later
Signed-off-by: Leo Liu <leo@amd.com>
---
src/gallium/auxiliary/Makefile.sources| 5 ++
src/gallium/auxiliary/vl/vl_winsys.h | 5 ++
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 109 ++
3
Signed-off-by: Leo Liu <leo@amd.com>
---
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
---
Request drawable content in pixmap by calling DRI3 PresentPixmap,
and handle PresentIdleNotify event.
Signed-off-by: Leo Liu <leo@amd.com>
---
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 32 +--
1 file changed, 30 insertions(+), 2 deletions(-)
diff --git
Signed-off-by: Leo Liu <leo@amd.com>
---
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/g
Signed-off-by: Leo Liu <leo@amd.com>
---
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/g
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 <leo@amd.com>
---
src/gallium/auxiliary/vl/vl_winsy
Screen created with device fd returned from X server,
also will bail out to DRI2 with certain conditions.
Signed-off-by: Leo Liu <leo@amd.com>
---
configure.ac | 7 ++-
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 88 ++-
2
and get timestamp calculated based on the event's reply
Signed-off-by: Leo Liu <leo@amd.com>
---
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/g
This will clear presentation area not covered by video content
Signed-off-by: Leo Liu <leo@amd.com>
---
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/aux
also place holder for present events handling
Signed-off-by: Leo Liu <leo@amd.com>
---
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/auxili
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 DRI3
When drawable size changed, PresentConfigureNotify event will be
emitted, by handling the event to re-allocate resized buffer.
Signed-off-by: Leo Liu <leo@amd.com>
---
src/gallium/auxiliary/vl/vl_winsys_dri3.c | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
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 <leo@amd.com>
---
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
1 - 100 of 442 matches
Mail list logo