1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 22:30:22 +00:00

linux->osdep

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2003-02-09 20:18:23 +00:00
parent c98692a0bf
commit 7ff83a7181
45 changed files with 39 additions and 39 deletions

View File

@ -8,7 +8,7 @@
#include <gtk/gtk.h>
#include "../../config.h"
#include "../../linux/shmem.h"
#include "../../osdep/shmem.h"
#include "play.h"
#include "mplayer.h"
#include "../interface.h"

View File

@ -36,7 +36,7 @@ OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o)
VO_LIBS = $(AA_LIB) $(X_LIB) $(SDL_LIB) $(GGI_LIB) $(MP1E_LIB) $(MLIB_LIB) $(SVGA_LIB) $(DIRECTFB_LIB)
AO_LIBS = $(ARTS_LIB) $(ESD_LIB) $(NAS_LIB) $(SGIAUDIO_LIB)
CODEC_LIBS = $(AV_LIB) $(FAME_LIB) $(MAD_LIB) $(VORBIS_LIB) $(FAAD_LIB) $(LIBLZO_LIB) $(DECORE_LIB) $(XVID_LIB) $(PNG_LIB) $(Z_LIB) $(JPEG_LIB) $(ALSA_LIB) $(XMMS_LIB)
COMMON_LIBS = libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a $(W32_LIB) $(DS_LIB) libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a $(PP_LIB) postproc/libswscale.a linux/libosdep.a $(CSS_LIB) $(CODEC_LIBS) $(FREETYPE_LIB) $(TERMCAP_LIB) $(CDPARANOIA_LIB) $(STREAMING_LIB) $(WIN32_LIB) $(GIF_LIB)
COMMON_LIBS = libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a $(W32_LIB) $(DS_LIB) libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a $(PP_LIB) postproc/libswscale.a osdep/libosdep.a $(CSS_LIB) $(CODEC_LIBS) $(FREETYPE_LIB) $(TERMCAP_LIB) $(CDPARANOIA_LIB) $(STREAMING_LIB) $(WIN32_LIB) $(GIF_LIB)
CFLAGS = $(OPTFLAGS) -Ilibmpdemux -Iloader -Ilibvo $(FREETYPE_INC) $(EXTRA_INC) $(CDPARANOIA_INC) $(SDL_INC) # -Wall
@ -48,7 +48,7 @@ CFLAGS += -maltivec -mabi=altivec
endif
endif
PARTS = libmpdemux libmpcodecs mp3lib liba52 libmpeg2 libavcodec libao2 drivers linux postproc input libvo libaf
PARTS = libmpdemux libmpcodecs mp3lib liba52 libmpeg2 libavcodec libao2 drivers osdep postproc input libvo libaf
ifeq ($(VIDIX),yes)
PARTS += libdha vidix
endif
@ -80,7 +80,7 @@ ifeq ($(CSS_USE),yes)
ALL_PRG += $(PRG_FIBMAP)
endif
COMMON_DEPS = $(W32_DEP) $(DS_DEP) $(MP1E_DEP) $(AV_DEP) libmpdemux/libmpdemux.a libmpcodecs/libmpcodecs.a libao2/libao2.a liba52/liba52.a mp3lib/libMP3.a libmpeg2/libmpeg2.a linux/libosdep.a postproc/libswscale.a input/libinput.a libvo/libvo.a libaf/libaf.a
COMMON_DEPS = $(W32_DEP) $(DS_DEP) $(MP1E_DEP) $(AV_DEP) libmpdemux/libmpdemux.a libmpcodecs/libmpcodecs.a libao2/libao2.a liba52/liba52.a mp3lib/libMP3.a libmpeg2/libmpeg2.a osdep/libosdep.a postproc/libswscale.a input/libinput.a libvo/libvo.a libaf/libaf.a
ifeq (($SHARED_PP),yes)
COMMON_DEPS += postproc/libpostproc.so
else
@ -170,8 +170,8 @@ vidix/libvidix.a:
Gui/libgui.a:
$(MAKE) -C Gui
linux/libosdep.a:
$(MAKE) -C linux
osdep/libosdep.a:
$(MAKE) -C osdep
postproc/libswscale.a:
$(MAKE) -C postproc

View File

@ -1,5 +1,5 @@
// gcc cache2.c ../linux/shmem.o -o cache2
// gcc cache2.c ../osdep/shmem.o -o cache2
// Initial draft of my new cache system...
// includes some simulation code, using usleep() to emulate limited bandwith
@ -11,7 +11,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../linux/shmem.h"
#include "../osdep/shmem.h"
typedef struct {
// constats:

View File

@ -21,9 +21,9 @@
#ifdef MP_DEBUG
#include <assert.h>
#endif
#include "../linux/getch2.h"
#include "../linux/keycodes.h"
#include "../linux/timer.h"
#include "../osdep/getch2.h"
#include "../osdep/keycodes.h"
#include "../osdep/timer.h"
#include "../mp_msg.h"
#include "../cfgparser.h"

View File

@ -9,7 +9,7 @@
#include "../libvo/osd.h"
#include "../libvo/font_load.h"
#include "../linux/keycodes.h"
#include "../osdep/keycodes.h"
#include "../asxparser.h"
#include "../libmpdemux/stream.h"

View File

@ -19,9 +19,9 @@
#include "menu.h"
#include "../libvo/font_load.h"
#include "../linux/keycodes.h"
#include "../osdep/keycodes.h"
#include "../input/input.h"
#include "../linux/timer.h"
#include "../osdep/timer.h"
typedef struct history_st history_t;

View File

@ -22,7 +22,7 @@
#include "menu.h"
#include "menu_list.h"
#include "../input/input.h"
#include "../linux/keycodes.h"
#include "../osdep/keycodes.h"
struct list_entry_s {
struct list_entry p;

View File

@ -13,7 +13,7 @@
#include "menu.h"
#include "../libvo/font_load.h"
#include "../linux/keycodes.h"
#include "../osdep/keycodes.h"
#define IMPL 1
#include "menu_list.h"

View File

@ -22,7 +22,7 @@
#include "menu.h"
#include "menu_list.h"
#include "../input/input.h"
#include "../linux/keycodes.h"
#include "../osdep/keycodes.h"
struct list_entry_s {
struct list_entry p;

View File

@ -13,7 +13,7 @@
#include "menu.h"
#include "../libvo/font_load.h"
#include "../linux/keycodes.h"
#include "../osdep/keycodes.h"
struct menu_priv_s {
char** lines;

View File

@ -11,8 +11,8 @@
#include "mp_msg.h"
#include "help_mp.h"
#include "linux/timer.h"
#include "linux/shmem.h"
#include "osdep/timer.h"
#include "osdep/shmem.h"
#include "stream.h"
#include "demuxer.h"

View File

@ -40,7 +40,7 @@ LIBVD_EXTERN(xanim)
#include "mp_msg.h"
#include "bswap.h"
#include "linux/timer.h"
#include "osdep/timer.h"
#include "libvo/fastmemcpy.h"
#if 0

View File

@ -17,7 +17,7 @@
#include <sys/types.h>
#include <unistd.h>
#include "../linux/shmem.h"
#include "../osdep/shmem.h"
#include "mp_msg.h"

View File

@ -7,7 +7,7 @@
#include <unistd.h>
#include <string.h>
#include "mp_msg.h"
#include "../linux/timer.h"
#include "../osdep/timer.h"
#include "../input/input.h"
#include "stream.h"
#include "dvdnav_stream.h"

View File

@ -13,7 +13,7 @@
#include "config.h"
#include "mp_msg.h"
#include "help_mp.h"
#include "../linux/shmem.h"
#include "../osdep/shmem.h"
#include "stream.h"
#include "demuxer.h"

View File

@ -1,7 +1,7 @@
#ifndef __GTF_H
#define __GTF_H
#include "linux/vbelib.h"
#include "osdep/vbelib.h"
#define GTF_VF 0
#define GTF_HF 1

View File

@ -15,7 +15,7 @@
#include "mp_msg.h"
#include "help_mp.h"
#include "../linux/shmem.h"
#include "../osdep/shmem.h"
//int vo_flags=0;

View File

@ -31,7 +31,7 @@
#include "font_load.h"
#include "sub.h"
#include "linux/keycodes.h"
#include "osdep/keycodes.h"
#include <aalib.h>
#include "cfgparser.h"
#include "mp_msg.h"

View File

@ -1058,7 +1058,7 @@ control( uint32_t request, void *data, ... )
extern void mplayer_put_key( int code );
#include "../linux/keycodes.h"
#include "../osdep/keycodes.h"
static void
check_events( void )

View File

@ -1411,7 +1411,7 @@ static uint32_t draw_slice(uint8_t *src[], int stride[], int w, int h, int x, in
extern void mplayer_put_key(int code);
#include "../linux/keycodes.h"
#include "../osdep/keycodes.h"
static void check_events(void)
{

View File

@ -675,7 +675,7 @@ return 0;
extern void mplayer_put_key(int code);
#include "../linux/keycodes.h"
#include "../osdep/keycodes.h"
static void check_events(void)
{

View File

@ -28,7 +28,7 @@
#include "video_out_internal.h"
#include "fastmemcpy.h"
#include "../input/input.h"
#include "../linux/keycodes.h"
#include "../osdep/keycodes.h"
#include "../mp_msg.h"
#include "aspect.h"

View File

@ -531,7 +531,7 @@ static uint32_t control(uint32_t request, void *data, ...)
}
/* EVENT handling */
#include "../linux/keycodes.h"
#include "../osdep/keycodes.h"
extern void mplayer_put_key(int code);
static void check_events(void)

View File

@ -1159,7 +1159,7 @@ static uint32_t draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int
* returns : doesn't return
**/
#include "../linux/keycodes.h"
#include "../osdep/keycodes.h"
extern void mplayer_put_key(int code);
#define shift_key (event.key.keysym.mod==(KMOD_LSHIFT||KMOD_RSHIFT))

View File

@ -36,7 +36,7 @@
#include "fastmemcpy.h"
#include "sub.h"
#include "linux/vbelib.h"
#include "osdep/vbelib.h"
#include "bswap.h"
#include "aspect.h"
#include "vesa_lvo.h"

View File

@ -38,7 +38,7 @@
#include "aspect.h"
#ifdef SHOW_TIME
#include "../linux/timer.h"
#include "../osdep/timer.h"
static unsigned int timer=0;
static unsigned int timerd=0;
#endif

View File

@ -399,7 +399,7 @@ void vo_uninit( void )
mDisplay=NULL;
}
#include "../linux/keycodes.h"
#include "../osdep/keycodes.h"
#include "wskeys.h"
extern void mplayer_put_key(int code);

View File

@ -75,7 +75,7 @@ static char* banner_text=
#include "libvo/fastmemcpy.h"
#include "linux/timer.h"
#include "osdep/timer.h"
int vo_doublebuffering=0;
int vo_directrendering=0;

View File

@ -64,8 +64,8 @@
#include "spudec.h"
#include "vobsub.h"
#include "linux/getch2.h"
#include "linux/timer.h"
#include "osdep/getch2.h"
#include "osdep/timer.h"
#include "cpudetect.h"