[vlc-devel] [PATCH 1/5] va: try to output an opaque chroma first, then a plane-based one

Rémi Denis-Courmont remi at remlab.net
Mon Jun 1 19:00:20 CEST 2015


Le lundi 01 juin 2015, 18:43:05 Steve Lhomme a écrit :
> On Mon, Jun 1, 2015 at 5:40 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> > Le lundi 01 juin 2015, 15:58:04 Steve Lhomme a écrit :
> >> ---
> >> 
> >>  modules/codec/avcodec/dxva2.c |  2 +-
> >>  modules/codec/avcodec/va.h    |  7 ++++---
> >>  modules/codec/avcodec/vaapi.c |  3 ++-
> >>  modules/codec/avcodec/vda.c   |  3 ++-
> >>  modules/codec/avcodec/video.c | 32 ++++++++++++++++++++++++++------
> >>  modules/hw/vdpau/avcodec.c    |  3 ++-
> >>  6 files changed, 37 insertions(+), 13 deletions(-)
> > 
> > Surface types are normally converted in video filters, not in decoders.
> 
> Well, the old DXVA was doing the plane extraction on the fly from the
> "opaque" surface. There is no "conversion" in terms of pixel type.

Hysterical raisins. I don´t see any reasons why the libavcodec should have to 
care about this implementation detail of the DXVA plugin.

-- 
Rémi Denis-Courmont
Remlab T:mi
http://www.remlab.net/




More information about the vlc-devel mailing list