Module CS/plugins/video/format/codecs/opendivx/

back to main page

Summary Period: 2001-01-23 to 2003-06-22

Modules

[root]/CS/plugins/video/format/codecs/opendivx

Lines Of Code


Total Lines Of Code: 259 (2003-07-11 20:29)

Authors

Author Changes Lines of code Lines per change
Totals 40 (100.0%) 340 (100.0%) 8.5
norman 14 (35.0%) 255 (75.0%) 18.2
sunshine 13 (32.5%) 43 (12.6%) 3.3
matzebraun 3 (7.5%) 20 (5.9%) 6.6
jorrit 4 (10.0%) 13 (3.8%) 3.2
philwyett 3 (7.5%) 4 (1.2%) 1.3
ab031ns 1 (2.5%) 3 (0.9%) 3.0
mgeisse 2 (5.0%) 2 (0.6%) 1.0

Most Recent Commits

sunshine 2003-06-22 22:38

Eric Sunshine removed the unused, obsolete, and deprecated top-level <name>
node from the .csplugin files.

0 lines of code changed in:

sunshine 2003-06-05 15:45

Eric Sunshine performed Phase Three of the elimination of the monolithic
scf.cfg:

-*- Eliminated the SCF information which was hardcoded in the .cpp files
of plugin modules, and which duplicated information in the external
.csplugin files.

-*- Plugin modules no longer maintain and export a monolithic class list.
Now, each factory implemented by the code is exported automatically.

-*- Added a new <implementation> child node to the <class> node in
.csplugin files. The value of this node is the name of the C++ class
which implements the SCF class. For instance, C++ class csVFS
implements crystalspace.kernel.vfs.

-*- Eliminated the following SCF macros which were related to exporting
SCF information from .cpp code and/or registering classes manually:

SCF_EXPORT_CLASS_TABLE
SCF_EXPORT_CLASS
SCF_EXPORT_CLASS_DEP
SCF_EXPORT_CLASS_TABLE_END
SCF_REGISTER_STATIC_CLASS_DEP

-*- Eliminated the following methods from iSCF:

RegisterStaticClass
RegisterClassList

-*- Plugin modules are now initialized/shutdown lazily as classes are
requested from them. The first time a class is requested, the plugin
is initialized. The plugin is shutdown after the last class instance
has been destroyed.

-*- Fixed bug in scf.h where SCF_PRINT_CALL_ADDRESS was not being enabled
for gcc 3.x.

-*- Fixed bug in win32.jam where GenerateExportDefs rule failed to ensure
that directory containing output file existed before creating file.
Also fixed bug where it failed to set up a dependency between the
input and output files.

-*- Still To-Do:

- Remove references to scf.cfg and scfreg from documentation. Also
document new .csplugin resources.

- Add platform-specific function to scan and locate plugins
automatically rather than using the ad-hoc approach inherited from
scanning for .scf files.

- Add platform-specific function to query a plugin's meta-information.
This should be used by SCF to do the raw extraction. Provide and
finalize API for higher-level clients to access meta-information.

- Augment static linking to work with the new facility. (Removal of
the hardcoded SCF information, has now broken static linking. It
worked until this time, even with all of the preceding changes.)

1 lines of code changed in:

jorrit 2003-05-29 08:07

Replaced NULL with 0.

5 lines of code changed in:

sunshine 2003-05-26 09:49

Eric Sunshine performed Phase One of the elimination of the monolithic
scf.cfg:

-*- Plugin modules are now self-describing. This information can be
queried at run-time without having to actually load the module.

-*- The plugin maintainer now manages the plugin's meta-information in an
external .csplugin file, rather than hard-coding the information into
the plugin's source code. The mechanism by which the meta-information
is bound to the plugin is platform-dependent. Presently, all
platforms simply lay down the meta-information in a plain text file
alongside the plugin itself; with the same basename and extension
.csplugin. This may change in the future. For example, on MacOS/X,
the meta-information will probably be encapsulated within the plugin's
bundle wrapper.

-*- Plugin meta-information is now maintained in XML format. Here is an
example:

<?xml version="1.0"?>
<!-- gl3d.csplugin -->
<plugin>
<name>gl3d</name>
<scf>
<classes>
<class>
<name>crystalspace.graphics3d.opengl</name>
<description>OpenGL 3D graphics driver</description>
<requires>
<class>crystalspace.font.server.</class>
</requires>
</class>
</classes>
</scf>
</plugin>

-*- Since meta-information is now extensible, maintainers can choose to
publish supplementary information about plugins (in addition to the
SCF information already published). For example, image loading
plugins could publish "image indendification" information which would
allow the image loading multiplexor to selectively request image
loading plugins on-demand, rather than requesting all plugins
unconditionally, even if they are not needed. Here is an example of a
possible meta-information table for the PNG loader:

<?xml version="1.0"?>
<!-- cspngimg.csplugin -->
<plugin>
<name>cspngimg</name>
<scf>...</scf>
<imageloader>
<imagetype>
<class>crystalspace.graphic.image.io.png</class>
<identify>
<mimetype>image/png</mimetype>
<extension>png</extension>
<extension>PNG</extension>
<scan length="4" bytes="\0x89PNG"/>
</identify>
</imagetype>
</imageloader>
</plugin>

In this example, the PNG loader meta-information tells the multiplexor
several different ways to identify a PNG image: by checking file
extension, if available; by checking MIME type, if available; by
checking for the magic-string "\0x89PNG" in the raw image data. If
the multiplexor identifies the image as PNG, only then will it
actually request the PNG loader.

-*- Added the --meta-file directive to msvcgen.pl to allow specification
of the meta-information file for a module. The value of this option
is interpolated into template files via the new %metafile% variable.
msvcgen.mak now utilizes this flag with the value of the new
INC.PROJECT makefile variable. Augmented the MSVC6 and MSVC7 plugin
template files (plugin.tpl) to make use of %metafile%.

-*- Changed the file extension for plugins on MacOS/X from .csplugin to
.csbundle to avoid conflict with new meta-information resource which
uses the extension .csplugin.

-*- Still To-Do:

- Augment SCF to utilize the new meta-information resources, and to
understand the new XML format. Presently, these resources are
ignored at run-time.

- Add platform-specific function to scan and locate plugins
automatically, rather than relying upon a monolithic registry such
as scf.cfg.

- Add platform-specific function to query a plugin's meta-information.

- Eliminate the monolithic scf.cfg.

- Augment static linking to work with the new facility.

- Eliminate the hard-coded SCF registration information in each
plugin's source code.

15 lines of code changed in:

philwyett 2003-04-28 09:29

Performed Erics fix (listed below) on only other instances I can find.

Log Message:
Eric Sunshine fixed botched conversion by automated script which emitted
$(SRCDIR)/TO_INSTALL.CONFIG+=FOO and $(SRCDIR)/MSVC.DSP+=FOO in a couple
makefiles rather than TO_INSTALL.CONFIG+=FOO and MSVC.DSP+=FOO. (The
SRCDIR prefix should not have been added.)

2 lines of code changed in:

sunshine 2003-04-27 11:33

Eric Sunshine made the following changes:

-*- Modified configure.ac so that it emits a SRCDIR property to
config.mak. This value represents the --srcdir argument given to the
configure script (or "." if --srcdir is omitted). This points at the
directory containing the CS source code (which may differ from the
build directory, which is typically the current working directory).

-*- Modified makefiles and build scripts throughout the project so that
they respect $(SRCDIR). This allows the project to be built in a
directory other than the source directory, thus it is possible to
place the source directory on a readonly filesystem (such as a
CD-ROM), or to share a single NFS-mounted source directory among
different builds, where each build inhabits its own directory. For
example, if CS resides at /home/CS and you wish to build the project
in /home/build:

% cd /home/build
% ../CS/configure
% make -k all
% make install

(Note that the Jam-base build system already supports this build
paradigm.)

-*- Modified configure.ac so that it emits EXTENSIVE_MEMDEBUG to
config.mak since this variable is used by Makefile.in for the
`showconfig' target.

-*- Modified configure.ac so that it emits MONITOR_MAKEFILE_CACHE when the
value is either "yes" or "no", instead of emitting it only when the
value is "yes". This was necessary because CS/mk/cache.mak prints the
value of this variable as part of $(SYSMODIFIER).

5 lines of code changed in:

matzebraun 2003-04-08 20:21

added the Jamfiles

14 lines of code changed in:

ab031ns 2002-12-23 22:26

Renamed/corrected header defines to CS coding-style.

3 lines of code changed in:

sunshine 2002-08-07 13:23

Eric Sunshine (hopefully) worked around a problem caused by buggy stat()
on Win9x and WinME where a bogus result is returned if the path has a
trailing slash. This causes problems with the makefile dependency rules
which depend upon $(OUTBASE), $(OUTOS), $(OUTPROC), or $(OUT), all of
which end with a slash, since make thinks that those directories don't
exist even when they are present. Consequently, make tries invoking
$(MKDIR) on already-present directories. The work-around was to redefine
these variable so without the trailing slash. Also updated all makefiles
throughout the project to take into account that these variables are no
longer defined with a trailing slash.

6 lines of code changed in:

philwyett 2002-03-10 01:08

ARGH - Major revert. What was I thinking?

I am blaming jetlag. Thats my story and I'm sticking too it. :)

1 lines of code changed in:

philwyett 2002-03-10 00:41

Fixed all the warnings caused by changes to:

CS_IMPLEMENT_APPLICATION and CS_IMPLEMENT_PLUGIN

Nothing thrilling, but some of the changes are blind into other ports so
be warned if you get the odd compiler warning or error.

Also changed lib name which msvc will use for new divx for plugin to
eliminate conflicts.

1 lines of code changed in:

norman 2002-03-09 17:41

removed FOURCC divx, which is now assigned to divx4

2 lines of code changed in:

jorrit 2002-01-18 11:47

Slight code cleanup: removed all trailing spaces and tabs from
all lines in all source and make files throughout the entire project.
Note that this will most likely not result in a significant
FPS increase :-)

8 lines of code changed in:

matzebraun 2001-12-27 18:36

- fixed SCF_DEBUG to work correctly with embeded interfaces
- fixed some compiler warnings
- fixed definition of int32 and uint32 should be long not int
- removed the type UByte,SByte, UShort,SShort, ULong,SLong, UInt,
SInt, uchar, ushort and ulong and substituted code with the
corresponding intxx types.

6 lines of code changed in:

sunshine 2001-06-25 16:01

Eric Sunshine made the following name changes throughout the project in
order to avoid global namespace pollution:

All SCF macros are now prefixed by "SCF_".
All MSG_BLAH macros are now prefixed by "CS_".
All QUERY_PLUGIN macros are now prefixed by "CS_".
All LOAD_PLUGIN macros are now prefixed by "CS_".
All IS_BLAH_EVENT macros are now prefixed by "CS_".

11 lines of code changed in:

sunshine 2001-06-14 16:17

Eric Sunshine eliminated all of the special platform-specific glue
libraries and objects with which applications and plugin were required to
link in the past. Rather than maintaining special object files and static
libraries, the platform-specific glue is now implemented on-the-fly via
macros.

-*- Eliminated all of the platform-specific special implementation files:

cssys/os2/dllentry.cpp
cssys/ps2/dummy.cpp
cssys/unix/dummy.cpp
cssys/win32/dllentry.cpp
cssys/win32/exeentry.cpp

-*- Removed the Windows-specific special static link libraries along with
their project files:

cswin32exe.lib
cswin32dll.lib
libcswin32exe.dsp
libcswin32dll.dsp

-*- Eliminated the MSVC dependencies upon libcswin32exe.dsp and
libcswin32dll.dsp.

-*- Eliminated the SRC.SYS_CSSYS_EXE and SRC.SYS_CSSYS_DLL system-level
makefile variables which controlled how the special implementation
files were inserted into the build process.

-*- Added the new macro CS_IMPLEMENT_PLUGIN to cssysdef.h. This macro
should be placed at the global scope in exactly one compilation unit
comprising a plugin module. For maximum portability, each plugin
module must employ this macro. Some platforms override the definition
of this macro in order to augment the implementation of the plugin
module with any special implementation details required by the
platform. For example, the Windows port uses this macro to implement
the DllMain() function.

-*- Added the new macro CS_IMPLEMENT_APPLICATION to cssysdef.h. This
macro should be placed at the global scope in exactly one compilation
unit comprising an application. For maximum portability, each
application should employ this macro. Platforms override the
definition of this macro in order to augment the implementation of an
application with any special implementation details required by the
platform. For example, the Windows port uses this macro to implement
the WinMain() function.

-*- cssysdef.h for OS/2 now defines CS_IMPLEMENT_PLUGIN to implement
_DLL_InitTerm() and a version of getenv() which works for plugin
modules.

-*- cssysdef.h for Unix now defines CS_IMPLEMENT_PLUGIN to implement
main() in plugin modules if requested by the platform-specific
makefile. Currently, the Linux, FreeBSD, and Hurd makefiles request
this augmentation.

-*- cssysdef.h for Windows now defines CS_IMPLEMENT_PLUGIN to implement
DllMain(), and CS_IMPLEMENT_APPLICATION to define WinMain().

-*- Completely re-worked and simplified the convoluted `main' versus
`csMain' versus `WinMain' issue on Windows. In the past, the Windows
port tried renaming all `main' functions to `csMain' (via the
C-preprocessor), and then implemented its own `main' and `WinMain'
functions which acted as covers to `csMain'. With the new, much
simpler scheme, `WinMain' is merely a thin cover over `main' and
global renaming is unnecessary.

-*- Augmented all applications and plugin modules with the new
CS_IMPLEMENT_APPLICATION and CS_IMPLEMENT_PLUGIN macros.

2 lines of code changed in:

mgeisse 2001-04-06 20:55

removed some (hopefully) unneeded dependencies on csgfx

1 lines of code changed in:

mgeisse 2001-04-01 12:17

split up the csgfxldr library into two parts. The first part contains the image
classes and now exists as the csgfx library. The second part contains the
image file loaders and now exists as a plugin.

1 lines of code changed in:

sunshine 2001-03-16 14:56

Eric Sunshine renamed all of the pure SCF interface header files.
Considering that that these files were recently organized into well-named
subdirectories, it is possible to use more descriptive names for the files
themselves. Also dropped the `i' prefix.

Here are just a few examples of the new more meaningful and descriptive
names:

iengine/idlight.h --> iengine/dynlight.h
iengine/imeshobj.h --> iengine/mesh.h
imesh/imeshobj.h --> imesh/object.h
imesh/mfire.h --> imesh/fire.h
imap/ildrplug.h --> imap/reader.h
imap/isvrplg.h --> imap/writer.h
isound/isnddrv.h --> isound/driver.h
isound/isndlstn.h --> isound/listener.h
ivideo/imater.h --> ivideo/material.h

1 lines of code changed in:

norman 2001-03-11 19:03

changes to reflect iAVICodec introduction

7 lines of code changed in:

(8 more)


Generated by StatCvs v0.2-dev