Web lists-archives.com

Re: [MPlayer-dev-eng] [PATCH 1/2] osd: Add NV12/NV21 support




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
> MPlayer-dev-eng@xxxxxxxxxxxx
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng

-- 
Ville Syrjälä
syrjala@xxxxxx
http://www.sci.fi/~syrjala/
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng