[Mesa-dev] [PATCH v5 0/4] nouveau: add support for vaapi
Julien Isorce
j.isorce at samsung.com
Wed Dec 16 06:39:57 PST 2015
v5:
h264 is now working properly since:
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/state_trackers/va?id=e483cba9f5ff45395fdb1cd40a796799707eb1e0
Just rebased these 4 patches (only one minor conflict due to commit
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau/nvc0?id=be51020f2ad2ce8e8dc4d0f3a79186000fb01454)
* mpeg4:
mpv --hwdec=vaapi big_buck_bunny_720p_surround.avi (from http://download.blender.org/peach/bigbuckbunny_movies/)
* vc1:
mpv --hwdec=vaapi To_The_Limit_720_230.ismv (from http://playready.directtaps.net/smoothstreaming/)
* mpeg12:
mpv --hwdec=vaapi centaur_2.mpg (from https://github.com/malek0512/PLS/raw/master/Tests/centaur_2.mpg)
* h264:
mpv --hwdec=vaapi any_video (from http://www.h264info.com/clips.html)
* No regression found to VDPAU backend: --hwdec=vdpau
TODO:
Apply same logic for nv98 but I do not have the material to test it.
Ilia Mirkin suggested to do it afterward.
https://bugs.freedesktop.org/show_bug.cgi?id=89969
Julien Isorce (4):
nouveau: split nouveau_vp3_bsp in begin/next/end
nvc0: add support for st/va
nouveau: fix chunk decoding by updating number of slices
build: enable st/va with nouveau driver
src/gallium/drivers/nouveau/nouveau_vp3_video.h | 22 +++-
.../drivers/nouveau/nouveau_vp3_video_bsp.c | 115 +++++++++++------
src/gallium/drivers/nouveau/nv50/nv98_video_bsp.c | 5 +-
src/gallium/drivers/nouveau/nvc0/nvc0_video.c | 44 ++++++-
src/gallium/drivers/nouveau/nvc0/nvc0_video.h | 18 ++-
src/gallium/drivers/nouveau/nvc0/nvc0_video_bsp.c | 141 ++++++++++++++-------
src/gallium/targets/va/Makefile.am | 2 +
7 files changed, 247 insertions(+), 100 deletions(-)
--
1.9.1
More information about the mesa-dev
mailing list