[Mesa-dev] [PATCH 00/20] MJPEG decode support through VA-API
Leo Liu
leo.liu at amd.com
Tue Aug 15 20:08:18 UTC 2017
The series is able to enable mjpeg decode support through vaapi, and that
includes for the formats of 420(NV12) and 422(YUYV).
Leo Liu (20):
vl: add mjpeg profile and format
vl: add mjpeg picture description
radeon/video: add mjpeg support
radeon/uvd: add mjpeg stream type
radeon/uvd: add mjpeg support
st/va: add mjpeg picture to context
st/va: create decoder for mjpeg format
st/va: add handles for mjpeg Buffers
st/va: add picture parameter handling for mjpeg
st/va: add iq matrix handling for mjpeg
st/va: add huffman table handling for mjpeg
st/va: add slice parameter handling for mjpeg
radeon/uvd: reconstruct mjpeg bitstream
st/va: make surface allocate functions more usefully
radeon/video: mjpeg not support stacked video buffers
st/va: relocate surface when stack field false
radeon/uvd: add yuyv format support for target buffer
st/va: detect mjpeg format from bitstream
st/va: relocate surface with yuyv stream
st/va: add mjpeg for config
src/gallium/auxiliary/util/u_video.h | 3 +
src/gallium/drivers/radeon/radeon_uvd.c | 175 +++++++++++++++++++++++--
src/gallium/drivers/radeon/radeon_uvd.h | 1 +
src/gallium/drivers/radeon/radeon_video.c | 8 +-
src/gallium/drivers/radeonsi/si_uvd.c | 2 +-
src/gallium/include/pipe/p_video_enums.h | 6 +-
src/gallium/include/pipe/p_video_state.h | 59 +++++++++
src/gallium/state_trackers/va/Makefile.sources | 1 +
src/gallium/state_trackers/va/config.c | 2 +-
src/gallium/state_trackers/va/picture.c | 70 +++++++++-
src/gallium/state_trackers/va/picture_mjpeg.c | 116 ++++++++++++++++
src/gallium/state_trackers/va/surface.c | 8 +-
src/gallium/state_trackers/va/va_private.h | 14 ++
13 files changed, 440 insertions(+), 25 deletions(-)
create mode 100644 src/gallium/state_trackers/va/picture_mjpeg.c
--
2.11.0
More information about the mesa-dev
mailing list