diff options
author | wm4 <wm4@nowhere> | 2012-11-05 17:02:04 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-12 20:06:14 +0100 |
commit | d4bdd0473d6f43132257c9fb3848d829755167a3 (patch) | |
tree | 8021c2f7da1841393c8c832105e20cd527826d6c | |
parent | bd48deba77bd5582c5829d6fe73a7d2571088aba (diff) | |
download | mpv-d4bdd0473d6f43132257c9fb3848d829755167a3.tar.bz2 mpv-d4bdd0473d6f43132257c9fb3848d829755167a3.tar.xz |
Rename directories, move files (step 1 of 2) (does not compile)
Tis drops the silly lib prefixes, and attempts to organize the tree in
a more logical way. Make the top-level directory less cluttered as
well.
Renames the following directories:
libaf -> audio/filter
libao2 -> audio/out
libvo -> video/out
libmpdemux -> demux
Split libmpcodecs:
vf* -> video/filter
vd*, dec_video.* -> video/decode
mp_image*, img_format*, ... -> video/
ad*, dec_audio.* -> audio/decode
libaf/format.* is moved to audio/ - this is similar to how mp_image.*
is located in video/.
Move most top-level .c/.h files to core. (talloc.c/.h is left on top-
level, because it's external.) Park some of the more annoying files
in compat/. Some of these are relicts from the time mplayer used
ffmpeg internals.
sub/ is not split, because it's too much of a mess (subtitle code is
mixed with OSD display and rendering).
Maybe the organization of core is not ideal: it mixes playback core
(like mplayer.c) and utility helpers (like bstr.c/h). Should the need
arise, the playback core will be moved somewhere else, while core
contains all helper and common code.
-rw-r--r-- | audio/decode/ad.c (renamed from libmpcodecs/ad.c) | 0 | ||||
-rw-r--r-- | audio/decode/ad.h (renamed from libmpcodecs/ad.h) | 0 | ||||
-rw-r--r-- | audio/decode/ad_dvdpcm.c (renamed from libmpcodecs/ad_dvdpcm.c) | 0 | ||||
-rw-r--r-- | audio/decode/ad_internal.h (renamed from libmpcodecs/ad_internal.h) | 0 | ||||
-rw-r--r-- | audio/decode/ad_lavc.c (renamed from libmpcodecs/ad_ffmpeg.c) | 0 | ||||
-rw-r--r-- | audio/decode/ad_mpg123.c (renamed from libmpcodecs/ad_mpg123.c) | 0 | ||||
-rw-r--r-- | audio/decode/ad_pcm.c (renamed from libmpcodecs/ad_pcm.c) | 0 | ||||
-rw-r--r-- | audio/decode/ad_spdif.c (renamed from libmpcodecs/ad_spdif.c) | 0 | ||||
-rw-r--r-- | audio/decode/dec_audio.c (renamed from libmpcodecs/dec_audio.c) | 0 | ||||
-rw-r--r-- | audio/decode/dec_audio.h (renamed from libmpcodecs/dec_audio.h) | 0 | ||||
-rw-r--r-- | audio/filter/af.c (renamed from libaf/af.c) | 0 | ||||
-rw-r--r-- | audio/filter/af.h (renamed from libaf/af.h) | 0 | ||||
-rw-r--r-- | audio/filter/af_bs2b.c (renamed from libaf/af_bs2b.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_center.c (renamed from libaf/af_center.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_channels.c (renamed from libaf/af_channels.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_delay.c (renamed from libaf/af_delay.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_dummy.c (renamed from libaf/af_dummy.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_equalizer.c (renamed from libaf/af_equalizer.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_export.c (renamed from libaf/af_export.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_extrastereo.c (renamed from libaf/af_extrastereo.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_format.c (renamed from libaf/af_format.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_format_alaw.h (renamed from libaf/af_format_alaw.h) | 0 | ||||
-rw-r--r-- | audio/filter/af_format_ulaw.h (renamed from libaf/af_format_ulaw.h) | 0 | ||||
-rw-r--r-- | audio/filter/af_hrtf.c (renamed from libaf/af_hrtf.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_hrtf.h (renamed from libaf/af_hrtf.h) | 0 | ||||
-rw-r--r-- | audio/filter/af_karaoke.c (renamed from libaf/af_karaoke.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_ladspa.c (renamed from libaf/af_ladspa.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_lavcac3enc.c (renamed from libaf/af_lavcac3enc.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_lavcresample.c (renamed from libaf/af_lavcresample.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_pan.c (renamed from libaf/af_pan.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_resample.c (renamed from libaf/af_resample.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_resample_template.c (renamed from libaf/af_resample_template.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_scaletempo.c (renamed from libaf/af_scaletempo.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_sinesuppress.c (renamed from libaf/af_sinesuppress.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_sub.c (renamed from libaf/af_sub.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_surround.c (renamed from libaf/af_surround.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_sweep.c (renamed from libaf/af_sweep.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_tools.c (renamed from libaf/af_tools.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_volnorm.c (renamed from libaf/af_volnorm.c) | 0 | ||||
-rw-r--r-- | audio/filter/af_volume.c (renamed from libaf/af_volume.c) | 0 | ||||
-rw-r--r-- | audio/filter/control.h (renamed from libaf/control.h) | 0 | ||||
-rw-r--r-- | audio/filter/dsp.h (renamed from libaf/dsp.h) | 0 | ||||
-rw-r--r-- | audio/filter/equalizer.h (renamed from libaf/equalizer.h) | 0 | ||||
-rw-r--r-- | audio/filter/filter.c (renamed from libaf/filter.c) | 0 | ||||
-rw-r--r-- | audio/filter/filter.h (renamed from libaf/filter.h) | 0 | ||||
-rw-r--r-- | audio/filter/window.c (renamed from libaf/window.c) | 0 | ||||
-rw-r--r-- | audio/filter/window.h (renamed from libaf/window.h) | 0 | ||||
-rw-r--r-- | audio/format.c (renamed from libaf/format.c) | 0 | ||||
-rw-r--r-- | audio/format.h (renamed from libaf/format.h) | 0 | ||||
-rw-r--r-- | audio/mixer.c (renamed from mixer.c) | 0 | ||||
-rw-r--r-- | audio/mixer.h (renamed from mixer.h) | 0 | ||||
-rw-r--r-- | audio/out/ao.c (renamed from libao2/audio_out.c) | 0 | ||||
-rw-r--r-- | audio/out/ao.h (renamed from libao2/audio_out.h) | 0 | ||||
-rw-r--r-- | audio/out/ao_alsa.c (renamed from libao2/ao_alsa.c) | 0 | ||||
-rw-r--r-- | audio/out/ao_coreaudio.c (renamed from libao2/ao_coreaudio.c) | 0 | ||||
-rw-r--r-- | audio/out/ao_dsound.c (renamed from libao2/ao_dsound.c) | 0 | ||||
-rw-r--r-- | audio/out/ao_jack.c (renamed from libao2/ao_jack.c) | 0 | ||||
-rw-r--r-- | audio/out/ao_lavc.c (renamed from libao2/ao_lavc.c) | 0 | ||||
-rw-r--r-- | audio/out/ao_null.c (renamed from libao2/ao_null.c) | 0 | ||||
-rw-r--r-- | audio/out/ao_openal.c (renamed from libao2/ao_openal.c) | 0 | ||||
-rw-r--r-- | audio/out/ao_oss.c (renamed from libao2/ao_oss.c) | 0 | ||||
-rw-r--r-- | audio/out/ao_pcm.c (renamed from libao2/ao_pcm.c) | 0 | ||||
-rw-r--r-- | audio/out/ao_portaudio.c (renamed from libao2/ao_portaudio.c) | 0 | ||||
-rw-r--r-- | audio/out/ao_pulse.c (renamed from libao2/ao_pulse.c) | 0 | ||||
-rw-r--r-- | audio/out/ao_rsound.c (renamed from libao2/ao_rsound.c) | 0 | ||||
-rw-r--r-- | audio/out/audio_out_internal.h (renamed from libao2/audio_out_internal.h) | 0 | ||||
-rw-r--r-- | audio/reorder_ch.c (renamed from libaf/reorder_ch.c) | 0 | ||||
-rw-r--r-- | audio/reorder_ch.h (renamed from libaf/reorder_ch.h) | 0 | ||||
-rw-r--r-- | compat/libav.h (renamed from libav_compat.h) | 0 | ||||
-rw-r--r-- | compat/mangle.h (renamed from mangle.h) | 0 | ||||
-rw-r--r-- | compat/mpbswap.h (renamed from mpbswap.h) | 0 | ||||
-rw-r--r-- | compat/x86_cpu.h (renamed from ffmpeg_files/x86_cpu.h) | 0 | ||||
-rw-r--r-- | core/asxparser.c (renamed from asxparser.c) | 0 | ||||
-rw-r--r-- | core/asxparser.h (renamed from asxparser.h) | 0 | ||||
-rw-r--r-- | core/av_log.c (renamed from av_log.c) | 0 | ||||
-rw-r--r-- | core/av_log.h (renamed from av_log.h) | 0 | ||||
-rw-r--r-- | core/av_opts.c (renamed from av_opts.c) | 0 | ||||
-rw-r--r-- | core/av_opts.h (renamed from av_opts.h) | 0 | ||||
-rw-r--r-- | core/bstr.c (renamed from bstr.c) | 0 | ||||
-rw-r--r-- | core/bstr.h (renamed from bstr.h) | 0 | ||||
-rw-r--r-- | core/cfg-mplayer.h (renamed from cfg-mplayer.h) | 0 | ||||
-rw-r--r-- | core/codec-cfg.c (renamed from codec-cfg.c) | 0 | ||||
-rw-r--r-- | core/codec-cfg.h (renamed from codec-cfg.h) | 0 | ||||
-rw-r--r-- | core/command.c (renamed from command.c) | 0 | ||||
-rw-r--r-- | core/command.h (renamed from command.h) | 0 | ||||
-rw-r--r-- | core/cpudetect.c (renamed from cpudetect.c) | 0 | ||||
-rw-r--r-- | core/cpudetect.h (renamed from cpudetect.h) | 0 | ||||
-rw-r--r-- | core/defaultopts.c (renamed from defaultopts.c) | 0 | ||||
-rw-r--r-- | core/defaultopts.h (renamed from defaultopts.h) | 0 | ||||
-rw-r--r-- | core/encode.h (renamed from encode.h) | 0 | ||||
-rw-r--r-- | core/encode_lavc.c (renamed from encode_lavc.c) | 0 | ||||
-rw-r--r-- | core/encode_lavc.h (renamed from encode_lavc.h) | 0 | ||||
-rw-r--r-- | core/input/appleir.c (renamed from input/appleir.c) | 0 | ||||
-rw-r--r-- | core/input/ar.c (renamed from input/ar.c) | 0 | ||||
-rw-r--r-- | core/input/ar.h (renamed from input/ar.h) | 0 | ||||
-rw-r--r-- | core/input/input.c (renamed from input/input.c) | 0 | ||||
-rw-r--r-- | core/input/input.h (renamed from input/input.h) | 0 | ||||
-rw-r--r-- | core/input/joystick.c (renamed from input/joystick.c) | 0 | ||||
-rw-r--r-- | core/input/joystick.h (renamed from input/joystick.h) | 0 | ||||
-rw-r--r-- | core/input/keycodes.h (renamed from input/keycodes.h) | 0 | ||||
-rw-r--r-- | core/input/lirc.c (renamed from input/lirc.c) | 0 | ||||
-rw-r--r-- | core/input/lirc.h (renamed from input/lirc.h) | 0 | ||||
-rw-r--r-- | core/m_config.c (renamed from m_config.c) | 0 | ||||
-rw-r--r-- | core/m_config.h (renamed from m_config.h) | 0 | ||||
-rw-r--r-- | core/m_option.c (renamed from m_option.c) | 0 | ||||
-rw-r--r-- | core/m_option.h (renamed from m_option.h) | 0 | ||||
-rw-r--r-- | core/m_property.c (renamed from m_property.c) | 0 | ||||
-rw-r--r-- | core/m_property.h (renamed from m_property.h) | 0 | ||||
-rw-r--r-- | core/m_struct.c (renamed from m_struct.c) | 0 | ||||
-rw-r--r-- | core/m_struct.h (renamed from m_struct.h) | 0 | ||||
-rw-r--r-- | core/mp_common.c (renamed from mpcommon.c) | 0 | ||||
-rw-r--r-- | core/mp_common.h (renamed from mpcommon.h) | 0 | ||||
-rw-r--r-- | core/mp_core.h (renamed from mp_core.h) | 0 | ||||
-rw-r--r-- | core/mp_fifo.c (renamed from mp_fifo.c) | 0 | ||||
-rw-r--r-- | core/mp_fifo.h (renamed from mp_fifo.h) | 0 | ||||
-rw-r--r-- | core/mp_msg.c (renamed from mp_msg.c) | 0 | ||||
-rw-r--r-- | core/mp_msg.h (renamed from mp_msg.h) | 0 | ||||
-rw-r--r-- | core/mp_osd.h (renamed from mp_osd.h) | 0 | ||||
-rw-r--r-- | core/mpc_info.h (renamed from libmpcodecs/mpc_info.h) | 0 | ||||
-rw-r--r-- | core/mplayer.c (renamed from mplayer.c) | 0 | ||||
-rw-r--r-- | core/mplayer.h (renamed from mplayer.h) | 0 | ||||
-rw-r--r-- | core/options.h (renamed from options.h) | 0 | ||||
-rw-r--r-- | core/parser-cfg.c (renamed from parser-cfg.c) | 0 | ||||
-rw-r--r-- | core/parser-cfg.h (renamed from parser-cfg.h) | 0 | ||||
-rw-r--r-- | core/parser-mpcmd.c (renamed from parser-mpcmd.c) | 0 | ||||
-rw-r--r-- | core/parser-mpcmd.h (renamed from parser-mpcmd.h) | 0 | ||||
-rw-r--r-- | core/path.c (renamed from path.c) | 0 | ||||
-rw-r--r-- | core/path.h (renamed from path.h) | 0 | ||||
-rw-r--r-- | core/playlist.c (renamed from playlist.c) | 0 | ||||
-rw-r--r-- | core/playlist.h (renamed from playlist.h) | 0 |