Re: [PATCH 1/2] osd: Add NV12/NV21 support

Ville Syrjälä <[email protected]>
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
On Thu, Sep 07, 2017 at 12:08:57AM +0200, Alexander Strasser wrote:
> On 2017-08-31 02:03 +0300, Ville Syrjälä wrote:
> > On Sun, Feb 26, 2017 at 11:57:27PM +0200, Ville Syrjälä wrote:
> > > Add support for NV12/NV21 by just using the YV12 code. It works since it
> > > doesn't actually touch chroma.
> > 
> > Could someone please commit this patch as well? The vo_xv stuff is
> > now in so this is all we're missing for a decent NV12 experience.
> 
> Committed.

Thanks.

> 
> 
> Sorry for forgetting about this patch :(

No worries.

> 
> 
>   Alexander
> 
> > > ---
> > >  sub/osd.c | 2 ++
> > >  1 file changed, 2 insertions(+)
> > > 
> > > diff --git a/sub/osd.c b/sub/osd.c
> > > index 81633d98c29f..a2d002526fe5 100644
> > > --- a/sub/osd.c
> > > +++ b/sub/osd.c
> > > @@ -450,6 +450,8 @@ vo_draw_alpha_func vo_get_draw_alpha(unsigned fmt) {
> > >      case IMGFMT_YV12:
> > >      case IMGFMT_I420:
> > >      case IMGFMT_IYUV:
> > > +    case IMGFMT_NV12:
> > > +    case IMGFMT_NV21:
> > >          return vo_draw_alpha_yv12;
> > >      case IMGFMT_YUY2:
> > >      case IMGFMT_YVYU:
> > > -- 
> _______________________________________________
> MPlayer-dev-eng mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng

-- 
Ville Syrjälä
[email protected]
http://www.sci.fi/~syrjala/
_______________________________________________
MPlayer-dev-eng mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.