[Mesa-dev] [PATCH 0/8] nouveau: add support for vaapi

Julien Isorce j.isorce at samsung.com
Thu Aug 27 07:15:58 PDT 2015

Currently nouveau does not support chunk decoding
which is required to support st/va

The following patches refactor nouveau_vp3_bsp
and nvc0_decoder_bsp in order to implement
So that decode_bitstream can be call multiple times
between each begin/end.

TODO: apply same logic for nv98 but I do not have the
material to test it.


Julien Isorce (8):
  nouveau: extract memcpy loop from nouveau_vp3_bsp
  nouveau: remove nouveau_vp3_bsp to use begin/next/end
  nouveau: split nvc0_decoder_bsp in begin/next/end
  nouveau: preserve content buffer when calling nvc0_decoder_bsp_next
  nouveau: remove nvc0_decoder_bsp and use begin/next/end instead
  nvc0: implement pipe_video_codec::begin_frame/end_frame
  nouveau: fix chunk decoding by updating number of slices
  build: enable st/va with nouveau driver

 src/gallium/drivers/nouveau/nouveau_vp3_video.h    |  17 +-
 .../drivers/nouveau/nouveau_vp3_video_bsp.c        | 170 ++++++----
 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  | 365 ++++++++++++---------
 src/gallium/targets/va/Makefile.am                 |   2 +
 7 files changed, 377 insertions(+), 244 deletions(-)


More information about the mesa-dev mailing list