2007-11-28 00:23:34 +02:00
|
|
|
/*
|
|
|
|
* MMX optimized DSP utils
|
|
|
|
* Copyright (c) 2007 Aurelien Jacobs <aurel@gnuage.org>
|
|
|
|
*
|
|
|
|
* This file is part of FFmpeg.
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* 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 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
|
|
|
|
*/
|
|
|
|
|
2013-12-23 18:39:36 +03:00
|
|
|
#ifndef AVCODEC_X86_DSPUTIL_X86_H
|
|
|
|
#define AVCODEC_X86_DSPUTIL_X86_H
|
2007-11-28 00:23:34 +02:00
|
|
|
|
2007-12-13 00:45:03 +02:00
|
|
|
#include <stdint.h>
|
2013-02-26 19:29:48 +03:00
|
|
|
|
2014-01-29 15:07:57 +03:00
|
|
|
#include "libavcodec/avcodec.h"
|
2008-05-09 14:56:36 +03:00
|
|
|
#include "libavcodec/dsputil.h"
|
2013-04-22 12:23:47 +03:00
|
|
|
|
2013-12-30 14:09:03 +03:00
|
|
|
void ff_dsputilenc_init_mmx(DSPContext *c, AVCodecContext *avctx,
|
|
|
|
unsigned high_bit_depth);
|
2014-01-31 10:15:56 +03:00
|
|
|
void ff_dsputil_init_pix_mmx(DSPContext *c, AVCodecContext *avctx);
|
2009-08-29 19:55:50 +03:00
|
|
|
|
2013-05-08 02:45:39 +03:00
|
|
|
|
2013-01-23 19:44:56 +03:00
|
|
|
void ff_mmx_idct(int16_t *block);
|
|
|
|
void ff_mmxext_idct(int16_t *block);
|
2013-12-23 18:39:36 +03:00
|
|
|
#endif /* AVCODEC_X86_DSPUTIL_X86_H */
|