X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fvideo_chroma%2Fi420_rgb.h;h=6b54c9bfe9ec1193ff5a4e252714f19feea6cf95;hb=5b55ee1bb0a0212b967f8f4a33824ffc6b7c7f09;hp=d9b9e0a80188d40942675798efc594eb3ea993b2;hpb=fe087a38282e93addb25fa9598393e40ea233b09;p=vlc diff --git a/modules/video_chroma/i420_rgb.h b/modules/video_chroma/i420_rgb.h index d9b9e0a801..6b54c9bfe9 100644 --- a/modules/video_chroma/i420_rgb.h +++ b/modules/video_chroma/i420_rgb.h @@ -10,7 +10,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program 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 @@ -18,7 +18,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ /** Number of entries in RGB palette/colormap */ @@ -58,9 +58,16 @@ struct chroma_sys_t #ifdef MODULE_NAME_IS_i420_rgb void E_(I420_RGB8) ( vout_thread_t *, picture_t *, picture_t * ); void E_(I420_RGB16_dither) ( vout_thread_t *, picture_t *, picture_t * ); -#endif void E_(I420_RGB16) ( vout_thread_t *, picture_t *, picture_t * ); void E_(I420_RGB32) ( vout_thread_t *, picture_t *, picture_t * ); +#else // if defined(MODULE_NAME_IS_i420_rgb_mmx) +void E_(I420_R5G5B5) ( vout_thread_t *, picture_t *, picture_t * ); +void E_(I420_R5G6B5) ( vout_thread_t *, picture_t *, picture_t * ); +void E_(I420_A8R8G8B8) ( vout_thread_t *, picture_t *, picture_t * ); +void E_(I420_R8G8B8A8) ( vout_thread_t *, picture_t *, picture_t * ); +void E_(I420_B8G8R8A8) ( vout_thread_t *, picture_t *, picture_t * ); +void E_(I420_A8B8G8R8) ( vout_thread_t *, picture_t *, picture_t * ); +#endif /***************************************************************************** * CONVERT_*_PIXEL: pixel conversion macros @@ -276,8 +283,7 @@ void E_(I420_RGB32) ( vout_thread_t *, picture_t *, picture_t * ); while( (i_scale_count -= p_vout->render.i_height) > 0 ) \ { \ /* Height increment: copy previous picture line */ \ - p_vout->p_vlc->pf_memcpy( p_pic, p_pic_start, \ - p_vout->output.i_width * BPP ); \ + vlc_memcpy( p_pic, p_pic_start, p_vout->output.i_width * BPP ); \ p_pic = (void*)((uint8_t*)p_pic + p_dest->p->i_pitch ); \ } \ i_scale_count += p_vout->output.i_height; \