Use full path for #includes from another directory.
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
86b2d47fc0
commit
245976da2a
10
cmdutils.c
10
cmdutils.c
@ -25,14 +25,14 @@
|
|||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "avformat.h"
|
#include "libavformat/avformat.h"
|
||||||
#include "avfilter.h"
|
#include "libavfilter/avfilter.h"
|
||||||
#include "avdevice.h"
|
#include "libavdevice/avdevice.h"
|
||||||
|
#include "libavutil/avstring.h"
|
||||||
#include "cmdutils.h"
|
#include "cmdutils.h"
|
||||||
#include "avstring.h"
|
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
#ifdef CONFIG_NETWORK
|
#ifdef CONFIG_NETWORK
|
||||||
#include "network.h"
|
#include "libavformat/network.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef exit
|
#undef exit
|
||||||
|
16
ffmpeg.c
16
ffmpeg.c
@ -27,14 +27,14 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include "avformat.h"
|
#include "libavformat/avformat.h"
|
||||||
#include "avdevice.h"
|
#include "libavdevice/avdevice.h"
|
||||||
#include "swscale.h"
|
#include "libswscale/swscale.h"
|
||||||
#include "framehook.h"
|
#include "libavformat/framehook.h"
|
||||||
#include "opt.h"
|
#include "libavcodec/opt.h"
|
||||||
#include "fifo.h"
|
#include "libavutil/fifo.h"
|
||||||
#include "avstring.h"
|
#include "libavutil/avstring.h"
|
||||||
#include "os_support.h"
|
#include "libavformat/os_support.h"
|
||||||
|
|
||||||
#ifdef HAVE_SYS_RESOURCE_H
|
#ifdef HAVE_SYS_RESOURCE_H
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
10
ffplay.c
10
ffplay.c
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include "avformat.h"
|
#include "libavutil/avstring.h"
|
||||||
#include "avdevice.h"
|
#include "libavformat/avformat.h"
|
||||||
#include "rtsp.h"
|
#include "libavformat/rtsp.h"
|
||||||
#include "swscale.h"
|
#include "libavdevice/avdevice.h"
|
||||||
#include "avstring.h"
|
#include "libswscale/swscale.h"
|
||||||
|
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
#include "cmdutils.h"
|
#include "cmdutils.h"
|
||||||
|
14
ffserver.c
14
ffserver.c
@ -25,10 +25,13 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "avformat.h"
|
#include "libavutil/random.h"
|
||||||
#include "rtsp.h"
|
#include "libavutil/avstring.h"
|
||||||
#include "rtp.h"
|
#include "libavformat/avformat.h"
|
||||||
#include "os_support.h"
|
#include "libavformat/network.h"
|
||||||
|
#include "libavformat/os_support.h"
|
||||||
|
#include "libavformat/rtp.h"
|
||||||
|
#include "libavformat/rtsp.h"
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
@ -47,11 +50,8 @@
|
|||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "network.h"
|
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
#include "ffserver.h"
|
#include "ffserver.h"
|
||||||
#include "random.h"
|
|
||||||
#include "avstring.h"
|
|
||||||
#include "cmdutils.h"
|
#include "cmdutils.h"
|
||||||
|
|
||||||
#undef exit
|
#undef exit
|
||||||
|
@ -32,12 +32,12 @@
|
|||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "libavutil/crc.h"
|
||||||
|
#include "libavutil/random.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "ac3_parser.h"
|
#include "ac3_parser.h"
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "crc.h"
|
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
#include "random.h"
|
|
||||||
|
|
||||||
/** Maximum possible frame size when the specification limit is ignored */
|
/** Maximum possible frame size when the specification limit is ignored */
|
||||||
#define AC3_MAX_FRAME_SIZE 21695
|
#define AC3_MAX_FRAME_SIZE 21695
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
*/
|
*/
|
||||||
//#define DEBUG
|
//#define DEBUG
|
||||||
//#define DEBUG_BITALLOC
|
//#define DEBUG_BITALLOC
|
||||||
|
#include "libavutil/crc.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "crc.h"
|
|
||||||
#include "ac3.h"
|
#include "ac3.h"
|
||||||
|
|
||||||
typedef struct AC3EncodeContext {
|
typedef struct AC3EncodeContext {
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#ifndef FFMPEG_AC3TAB_H
|
#ifndef FFMPEG_AC3TAB_H
|
||||||
#define FFMPEG_AC3TAB_H
|
#define FFMPEG_AC3TAB_H
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
|
|
||||||
extern const uint16_t ff_ac3_frame_size_tab[38][3];
|
extern const uint16_t ff_ac3_frame_size_tab[38][3];
|
||||||
extern const uint8_t ff_ac3_channels_tab[8];
|
extern const uint8_t ff_ac3_channels_tab[8];
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavcodec/dsputil.h"
|
||||||
#include "asm.h"
|
#include "asm.h"
|
||||||
#include "dsputil.h"
|
|
||||||
|
|
||||||
extern void simple_idct_axp(DCTELEM *block);
|
extern void simple_idct_axp(DCTELEM *block);
|
||||||
extern void simple_idct_put_axp(uint8_t *dest, int line_size, DCTELEM *block);
|
extern void simple_idct_put_axp(uint8_t *dest, int line_size, DCTELEM *block);
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavcodec/dsputil.h"
|
||||||
#include "asm.h"
|
#include "asm.h"
|
||||||
#include "dsputil.h"
|
|
||||||
|
|
||||||
void get_pixels_mvi(DCTELEM *restrict block,
|
void get_pixels_mvi(DCTELEM *restrict block,
|
||||||
const uint8_t *restrict pixels, int line_size)
|
const uint8_t *restrict pixels, int line_size)
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavcodec/dsputil.h"
|
||||||
|
#include "libavcodec/mpegvideo.h"
|
||||||
#include "asm.h"
|
#include "asm.h"
|
||||||
#include "dsputil.h"
|
|
||||||
#include "mpegvideo.h"
|
|
||||||
|
|
||||||
static void dct_unquantize_h263_intra_axp(MpegEncContext *s, DCTELEM *block,
|
static void dct_unquantize_h263_intra_axp(MpegEncContext *s, DCTELEM *block,
|
||||||
int n, int qscale)
|
int n, int qscale)
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavcodec/dsputil.h"
|
||||||
#include "asm.h"
|
#include "asm.h"
|
||||||
#include "dsputil.h"
|
|
||||||
|
|
||||||
extern void (*put_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels,
|
extern void (*put_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels,
|
||||||
int line_size);
|
int line_size);
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#ifdef HAVE_IPP
|
#ifdef HAVE_IPP
|
||||||
#include <ipp.h>
|
#include <ipp.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
#define DEF(x, y) x ## _no_rnd_ ## y ##_iwmmxt
|
#define DEF(x, y) x ## _no_rnd_ ## y ##_iwmmxt
|
||||||
#define SET_RND(regd) asm volatile ("mov r12, #1 \n\t tbcsth " #regd ", r12":::"r12");
|
#define SET_RND(regd) asm volatile ("mov r12, #1 \n\t tbcsth " #regd ", r12":::"r12");
|
||||||
|
@ -18,9 +18,9 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/avcodec.h"
|
||||||
#include "mpegvideo.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "avcodec.h"
|
#include "libavcodec/mpegvideo.h"
|
||||||
|
|
||||||
extern void MPV_common_init_iwmmxt(MpegEncContext *s);
|
extern void MPV_common_init_iwmmxt(MpegEncContext *s);
|
||||||
extern void MPV_common_init_armv5te(MpegEncContext *s);
|
extern void MPV_common_init_armv5te(MpegEncContext *s);
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/avcodec.h"
|
||||||
#include "mpegvideo.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "avcodec.h"
|
#include "libavcodec/mpegvideo.h"
|
||||||
|
|
||||||
|
|
||||||
#ifdef ENABLE_ARM_TESTS
|
#ifdef ENABLE_ARM_TESTS
|
||||||
|
@ -18,9 +18,9 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/avcodec.h"
|
||||||
#include "mpegvideo.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "avcodec.h"
|
#include "libavcodec/mpegvideo.h"
|
||||||
|
|
||||||
static void dct_unquantize_h263_intra_iwmmxt(MpegEncContext *s,
|
static void dct_unquantize_h263_intra_iwmmxt(MpegEncContext *s,
|
||||||
DCTELEM *block, int n, int qscale)
|
DCTELEM *block, int n, int qscale)
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* @sa http://www.svatopluk.com/andux/docs/dfvid.html
|
* @sa http://www.svatopluk.com/andux/docs/dfvid.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
#include "bethsoftvideo.h"
|
#include "bethsoftvideo.h"
|
||||||
#include "bytestream.h"
|
#include "bytestream.h"
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
* @sa http://wiki.multimedia.cx/index.php?title=BFI
|
* @sa http://wiki.multimedia.cx/index.php?title=BFI
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavutil/common.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "common.h"
|
|
||||||
#include "bytestream.h"
|
#include "bytestream.h"
|
||||||
|
|
||||||
typedef struct BFIContext {
|
typedef struct BFIContext {
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include "avcodec.h"
|
#include "libavcodec/avcodec.h"
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "dsputil_bfin.h"
|
#include "dsputil_bfin.h"
|
||||||
|
|
||||||
int off;
|
int off;
|
||||||
|
@ -20,9 +20,9 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/avcodec.h"
|
||||||
#include "mpegvideo.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "avcodec.h"
|
#include "libavcodec/mpegvideo.h"
|
||||||
#include "dsputil_bfin.h"
|
#include "dsputil_bfin.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "avcodec.h"
|
#include "libavcodec/avcodec.h"
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "dsputil_bfin.h"
|
#include "dsputil_bfin.h"
|
||||||
|
|
||||||
extern void ff_bfin_vp3_idct (DCTELEM *block) attribute_l1_text;
|
extern void ff_bfin_vp3_idct (DCTELEM *block) attribute_l1_text;
|
||||||
|
@ -29,10 +29,10 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "common.h"
|
#include "libavutil/bswap.h"
|
||||||
#include "bswap.h"
|
#include "libavutil/common.h"
|
||||||
#include "intreadwrite.h"
|
#include "libavutil/intreadwrite.h"
|
||||||
#include "log.h"
|
#include "libavutil/log.h"
|
||||||
|
|
||||||
#if defined(ALT_BITSTREAM_READER_LE) && !defined(ALT_BITSTREAM_READER)
|
#if defined(ALT_BITSTREAM_READER_LE) && !defined(ALT_BITSTREAM_READER)
|
||||||
# define ALT_BITSTREAM_READER
|
# define ALT_BITSTREAM_READER
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#ifndef FFMPEG_BYTESTREAM_H
|
#ifndef FFMPEG_BYTESTREAM_H
|
||||||
#define FFMPEG_BYTESTREAM_H
|
#define FFMPEG_BYTESTREAM_H
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
|
|
||||||
#define DEF_T(type, name, bytes, read, write) \
|
#define DEF_T(type, name, bytes, read, write) \
|
||||||
static av_always_inline type bytestream_get_ ## name(const uint8_t **b){\
|
static av_always_inline type bytestream_get_ ## name(const uint8_t **b){\
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "cabac.h"
|
#include "cabac.h"
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
//#undef NDEBUG
|
//#undef NDEBUG
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#ifdef ARCH_X86
|
#ifdef ARCH_X86
|
||||||
#include "x86_cpu.h"
|
#include "libavutil/x86_cpu.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CABAC_BITS 16
|
#define CABAC_BITS 16
|
||||||
|
@ -46,11 +46,11 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#include "libavutil/random.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
#include "bytestream.h"
|
#include "bytestream.h"
|
||||||
#include "random.h"
|
|
||||||
|
|
||||||
#include "cookdata.h"
|
#include "cookdata.h"
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#ifdef CONFIG_ZLIB
|
#ifdef CONFIG_ZLIB
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
#endif
|
#endif
|
||||||
#include "lzo.h"
|
#include "libavutil/lzo.h"
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
AVFrame pic;
|
AVFrame pic;
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
#ifndef FFMPEG_DVDATA_H
|
#ifndef FFMPEG_DVDATA_H
|
||||||
#define FFMPEG_DVDATA_H
|
#define FFMPEG_DVDATA_H
|
||||||
|
|
||||||
|
#include "libavutil/rational.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "rational.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* DVprofile is used to express the differences between various
|
* DVprofile is used to express the differences between various
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "libavutil/random.h"
|
||||||
#include "elbg.h"
|
#include "elbg.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "random.h"
|
|
||||||
|
|
||||||
#define DELTA_ERR_MAX 0.1 ///< Precision of the ELBG algorithm (as percentual error)
|
#define DELTA_ERR_MAX 0.1 ///< Precision of the ELBG algorithm (as percentual error)
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#ifndef FFMPEG_ELBG_H
|
#ifndef FFMPEG_ELBG_H
|
||||||
#define FFMPEG_ELBG_H
|
#define FFMPEG_ELBG_H
|
||||||
|
|
||||||
#include "random.h"
|
#include "libavutil/random.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of the Enhanced LBG Algorithm
|
* Implementation of the Enhanced LBG Algorithm
|
||||||
|
@ -36,10 +36,10 @@
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#define ALT_BITSTREAM_READER
|
#define ALT_BITSTREAM_READER
|
||||||
|
#include "libavutil/crc.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "golomb.h"
|
#include "golomb.h"
|
||||||
#include "crc.h"
|
|
||||||
#include "flac.h"
|
#include "flac.h"
|
||||||
|
|
||||||
#undef NDEBUG
|
#undef NDEBUG
|
||||||
|
@ -19,12 +19,12 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavutil/crc.h"
|
||||||
|
#include "libavutil/lls.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "crc.h"
|
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
#include "golomb.h"
|
#include "golomb.h"
|
||||||
#include "lls.h"
|
|
||||||
|
|
||||||
#define FLAC_MAX_CH 8
|
#define FLAC_MAX_CH 8
|
||||||
#define FLAC_MIN_BLOCKSIZE 16
|
#define FLAC_MIN_BLOCKSIZE 16
|
||||||
|
@ -40,8 +40,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#include "libavutil/bswap.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "bswap.h"
|
|
||||||
|
|
||||||
#define FLI_256_COLOR 4
|
#define FLI_256_COLOR 4
|
||||||
#define FLI_DELTA 7
|
#define FLI_DELTA 7
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
* @author Michael Niedermayer <michaelni@gmx.at>
|
* @author Michael Niedermayer <michaelni@gmx.at>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
|
|
||||||
const uint8_t ff_golomb_vlc_len[512]={
|
const uint8_t ff_golomb_vlc_len[512]={
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
|
||||||
|
@ -30,8 +30,8 @@
|
|||||||
#define FFMPEG_H264DATA_H
|
#define FFMPEG_H264DATA_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include "libavutil/rational.h"
|
||||||
#include "mpegvideo.h"
|
#include "mpegvideo.h"
|
||||||
#include "rational.h"
|
|
||||||
|
|
||||||
|
|
||||||
#define EXTENDED_SAR 255
|
#define EXTENDED_SAR 255
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "mpegvideo.h"
|
#include "mpegvideo.h"
|
||||||
#include "h264data.h"
|
#include "h264data.h"
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#ifndef FFMPEG_H264PRED_H
|
#ifndef FFMPEG_H264PRED_H
|
||||||
#define FFMPEG_H264PRED_H
|
#define FFMPEG_H264PRED_H
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prediction types
|
* Prediction types
|
||||||
|
@ -22,10 +22,10 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavutil/common.h"
|
||||||
|
#include "libavutil/x86_cpu.h"
|
||||||
|
#include "libavcodec/dsputil.h"
|
||||||
#include "dsputil_mmx.h"
|
#include "dsputil_mmx.h"
|
||||||
#include "common.h"
|
|
||||||
#include "x86_cpu.h"
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "dsputil.h"
|
#include "libavutil/x86_cpu.h"
|
||||||
#include "x86_cpu.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
#undef printf
|
#undef printf
|
||||||
|
|
||||||
|
@ -22,16 +22,16 @@
|
|||||||
* MMX optimization by Nick Kurshev <nickols_k@mail.ru>
|
* MMX optimization by Nick Kurshev <nickols_k@mail.ru>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavutil/x86_cpu.h"
|
||||||
|
#include "libavcodec/dsputil.h"
|
||||||
|
#include "libavcodec/h263.h"
|
||||||
|
#include "libavcodec/mpegvideo.h"
|
||||||
|
#include "libavcodec/simple_idct.h"
|
||||||
#include "dsputil_mmx.h"
|
#include "dsputil_mmx.h"
|
||||||
#include "simple_idct.h"
|
|
||||||
#include "mpegvideo.h"
|
|
||||||
#include "x86_cpu.h"
|
|
||||||
#include "mmx.h"
|
#include "mmx.h"
|
||||||
#include "vp3dsp_mmx.h"
|
#include "vp3dsp_mmx.h"
|
||||||
#include "vp3dsp_sse2.h"
|
#include "vp3dsp_sse2.h"
|
||||||
#include "idct_xvid.h"
|
#include "idct_xvid.h"
|
||||||
#include "h263.h"
|
|
||||||
|
|
||||||
//#undef NDEBUG
|
//#undef NDEBUG
|
||||||
//#include <assert.h>
|
//#include <assert.h>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#define FFMPEG_DSPUTIL_MMX_H
|
#define FFMPEG_DSPUTIL_MMX_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
typedef struct { uint64_t a, b; } xmm_t;
|
typedef struct { uint64_t a, b; } xmm_t;
|
||||||
|
|
||||||
|
@ -22,10 +22,10 @@
|
|||||||
* MMX optimization by Nick Kurshev <nickols_k@mail.ru>
|
* MMX optimization by Nick Kurshev <nickols_k@mail.ru>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavutil/x86_cpu.h"
|
||||||
|
#include "libavcodec/dsputil.h"
|
||||||
|
#include "libavcodec/mpegvideo.h"
|
||||||
#include "dsputil_mmx.h"
|
#include "dsputil_mmx.h"
|
||||||
#include "mpegvideo.h"
|
|
||||||
#include "x86_cpu.h"
|
|
||||||
|
|
||||||
|
|
||||||
static void get_pixels_mmx(DCTELEM *block, const uint8_t *pixels, int line_size)
|
static void get_pixels_mmx(DCTELEM *block, const uint8_t *pixels, int line_size)
|
||||||
|
@ -29,8 +29,9 @@
|
|||||||
* License along with FFmpeg; if not, write to the Free Software
|
* License along with FFmpeg; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
#include "common.h"
|
|
||||||
#include "dsputil.h"
|
#include "libavutil/common.h"
|
||||||
|
#include "libavcodec/dsputil.h"
|
||||||
#include "mmx.h"
|
#include "mmx.h"
|
||||||
|
|
||||||
#define ATTR_ALIGN(align) __attribute__ ((__aligned__ (align)))
|
#define ATTR_ALIGN(align) __attribute__ ((__aligned__ (align)))
|
||||||
|
@ -19,8 +19,9 @@
|
|||||||
* License along with FFmpeg; if not, write to the Free Software
|
* License along with FFmpeg; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
#include "dsputil.h"
|
|
||||||
#include "x86_cpu.h"
|
#include "libavutil/x86_cpu.h"
|
||||||
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
static const int p1m1[2] __attribute__((aligned(8))) =
|
static const int p1m1[2] __attribute__((aligned(8))) =
|
||||||
{ 0, 1 << 31 };
|
{ 0, 1 << 31 };
|
||||||
|
@ -19,8 +19,9 @@
|
|||||||
* License along with FFmpeg; if not, write to the Free Software
|
* License along with FFmpeg; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
#include "dsputil.h"
|
|
||||||
#include "x86_cpu.h"
|
#include "libavutil/x86_cpu.h"
|
||||||
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
static const int p1m1[2] __attribute__((aligned(8))) =
|
static const int p1m1[2] __attribute__((aligned(8))) =
|
||||||
{ 0, 1 << 31 };
|
{ 0, 1 << 31 };
|
||||||
|
@ -18,8 +18,9 @@
|
|||||||
* License along with FFmpeg; if not, write to the Free Software
|
* License along with FFmpeg; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
#include "dsputil.h"
|
|
||||||
#include "x86_cpu.h"
|
#include "libavutil/x86_cpu.h"
|
||||||
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
static const int p1p1p1m1[4] __attribute__((aligned(16))) =
|
static const int p1p1p1m1[4] __attribute__((aligned(16))) =
|
||||||
{ 0, 0, 0, 1 << 31 };
|
{ 0, 0, 0, 1 << 31 };
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavutil/x86_cpu.h"
|
||||||
#include "dsputil_mmx.h"
|
#include "dsputil_mmx.h"
|
||||||
#include "x86_cpu.h"
|
|
||||||
|
|
||||||
static void apply_welch_window_sse2(const int32_t *data, int len, double *w_data)
|
static void apply_welch_window_sse2(const int32_t *data, int len, double *w_data)
|
||||||
{
|
{
|
||||||
|
@ -29,8 +29,7 @@
|
|||||||
#ifndef FFMPEG_H264_I386_H
|
#ifndef FFMPEG_H264_I386_H
|
||||||
#define FFMPEG_H264_I386_H
|
#define FFMPEG_H264_I386_H
|
||||||
|
|
||||||
|
#include "libavcodec/cabac.h"
|
||||||
#include "cabac.h"
|
|
||||||
|
|
||||||
//FIXME use some macros to avoid duplicating get_cabac (cannot be done yet
|
//FIXME use some macros to avoid duplicating get_cabac (cannot be done yet
|
||||||
//as that would make optimization work hard)
|
//as that would make optimization work hard)
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
#include "mmx.h"
|
#include "mmx.h"
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include "avcodec.h"
|
#include "libavcodec/avcodec.h"
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
// Macros and other preprocessor constants
|
// Macros and other preprocessor constants
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @file idct_sse2_xvid.c
|
* @file idct_sse2_xvid.c
|
||||||
|
@ -21,8 +21,9 @@
|
|||||||
* License along with FFmpeg; if not, write to the Free Software
|
* License along with FFmpeg; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
#include "dsputil.h"
|
|
||||||
#include "x86_cpu.h"
|
#include "libavutil/x86_cpu.h"
|
||||||
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
DECLARE_ASM_CONST(8, uint64_t, round_tab[3])={
|
DECLARE_ASM_CONST(8, uint64_t, round_tab[3])={
|
||||||
0x0000000000000000ULL,
|
0x0000000000000000ULL,
|
||||||
|
@ -22,11 +22,11 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavutil/x86_cpu.h"
|
||||||
|
#include "libavcodec/avcodec.h"
|
||||||
|
#include "libavcodec/dsputil.h"
|
||||||
|
#include "libavcodec/mpegvideo.h"
|
||||||
#include "dsputil_mmx.h"
|
#include "dsputil_mmx.h"
|
||||||
#include "mpegvideo.h"
|
|
||||||
#include "avcodec.h"
|
|
||||||
#include "x86_cpu.h"
|
|
||||||
|
|
||||||
extern uint16_t inv_zigzag_direct16[64];
|
extern uint16_t inv_zigzag_direct16[64];
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
* License along with FFmpeg; if not, write to the Free Software
|
* License along with FFmpeg; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "simple_idct.h"
|
#include "libavcodec/simple_idct.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
23170.475006
|
23170.475006
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "avcodec.h"
|
#include "libavutil/x86_cpu.h"
|
||||||
#include "snow.h"
|
#include "libavcodec/avcodec.h"
|
||||||
#include "x86_cpu.h"
|
#include "libavcodec/snow.h"
|
||||||
|
|
||||||
void ff_snow_horizontal_compose97i_sse2(IDWTELEM *b, int width){
|
void ff_snow_horizontal_compose97i_sse2(IDWTELEM *b, int width){
|
||||||
const int w2= (width+1)>>1;
|
const int w2= (width+1)>>1;
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* OTHER DEALINGS IN THE SOFTWARE.
|
* OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavutil/x86_cpu.h"
|
||||||
|
#include "libavcodec/dsputil.h"
|
||||||
#include "dsputil_mmx.h"
|
#include "dsputil_mmx.h"
|
||||||
#include "x86_cpu.h"
|
|
||||||
|
|
||||||
/** Add rounder from mm7 to mm3 and pack result at destination */
|
/** Add rounder from mm7 to mm3 and pack result at destination */
|
||||||
#define NORMALIZE_MMX(SHIFT) \
|
#define NORMALIZE_MMX(SHIFT) \
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* MMX-optimized functions cribbed from the original VP3 source code.
|
* MMX-optimized functions cribbed from the original VP3 source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "mmx.h"
|
#include "mmx.h"
|
||||||
|
|
||||||
#define IdctAdjustBeforeShift 8
|
#define IdctAdjustBeforeShift 8
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* SSE2-optimized functions cribbed from the original VP3 source code.
|
* SSE2-optimized functions cribbed from the original VP3 source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "mmx.h"
|
#include "mmx.h"
|
||||||
|
|
||||||
static DECLARE_ALIGNED_16(const unsigned short, SSE2_dequant_const[]) =
|
static DECLARE_ALIGNED_16(const unsigned short, SSE2_dequant_const[]) =
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#ifndef FFMPEG_VP3DSP_SSE2_H
|
#ifndef FFMPEG_VP3DSP_SSE2_H
|
||||||
#define FFMPEG_VP3DSP_SSE2_H
|
#define FFMPEG_VP3DSP_SSE2_H
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
void ff_vp3_idct_sse2(int16_t *input_data);
|
void ff_vp3_idct_sse2(int16_t *input_data);
|
||||||
void ff_vp3_idct_put_sse2(uint8_t *dest, int line_size, DCTELEM *block);
|
void ff_vp3_idct_put_sse2(uint8_t *dest, int line_size, DCTELEM *block);
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
|
|
||||||
#define DCTSIZE 8
|
#define DCTSIZE 8
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
|
|
||||||
#define SHIFT_TEMPS
|
#define SHIFT_TEMPS
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
* Independent JPEG Group's LLM idct.
|
* Independent JPEG Group's LLM idct.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
|
|
||||||
#define EIGHT_BIT_SAMPLES
|
#define EIGHT_BIT_SAMPLES
|
||||||
|
@ -31,8 +31,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* FFmpeg includes */
|
/* FFmpeg includes */
|
||||||
|
#include "libavutil/log.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "log.h"
|
|
||||||
|
|
||||||
/* libtheora includes */
|
/* libtheora includes */
|
||||||
#include <theora/theora.h>
|
#include <theora/theora.h>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#ifndef FFMPEG_MATHOPS_H
|
#ifndef FFMPEG_MATHOPS_H
|
||||||
#define FFMPEG_MATHOPS_H
|
#define FFMPEG_MATHOPS_H
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
|
|
||||||
#ifdef ARCH_X86_32
|
#ifdef ARCH_X86_32
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "mpegvideo.h"
|
#include "libavcodec/mpegvideo.h"
|
||||||
|
|
||||||
#include <mlib_types.h>
|
#include <mlib_types.h>
|
||||||
#include <mlib_status.h>
|
#include <mlib_status.h>
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
* MLP parser
|
* MLP parser
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavutil/crc.h"
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "parser.h"
|
#include "parser.h"
|
||||||
#include "crc.h"
|
|
||||||
#include "mlp_parser.h"
|
#include "mlp_parser.h"
|
||||||
|
|
||||||
static const uint8_t mlp_quants[16] = {
|
static const uint8_t mlp_quants[16] = {
|
||||||
|
@ -25,10 +25,10 @@
|
|||||||
* divided into 32 subbands.
|
* divided into 32 subbands.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavutil/random.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
#include "random.h"
|
|
||||||
|
|
||||||
#ifdef CONFIG_MPEGAUDIO_HP
|
#ifdef CONFIG_MPEGAUDIO_HP
|
||||||
#define USE_HIGHPRECISION
|
#define USE_HIGHPRECISION
|
||||||
|
@ -28,10 +28,10 @@
|
|||||||
#ifndef FFMPEG_MPC_H
|
#ifndef FFMPEG_MPC_H
|
||||||
#define FFMPEG_MPC_H
|
#define FFMPEG_MPC_H
|
||||||
|
|
||||||
|
#include "libavutil/random.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
#include "random.h"
|
|
||||||
|
|
||||||
#ifdef CONFIG_MPEGAUDIO_HP
|
#ifdef CONFIG_MPEGAUDIO_HP
|
||||||
#define USE_HIGHPRECISION
|
#define USE_HIGHPRECISION
|
||||||
|
@ -25,10 +25,10 @@
|
|||||||
* divided into 32 subbands.
|
* divided into 32 subbands.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavutil/random.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
#include "random.h"
|
|
||||||
|
|
||||||
#ifdef CONFIG_MPEGAUDIO_HP
|
#ifdef CONFIG_MPEGAUDIO_HP
|
||||||
#define USE_HIGHPRECISION
|
#define USE_HIGHPRECISION
|
||||||
|
@ -25,10 +25,10 @@
|
|||||||
* divided into 32 subbands.
|
* divided into 32 subbands.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavutil/random.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
#include "random.h"
|
|
||||||
|
|
||||||
#ifdef CONFIG_MPEGAUDIO_HP
|
#ifdef CONFIG_MPEGAUDIO_HP
|
||||||
#define USE_HIGHPRECISION
|
#define USE_HIGHPRECISION
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#define FFMPEG_MPEG12DATA_H
|
#define FFMPEG_MPEG12DATA_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "rational.h"
|
#include "libavutil/rational.h"
|
||||||
#include "rl.h"
|
#include "rl.h"
|
||||||
|
|
||||||
extern const uint16_t ff_mpeg1_default_intra_matrix[64];
|
extern const uint16_t ff_mpeg1_default_intra_matrix[64];
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#ifndef FFMPEG_MPEGAUDIODATA_H
|
#ifndef FFMPEG_MPEGAUDIODATA_H
|
||||||
#define FFMPEG_MPEGAUDIODATA_H
|
#define FFMPEG_MPEGAUDIODATA_H
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
|
|
||||||
#define MODE_EXT_MS_STEREO 2
|
#define MODE_EXT_MS_STEREO 2
|
||||||
#define MODE_EXT_I_STEREO 1
|
#define MODE_EXT_I_STEREO 1
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#ifndef FFMPEG_MPEGAUDIODECHEADER_H
|
#ifndef FFMPEG_MPEGAUDIODECHEADER_H
|
||||||
#define FFMPEG_MPEGAUDIODECHEADER_H
|
#define FFMPEG_MPEGAUDIODECHEADER_H
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
#include "mpegaudio.h"
|
#include "mpegaudio.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#ifndef FFMPEG_MSMPEG4DATA_H
|
#ifndef FFMPEG_MSMPEG4DATA_H
|
||||||
#define FFMPEG_MSMPEG4DATA_H
|
#define FFMPEG_MSMPEG4DATA_H
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "rl.h"
|
#include "rl.h"
|
||||||
|
|
||||||
|
@ -30,8 +30,9 @@
|
|||||||
* The 3 alphanumeric copyright notices are md5summed they are from the original
|
* The 3 alphanumeric copyright notices are md5summed they are from the original
|
||||||
* implementors. The original code is available from http://code.google.com/p/nelly2pcm/
|
* implementors. The original code is available from http://code.google.com/p/nelly2pcm/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavutil/random.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "random.h"
|
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
|
|
||||||
#define ALT_BITSTREAM_READER_LE
|
#define ALT_BITSTREAM_READER_LE
|
||||||
|
@ -21,11 +21,10 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#include "libavutil/bswap.h"
|
||||||
|
#include "libavutil/lzo.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
|
|
||||||
#include "bswap.h"
|
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
#include "lzo.h"
|
|
||||||
#include "rtjpeg.h"
|
#include "rtjpeg.h"
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
#include "gcc_fixes.h"
|
#include "gcc_fixes.h"
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
#include "dsputil_ppc.h"
|
#include "dsputil_ppc.h"
|
||||||
|
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "dsputil_ppc.h"
|
#include "dsputil_ppc.h"
|
||||||
#include "gcc_fixes.h"
|
#include "gcc_fixes.h"
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
* License along with FFmpeg; if not, write to the Free Software
|
* License along with FFmpeg; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
#include "gcc_fixes.h"
|
#include "gcc_fixes.h"
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
#include "gcc_fixes.h"
|
#include "gcc_fixes.h"
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
#include "gcc_fixes.h"
|
#include "gcc_fixes.h"
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
#include "gcc_fixes.h"
|
#include "gcc_fixes.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h> /* malloc(), free() */
|
#include <stdlib.h> /* malloc(), free() */
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
#include "gcc_fixes.h"
|
#include "gcc_fixes.h"
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
** integer misc ops.
|
** integer misc ops.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
#include "gcc_fixes.h"
|
#include "gcc_fixes.h"
|
||||||
|
|
||||||
|
@ -23,8 +23,8 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "mpegvideo.h"
|
#include "libavcodec/mpegvideo.h"
|
||||||
|
|
||||||
#include "gcc_fixes.h"
|
#include "gcc_fixes.h"
|
||||||
|
|
||||||
|
@ -19,11 +19,11 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
#include "libavcodec/snow.h"
|
||||||
|
|
||||||
#include "gcc_fixes.h"
|
#include "gcc_fixes.h"
|
||||||
#include "dsputil_altivec.h"
|
#include "dsputil_altivec.h"
|
||||||
#include "snow.h"
|
|
||||||
|
|
||||||
#undef NDEBUG
|
#undef NDEBUG
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
#include "gcc_fixes.h"
|
#include "gcc_fixes.h"
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "mmi.h"
|
#include "mmi.h"
|
||||||
|
|
||||||
void ff_mmi_idct_put(uint8_t *dest, int line_size, DCTELEM *block);
|
void ff_mmi_idct_put(uint8_t *dest, int line_size, DCTELEM *block);
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "mmi.h"
|
#include "mmi.h"
|
||||||
|
|
||||||
#define BITS_INV_ACC 5 // 4 or 5 for IEEE
|
#define BITS_INV_ACC 5 // 4 or 5 for IEEE
|
||||||
|
@ -20,9 +20,9 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/avcodec.h"
|
||||||
#include "mpegvideo.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "avcodec.h"
|
#include "libavcodec/mpegvideo.h"
|
||||||
|
|
||||||
static void dct_unquantize_h263_mmi(MpegEncContext *s,
|
static void dct_unquantize_h263_mmi(MpegEncContext *s,
|
||||||
DCTELEM *block, int n, int qscale)
|
DCTELEM *block, int n, int qscale)
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
|
|
||||||
typedef struct RangeCoder{
|
typedef struct RangeCoder{
|
||||||
int low;
|
int low;
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#ifndef FFMPEG_RECTANGLE_H
|
#ifndef FFMPEG_RECTANGLE_H
|
||||||
#define FFMPEG_RECTANGLE_H
|
#define FFMPEG_RECTANGLE_H
|
||||||
|
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* fill a rectangle.
|
* fill a rectangle.
|
||||||
|
@ -22,9 +22,9 @@
|
|||||||
#ifndef FFMPEG_ROQVIDEO_H
|
#ifndef FFMPEG_ROQVIDEO_H
|
||||||
#define FFMPEG_ROQVIDEO_H
|
#define FFMPEG_ROQVIDEO_H
|
||||||
|
|
||||||
|
#include "libavutil/random.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
#include "random.h"
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
unsigned char y[4];
|
unsigned char y[4];
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
* License along with FFmpeg; if not, write to the Free Software
|
* License along with FFmpeg; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
#include "common.h"
|
#include "libavutil/common.h"
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
#include "rtjpeg.h"
|
#include "rtjpeg.h"
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "avcodec.h"
|
#include "libavcodec/avcodec.h"
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
|
|
||||||
#define LP(p) *(uint32_t*)(p)
|
#define LP(p) *(uint32_t*)(p)
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "avcodec.h"
|
#include "libavcodec/avcodec.h"
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
static void memzero_align8(void *dst,size_t size)
|
static void memzero_align8(void *dst,size_t size)
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#define c1 1.38703984532214752434 /* sqrt(2)*cos(1*pi/16) */
|
#define c1 1.38703984532214752434 /* sqrt(2)*cos(1*pi/16) */
|
||||||
#define c2 1.30656296487637657577 /* sqrt(2)*cos(2*pi/16) */
|
#define c2 1.30656296487637657577 /* sqrt(2)*cos(2*pi/16) */
|
||||||
#define c3 1.17587560241935884520 /* sqrt(2)*cos(3*pi/16) */
|
#define c3 1.17587560241935884520 /* sqrt(2)*cos(3*pi/16) */
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
#include "vis.h"
|
#include "vis.h"
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
|
|
||||||
static const DECLARE_ALIGNED_8(int16_t, coeffs[28]) = {
|
static const DECLARE_ALIGNED_8(int16_t, coeffs[28]) = {
|
||||||
- 1259,- 1259,- 1259,- 1259,
|
- 1259,- 1259,- 1259,- 1259,
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user