mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-26 12:50:19 +00:00
sub/OSD: move some related files to sub/
This commit is contained in:
28
Makefile
28
Makefile
@@ -27,7 +27,7 @@ SRCS_AUDIO_INPUT-$(ALSA1X) += stream/ai_alsa1x.c
|
|||||||
SRCS_AUDIO_INPUT-$(ALSA9) += stream/ai_alsa.c
|
SRCS_AUDIO_INPUT-$(ALSA9) += stream/ai_alsa.c
|
||||||
SRCS_AUDIO_INPUT-$(OSS) += stream/ai_oss.c
|
SRCS_AUDIO_INPUT-$(OSS) += stream/ai_oss.c
|
||||||
SRCS_COMMON-$(AUDIO_INPUT) += $(SRCS_AUDIO_INPUT-yes)
|
SRCS_COMMON-$(AUDIO_INPUT) += $(SRCS_AUDIO_INPUT-yes)
|
||||||
SRCS_COMMON-$(BITMAP_FONT) += libvo/font_load.c
|
SRCS_COMMON-$(BITMAP_FONT) += sub/font_load.c
|
||||||
SRCS_COMMON-$(CDDA) += stream/stream_cdda.c \
|
SRCS_COMMON-$(CDDA) += stream/stream_cdda.c \
|
||||||
stream/cdinfo.c
|
stream/cdinfo.c
|
||||||
SRCS_COMMON-$(CDDB) += stream/stream_cddb.c
|
SRCS_COMMON-$(CDDB) += stream/stream_cddb.c
|
||||||
@@ -101,7 +101,6 @@ SRCS_COMMON-$(FASTMEMCPY) += libvo/aclib.c
|
|||||||
SRCS_COMMON-$(FFMPEG) += libmpcodecs/vf_pp.c \
|
SRCS_COMMON-$(FFMPEG) += libmpcodecs/vf_pp.c \
|
||||||
av_opts.c \
|
av_opts.c \
|
||||||
libaf/af_lavcac3enc.c \
|
libaf/af_lavcac3enc.c \
|
||||||
av_sub.c \
|
|
||||||
libaf/af_lavcresample.c \
|
libaf/af_lavcresample.c \
|
||||||
libmpcodecs/ad_ffmpeg.c \
|
libmpcodecs/ad_ffmpeg.c \
|
||||||
libmpcodecs/vd_ffmpeg.c \
|
libmpcodecs/vd_ffmpeg.c \
|
||||||
@@ -111,6 +110,7 @@ SRCS_COMMON-$(FFMPEG) += libmpcodecs/vf_pp.c \
|
|||||||
libmpcodecs/vf_uspp.c \
|
libmpcodecs/vf_uspp.c \
|
||||||
libmpdemux/demux_lavf.c \
|
libmpdemux/demux_lavf.c \
|
||||||
stream/stream_ffmpeg.c \
|
stream/stream_ffmpeg.c \
|
||||||
|
sub/av_sub.c \
|
||||||
|
|
||||||
# Requires a new enough libavutil that installs eval.h
|
# Requires a new enough libavutil that installs eval.h
|
||||||
SRCS_COMMON-$(FFMPEG_EVAL_API) += libmpcodecs/vf_geq.c \
|
SRCS_COMMON-$(FFMPEG_EVAL_API) += libmpcodecs/vf_geq.c \
|
||||||
@@ -122,7 +122,7 @@ SRCS_COMMON-$(FFMPEG_INTERNALS) += libmpcodecs/vf_fspp.c \
|
|||||||
libmpcodecs/vf_qp.c \
|
libmpcodecs/vf_qp.c \
|
||||||
libmpcodecs/vf_spp.c \
|
libmpcodecs/vf_spp.c \
|
||||||
|
|
||||||
SRCS_COMMON-$(FREETYPE) += libvo/font_load_ft.c
|
SRCS_COMMON-$(FREETYPE) += sub/font_load_ft.c
|
||||||
SRCS_COMMON-$(FTP) += stream/stream_ftp.c
|
SRCS_COMMON-$(FTP) += stream/stream_ftp.c
|
||||||
SRCS_COMMON-$(GIF) += libmpdemux/demux_gif.c
|
SRCS_COMMON-$(GIF) += libmpdemux/demux_gif.c
|
||||||
SRCS_COMMON-$(HAVE_POSIX_SELECT) += libmpcodecs/vf_bmovl.c
|
SRCS_COMMON-$(HAVE_POSIX_SELECT) += libmpcodecs/vf_bmovl.c
|
||||||
@@ -130,8 +130,8 @@ SRCS_COMMON-$(HAVE_SYS_MMAN_H) += libaf/af_export.c osdep/mmap_anon.c
|
|||||||
SRCS_COMMON-$(JPEG) += libmpcodecs/vd_ijpg.c
|
SRCS_COMMON-$(JPEG) += libmpcodecs/vd_ijpg.c
|
||||||
SRCS_COMMON-$(LADSPA) += libaf/af_ladspa.c
|
SRCS_COMMON-$(LADSPA) += libaf/af_ladspa.c
|
||||||
SRCS_COMMON-$(LIBA52) += libmpcodecs/ad_liba52.c
|
SRCS_COMMON-$(LIBA52) += libmpcodecs/ad_liba52.c
|
||||||
SRCS_COMMON-$(LIBASS) += ass_mp.c \
|
SRCS_COMMON-$(LIBASS) += libmpcodecs/vf_ass.c \
|
||||||
libmpcodecs/vf_ass.c \
|
sub/ass_mp.c \
|
||||||
sub/sd_ass.c \
|
sub/sd_ass.c \
|
||||||
|
|
||||||
SRCS_COMMON-$(LIBBLURAY) += stream/stream_bluray.c
|
SRCS_COMMON-$(LIBBLURAY) += stream/stream_bluray.c
|
||||||
@@ -269,7 +269,7 @@ SRCS_COMMON-$(TV_DSHOW) += stream/tvi_dshow.c \
|
|||||||
|
|
||||||
SRCS_COMMON-$(TV_V4L1) += stream/tvi_v4l.c stream/audio_in.c
|
SRCS_COMMON-$(TV_V4L1) += stream/tvi_v4l.c stream/audio_in.c
|
||||||
SRCS_COMMON-$(TV_V4L2) += stream/tvi_v4l2.c stream/audio_in.c
|
SRCS_COMMON-$(TV_V4L2) += stream/tvi_v4l2.c stream/audio_in.c
|
||||||
SRCS_COMMON-$(UNRAR_EXEC) += unrar_exec.c
|
SRCS_COMMON-$(UNRAR_EXEC) += sub/unrar_exec.c
|
||||||
SRCS_COMMON-$(VCD) += stream/stream_vcd.c
|
SRCS_COMMON-$(VCD) += stream/stream_vcd.c
|
||||||
SRCS_COMMON-$(VORBIS) += libmpcodecs/ad_libvorbis.c \
|
SRCS_COMMON-$(VORBIS) += libmpcodecs/ad_libvorbis.c \
|
||||||
libmpdemux/demux_ogg.c
|
libmpdemux/demux_ogg.c
|
||||||
@@ -328,7 +328,6 @@ SRCS_COMMON = asxparser.c \
|
|||||||
cpudetect.c \
|
cpudetect.c \
|
||||||
defaultopts.c \
|
defaultopts.c \
|
||||||
edl.c \
|
edl.c \
|
||||||
find_sub.c \
|
|
||||||
fmt-conversion.c \
|
fmt-conversion.c \
|
||||||
m_config.c \
|
m_config.c \
|
||||||
m_option.c \
|
m_option.c \
|
||||||
@@ -339,12 +338,8 @@ SRCS_COMMON = asxparser.c \
|
|||||||
path.c \
|
path.c \
|
||||||
playtree.c \
|
playtree.c \
|
||||||
playtreeparser.c \
|
playtreeparser.c \
|
||||||
spudec.c \
|
|
||||||
sub_cc.c \
|
|
||||||
subopt-helper.c \
|
subopt-helper.c \
|
||||||
subreader.c \
|
|
||||||
talloc.c \
|
talloc.c \
|
||||||
vobsub.c \
|
|
||||||
libaf/af.c \
|
libaf/af.c \
|
||||||
libaf/af_center.c \
|
libaf/af_center.c \
|
||||||
libaf/af_channels.c \
|
libaf/af_channels.c \
|
||||||
@@ -504,7 +499,6 @@ SRCS_COMMON = asxparser.c \
|
|||||||
libmpdemux/yuv4mpeg.c \
|
libmpdemux/yuv4mpeg.c \
|
||||||
libmpdemux/yuv4mpeg_ratio.c \
|
libmpdemux/yuv4mpeg_ratio.c \
|
||||||
libvo/osd.c \
|
libvo/osd.c \
|
||||||
libvo/sub.c \
|
|
||||||
osdep/findfiles.c \
|
osdep/findfiles.c \
|
||||||
osdep/numcores.c \
|
osdep/numcores.c \
|
||||||
osdep/$(GETCH) \
|
osdep/$(GETCH) \
|
||||||
@@ -516,8 +510,14 @@ SRCS_COMMON = asxparser.c \
|
|||||||
stream/stream_mf.c \
|
stream/stream_mf.c \
|
||||||
stream/stream_null.c \
|
stream/stream_null.c \
|
||||||
stream/url.c \
|
stream/url.c \
|
||||||
|
sub/sub.c \
|
||||||
|
sub/sub_cc.c \
|
||||||
sub/dec_sub.c \
|
sub/dec_sub.c \
|
||||||
|
sub/find_sub.c \
|
||||||
|
sub/spudec.c \
|
||||||
sub/subassconvert.c \
|
sub/subassconvert.c \
|
||||||
|
sub/subreader.c \
|
||||||
|
sub/vobsub.c \
|
||||||
$(SRCS_COMMON-yes)
|
$(SRCS_COMMON-yes)
|
||||||
|
|
||||||
|
|
||||||
@@ -917,8 +917,8 @@ toolsclean:
|
|||||||
|
|
||||||
TOOLS/bmovl-test$(EXESUF): -lSDL_image
|
TOOLS/bmovl-test$(EXESUF): -lSDL_image
|
||||||
|
|
||||||
TOOLS/subrip$(EXESUF): vobsub.o spudec.o unrar_exec.o libvo/aclib.o \
|
TOOLS/subrip$(EXESUF): sub/vobsub.o sub/spudec.o sub/unrar_exec.o \
|
||||||
libswscale/libswscale.a libavutil/libavutil.a $(TEST_OBJS)
|
libvo/aclib.o \ libswscale/libswscale.a libavutil/libavutil.a $(TEST_OBJS)
|
||||||
|
|
||||||
TOOLS/vfw2menc$(EXESUF): -lwinmm -lole32
|
TOOLS/vfw2menc$(EXESUF): -lwinmm -lole32
|
||||||
|
|
||||||
|
|||||||
@@ -31,8 +31,8 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include "libvo/video_out.h"
|
#include "libvo/video_out.h"
|
||||||
#include "vobsub.h"
|
#include "sub/vobsub.h"
|
||||||
#include "spudec.h"
|
#include "sub/spudec.h"
|
||||||
|
|
||||||
/* linking hacks */
|
/* linking hacks */
|
||||||
char *mplayer_version;
|
char *mplayer_version;
|
||||||
|
|||||||
10
command.c
10
command.c
@@ -31,7 +31,7 @@
|
|||||||
#include "libmpdemux/stheader.h"
|
#include "libmpdemux/stheader.h"
|
||||||
#include "codec-cfg.h"
|
#include "codec-cfg.h"
|
||||||
#include "mplayer.h"
|
#include "mplayer.h"
|
||||||
#include "libvo/sub.h"
|
#include "sub/sub.h"
|
||||||
#include "sub/dec_sub.h"
|
#include "sub/dec_sub.h"
|
||||||
#include "m_option.h"
|
#include "m_option.h"
|
||||||
#include "m_property.h"
|
#include "m_property.h"
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
#include "libmpcodecs/vd.h"
|
#include "libmpcodecs/vd.h"
|
||||||
#include "mp_osd.h"
|
#include "mp_osd.h"
|
||||||
#include "libvo/video_out.h"
|
#include "libvo/video_out.h"
|
||||||
#include "libvo/font_load.h"
|
#include "sub/font_load.h"
|
||||||
#include "playtree.h"
|
#include "playtree.h"
|
||||||
#include "libao2/audio_out.h"
|
#include "libao2/audio_out.h"
|
||||||
#include "mpcommon.h"
|
#include "mpcommon.h"
|
||||||
@@ -49,10 +49,10 @@
|
|||||||
#include "libmpcodecs/dec_video.h"
|
#include "libmpcodecs/dec_video.h"
|
||||||
#include "libmpcodecs/dec_audio.h"
|
#include "libmpcodecs/dec_audio.h"
|
||||||
#include "libmpcodecs/dec_teletext.h"
|
#include "libmpcodecs/dec_teletext.h"
|
||||||
#include "vobsub.h"
|
#include "sub/vobsub.h"
|
||||||
#include "spudec.h"
|
#include "sub/spudec.h"
|
||||||
#include "path.h"
|
#include "path.h"
|
||||||
#include "ass_mp.h"
|
#include "sub/ass_mp.h"
|
||||||
#include "stream/tv.h"
|
#include "stream/tv.h"
|
||||||
#include "stream/stream_radio.h"
|
#include "stream/stream_radio.h"
|
||||||
#include "stream/pvr.h"
|
#include "stream/pvr.h"
|
||||||
|
|||||||
@@ -26,8 +26,8 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "libvo/osd.h"
|
#include "libvo/osd.h"
|
||||||
#include "libvo/font_load.h"
|
#include "sub/font_load.h"
|
||||||
#include "libvo/sub.h"
|
#include "sub/sub.h"
|
||||||
#include "osdep/keycodes.h"
|
#include "osdep/keycodes.h"
|
||||||
#include "asxparser.h"
|
#include "asxparser.h"
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
#include "menu_list.h"
|
#include "menu_list.h"
|
||||||
|
|
||||||
#include "libvo/font_load.h"
|
#include "sub/font_load.h"
|
||||||
|
|
||||||
#include "input/input.h"
|
#include "input/input.h"
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
#include "m_option.h"
|
#include "m_option.h"
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
|
|
||||||
#include "libvo/font_load.h"
|
#include "sub/font_load.h"
|
||||||
#include "osdep/keycodes.h"
|
#include "osdep/keycodes.h"
|
||||||
#include "input/input.h"
|
#include "input/input.h"
|
||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
#include "m_struct.h"
|
#include "m_struct.h"
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
|
|
||||||
#include "libvo/font_load.h"
|
#include "sub/font_load.h"
|
||||||
#include "osdep/keycodes.h"
|
#include "osdep/keycodes.h"
|
||||||
|
|
||||||
#define IMPL 1
|
#define IMPL 1
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
#include "m_option.h"
|
#include "m_option.h"
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
|
|
||||||
#include "libvo/font_load.h"
|
#include "sub/font_load.h"
|
||||||
#include "osdep/keycodes.h"
|
#include "osdep/keycodes.h"
|
||||||
|
|
||||||
struct menu_priv_s {
|
struct menu_priv_s {
|
||||||
|
|||||||
@@ -32,8 +32,8 @@
|
|||||||
|
|
||||||
#include "libvo/fastmemcpy.h"
|
#include "libvo/fastmemcpy.h"
|
||||||
#include "libvo/video_out.h"
|
#include "libvo/video_out.h"
|
||||||
#include "libvo/font_load.h"
|
#include "sub/font_load.h"
|
||||||
#include "libvo/sub.h"
|
#include "sub/sub.h"
|
||||||
#include "input/input.h"
|
#include "input/input.h"
|
||||||
#include "m_struct.h"
|
#include "m_struct.h"
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
|
|||||||
@@ -33,14 +33,14 @@
|
|||||||
#include "img_format.h"
|
#include "img_format.h"
|
||||||
#include "mp_image.h"
|
#include "mp_image.h"
|
||||||
#include "vf.h"
|
#include "vf.h"
|
||||||
#include "libvo/sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
#include "libvo/fastmemcpy.h"
|
#include "libvo/fastmemcpy.h"
|
||||||
|
|
||||||
#include "m_option.h"
|
#include "m_option.h"
|
||||||
#include "m_struct.h"
|
#include "m_struct.h"
|
||||||
|
|
||||||
#include "ass_mp.h"
|
#include "sub/ass_mp.h"
|
||||||
|
|
||||||
#define _r(c) ((c)>>24)
|
#define _r(c) ((c)>>24)
|
||||||
#define _g(c) (((c)>>16)&0xFF)
|
#define _g(c) (((c)>>16)&0xFF)
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
#include "libavutil/avutil.h"
|
#include "libavutil/avutil.h"
|
||||||
|
|
||||||
#ifdef OSD_SUPPORT
|
#ifdef OSD_SUPPORT
|
||||||
#include "libvo/sub.h"
|
#include "sub/sub.h"
|
||||||
#include "libvo/osd.h"
|
#include "libvo/osd.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -29,8 +29,8 @@
|
|||||||
|
|
||||||
#include "libvo/video_out.h"
|
#include "libvo/video_out.h"
|
||||||
|
|
||||||
#include "ass_mp.h"
|
#include "sub/ass_mp.h"
|
||||||
#include "libvo/sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
//===========================================================================//
|
//===========================================================================//
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
#include "demuxer.h"
|
#include "demuxer.h"
|
||||||
#include "stheader.h"
|
#include "stheader.h"
|
||||||
#include "m_option.h"
|
#include "m_option.h"
|
||||||
#include "libvo/sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
#include "libavformat/avformat.h"
|
#include "libavformat/avformat.h"
|
||||||
#include "libavformat/avio.h"
|
#include "libavformat/avio.h"
|
||||||
|
|||||||
@@ -41,11 +41,7 @@
|
|||||||
|
|
||||||
#include "mp_msg.h"
|
#include "mp_msg.h"
|
||||||
|
|
||||||
#include "vobsub.h"
|
#include "sub/sub.h"
|
||||||
#include "subreader.h"
|
|
||||||
#include "libvo/sub.h"
|
|
||||||
|
|
||||||
#include "ass_mp.h"
|
|
||||||
|
|
||||||
#include "libavutil/common.h"
|
#include "libavutil/common.h"
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
#include "libavutil/common.h"
|
#include "libavutil/common.h"
|
||||||
#include "ffmpeg_files/intreadwrite.h"
|
#include "ffmpeg_files/intreadwrite.h"
|
||||||
|
|
||||||
#include "libvo/sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
#include "demux_mov.h"
|
#include "demux_mov.h"
|
||||||
#include "qtpalette.h"
|
#include "qtpalette.h"
|
||||||
|
|||||||
@@ -166,8 +166,8 @@ typedef struct ogg_demuxer {
|
|||||||
//-------- subtitle support - should be moved to decoder layer, and queue
|
//-------- subtitle support - should be moved to decoder layer, and queue
|
||||||
// - subtitles up in demuxer buffer...
|
// - subtitles up in demuxer buffer...
|
||||||
|
|
||||||
#include "subreader.h"
|
#include "sub/subreader.h"
|
||||||
#include "libvo/sub.h"
|
#include "sub/sub.h"
|
||||||
#define OGG_SUB_MAX_LINE 128
|
#define OGG_SUB_MAX_LINE 128
|
||||||
|
|
||||||
static subtitle ogg_sub;
|
static subtitle ogg_sub;
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
#include "demux_ty_osd.h"
|
#include "demux_ty_osd.h"
|
||||||
#include "parse_es.h"
|
#include "parse_es.h"
|
||||||
#include "stheader.h"
|
#include "stheader.h"
|
||||||
#include "sub_cc.h"
|
#include "sub/sub_cc.h"
|
||||||
#include "libavutil/avstring.h"
|
#include "libavutil/avstring.h"
|
||||||
#include "ffmpeg_files/intreadwrite.h"
|
#include "ffmpeg_files/intreadwrite.h"
|
||||||
|
|
||||||
|
|||||||
@@ -23,8 +23,8 @@
|
|||||||
//#include "stheader.h"
|
//#include "stheader.h"
|
||||||
//#include "mp3_hdr.h"
|
//#include "mp3_hdr.h"
|
||||||
//#include "subreader.h"
|
//#include "subreader.h"
|
||||||
#include "sub_cc.h"
|
#include "sub/sub_cc.h"
|
||||||
#include "libvo/sub.h"
|
#include "sub/sub.h"
|
||||||
#include "demux_ty_osd.h"
|
#include "demux_ty_osd.h"
|
||||||
|
|
||||||
//#include "dvdauth.h"
|
//#include "dvdauth.h"
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
#include "mpeg_hdr.h"
|
#include "mpeg_hdr.h"
|
||||||
|
|
||||||
/* sub_cc (closed captions)*/
|
/* sub_cc (closed captions)*/
|
||||||
#include "sub_cc.h"
|
#include "sub/sub_cc.h"
|
||||||
|
|
||||||
/* biCompression constant */
|
/* biCompression constant */
|
||||||
#define BI_RGB 0L
|
#define BI_RGB 0L
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "old_vo_wrapper.h"
|
#include "old_vo_wrapper.h"
|
||||||
#include "video_out.h"
|
#include "video_out.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
struct vo *global_vo;
|
struct vo *global_vo;
|
||||||
struct osd_state *global_osd;
|
struct osd_state *global_osd;
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
#include "fastmemcpy.h"
|
#include "fastmemcpy.h"
|
||||||
#include "osd.h"
|
#include "osd.h"
|
||||||
#include "video_out.h"
|
#include "video_out.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "libmpcodecs/vfcap.h"
|
#include "libmpcodecs/vfcap.h"
|
||||||
|
|
||||||
#define WIDTH_ALIGN 32 /* should be 16 for rage:422 and 32 for rage:420 */
|
#define WIDTH_ALIGN 32 /* should be 16 for rage:422 and 32 for rage:420 */
|
||||||
|
|||||||
@@ -39,8 +39,8 @@
|
|||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
#include "libswscale/swscale.h"
|
#include "libswscale/swscale.h"
|
||||||
#include "libmpcodecs/vf_scale.h"
|
#include "libmpcodecs/vf_scale.h"
|
||||||
#include "font_load.h"
|
#include "sub/font_load.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
#include "osdep/keycodes.h"
|
#include "osdep/keycodes.h"
|
||||||
#include <aalib.h>
|
#include <aalib.h>
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "video_out.h"
|
#include "video_out.h"
|
||||||
#include "video_out_internal.h"
|
#include "video_out_internal.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
#include "osdep/keycodes.h"
|
#include "osdep/keycodes.h"
|
||||||
#include "mp_msg.h"
|
#include "mp_msg.h"
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#include "mp_msg.h"
|
#include "mp_msg.h"
|
||||||
#include "m_option.h"
|
#include "m_option.h"
|
||||||
#include "mp_fifo.h"
|
#include "mp_fifo.h"
|
||||||
#include "libvo/sub.h"
|
#include "sub/sub.h"
|
||||||
#include "subopt-helper.h"
|
#include "subopt-helper.h"
|
||||||
|
|
||||||
#include "input/input.h"
|
#include "input/input.h"
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
#include "video_out.h"
|
#include "video_out.h"
|
||||||
#include "video_out_internal.h"
|
#include "video_out_internal.h"
|
||||||
#include "fastmemcpy.h"
|
#include "fastmemcpy.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "mp_msg.h"
|
#include "mp_msg.h"
|
||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
#include "mp_fifo.h"
|
#include "mp_fifo.h"
|
||||||
|
|||||||
@@ -333,7 +333,7 @@ static void check_events(void)
|
|||||||
|
|
||||||
//---------------------------------------------------------
|
//---------------------------------------------------------
|
||||||
|
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
static void draw_osd(void)
|
static void draw_osd(void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -30,8 +30,8 @@
|
|||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
#include "w32_common.h"
|
#include "w32_common.h"
|
||||||
#include "libavutil/common.h"
|
#include "libavutil/common.h"
|
||||||
#include "font_load.h"
|
#include "sub/font_load.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
static const vo_info_t info =
|
static const vo_info_t info =
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
#include "video_out.h"
|
#include "video_out.h"
|
||||||
#include "video_out_internal.h"
|
#include "video_out_internal.h"
|
||||||
#include "fastmemcpy.h"
|
#include "fastmemcpy.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "mp_msg.h"
|
#include "mp_msg.h"
|
||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
#include "subopt-helper.h"
|
#include "subopt-helper.h"
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
#include "geometry.h"
|
#include "geometry.h"
|
||||||
#include "mp_fifo.h"
|
#include "mp_fifo.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
#ifndef WM_XBUTTONDOWN
|
#ifndef WM_XBUTTONDOWN
|
||||||
# define WM_XBUTTONDOWN 0x020B
|
# define WM_XBUTTONDOWN 0x020B
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
#include "video_out_internal.h"
|
#include "video_out_internal.h"
|
||||||
#include "mp_msg.h"
|
#include "mp_msg.h"
|
||||||
#include "m_option.h"
|
#include "m_option.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "path.h"
|
#include "path.h"
|
||||||
#include "libmpdemux/mpeg_packetizer.h"
|
#include "libmpdemux/mpeg_packetizer.h"
|
||||||
#include "x11_common.h"
|
#include "x11_common.h"
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
#include "video_out_internal.h"
|
#include "video_out_internal.h"
|
||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
#include "spuenc.h"
|
#include "spuenc.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#ifdef CONFIG_X11
|
#ifdef CONFIG_X11
|
||||||
#include "x11_common.h"
|
#include "x11_common.h"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
#include "video_out.h"
|
#include "video_out.h"
|
||||||
#include "video_out_internal.h"
|
#include "video_out_internal.h"
|
||||||
#include "fastmemcpy.h"
|
#include "fastmemcpy.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "geometry.h"
|
#include "geometry.h"
|
||||||
#ifdef CONFIG_VIDIX
|
#ifdef CONFIG_VIDIX
|
||||||
#include "vosub_vidix.h"
|
#include "vosub_vidix.h"
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
#include "video_out.h"
|
#include "video_out.h"
|
||||||
#include "video_out_internal.h"
|
#include "video_out_internal.h"
|
||||||
#include "fastmemcpy.h"
|
#include "fastmemcpy.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "mp_msg.h"
|
#include "mp_msg.h"
|
||||||
|
|
||||||
static const vo_info_t info = {
|
static const vo_info_t info = {
|
||||||
|
|||||||
@@ -31,13 +31,13 @@
|
|||||||
#include "subopt-helper.h"
|
#include "subopt-helper.h"
|
||||||
#include "video_out.h"
|
#include "video_out.h"
|
||||||
#include "video_out_internal.h"
|
#include "video_out_internal.h"
|
||||||
#include "font_load.h"
|
#include "sub/font_load.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
#include "gl_common.h"
|
#include "gl_common.h"
|
||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
#include "fastmemcpy.h"
|
#include "fastmemcpy.h"
|
||||||
#include "ass_mp.h"
|
#include "sub/ass_mp.h"
|
||||||
|
|
||||||
#ifdef CONFIG_GL_SDL
|
#ifdef CONFIG_GL_SDL
|
||||||
#ifdef CONFIG_SDL_SDL_H
|
#ifdef CONFIG_SDL_SDL_H
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
#include "subopt-helper.h"
|
#include "subopt-helper.h"
|
||||||
#include "video_out.h"
|
#include "video_out.h"
|
||||||
#include "video_out_internal.h"
|
#include "video_out_internal.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
#include "gl_common.h"
|
#include "gl_common.h"
|
||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
#include "input/input.h"
|
#include "input/input.h"
|
||||||
#include "input/mouse.h"
|
#include "input/mouse.h"
|
||||||
#include "subopt-helper.h"
|
#include "subopt-helper.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
#include "cpudetect.h"
|
#include "cpudetect.h"
|
||||||
#include "libswscale/swscale.h"
|
#include "libswscale/swscale.h"
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
#include <linux/fb.h>
|
#include <linux/fb.h>
|
||||||
|
|
||||||
#include "drivers/mga_vid.h"
|
#include "drivers/mga_vid.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
|
|
||||||
static const vo_info_t info =
|
static const vo_info_t info =
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
#include "m_option.h"
|
#include "m_option.h"
|
||||||
#include "mp_fifo.h"
|
#include "mp_fifo.h"
|
||||||
#include "mpbswap.h"
|
#include "mpbswap.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
#include "input/input.h"
|
#include "input/input.h"
|
||||||
#include "input/mouse.h"
|
#include "input/mouse.h"
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
#include "video_out.h"
|
#include "video_out.h"
|
||||||
#include "video_out_internal.h"
|
#include "video_out_internal.h"
|
||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
static const vo_info_t info =
|
static const vo_info_t info =
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
#include "video_out_internal.h"
|
#include "video_out_internal.h"
|
||||||
|
|
||||||
#include "fastmemcpy.h"
|
#include "fastmemcpy.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
#include "libmpcodecs/vfcap.h"
|
#include "libmpcodecs/vfcap.h"
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ TODO:
|
|||||||
#include "vosub_vidix.h"
|
#include "vosub_vidix.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
#include "mp_msg.h"
|
#include "mp_msg.h"
|
||||||
//#include "mp_image.h"
|
//#include "mp_image.h"
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
#include "video_out_internal.h"
|
#include "video_out_internal.h"
|
||||||
#include "drivers/3dfx.h"
|
#include "drivers/3dfx.h"
|
||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
static const vo_info_t info =
|
static const vo_info_t info =
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
#include "video_out.h"
|
#include "video_out.h"
|
||||||
#include "x11_common.h"
|
#include "x11_common.h"
|
||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "subopt-helper.h"
|
#include "subopt-helper.h"
|
||||||
#include "libmpcodecs/vfcap.h"
|
#include "libmpcodecs/vfcap.h"
|
||||||
#include "libmpcodecs/mp_image.h"
|
#include "libmpcodecs/mp_image.h"
|
||||||
@@ -49,12 +49,12 @@
|
|||||||
|
|
||||||
#include "libavcodec/vdpau.h"
|
#include "libavcodec/vdpau.h"
|
||||||
|
|
||||||
#include "font_load.h"
|
#include "sub/font_load.h"
|
||||||
|
|
||||||
#include "libavutil/common.h"
|
#include "libavutil/common.h"
|
||||||
#include "libavutil/mathematics.h"
|
#include "libavutil/mathematics.h"
|
||||||
|
|
||||||
#include "ass_mp.h"
|
#include "sub/ass_mp.h"
|
||||||
|
|
||||||
#define WRAP_ADD(x, a, m) ((a) < 0 \
|
#define WRAP_ADD(x, a, m) ((a) < 0 \
|
||||||
? ((x)+(a)+(m) < (m) ? (x)+(a)+(m) : (x)+(a)) \
|
? ((x)+(a)+(m) < (m) ? (x)+(a)+(m) : (x)+(a)) \
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
#include "video_out_internal.h"
|
#include "video_out_internal.h"
|
||||||
|
|
||||||
#include "fastmemcpy.h"
|
#include "fastmemcpy.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "libavutil/common.h"
|
#include "libavutil/common.h"
|
||||||
#include "mpbswap.h"
|
#include "mpbswap.h"
|
||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "video_out.h"
|
#include "video_out.h"
|
||||||
#include "video_out_internal.h"
|
#include "video_out_internal.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "mp_msg.h"
|
#include "mp_msg.h"
|
||||||
|
|
||||||
static const vo_info_t info = {
|
static const vo_info_t info = {
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ static int gXErrorFlag;
|
|||||||
static int CompletionType = -1;
|
static int CompletionType = -1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
#include "libswscale/swscale.h"
|
#include "libswscale/swscale.h"
|
||||||
#include "libmpcodecs/vf_scale.h"
|
#include "libmpcodecs/vf_scale.h"
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "x11_common.h"
|
#include "x11_common.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
|
|
||||||
#ifdef SHOW_TIME
|
#ifdef SHOW_TIME
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ Buffer allocation:
|
|||||||
#include "x11_common.h"
|
#include "x11_common.h"
|
||||||
|
|
||||||
#include "fastmemcpy.h"
|
#include "fastmemcpy.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
|
|
||||||
#include "subopt-helper.h"
|
#include "subopt-helper.h"
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
#include "libavcodec/avcodec.h"
|
#include "libavcodec/avcodec.h"
|
||||||
#include "libavcodec/xvmc.h"
|
#include "libavcodec/xvmc.h"
|
||||||
|
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
|
|
||||||
#include "subopt-helper.h"
|
#include "subopt-helper.h"
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
#include "aspect.h"
|
#include "aspect.h"
|
||||||
#include "geometry.h"
|
#include "geometry.h"
|
||||||
#include "fastmemcpy.h"
|
#include "fastmemcpy.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "mp_msg.h"
|
#include "mp_msg.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
#include "mp_msg.h"
|
#include "mp_msg.h"
|
||||||
|
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
|
|
||||||
#include "fastmemcpy.h"
|
#include "fastmemcpy.h"
|
||||||
#include "libavutil/rational.h"
|
#include "libavutil/rational.h"
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
#include "fastmemcpy.h"
|
#include "fastmemcpy.h"
|
||||||
#include "osd.h"
|
#include "osd.h"
|
||||||
#include "video_out.h"
|
#include "video_out.h"
|
||||||
#include "sub.h"
|
#include "sub/sub.h"
|
||||||
#include "vosub_vidix.h"
|
#include "vosub_vidix.h"
|
||||||
#include "old_vo_wrapper.h"
|
#include "old_vo_wrapper.h"
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
#include "mixer.h"
|
#include "mixer.h"
|
||||||
#include "subreader.h"
|
#include "sub/subreader.h"
|
||||||
|
|
||||||
// definitions used internally by the core player code
|
// definitions used internally by the core player code
|
||||||
|
|
||||||
|
|||||||
14
mplayer.c
14
mplayer.c
@@ -71,16 +71,16 @@
|
|||||||
|
|
||||||
#include "libavutil/avstring.h"
|
#include "libavutil/avstring.h"
|
||||||
|
|
||||||
#include "subreader.h"
|
#include "sub/subreader.h"
|
||||||
#include "sub/dec_sub.h"
|
#include "sub/dec_sub.h"
|
||||||
|
|
||||||
#include "mp_osd.h"
|
#include "mp_osd.h"
|
||||||
#include "libvo/video_out.h"
|
#include "libvo/video_out.h"
|
||||||
|
|
||||||
#include "libvo/font_load.h"
|
#include "sub/font_load.h"
|
||||||
#include "libvo/sub.h"
|
#include "sub/sub.h"
|
||||||
#include "ffmpeg_files/intreadwrite.h"
|
#include "ffmpeg_files/intreadwrite.h"
|
||||||
#include "av_sub.h"
|
#include "sub/av_sub.h"
|
||||||
#include "libmpcodecs/dec_teletext.h"
|
#include "libmpcodecs/dec_teletext.h"
|
||||||
#include "cpudetect.h"
|
#include "cpudetect.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
@@ -95,8 +95,8 @@
|
|||||||
|
|
||||||
#include "edl.h"
|
#include "edl.h"
|
||||||
|
|
||||||
#include "spudec.h"
|
#include "sub/spudec.h"
|
||||||
#include "vobsub.h"
|
#include "sub/vobsub.h"
|
||||||
|
|
||||||
#include "osdep/getch2.h"
|
#include "osdep/getch2.h"
|
||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
@@ -335,7 +335,7 @@ char *vobsub_name=NULL;
|
|||||||
int subcc_enabled=0;
|
int subcc_enabled=0;
|
||||||
int suboverlap_enabled = 1;
|
int suboverlap_enabled = 1;
|
||||||
|
|
||||||
#include "ass_mp.h"
|
#include "sub/ass_mp.h"
|
||||||
|
|
||||||
char* current_module=NULL; // for debugging
|
char* current_module=NULL; // for debugging
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
#include "stream_dvdnav.h"
|
#include "stream_dvdnav.h"
|
||||||
#include "libvo/video_out.h"
|
#include "libvo/video_out.h"
|
||||||
#include "libavutil/common.h"
|
#include "libavutil/common.h"
|
||||||
#include "spudec.h"
|
#include "sub/spudec.h"
|
||||||
#include "m_option.h"
|
#include "m_option.h"
|
||||||
#include "m_struct.h"
|
#include "m_struct.h"
|
||||||
#include "stream_dvd_common.h"
|
#include "stream_dvd_common.h"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#include <libavcodec/avcodec.h>
|
#include <libavcodec/avcodec.h>
|
||||||
|
|
||||||
#include "libmpdemux/stheader.h"
|
#include "libmpdemux/stheader.h"
|
||||||
#include "libvo/sub.h"
|
#include "sub.h"
|
||||||
#include "spudec.h"
|
#include "spudec.h"
|
||||||
#include "av_sub.h"
|
#include "av_sub.h"
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "libvo/video_out.h"
|
#include "libvo/video_out.h"
|
||||||
#include "libvo/sub.h"
|
#include "sub.h"
|
||||||
#include "subreader.h"
|
#include "subreader.h"
|
||||||
|
|
||||||
#include "mp_msg.h"
|
#include "mp_msg.h"
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include "mpcommon.h"
|
#include "mpcommon.h"
|
||||||
#include "libmpdemux/stheader.h"
|
#include "libmpdemux/stheader.h"
|
||||||
#include "libvo/sub.h"
|
#include "sub.h"
|
||||||
#include "ass_mp.h"
|
#include "ass_mp.h"
|
||||||
#include "sd.h"
|
#include "sd.h"
|
||||||
#include "subassconvert.h"
|
#include "subassconvert.h"
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "mplayer.h"
|
#include "mplayer.h"
|
||||||
#include "mp_msg.h"
|
#include "mp_msg.h"
|
||||||
#include "video_out.h"
|
#include "libvo/video_out.h"
|
||||||
#include "font_load.h"
|
#include "font_load.h"
|
||||||
#include "sub.h"
|
#include "sub.h"
|
||||||
#include "spudec.h"
|
#include "spudec.h"
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
#include "subreader.h"
|
#include "subreader.h"
|
||||||
|
|
||||||
#include "libvo/video_out.h"
|
#include "libvo/video_out.h"
|
||||||
#include "libvo/sub.h"
|
#include "sub.h"
|
||||||
|
|
||||||
|
|
||||||
#define CC_MAX_LINE_LENGTH 64
|
#define CC_MAX_LINE_LENGTH 64
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
#include "mp_msg.h"
|
#include "mp_msg.h"
|
||||||
#include "subreader.h"
|
#include "subreader.h"
|
||||||
#include "mpcommon.h"
|
#include "mpcommon.h"
|
||||||
#include "sub/subassconvert.h"
|
#include "subassconvert.h"
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
#include "libavutil/common.h"
|
#include "libavutil/common.h"
|
||||||
Reference in New Issue
Block a user