Navigation Menu

Skip to content

Commit

Permalink
Use full path for #includes from another directory.
Browse files Browse the repository at this point in the history
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
  • Loading branch information
DonDiego committed May 9, 2008
1 parent 86b2d47 commit 245976d
Show file tree
Hide file tree
Showing 192 changed files with 351 additions and 319 deletions.
10 changes: 5 additions & 5 deletions cmdutils.c
Expand Up @@ -25,14 +25,14 @@
#include <math.h>

#include "config.h"
#include "avformat.h"
#include "avfilter.h"
#include "avdevice.h"
#include "libavformat/avformat.h"
#include "libavfilter/avfilter.h"
#include "libavdevice/avdevice.h"
#include "libavutil/avstring.h"
#include "cmdutils.h"
#include "avstring.h"
#include "version.h"
#ifdef CONFIG_NETWORK
#include "network.h"
#include "libavformat/network.h"
#endif

#undef exit
Expand Down
16 changes: 8 additions & 8 deletions ffmpeg.c
Expand Up @@ -27,14 +27,14 @@
#include <errno.h>
#include <signal.h>
#include <limits.h>
#include "avformat.h"
#include "avdevice.h"
#include "swscale.h"
#include "framehook.h"
#include "opt.h"
#include "fifo.h"
#include "avstring.h"
#include "os_support.h"
#include "libavformat/avformat.h"
#include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"
#include "libavformat/framehook.h"
#include "libavcodec/opt.h"
#include "libavutil/fifo.h"
#include "libavutil/avstring.h"
#include "libavformat/os_support.h"

#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
Expand Down
10 changes: 5 additions & 5 deletions ffplay.c
Expand Up @@ -21,11 +21,11 @@

#include <math.h>
#include <limits.h>
#include "avformat.h"
#include "avdevice.h"
#include "rtsp.h"
#include "swscale.h"
#include "avstring.h"
#include "libavutil/avstring.h"
#include "libavformat/avformat.h"
#include "libavformat/rtsp.h"
#include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"

#include "version.h"
#include "cmdutils.h"
Expand Down
14 changes: 7 additions & 7 deletions ffserver.c
Expand Up @@ -25,10 +25,13 @@
#endif
#include <string.h>
#include <stdlib.h>
#include "avformat.h"
#include "rtsp.h"
#include "rtp.h"
#include "os_support.h"
#include "libavutil/random.h"
#include "libavutil/avstring.h"
#include "libavformat/avformat.h"
#include "libavformat/network.h"
#include "libavformat/os_support.h"
#include "libavformat/rtp.h"
#include "libavformat/rtsp.h"

#include <stdarg.h>
#include <unistd.h>
Expand All @@ -47,11 +50,8 @@
#include <dlfcn.h>
#endif

#include "network.h"
#include "version.h"
#include "ffserver.h"
#include "random.h"
#include "avstring.h"
#include "cmdutils.h"

#undef exit
Expand Down
4 changes: 2 additions & 2 deletions libavcodec/ac3dec.c
Expand Up @@ -32,12 +32,12 @@
#include <math.h>
#include <string.h>

#include "libavutil/crc.h"
#include "libavutil/random.h"
#include "avcodec.h"
#include "ac3_parser.h"
#include "bitstream.h"
#include "crc.h"
#include "dsputil.h"
#include "random.h"

/** Maximum possible frame size when the specification limit is ignored */
#define AC3_MAX_FRAME_SIZE 21695
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/ac3enc.c
Expand Up @@ -25,9 +25,9 @@
*/
//#define DEBUG
//#define DEBUG_BITALLOC
#include "libavutil/crc.h"
#include "avcodec.h"
#include "bitstream.h"
#include "crc.h"
#include "ac3.h"

typedef struct AC3EncodeContext {
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/ac3tab.h
Expand Up @@ -22,7 +22,7 @@
#ifndef 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 uint8_t ff_ac3_channels_tab[8];
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/alpha/dsputil_alpha.c
Expand Up @@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavcodec/dsputil.h"
#include "asm.h"
#include "dsputil.h"

extern void simple_idct_axp(DCTELEM *block);
extern void simple_idct_put_axp(uint8_t *dest, int line_size, DCTELEM *block);
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/alpha/motion_est_alpha.c
Expand Up @@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavcodec/dsputil.h"
#include "asm.h"
#include "dsputil.h"

void get_pixels_mvi(DCTELEM *restrict block,
const uint8_t *restrict pixels, int line_size)
Expand Down
4 changes: 2 additions & 2 deletions libavcodec/alpha/mpegvideo_alpha.c
Expand Up @@ -19,9 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavcodec/dsputil.h"
#include "libavcodec/mpegvideo.h"
#include "asm.h"
#include "dsputil.h"
#include "mpegvideo.h"

static void dct_unquantize_h263_intra_axp(MpegEncContext *s, DCTELEM *block,
int n, int qscale)
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/alpha/simple_idct_alpha.c
Expand Up @@ -26,8 +26,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavcodec/dsputil.h"
#include "asm.h"
#include "dsputil.h"

extern void (*put_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels,
int line_size);
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/armv4l/dsputil_arm.c
Expand Up @@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "dsputil.h"
#include "libavcodec/dsputil.h"
#ifdef HAVE_IPP
#include <ipp.h>
#endif
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/armv4l/dsputil_iwmmxt.c
Expand Up @@ -19,7 +19,7 @@
* 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 SET_RND(regd) asm volatile ("mov r12, #1 \n\t tbcsth " #regd ", r12":::"r12");
Expand Down
6 changes: 3 additions & 3 deletions libavcodec/armv4l/mpegvideo_arm.c
Expand Up @@ -18,9 +18,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "dsputil.h"
#include "mpegvideo.h"
#include "avcodec.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/dsputil.h"
#include "libavcodec/mpegvideo.h"

extern void MPV_common_init_iwmmxt(MpegEncContext *s);
extern void MPV_common_init_armv5te(MpegEncContext *s);
Expand Down
6 changes: 3 additions & 3 deletions libavcodec/armv4l/mpegvideo_armv5te.c
Expand Up @@ -19,9 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "dsputil.h"
#include "mpegvideo.h"
#include "avcodec.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/dsputil.h"
#include "libavcodec/mpegvideo.h"


#ifdef ENABLE_ARM_TESTS
Expand Down
6 changes: 3 additions & 3 deletions libavcodec/armv4l/mpegvideo_iwmmxt.c
Expand Up @@ -18,9 +18,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "dsputil.h"
#include "mpegvideo.h"
#include "avcodec.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/dsputil.h"
#include "libavcodec/mpegvideo.h"

static void dct_unquantize_h263_intra_iwmmxt(MpegEncContext *s,
DCTELEM *block, int n, int qscale)
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/bethsoftvideo.c
Expand Up @@ -27,7 +27,7 @@
* @sa http://www.svatopluk.com/andux/docs/dfvid.html
*/

#include "common.h"
#include "libavutil/common.h"
#include "dsputil.h"
#include "bethsoftvideo.h"
#include "bytestream.h"
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/bfi.c
Expand Up @@ -26,8 +26,8 @@
* @sa http://wiki.multimedia.cx/index.php?title=BFI
*/

#include "libavutil/common.h"
#include "avcodec.h"
#include "common.h"
#include "bytestream.h"

typedef struct BFIContext {
Expand Down
4 changes: 2 additions & 2 deletions libavcodec/bfin/dsputil_bfin.c
Expand Up @@ -22,8 +22,8 @@
*/

#include <unistd.h>
#include "avcodec.h"
#include "dsputil.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/dsputil.h"
#include "dsputil_bfin.h"

int off;
Expand Down
6 changes: 3 additions & 3 deletions libavcodec/bfin/mpegvideo_bfin.c
Expand Up @@ -20,9 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "dsputil.h"
#include "mpegvideo.h"
#include "avcodec.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/dsputil.h"
#include "libavcodec/mpegvideo.h"
#include "dsputil_bfin.h"


Expand Down
4 changes: 2 additions & 2 deletions libavcodec/bfin/vp3_bfin.c
Expand Up @@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "avcodec.h"
#include "dsputil.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/dsputil.h"
#include "dsputil_bfin.h"

extern void ff_bfin_vp3_idct (DCTELEM *block) attribute_l1_text;
Expand Down
8 changes: 4 additions & 4 deletions libavcodec/bitstream.h
Expand Up @@ -29,10 +29,10 @@
#include <stdint.h>
#include <stdlib.h>
#include <assert.h>
#include "common.h"
#include "bswap.h"
#include "intreadwrite.h"
#include "log.h"
#include "libavutil/bswap.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/log.h"

#if defined(ALT_BITSTREAM_READER_LE) && !defined(ALT_BITSTREAM_READER)
# define ALT_BITSTREAM_READER
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/bytestream.h
Expand Up @@ -22,7 +22,7 @@
#ifndef FFMPEG_BYTESTREAM_H
#define FFMPEG_BYTESTREAM_H

#include "common.h"
#include "libavutil/common.h"

#define DEF_T(type, name, bytes, read, write) \
static av_always_inline type bytestream_get_ ## name(const uint8_t **b){\
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/cabac.c
Expand Up @@ -26,7 +26,7 @@

#include <string.h>

#include "common.h"
#include "libavutil/common.h"
#include "bitstream.h"
#include "cabac.h"

Expand Down
2 changes: 1 addition & 1 deletion libavcodec/cabac.h
Expand Up @@ -32,7 +32,7 @@
//#undef NDEBUG
#include <assert.h>
#ifdef ARCH_X86
#include "x86_cpu.h"
#include "libavutil/x86_cpu.h"
#endif

#define CABAC_BITS 16
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/cook.c
Expand Up @@ -46,11 +46,11 @@
#include <stddef.h>
#include <stdio.h>

#include "libavutil/random.h"
#include "avcodec.h"
#include "bitstream.h"
#include "dsputil.h"
#include "bytestream.h"
#include "random.h"

#include "cookdata.h"

Expand Down
2 changes: 1 addition & 1 deletion libavcodec/cscd.c
Expand Up @@ -26,7 +26,7 @@
#ifdef CONFIG_ZLIB
#include <zlib.h>
#endif
#include "lzo.h"
#include "libavutil/lzo.h"

typedef struct {
AVFrame pic;
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/dvdata.h
Expand Up @@ -27,8 +27,8 @@
#ifndef FFMPEG_DVDATA_H
#define FFMPEG_DVDATA_H

#include "libavutil/rational.h"
#include "avcodec.h"
#include "rational.h"

/*
* DVprofile is used to express the differences between various
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/elbg.c
Expand Up @@ -25,9 +25,9 @@

#include <string.h>

#include "libavutil/random.h"
#include "elbg.h"
#include "avcodec.h"
#include "random.h"

#define DELTA_ERR_MAX 0.1 ///< Precision of the ELBG algorithm (as percentual error)

Expand Down
2 changes: 1 addition & 1 deletion libavcodec/elbg.h
Expand Up @@ -21,7 +21,7 @@
#ifndef FFMPEG_ELBG_H
#define FFMPEG_ELBG_H

#include "random.h"
#include "libavutil/random.h"

/**
* Implementation of the Enhanced LBG Algorithm
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/flac.c
Expand Up @@ -36,10 +36,10 @@
#include <limits.h>

#define ALT_BITSTREAM_READER
#include "libavutil/crc.h"
#include "avcodec.h"
#include "bitstream.h"
#include "golomb.h"
#include "crc.h"
#include "flac.h"

#undef NDEBUG
Expand Down
4 changes: 2 additions & 2 deletions libavcodec/flacenc.c
Expand Up @@ -19,12 +19,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/crc.h"
#include "libavutil/lls.h"
#include "avcodec.h"
#include "bitstream.h"
#include "crc.h"
#include "dsputil.h"
#include "golomb.h"
#include "lls.h"

#define FLAC_MAX_CH 8
#define FLAC_MIN_BLOCKSIZE 16
Expand Down

0 comments on commit 245976d

Please sign in to comment.