]> git.sesse.net Git - ffmpeg/blobdiff - libswscale/yuv2rgb_mlib.c
Mask all unused bits for packed pixel format instead of green and alpha mask only.
[ffmpeg] / libswscale / yuv2rgb_mlib.c
index e80f1ad318d7e68140475305c647209791b281e0..68247914e72411332b9523d5d1b033f961d02fc9 100644 (file)
@@ -1,24 +1,23 @@
 /*
- * yuv2rgb_mlib.c, Software YUV to RGB coverter using mediaLib
+ * software YUV to RGB converter using mediaLib
  *
- *  Copyright (C) 2000, HÃ¥kan Hjort <d95hjort@dtek.chalmers.se>
- *  All Rights Reserved.
+ * Copyright (C) 2003 Michael Niedermayer <michaelni@gmx.at>
  *
- *  This file is part of mpeg2dec, a free MPEG-2 video decoder
+ * This file is part of FFmpeg.
  *
- *  mpeg2dec is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2, or (at your option)
- *  any later version.
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
  *
- *  mpeg2dec is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
  *
- *  You should have received a copy of the GNU General Public License
- *  along with mpeg2dec; if not, write to the Free Software
- *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include <mlib_types.h>
@@ -74,7 +73,7 @@ static int mlib_YUV2RGB420_24(SwsContext *c, uint8_t* src[], int srcStride[], in
 }
 
 
-SwsFunc yuv2rgb_init_mlib(SwsContext *c)
+SwsFunc sws_yuv2rgb_init_mlib(SwsContext *c)
 {
     switch(c->dstFormat){
     case PIX_FMT_RGB24: return mlib_YUV2RGB420_24;