VLC代码树详解

来源:互联网 发布:网络侵权的声明 编辑:程序博客网 时间:2024/06/04 23:28

VLC代码树详解/黑客指南

本翻译的官方网址为https://wiki.videolan.org/VLC_source_tree/

说明VLC源码各部分功能大致说明。下面是正式翻译。

为了让读者对VLC源代码有总体的了解,本网页列出VLC源码各目录的具体作用。一个新的IT开发人士接触VLC SOURCE代码时,因大脑里对VLC没有太多的知识积累,可能会被这么多的目录吓到,(我靠,这么多目录怎么学啊),这里我们就为你排忧解难。

在下图的表格中,我们按字母顺序列出目录的每一项,图中对应的右面会大致说明目录及其子文件夹是为了实现什么功能;

Directory Name Directory Explanation bindings Java, CIL and Python bindings contrib for required libraries (contains Makefiles to automatically download and compile (or cross-compile) and patch those). Please first attempt to get the development headers precompiled for your distribution. doc Documentation (not up-to-date) extras See below include Header files for VLC lib Contains all LibVLC control code m4 Macro files needed for automake and autoconf modules The most important directory besides src/. See Modules source tree. po i18n (language translation) files projects Projects based on libvlc, Mozilla plugin, ActiveX plugin and Mac OS X Framework share icons, scripts to make VLC the default player etc. src The most important directory besides modules/. See src source tree. test scripts to see if everything is OK

下面的列表是extras目录的说明。

extras/analyser contains some code style editor (vim, emacs) macro and some valgrind suppressions extras/buildsystem contains alternative buildsystems extras/deprecated contains deprecated files extras/misc contains files that don’t fit into any other category extras/package contains distribution specific files such as ipkg, different rpm spec files, win32 and Mac OS X installation files.

以上就是各目录的说明,具体目录的作用就不再翻译为中文,因涉及许多专业词汇。

0 0
原创粉丝点击