Re: [MPlayer-dev-eng] [PATCH 1/2] osd: Add NV12/NV21 support
- Date: Thu, 31 Aug 2017 02:03:01 +0300
- From: Ville Syrjälä <syrjala@xxxxxx>
- Subject: Re: [MPlayer-dev-eng] [PATCH 1/2] osd: Add NV12/NV21 support
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.
> ---
> 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:
> --
> 2.10.2
>
--
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