├── LICENSE ├── README.md ├── docs └── readme.txt └── src ├── TCAX ├── assoc │ ├── assoc.cpp │ ├── assoc.sln │ ├── assoc.suo │ ├── assoc.vcxproj │ ├── assoc.vcxproj.filters │ └── assoc.vcxproj.user ├── pixMagick │ ├── ImageMagick │ │ ├── CORE_RL_magick_.lib │ │ ├── Magick++.h │ │ ├── Magick++ │ │ │ ├── Blob.h │ │ │ ├── BlobRef.h │ │ │ ├── CoderInfo.h │ │ │ ├── Color.h │ │ │ ├── Drawable.h │ │ │ ├── Exception.h │ │ │ ├── Functions.h │ │ │ ├── Geometry.h │ │ │ ├── Image.h │ │ │ ├── ImageRef.h │ │ │ ├── Include.h │ │ │ ├── Montage.h │ │ │ ├── Options.h │ │ │ ├── Pixels.h │ │ │ ├── STL.h │ │ │ ├── Thread.h │ │ │ └── TypeMetric.h │ │ ├── magick │ │ │ ├── ImageMagick.h │ │ │ ├── MagickCore.h │ │ │ ├── PreRvIcccm.h │ │ │ ├── accelerate.h │ │ │ ├── animate-private.h │ │ │ ├── animate.h │ │ │ ├── annotate.h │ │ │ ├── api.h │ │ │ ├── artifact.h │ │ │ ├── attribute.h │ │ │ ├── blob-private.h │ │ │ ├── blob.h │ │ │ ├── cache-private.h │ │ │ ├── cache-view.h │ │ │ ├── cache.h │ │ │ ├── cipher.h │ │ │ ├── client.h │ │ │ ├── coder.h │ │ │ ├── color-private.h │ │ │ ├── color.h │ │ │ ├── colormap-private.h │ │ │ ├── colormap.h │ │ │ ├── colorspace-private.h │ │ │ ├── colorspace.h │ │ │ ├── compare.h │ │ │ ├── composite-private.h │ │ │ ├── composite.h │ │ │ ├── compress.h │ │ │ ├── configure.h │ │ │ ├── constitute.h │ │ │ ├── decorate.h │ │ │ ├── delegate-private.h │ │ │ ├── delegate.h │ │ │ ├── deprecate.h │ │ │ ├── display-private.h │ │ │ ├── display.h │ │ │ ├── distort.h │ │ │ ├── draw-private.h │ │ │ ├── draw.h │ │ │ ├── effect.h │ │ │ ├── enhance.h │ │ │ ├── exception-private.h │ │ │ ├── exception.h │ │ │ ├── feature.h │ │ │ ├── fourier.h │ │ │ ├── fx-private.h │ │ │ ├── fx.h │ │ │ ├── gem.h │ │ │ ├── geometry.h │ │ │ ├── hashmap.h │ │ │ ├── histogram.h │ │ │ ├── identify.h │ │ │ ├── image-private.h │ │ │ ├── image-view.h │ │ │ ├── image.h │ │ │ ├── layer.h │ │ │ ├── list.h │ │ │ ├── locale_.h │ │ │ ├── log.h │ │ │ ├── mac.h │ │ │ ├── magic.h │ │ │ ├── magick-config.h │ │ │ ├── magick-type.h │ │ │ ├── magick.h │ │ │ ├── matrix.h │ │ │ ├── memory_.h │ │ │ ├── methods.h │ │ │ ├── mime-private.h │ │ │ ├── mime.h │ │ │ ├── module.h │ │ │ ├── monitor-private.h │ │ │ ├── monitor.h │ │ │ ├── montage.h │ │ │ ├── morphology-private.h │ │ │ ├── morphology.h │ │ │ ├── nt-base.h │ │ │ ├── nt-feature.h │ │ │ ├── option.h │ │ │ ├── paint.h │ │ │ ├── pixel-private.h │ │ │ ├── pixel.h │ │ │ ├── policy.h │ │ │ ├── prepress.h │ │ │ ├── profile.h │ │ │ ├── property.h │ │ │ ├── quantize.h │ │ │ ├── quantum-private.h │ │ │ ├── quantum.h │ │ │ ├── random-private.h │ │ │ ├── random_.h │ │ │ ├── registry.h │ │ │ ├── resample-private.h │ │ │ ├── resample.h │ │ │ ├── resize-private.h │ │ │ ├── resize.h │ │ │ ├── resource_.h │ │ │ ├── segment.h │ │ │ ├── semaphore-private.h │ │ │ ├── semaphore.h │ │ │ ├── shear.h │ │ │ ├── signature-private.h │ │ │ ├── signature.h │ │ │ ├── splay-tree.h │ │ │ ├── static.h │ │ │ ├── statistic.h │ │ │ ├── stream-private.h │ │ │ ├── stream.h │ │ │ ├── string-private.h │ │ │ ├── string_.h │ │ │ ├── studio.h │ │ │ ├── thread-private.h │ │ │ ├── thread_.h │ │ │ ├── threshold.h │ │ │ ├── timer.h │ │ │ ├── token-private.h │ │ │ ├── token.h │ │ │ ├── transform.h │ │ │ ├── type.h │ │ │ ├── utility.h │ │ │ ├── version.h │ │ │ ├── vms.h │ │ │ ├── widget.h │ │ │ ├── xml-tree.h │ │ │ ├── xwindow-private.h │ │ │ └── xwindow.h │ │ └── wand │ │ │ ├── MagickWand.h │ │ │ ├── animate.h │ │ │ ├── compare.h │ │ │ ├── composite.h │ │ │ ├── conjure.h │ │ │ ├── convert.h │ │ │ ├── deprecate.h │ │ │ ├── display.h │ │ │ ├── drawing-wand.h │ │ │ ├── identify.h │ │ │ ├── import.h │ │ │ ├── magick-image.h │ │ │ ├── magick-property.h │ │ │ ├── magick-wand-private.h │ │ │ ├── magick-wand.h │ │ │ ├── magick_wand.h │ │ │ ├── mogrify-private.h │ │ │ ├── mogrify.h │ │ │ ├── montage.h │ │ │ ├── pixel-iterator.h │ │ │ ├── pixel-wand-private.h │ │ │ ├── pixel-wand.h │ │ │ ├── stream.h │ │ │ ├── studio.h │ │ │ ├── wand-config.h │ │ │ ├── wand-view.h │ │ │ └── wand.h │ ├── TODO.txt │ ├── composite.c │ ├── composite.h │ ├── constitute.c │ ├── constitute.h │ ├── convertion.c │ ├── convertion.h │ ├── implemented APIs.txt │ ├── magick.c │ ├── magick.h │ ├── pixMagick.c │ ├── pixMagick.sln │ ├── pixMagick.suo │ ├── pixMagick.vcxproj │ ├── pixMagick.vcxproj.filters │ ├── pixMagick.vcxproj.user │ ├── std.h │ ├── test.cpp │ └── test.h ├── pixStone │ ├── ImageStone │ │ ├── ImageStone.h │ │ └── include │ │ │ ├── FColor.h │ │ │ ├── FHistogram.h │ │ │ ├── FLib_Macro.h │ │ │ ├── FTimeCount.h │ │ │ ├── FWin32.h │ │ │ ├── ImageProperty.h │ │ │ ├── ObjBase.h │ │ │ ├── ObjCanvas.h │ │ │ ├── ObjImage.h │ │ │ ├── ObjLayer.h │ │ │ ├── ObjMultiFrame.h │ │ │ ├── ObjProgress.h │ │ │ ├── ObjSelect.h │ │ │ ├── PCL_TT_Convertor.h │ │ │ ├── PCL_array.h │ │ │ ├── PCL_interface_composite.h │ │ │ ├── PCL_interface_lazyobj.h │ │ │ ├── PCL_interface_undo.h │ │ │ ├── PCL_interface_zoom.h │ │ │ ├── StdDefine.h │ │ │ ├── command │ │ │ ├── Command.h │ │ │ └── Interface_Command.h │ │ │ ├── imagefile │ │ │ ├── ImageFactory_FreeImage.h │ │ │ ├── ImageFactory_Gdiplus.h │ │ │ ├── ImageFactory_Mini.h │ │ │ ├── ImageHandle_Bmp.h │ │ │ ├── ImageHandle_FreeImage.h │ │ │ ├── ImageHandle_Gdiplus.h │ │ │ ├── ImageHandle_Tga.h │ │ │ ├── Interface_ImageHandle.h │ │ │ └── Interface_ImageHandleFactory.h │ │ │ ├── oxo_helper.h │ │ │ └── pixelprocessor │ │ │ ├── Blur_Box.h │ │ │ ├── Blur_IIRGauss.h │ │ │ ├── Interface_PixelProcessor.h │ │ │ ├── LensFlare.h │ │ │ ├── PixelProcessorBase.h │ │ │ ├── SoftGlow.h │ │ │ └── TileReflection.h │ ├── effects.cpp │ ├── effects.h │ ├── pixStone.cpp │ ├── pixStone.sln │ ├── pixStone.suo │ ├── pixStone.vcxproj │ ├── pixStone.vcxproj.filters │ └── pixStone.vcxproj.user ├── sylHelper │ └── KASS │ │ ├── KASS.cpp │ │ ├── KASS.exe.manifest │ │ ├── KASS.h │ │ ├── KASS.ico │ │ ├── KASS.rc │ │ ├── KASS.sln │ │ ├── KASS.suo │ │ ├── KASS.vcxproj │ │ ├── KASS.vcxproj.filters │ │ ├── KASS.vcxproj.user │ │ ├── KASSFrm.cpp │ │ ├── KASSFrm.h │ │ ├── MainFrm.cpp │ │ ├── MainFrm.h │ │ ├── resource.h │ │ ├── stdafx.cpp │ │ └── stdafx.h ├── tcasHelper │ └── timeShift │ │ ├── main.c │ │ ├── resource.h │ │ ├── std.h │ │ ├── timeShift.aps │ │ ├── timeShift.exe.manifest │ │ ├── timeShift.ico │ │ ├── timeShift.rc │ │ ├── timeShift.sln │ │ ├── timeShift.suo │ │ ├── timeShift.vcxproj │ │ ├── timeShift.vcxproj.filters │ │ └── timeShift.vcxproj.user ├── tcax │ ├── FreeType │ │ ├── freetype │ │ │ ├── config │ │ │ │ ├── ftconfig.h │ │ │ │ ├── ftheader.h │ │ │ │ ├── ftmodule.h │ │ │ │ ├── ftoption.h │ │ │ │ └── ftstdlib.h │ │ │ ├── freetype.h │ │ │ ├── ftadvanc.h │ │ │ ├── ftbbox.h │ │ │ ├── ftbdf.h │ │ │ ├── ftbitmap.h │ │ │ ├── ftbzip2.h │ │ │ ├── ftcache.h │ │ │ ├── ftchapters.h │ │ │ ├── ftcid.h │ │ │ ├── fterrdef.h │ │ │ ├── fterrors.h │ │ │ ├── ftgasp.h │ │ │ ├── ftglyph.h │ │ │ ├── ftgxval.h │ │ │ ├── ftgzip.h │ │ │ ├── ftimage.h │ │ │ ├── ftincrem.h │ │ │ ├── ftlcdfil.h │ │ │ ├── ftlist.h │ │ │ ├── ftlzw.h │ │ │ ├── ftmac.h │ │ │ ├── ftmm.h │ │ │ ├── ftmodapi.h │ │ │ ├── ftmoderr.h │ │ │ ├── ftotval.h │ │ │ ├── ftoutln.h │ │ │ ├── ftpfr.h │ │ │ ├── ftrender.h │ │ │ ├── ftsizes.h │ │ │ ├── ftsnames.h │ │ │ ├── ftstroke.h │ │ │ ├── ftsynth.h │ │ │ ├── ftsystem.h │ │ │ ├── fttrigon.h │ │ │ ├── fttypes.h │ │ │ ├── ftwinfnt.h │ │ │ ├── ftxf86.h │ │ │ ├── internal │ │ │ │ ├── autohint.h │ │ │ │ ├── ftcalc.h │ │ │ │ ├── ftdebug.h │ │ │ │ ├── ftdriver.h │ │ │ │ ├── ftgloadr.h │ │ │ │ ├── ftmemory.h │ │ │ │ ├── ftobjs.h │ │ │ │ ├── ftpic.h │ │ │ │ ├── ftrfork.h │ │ │ │ ├── ftserv.h │ │ │ │ ├── ftstream.h │ │ │ │ ├── fttrace.h │ │ │ │ ├── ftvalid.h │ │ │ │ ├── internal.h │ │ │ │ ├── psaux.h │ │ │ │ ├── pshints.h │ │ │ │ ├── services │ │ │ │ │ ├── svbdf.h │ │ │ │ │ ├── svcid.h │ │ │ │ │ ├── svgldict.h │ │ │ │ │ ├── svgxval.h │ │ │ │ │ ├── svkern.h │ │ │ │ │ ├── svmm.h │ │ │ │ │ ├── svotval.h │ │ │ │ │ ├── svpfr.h │ │ │ │ │ ├── svpostnm.h │ │ │ │ │ ├── svpscmap.h │ │ │ │ │ ├── svpsinfo.h │ │ │ │ │ ├── svsfnt.h │ │ │ │ │ ├── svttcmap.h │ │ │ │ │ ├── svtteng.h │ │ │ │ │ ├── svttglyf.h │ │ │ │ │ ├── svwinfnt.h │ │ │ │ │ └── svxf86nm.h │ │ │ │ ├── sfnt.h │ │ │ │ ├── t1types.h │ │ │ │ └── tttypes.h │ │ │ ├── t1tables.h │ │ │ ├── ttnameid.h │ │ │ ├── tttables.h │ │ │ ├── tttags.h │ │ │ └── ttunpat.h │ │ ├── freetype248.lib │ │ ├── freetype248MT.lib │ │ ├── freetype248ST.lib │ │ └── ft2build.h │ ├── Release.rar │ ├── changelog.txt │ ├── dependencies.txt │ ├── doc.txt │ ├── gdiFont │ │ ├── gdiFont.c │ │ ├── gdiFont.sln │ │ ├── gdiFont.suo │ │ ├── gdiFont.vcxproj │ │ ├── gdiFont.vcxproj.filters │ │ └── gdiFont.vcxproj.user │ ├── issues.txt │ ├── libmap │ │ ├── algorithms.txt │ │ ├── introduction.txt │ │ ├── libmap.sln │ │ ├── libmap.suo │ │ ├── libmap.vcxproj │ │ ├── libmap.vcxproj.filters │ │ ├── libmap.vcxproj.user │ │ ├── strmap.c │ │ ├── strmap.h │ │ ├── tccmap.c │ │ ├── tccmap.h │ │ ├── test.c │ │ ├── test.tcc │ │ ├── test3.tcc │ │ ├── testmap.c │ │ └── testtccmap.c │ ├── libsyl │ │ ├── libsyl.sln │ │ ├── libsyl.suo │ │ ├── libsyl.vcxproj │ │ ├── libsyl.vcxproj.filters │ │ ├── libsyl.vcxproj.user │ │ ├── syl.c │ │ ├── syl.h │ │ ├── temp_log.txt │ │ ├── test.ass │ │ └── test.c │ ├── libtcc │ │ ├── Readme.txt │ │ ├── TODO.txt │ │ ├── algorithm.txt │ │ ├── default.tcc │ │ ├── libtcc.sln │ │ ├── libtcc.suo │ │ ├── libtcc.vcxproj │ │ ├── libtcc.vcxproj.filters │ │ ├── libtcc.vcxproj.user │ │ ├── main.c │ │ ├── map.c │ │ ├── map.h │ │ ├── string.c │ │ ├── string.h │ │ ├── tcc.c │ │ ├── tcc.h │ │ ├── tccmap.c │ │ ├── temp_log.txt │ │ ├── test.c │ │ ├── test.tcc │ │ ├── test │ │ │ ├── new.tcc │ │ │ ├── test.c │ │ │ └── test.tcc │ │ ├── test2.tcc │ │ ├── test3.tcc │ │ └── test4.tcc │ ├── libtm │ │ ├── FreeType │ │ │ └── readme.txt │ │ ├── TODO.txt │ │ ├── doc.txt │ │ ├── libtm.sln │ │ ├── libtm.suo │ │ ├── libtm.vcxproj │ │ ├── libtm.vcxproj.filters │ │ ├── libtm.vcxproj.user │ │ ├── temp_log.txt │ │ ├── test.ass │ │ ├── test.c │ │ ├── tm.c │ │ └── tm.h │ ├── license.txt │ ├── resource.h │ ├── tcax.c │ ├── tcax.h │ ├── tcax.rc │ ├── tcax.sln │ ├── tcax.suo │ ├── tcax.vcxproj │ ├── tcax.vcxproj.filters │ ├── tcax.vcxproj.user │ ├── tcaxLib │ │ ├── FreeType │ │ │ └── readme.txt │ │ ├── TODO.txt │ │ ├── algorithms.txt │ │ ├── bezier curve rasterization.txt │ │ ├── dedicated resizing.txt │ │ ├── devel.txt │ │ ├── doc.txt │ │ ├── doc │ │ │ ├── Doxyfile │ │ │ └── tcaxLib.py │ │ ├── file.c │ │ ├── file.h │ │ ├── image.c │ │ ├── image.h │ │ ├── issues.txt │ │ ├── legacy.txt │ │ ├── libpng │ │ │ ├── info.txt │ │ │ ├── libpng15.lib │ │ │ ├── png.h │ │ │ ├── pngconf.h │ │ │ ├── pnglibconf.h │ │ │ └── zlib.lib │ │ ├── notice.txt │ │ ├── pix.c │ │ ├── pix.h │ │ ├── ref │ │ │ ├── outline.cpp │ │ │ ├── outline.cs │ │ │ └── rotation.txt │ │ ├── std.h │ │ ├── tcasfunc.c │ │ ├── tcasfunc.h │ │ ├── tcaxLib.sln │ │ ├── tcaxLib.suo │ │ ├── tcaxLib.vcxproj │ │ ├── tcaxLib.vcxproj.filters │ │ ├── tcaxLib.vcxproj.user │ │ ├── tcaxlib.c │ │ ├── temp.txt │ │ ├── temp_log.txt │ │ ├── test.c │ │ ├── test.h │ │ ├── text.c │ │ ├── text.h │ │ ├── text.rar │ │ ├── tricks.txt │ │ ├── utility.c │ │ └── utility.h │ ├── tcaxPy │ │ ├── 5.py │ │ ├── OO design.txt │ │ ├── TODO.txt │ │ ├── d.c │ │ ├── doc.txt │ │ ├── issues.txt │ │ ├── legacy.txt │ │ ├── part1.py │ │ ├── py.c │ │ ├── py.h │ │ ├── tcaxPy.py │ │ ├── tcaxPy.rar │ │ ├── tcaxPy.sln │ │ ├── tcaxPy.suo │ │ ├── tcaxPy.vcxproj │ │ ├── tcaxPy.vcxproj.filters │ │ ├── tcaxPy.vcxproj.user │ │ ├── tcaxPyOO.py │ │ ├── tcax_py_template.py │ │ ├── temp_log.txt │ │ ├── test.c │ │ ├── test.py.token │ │ └── test_tcaxPy.py │ ├── tcax_cmd.c │ └── templates │ │ ├── __pycache__ │ │ └── user_template_1.cpython-32.pyc │ │ ├── preview.avs │ │ ├── saiyaku_pro_ver.rar │ │ ├── saiyaku_pro_ver │ │ ├── __pycache__ │ │ │ └── tcaxPy_template_saiyaku_pro_ver.cpython-32.pyc │ │ ├── preview.avs │ │ ├── saiyaku_pro_ver.rar │ │ ├── tcaxPy_template_saiyaku_pro_ver.py │ │ ├── tcaxPy_template_saiyaku_pro_ver.py.token │ │ ├── test.ass │ │ ├── test.tcc │ │ └── test_k.ass │ │ ├── soleil_pro_ver.rar │ │ ├── tcaxPy_template_saiyaku_revised_ver.py │ │ ├── test.ass │ │ ├── test.tcas │ │ ├── test.tcc │ │ ├── test_k.ass │ │ ├── user_template_1.py │ │ └── user_template_1.py.token ├── tccHelper │ └── fontColor │ │ ├── MainFrm.cpp │ │ ├── fontColor.aps │ │ ├── fontColor.cpp │ │ ├── fontColor.exe.manifest │ │ ├── fontColor.h │ │ ├── fontColor.ico │ │ ├── fontColor.rc │ │ ├── fontColor.sln │ │ ├── fontColor.suo │ │ ├── fontColor.vcxproj │ │ ├── fontColor.vcxproj.filters │ │ ├── fontColor.vcxproj.user │ │ ├── fontColor_dll │ │ ├── fontColor_dll.cpp │ │ ├── fontColor_dll.sln │ │ ├── fontColor_dll.suo │ │ ├── fontColor_dll.vcxproj │ │ ├── fontColor_dll.vcxproj.filters │ │ └── fontColor_dll.vcxproj.user │ │ ├── resource.h │ │ ├── stdafx.cpp │ │ └── stdafx.h └── util │ ├── boost │ └── libs │ │ └── magick │ │ ├── PythonMagick-0.9.7.zip │ │ ├── __init__.py │ │ ├── config.rar │ │ ├── helpers_src │ │ ├── Blob.cpp │ │ ├── Blob.h │ │ ├── Makefile.am │ │ └── Makefile.in │ │ ├── modifications.txt │ │ └── patterns.rar │ └── cairo │ ├── CairoAssist.py │ ├── Cairo_change.rar │ ├── __init__.py │ ├── cairo-misc.c │ ├── cairoint.h │ ├── cmd.bat │ ├── compile.txt │ ├── draw2pix.py │ ├── modification.txt │ ├── pycairo-1.10.0-mingw.diff │ └── pycairo │ ├── cairomodule.c │ ├── cmd │ ├── compile │ ├── config.h │ ├── context.c │ ├── font.c │ ├── matrix.c │ ├── path.c │ ├── pattern.c │ ├── private.h │ ├── py3cairo.h │ └── surface.c ├── examples └── readme.txt ├── libtcas ├── TODO.txt ├── avl │ ├── avl-test.c │ ├── avl.c │ ├── avl.h │ ├── avl.sln │ ├── avl.suo │ ├── avl.vcxproj │ ├── avl.vcxproj.filters │ ├── avl.vcxproj.user │ ├── legacy.txt │ ├── test.c │ ├── test.h │ └── testavl.c ├── license.txt ├── merger │ ├── merger.sln │ ├── merger.suo │ ├── merger.vcxproj │ ├── merger.vcxproj.filters │ ├── merger.vcxproj.user │ └── tcas_merger.c ├── parser │ ├── parser.sln │ ├── parser.suo │ ├── parser.vcxproj │ ├── parser.vcxproj.filters │ ├── parser.vcxproj.user │ └── tcas_parser.c ├── rb │ ├── rb-test.c │ ├── rb.c │ ├── rb.h │ ├── rb.sln │ ├── rb.suo │ ├── rb.vcxproj │ ├── rb.vcxproj.filters │ ├── rb.vcxproj.user │ ├── test.c │ ├── test.h │ └── testrb.c ├── tcas │ ├── Copies │ │ ├── hla_frame_cache.c │ │ ├── hla_frame_cache.h │ │ └── revision.txt │ ├── TODO.txt │ ├── algorithm.txt │ ├── avl.c │ ├── avl.h │ ├── dropped │ │ ├── hla_file_cache (2).c │ │ ├── hla_file_cache (2).h │ │ ├── hla_file_cache.c │ │ └── hla_file_cache.h │ ├── hla_chunk_cache.c │ ├── hla_chunk_cache.h │ ├── hla_double_cache.c │ ├── hla_double_cache.h │ ├── hla_file_cache.c │ ├── hla_file_cache.h │ ├── hla_frame_cache.c │ ├── hla_frame_cache.h │ ├── hla_framer.c │ ├── hla_framer.h │ ├── hla_mt.c │ ├── hla_mt.h │ ├── hla_mt_mm.c │ ├── hla_mt_mm.h │ ├── hla_stream_parser.c │ ├── hla_stream_parser.h │ ├── hla_util.c │ ├── hla_util.h │ ├── hla_z_comp.c │ ├── hla_z_comp.h │ ├── issue.txt │ ├── legacy_code.txt │ ├── mapfile.c │ ├── mapfile.h │ ├── modules.txt │ ├── notice.txt │ ├── occupied files.txt │ ├── prior.txt │ ├── pthreadVC2.dll │ ├── pthreads-win32 │ │ ├── pthread.h │ │ ├── pthreadVC2.dll │ │ ├── pthreadVC2.lib │ │ ├── sched.h │ │ └── semaphore.h │ ├── queue.c │ ├── queue.h │ ├── rb.c │ ├── rb.h │ ├── tcas.c │ ├── tcas.h │ ├── tcas.rar │ ├── tcas.sln │ ├── tcas.suo │ ├── tcas.vcxproj │ ├── tcas.vcxproj.filters │ ├── tcas.vcxproj.user │ ├── techniques.txt │ ├── temp.txt │ ├── test.c │ ├── test_mapfile.c │ ├── test_queue.c │ ├── test_threadpool.c │ ├── threadpool.c │ ├── threadpool.h │ ├── vector.c │ ├── vector.h │ └── zlib │ │ ├── previous │ │ ├── zconf.h │ │ ├── zlib.h │ │ └── zlib.lib │ │ ├── zconf.h │ │ ├── zlib.h │ │ └── zlib.lib ├── tcas_framer │ ├── tcas_framer.c │ ├── tcas_framer.def │ ├── tcas_framer.h │ ├── tcas_framer.sln │ ├── tcas_framer.suo │ ├── tcas_framer.vcxproj │ ├── tcas_framer.vcxproj.filters │ └── tcas_framer.vcxproj.user ├── test │ ├── TODO.txt │ ├── change_header.c │ ├── compress.c │ ├── linearize.c │ ├── linearize_index.c │ ├── parse_index.c │ ├── render.c │ ├── render_cc.c │ ├── render_dc.c │ ├── render_fc.c │ ├── render_file.c │ ├── render_merge.c │ ├── tcas_framer.dll │ ├── tcas_framer.h │ ├── tcas_framer.lib │ ├── temp.txt │ ├── test.c │ ├── test.exe │ ├── test.sln │ ├── test.suo │ ├── test.tcas │ ├── test.vcxproj │ ├── test.vcxproj.filters │ ├── test.vcxproj.user │ ├── test_raw.tcas │ ├── test_read.c │ ├── test_tcas_framer.c │ ├── test_uncompressed.tcas │ ├── uncompress.c │ └── write_raw.c └── threadpool │ ├── pthreadVC2.dll │ ├── pthreads-win32 │ ├── pthread.h │ ├── pthreadVC2.dll │ ├── pthreadVC2.lib │ ├── sched.h │ └── semaphore.h │ ├── test.c │ ├── test_threadpool.c │ ├── threadpool.c │ ├── threadpool.h │ ├── threadpool.sln │ ├── threadpool.suo │ ├── threadpool.vcxproj │ ├── threadpool.vcxproj.filters │ └── threadpool.vcxproj.user ├── tcasFilter ├── DirectShow │ ├── baseclasses │ │ ├── amextra.h │ │ ├── amfilter.h │ │ ├── cache.h │ │ ├── checkbmi.h │ │ ├── combase.h │ │ ├── cprop.h │ │ ├── ctlutil.h │ │ ├── ddmm.h │ │ ├── dllsetup.h │ │ ├── dxmperf.h │ │ ├── fourcc.h │ │ ├── measure.h │ │ ├── msgthrd.h │ │ ├── mtype.h │ │ ├── outputq.h │ │ ├── perflog.h │ │ ├── perfstruct.h │ │ ├── pstream.h │ │ ├── pullpin.h │ │ ├── refclock.h │ │ ├── reftime.h │ │ ├── renbase.h │ │ ├── schedule.h │ │ ├── seekpt.h │ │ ├── source.h │ │ ├── streams.h │ │ ├── strmctl.h │ │ ├── sysclock.h │ │ ├── transfrm.h │ │ ├── transip.h │ │ ├── videoctl.h │ │ ├── vtrans.h │ │ ├── winctrl.h │ │ ├── winutil.h │ │ ├── wxdebug.h │ │ ├── wxlist.h │ │ └── wxutil.h │ ├── strmbasd.lib │ └── strmbase.lib ├── Readme.txt ├── TODO.txt ├── avisynth.h ├── avsfilter.cpp ├── avsfilter.h ├── fake_update │ ├── log.txt │ ├── tcasFilter.cpp │ └── tcasFilter.h ├── issues.txt ├── manual.txt ├── milestones.txt ├── reg.txt ├── tcasFilter.cpp ├── tcasFilter.def ├── tcasFilter.h ├── tcasFilter.sln ├── tcasFilter.suo ├── tcasFilter.vcxproj ├── tcasFilter.vcxproj.filters ├── tcasFilter.vcxproj.user ├── temp.txt └── temp_log.txt └── util ├── audio └── tcAudio │ ├── bass.dll │ ├── bass.h │ ├── bass.lib │ ├── channels.c │ ├── channels.h │ ├── std.h │ ├── tcAudio.c │ ├── tcAudio.sln │ ├── tcAudio.suo │ ├── tcAudio.vcxproj │ ├── tcAudio.vcxproj.filters │ └── tcAudio.vcxproj.user ├── particle └── lesson19.zip └── video └── tcVideo ├── ffms.h ├── ffms2.dll ├── ffms2.lib ├── ffms2.pdb ├── ffmsindex.exe ├── ffmsindex.pdb ├── frame.c ├── frame.h ├── std.h ├── tcVideo.c ├── tcVideo.sln ├── tcVideo.suo ├── tcVideo.vcxproj ├── tcVideo.vcxproj.filters └── tcVideo.vcxproj.user /README.md: -------------------------------------------------------------------------------- 1 | TCAX 2 | ==== 3 | 4 | A Python scripting tool for creating karaoke subtitle effects. 5 | 6 | Written in C and Python. 7 | 8 | Run on Microsoft Windows (XP/Vista/7/etc.) 9 | 10 | 11 | Visit TCAX homepage www.tcax.org for more info. 12 | -------------------------------------------------------------------------------- /docs/readme.txt: -------------------------------------------------------------------------------- 1 | for docs, please visit TCAX's homepage www.tcax.org 2 | or just contact milkyjing@gmail.com -------------------------------------------------------------------------------- /src/TCAX/assoc/assoc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/assoc/assoc.cpp -------------------------------------------------------------------------------- /src/TCAX/assoc/assoc.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "assoc", "assoc.vcxproj", "{B24F66E9-0BBD-4CFC-9C89-D053FA39D817}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {B24F66E9-0BBD-4CFC-9C89-D053FA39D817}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {B24F66E9-0BBD-4CFC-9C89-D053FA39D817}.Debug|Win32.Build.0 = Debug|Win32 14 | {B24F66E9-0BBD-4CFC-9C89-D053FA39D817}.Release|Win32.ActiveCfg = Release|Win32 15 | {B24F66E9-0BBD-4CFC-9C89-D053FA39D817}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/assoc/assoc.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/assoc/assoc.suo -------------------------------------------------------------------------------- /src/TCAX/assoc/assoc.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/TCAX/assoc/assoc.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/CORE_RL_magick_.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/pixMagick/ImageMagick/CORE_RL_magick_.lib -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/Magick++.h: -------------------------------------------------------------------------------- 1 | // This may look like C code, but it is really -*- C++ -*- 2 | // 3 | // Copyright Bob Friesenhahn, 1999, 2000 4 | // 5 | // Simplified includes for Magick++. 6 | // Inclusion of this header is sufficient to use all Magick++ APIs. 7 | // 8 | #ifndef MagickPlusPlus_Header 9 | #include 10 | #include 11 | #include 12 | #include 13 | #define MagickPlusPlus_Header 14 | #endif // MagickPlusPlus_Header 15 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/Magick++/BlobRef.h: -------------------------------------------------------------------------------- 1 | // This may look like C code, but it is really -*- C++ -*- 2 | // 3 | // Copyright Bob Friesenhahn, 1999, 2000, 2001, 2002 4 | // 5 | // Blob reference class 6 | // 7 | // This is an internal implementation class that should not be 8 | // accessed by users. 9 | // 10 | 11 | #if !defined(Magick_Blob_header) 12 | #define Magick_Blob_header 13 | 14 | #include "Magick++/Include.h" 15 | #include "Magick++/Thread.h" 16 | #include "Magick++/Blob.h" 17 | 18 | namespace Magick 19 | { 20 | 21 | class BlobRef { 22 | public: 23 | // There are no public methods in this class 24 | 25 | // Construct with data, making private copy of data 26 | BlobRef ( const void* data_, size_t length_ ); 27 | 28 | // Destructor (actually destroys data) 29 | ~BlobRef ( void ); 30 | 31 | private: 32 | // Copy constructor and assignment are not supported 33 | BlobRef (const BlobRef&); 34 | BlobRef& operator= (const BlobRef&); 35 | 36 | public: 37 | void * _data; // Blob data 38 | size_t _length; // Blob length 39 | Blob::Allocator _allocator; // Memory allocation system in use 40 | ::ssize_t _refCount; // Reference count 41 | MutexLock _mutexLock; // Mutex lock 42 | }; 43 | 44 | } // namespace Magick 45 | 46 | #endif // Magick_Blob_header 47 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/Magick++/Functions.h: -------------------------------------------------------------------------------- 1 | // This may look like C code, but it is really -*- C++ -*- 2 | // 3 | // Copyright Bob Friesenhahn, 1999, 2000, 2001, 2003 4 | // 5 | // Simple C++ function wrappers for often used or otherwise 6 | // inconvenient ImageMagick equivalents 7 | // 8 | 9 | #if !defined(Magick_Functions_header) 10 | #define Magick_Functions_header 11 | 12 | #include "Magick++/Include.h" 13 | #include 14 | 15 | namespace Magick 16 | { 17 | void MagickDLLDecl CloneString( char **destination_, const std::string &source_ ); 18 | 19 | } 20 | #endif // Magick_Functions_header 21 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/ImageMagick.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | Deprecated as of ImageMagick 6.2.3. 17 | 18 | MagickCore Application Programming Interface declarations. 19 | */ 20 | 21 | #ifndef _MAGICKCORE_IMAGEMAGICK_DEPRECATED_H 22 | #define _MAGICKCORE_IMAGEMAGICK_DEPRECATED_H 23 | 24 | #if defined(__cplusplus) || defined(c_plusplus) 25 | extern "C" { 26 | #endif 27 | 28 | #include "magick/MagickCore.h" 29 | 30 | #if defined(__cplusplus) || defined(c_plusplus) 31 | } 32 | #endif 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/accelerate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore acceleration methods. 17 | */ 18 | #ifndef _MAGICKCORE_ACCELERATE_H 19 | #define _MAGICKCORE_ACCELERATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | #include 26 | 27 | extern MagickExport MagickBooleanType 28 | AccelerateConvolveImage(const Image *,const KernelInfo *,Image *, 29 | ExceptionInfo *); 30 | 31 | #if defined(__cplusplus) || defined(c_plusplus) 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/animate-private.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore private methods to interactively animate an image sequence. 17 | */ 18 | #ifndef _MAGICKCORE_ANIMATE_PRIVATE_H 19 | #define _MAGICKCORE_ANIMATE_PRIVATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | #if defined(MAGICKCORE_X11_DELEGATE) 26 | #include "magick/xwindow-private.h" 27 | 28 | extern MagickExport Image 29 | *XAnimateImages(Display *,XResourceInfo *,char **,const int,Image *); 30 | 31 | extern MagickExport void 32 | XAnimateBackgroundImage(Display *,XResourceInfo *,Image *); 33 | #endif 34 | 35 | #if defined(__cplusplus) || defined(c_plusplus) 36 | } 37 | #endif 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/animate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore methods to interactively animate an image sequence. 17 | */ 18 | #ifndef _MAGICKCORE_ANIMATE_H 19 | #define _MAGICKCORE_ANIMATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern MagickExport MagickBooleanType 26 | AnimateImages(const ImageInfo *,Image *); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/annotate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore image annotation methods. 17 | */ 18 | #ifndef _MAGICKCORE_ANNOTATE_H 19 | #define _MAGICKCORE_ANNOTATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | #include "magick/draw.h" 26 | 27 | extern MagickExport MagickBooleanType 28 | AnnotateComponentGenesis(void), 29 | AnnotateImage(Image *,const DrawInfo *), 30 | GetMultilineTypeMetrics(Image *,const DrawInfo *,TypeMetric *), 31 | GetTypeMetrics(Image *,const DrawInfo *,TypeMetric *); 32 | 33 | extern MagickExport ssize_t 34 | FormatMagickCaption(Image *,DrawInfo *,const MagickBooleanType,TypeMetric *, 35 | char **); 36 | 37 | extern MagickExport void 38 | AnnotateComponentTerminus(void); 39 | 40 | #if defined(__cplusplus) || defined(c_plusplus) 41 | } 42 | #endif 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/api.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | Deprecated as of ImageMagick 6.2.3. 17 | 18 | MagickCore Application Programming Interface declarations. 19 | */ 20 | 21 | #ifndef _MAGICKCORE_API_DEPRECATED_H 22 | #define _MAGICKCORE_API_DEPRECATED_H 23 | 24 | #if defined(__cplusplus) || defined(c_plusplus) 25 | extern "C" { 26 | #endif 27 | 28 | #include "magick/MagickCore.h" 29 | 30 | #if defined(__cplusplus) || defined(c_plusplus) 31 | } 32 | #endif 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/cipher.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore cipher methods. 17 | */ 18 | #ifndef _MAGICKCORE_CIPHER_H 19 | #define _MAGICKCORE_CIPHER_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern MagickExport MagickBooleanType 26 | DecipherImage(Image *,const char *,ExceptionInfo *), 27 | EncipherImage(Image *,const char *,ExceptionInfo *), 28 | PasskeyDecipherImage(Image *,const StringInfo *,ExceptionInfo *), 29 | PasskeyEncipherImage(Image *,const StringInfo *,ExceptionInfo *); 30 | 31 | #if defined(__cplusplus) || defined(c_plusplus) 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/client.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore client methods. 17 | */ 18 | #ifndef _MAGICKCORE_CLIENT_H 19 | #define _MAGICKCORE_CLIENT_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern MagickExport const char 26 | *GetClientPath(void), 27 | *GetClientName(void), 28 | *SetClientName(const char *), 29 | *SetClientPath(const char *); 30 | 31 | #if defined(__cplusplus) || defined(c_plusplus) 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/colormap-private.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore image colormap methods. 17 | */ 18 | #ifndef _MAGICKCORE_COLORMAP_PRIVATE_H 19 | #define _MAGICKCORE_COLORMAP_PRIVATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | #include 26 | #include 27 | #include 28 | 29 | static inline IndexPacket ConstrainColormapIndex(Image *image, 30 | const size_t index) 31 | { 32 | if (index < image->colors) 33 | return((IndexPacket) index); 34 | (void) ThrowMagickException(&image->exception,GetMagickModule(), 35 | CorruptImageError,"InvalidColormapIndex","`%s'",image->filename); 36 | return((IndexPacket) 0); 37 | } 38 | 39 | #if defined(__cplusplus) || defined(c_plusplus) 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/colormap.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore image colormap methods. 17 | */ 18 | #ifndef _MAGICKCORE_COLORMAP_H 19 | #define _MAGICKCORE_COLORMAP_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern MagickExport MagickBooleanType 26 | AcquireImageColormap(Image *,const size_t), 27 | CycleColormapImage(Image *,const ssize_t), 28 | SortColormapByIntensity(Image *); 29 | 30 | #if defined(__cplusplus) || defined(c_plusplus) 31 | } 32 | #endif 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/decorate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore image decorate methods. 17 | */ 18 | #ifndef _MAGICKCORE_DECORATE_H 19 | #define _MAGICKCORE_DECORATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _FrameInfo 26 | { 27 | size_t 28 | width, 29 | height; 30 | 31 | ssize_t 32 | x, 33 | y, 34 | inner_bevel, 35 | outer_bevel; 36 | } FrameInfo; 37 | 38 | extern MagickExport Image 39 | *BorderImage(const Image *,const RectangleInfo *,ExceptionInfo *), 40 | *FrameImage(const Image *,const FrameInfo *,ExceptionInfo *); 41 | 42 | extern MagickExport MagickBooleanType 43 | RaiseImage(Image *,const RectangleInfo *,const MagickBooleanType); 44 | 45 | #if defined(__cplusplus) || defined(c_plusplus) 46 | } 47 | #endif 48 | 49 | #endif 50 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/display-private.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore methods to interactively display and edit an image. 17 | */ 18 | #ifndef _MAGICKCORE_DISPLAY_PRIVATE_H 19 | #define _MAGICKCORE_DISPLAY_PRIVATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | #if defined(MAGICKCORE_X11_DELEGATE) 26 | #include "magick/xwindow-private.h" 27 | 28 | extern MagickExport Image 29 | *XDisplayImage(Display *,XResourceInfo *,char **,int,Image **,size_t *); 30 | 31 | extern MagickExport MagickBooleanType XDisplayBackgroundImage(Display *, 32 | XResourceInfo *,Image *); 33 | #endif 34 | 35 | #if defined(__cplusplus) || defined(c_plusplus) 36 | } 37 | #endif 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/display.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore methods to interactively display and edit an image. 17 | */ 18 | #ifndef _MAGICKCORE_DISPLAY_H 19 | #define _MAGICKCORE_DISPLAY_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern MagickExport MagickBooleanType 26 | DisplayImages(const ImageInfo *,Image *), 27 | RemoteDisplayCommand(const ImageInfo *,const char *,const char *, 28 | ExceptionInfo *); 29 | 30 | #if defined(__cplusplus) || defined(c_plusplus) 31 | } 32 | #endif 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/fourier.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore discrete Fourier transform (DFT) methods. 17 | */ 18 | #ifndef _MAGICKCORE_FFT_H 19 | #define _MAGICKCORE_FFT_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern MagickExport Image 26 | *ForwardFourierTransformImage(const Image *,const MagickBooleanType, 27 | ExceptionInfo *), 28 | *InverseFourierTransformImage(const Image *,const Image *, 29 | const MagickBooleanType,ExceptionInfo *); 30 | 31 | #if defined(__cplusplus) || defined(c_plusplus) 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/fx-private.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore private image f/x methods. 17 | */ 18 | #ifndef _MAGICKCORE_FX_PRIVATE_H 19 | #define _MAGICKCORE_FX_PRIVATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _FxInfo 26 | FxInfo; 27 | 28 | extern MagickExport FxInfo 29 | *AcquireFxInfo(const Image *,const char *), 30 | *DestroyFxInfo(FxInfo *); 31 | 32 | extern MagickExport MagickBooleanType 33 | FxEvaluateExpression(FxInfo *,MagickRealType *,ExceptionInfo *), 34 | FxEvaluateChannelExpression(FxInfo *,const ChannelType,const ssize_t, 35 | const ssize_t,MagickRealType *,ExceptionInfo *); 36 | 37 | #if defined(__cplusplus) || defined(c_plusplus) 38 | } 39 | #endif 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/identify.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore image identify method. 17 | */ 18 | #ifndef _MAGICKCORE_IDENTIFY_H 19 | #define _MAGICKCORE_IDENTIFY_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern MagickExport MagickBooleanType 26 | IdentifyImage(Image *,FILE *,const MagickBooleanType); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/matrix.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore graphic resample methods. 17 | */ 18 | #ifndef _MAGICKCORE_MATRIX_H 19 | #define _MAGICKCORE_MATRIX_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern MagickExport double 26 | **AcquireMagickMatrix(const size_t,const size_t), 27 | **RelinquishMagickMatrix(double **,const size_t); 28 | 29 | extern MagickExport MagickBooleanType 30 | GaussJordanElimination(double **,double **,const size_t,const size_t); 31 | 32 | extern MagickExport void 33 | LeastSquaresAddTerms(double **,double **,const double *,const double *, 34 | const size_t, const size_t); 35 | 36 | #if defined(__cplusplus) || defined(c_plusplus) 37 | } 38 | #endif 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/mime-private.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | The ImageMagick mime private methods. 17 | */ 18 | #ifndef _MAGICK_MIME_PRIVATE_H 19 | #define _MAGICK_MIME_PRIVATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef enum 26 | { 27 | UndefinedData, 28 | StringData, 29 | ByteData, 30 | ShortData, 31 | LongData 32 | } DataType; 33 | 34 | #if defined(__cplusplus) || defined(c_plusplus) 35 | } 36 | #endif 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/morphology-private.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | The ImageMagick morphology private methods. 17 | */ 18 | #ifndef _MAGICK_MORPHOLOGY_PRIVATE_H 19 | #define _MAGICK_MORPHOLOGY_PRIVATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | #if defined(__cplusplus) || defined(c_plusplus) 26 | } 27 | #endif 28 | 29 | #include 30 | 31 | extern MagickExport Image 32 | *MorphologyApply(const Image *,const ChannelType,const MorphologyMethod, 33 | const ssize_t,const KernelInfo *,const CompositeOperator,const double, 34 | ExceptionInfo *); 35 | 36 | extern MagickExport void 37 | ScaleKernelInfo(KernelInfo *,const double,const GeometryFlags), 38 | UnityAddKernelInfo(KernelInfo *,const double), 39 | ZeroKernelNans(KernelInfo *); 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/nt-feature.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore Windows NT utility methods. 17 | */ 18 | #ifndef _MAGICKCORE_NT_FEATURE_H 19 | #define _MAGICKCORE_NT_FEATURE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | #include "magick/splay-tree.h" 26 | 27 | extern MagickExport void 28 | *CropImageToHBITMAP(Image *,const RectangleInfo *,ExceptionInfo *), 29 | *ImageToHBITMAP(Image *); 30 | 31 | #if !defined(XS_VERSION) 32 | 33 | extern MagickExport MagickBooleanType 34 | NTIsMagickConflict(const char *), 35 | NTLoadTypeLists(SplayTreeInfo *,ExceptionInfo *); 36 | 37 | #endif 38 | 39 | #if defined(__cplusplus) || defined(c_plusplus) 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/prepress.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore prepress methods. 17 | */ 18 | #ifndef _MAGICKCORE_PREPRESS_H 19 | #define _MAGICKCORE_PREPRESS_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern MagickExport double 26 | GetImageTotalInkDensity(Image *image); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/segment.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore image segment methods. 17 | */ 18 | #ifndef _MAGICKCORE_SEGMENT_H 19 | #define _MAGICKCORE_SEGMENT_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern MagickExport MagickBooleanType 26 | GetImageDynamicThreshold(const Image *,const double,const double, 27 | MagickPixelPacket *,ExceptionInfo *), 28 | SegmentImage(Image *,const ColorspaceType,const MagickBooleanType, 29 | const double,const double); 30 | 31 | #if defined(__cplusplus) || defined(c_plusplus) 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/shear.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore image stream methods. 17 | */ 18 | #ifndef _MAGICKCORE_SHEAR_H 19 | #define _MAGICKCORE_SHEAR_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern MagickExport Image 26 | *AffineTransformImage(const Image *,const AffineMatrix *,ExceptionInfo *), 27 | *DeskewImage(const Image *,const double,ExceptionInfo *), 28 | *RotateImage(const Image *,const double,ExceptionInfo *), 29 | *ShearImage(const Image *,const double,const double,ExceptionInfo *); 30 | 31 | #if defined(__cplusplus) || defined(c_plusplus) 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/signature.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore digital signature methods. 17 | */ 18 | #ifndef _MAGICKCORE_SIGNATURE_H 19 | #define _MAGICKCORE_SIGNATURE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern MagickExport MagickBooleanType 26 | SignatureImage(Image *); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/stream.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore image stream methods. 17 | */ 18 | #ifndef _MAGICKCORE_STREAM_H 19 | #define _MAGICKCORE_STREAM_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef size_t 26 | (*StreamHandler)(const Image *,const void *,const size_t); 27 | 28 | extern MagickExport Image 29 | *ReadStream(const ImageInfo *,StreamHandler,ExceptionInfo *); 30 | 31 | extern MagickExport MagickBooleanType 32 | WriteStream(const ImageInfo *,Image *,StreamHandler); 33 | 34 | #if defined(__cplusplus) || defined(c_plusplus) 35 | } 36 | #endif 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/magick/xwindow.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickCore X11 window methods. 17 | */ 18 | #ifndef _MAGICKCORE_XWINDOW_H 19 | #define _MAGICKCORE_XWINDOW_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | typedef struct _XImportInfo 26 | { 27 | MagickBooleanType 28 | frame, 29 | borders, 30 | screen, 31 | descend, 32 | silent; 33 | } XImportInfo; 34 | 35 | extern MagickExport Image 36 | *XImportImage(const ImageInfo *,XImportInfo *); 37 | 38 | extern MagickExport void 39 | XGetImportInfo(XImportInfo *); 40 | 41 | #if defined(__cplusplus) || defined(c_plusplus) 42 | } 43 | #endif 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/wand/animate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickWand animate command-line methods. 17 | */ 18 | #ifndef _MAGICKWAND_ANIMATE_H 19 | #define _MAGICKWAND_ANIMATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WandExport MagickBooleanType 26 | AnimateImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/wand/compare.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickWand compare command-line method. 17 | */ 18 | #ifndef _MAGICKWAND_COMPARE_H 19 | #define _MAGICKWAND_COMPARE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WandExport MagickBooleanType 26 | CompareImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/wand/composite.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickWand composite command-line method. 17 | */ 18 | #ifndef _MAGICKWAND_COMPOSITE_H 19 | #define _MAGICKWAND_COMPOSITE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WandExport MagickBooleanType 26 | CompositeImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/wand/conjure.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickWand conjure command-line method. 17 | */ 18 | #ifndef _MAGICKWAND_CONJURE_H 19 | #define _MAGICKWAND_CONJURE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WandExport MagickBooleanType 26 | ConjureImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/wand/convert.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickWand convert command-line method. 17 | */ 18 | #ifndef _MAGICKWAND_CONVERT_H 19 | #define _MAGICKWAND_CONVERT_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WandExport MagickBooleanType 26 | ConvertImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/wand/display.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickWand display command-line method. 17 | */ 18 | #ifndef _MAGICKWAND_DISPLAY_H 19 | #define _MAGICKWAND_DISPLAY_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WandExport MagickBooleanType 26 | DisplayImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/wand/identify.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickWand identify command-line method. 17 | */ 18 | #ifndef _MAGICKWAND_IDENTIFY_H 19 | #define _MAGICKWAND_IDENTIFY_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WandExport MagickBooleanType 26 | IdentifyImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/wand/import.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickWand import command-line method. 17 | */ 18 | #ifndef _MAGICKWAND_IMPORT_H 19 | #define _MAGICKWAND_IMPORT_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WandExport MagickBooleanType 26 | ImportImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/wand/magick-wand.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickWand API (deprecated, use magick-wand.h instead). 17 | */ 18 | 19 | #ifndef _MAGICKWAND_MAGICK_WAND_DEPRECATED_H 20 | #define _MAGICKWAND_MAGICK_WAND_DEPRECATED_H 21 | 22 | #include "wand/MagickWand.h" 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/wand/magick_wand.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickWand API (deprecated, use magick-wand.h instead). 17 | */ 18 | 19 | #ifndef _MAGICKWAND_MAGICK_WAND_DEPRECATED_H 20 | #define _MAGICKWAND_MAGICK_WAND_DEPRECATED_H 21 | 22 | #include "wand/MagickWand.h" 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/wand/montage.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickWand montage command-line method. 17 | */ 18 | #ifndef _MAGICKWAND_MONTAGE_H 19 | #define _MAGICKWAND_MONTAGE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WandExport MagickBooleanType 26 | MontageImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/wand/pixel-wand-private.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MAgickWand pixel wand private methods. 17 | */ 18 | #ifndef _MAGICKWAND_PIXEL_WAND_PRIVATE_H 19 | #define _MAGICKWAND_PIXEL_WAND_PRIVATE_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | #if defined(__cplusplus) || defined(c_plusplus) 26 | } 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/wand/stream.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | MagickWand montage command-line method. 17 | */ 18 | #ifndef _MAGICKWAND_STREAM_H 19 | #define _MAGICKWAND_STREAM_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WandExport MagickBooleanType 26 | StreamImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *); 27 | 28 | #if defined(__cplusplus) || defined(c_plusplus) 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/ImageMagick/wand/wand.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization 3 | dedicated to making software imaging solutions freely available. 4 | 5 | You may not use this file except in compliance with the License. 6 | obtain a copy of the License at 7 | 8 | http://www.imagemagick.org/script/license.php 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | ImageMagick wand support methods. 17 | */ 18 | #ifndef _MAGICKWAND_WAND_H 19 | #define _MAGICKWAND_WAND_H 20 | 21 | #if defined(__cplusplus) || defined(c_plusplus) 22 | extern "C" { 23 | #endif 24 | 25 | extern WandExport size_t 26 | AcquireWandId(void); 27 | 28 | extern WandExport void 29 | DestroyWandIds(void), 30 | RelinquishWandId(const size_t); 31 | 32 | #if defined(__cplusplus) || defined(c_plusplus) 33 | } 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/TODO.txt: -------------------------------------------------------------------------------- 1 | DONE: make demo of pixMagick 2 | TODO: add some basic functions to show the concept of pixMagick 3 | TODO: start adding more functions, and evaluate the MagickWand interface 4 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/implemented APIs.txt: -------------------------------------------------------------------------------- 1 | Initialize or Destroy the ImageMagick Environment: All 2 | Constitute an Image: ReadImage 3 | Composite an Image: CompositeImage -------------------------------------------------------------------------------- /src/TCAX/pixMagick/pixMagick.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pixMagick", "pixMagick.vcxproj", "{14F96100-F3FC-4FB1-805C-6B42C3602925}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {14F96100-F3FC-4FB1-805C-6B42C3602925}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {14F96100-F3FC-4FB1-805C-6B42C3602925}.Debug|Win32.Build.0 = Debug|Win32 14 | {14F96100-F3FC-4FB1-805C-6B42C3602925}.Release|Win32.ActiveCfg = Release|Win32 15 | {14F96100-F3FC-4FB1-805C-6B42C3602925}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/pixMagick.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/pixMagick/pixMagick.suo -------------------------------------------------------------------------------- /src/TCAX/pixMagick/pixMagick.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/test.cpp: -------------------------------------------------------------------------------- 1 | #include "test.h" 2 | 3 | using namespace Magick; 4 | 5 | 6 | PIXM_PyImage pixmagick_test(PyObject *self, PyObject *args) { 7 | PyObject *pyArg1; 8 | char *path; 9 | path = PyBytes_AsString(PyUnicode_AsMBCSString(pyArg1)); 10 | Image *image = new Image(path); 11 | return image->image(); /* real content are still kept in memory, not a real leak, but will be deallocated by pmgToPix function */ 12 | } 13 | -------------------------------------------------------------------------------- /src/TCAX/pixMagick/test.h: -------------------------------------------------------------------------------- 1 | #include "convertion.h" 2 | #include 3 | 4 | 5 | extern PIXM_PyImage pixmagick_test(PyObject *self, PyObject *args); 6 | 7 | -------------------------------------------------------------------------------- /src/TCAX/pixStone/ImageStone/ImageStone.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/pixStone/ImageStone/ImageStone.h -------------------------------------------------------------------------------- /src/TCAX/pixStone/ImageStone/include/FTimeCount.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) =USTC= Fu Li 3 | * 4 | * Author : Fu Li 5 | * Create : 2005-3-3 6 | * Home : http://www.crazy-bit.com/ 7 | * Mail : crazybitwps@hotmail.com 8 | * History : 9 | */ 10 | #ifndef __FOO_TIME_COUNT__2005_03_03__H__ 11 | #define __FOO_TIME_COUNT__2005_03_03__H__ 12 | #include 13 | 14 | //============================================================================= 15 | /** 16 | * Calculate time interval between two time stamper. 17 | */ 18 | class FCTimeCount 19 | { 20 | clock_t m_nTick ; 21 | public: 22 | /// Constructor (will set start time stamper). 23 | FCTimeCount() {SetStartTag();} 24 | 25 | /// Set start time stamper. 26 | void SetStartTag() {m_nTick = ::clock();} 27 | /// Get passed millisecond from start time stamper. 28 | int GetPassMillisecond() const {return (int)tick_to_ms(::clock() - m_nTick);} 29 | 30 | static clock_t tick_to_ms (clock_t nTick) 31 | { 32 | return (nTick * 1000 / CLOCKS_PER_SEC) ; 33 | } 34 | }; 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /src/TCAX/pixStone/ImageStone/include/ObjCanvas.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/pixStone/ImageStone/include/ObjCanvas.h -------------------------------------------------------------------------------- /src/TCAX/pixStone/ImageStone/include/ObjProgress.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) =USTC= Fu Li 3 | * 4 | * Author : Fu Li 5 | * Create : 2003-4-10 6 | * Home : http://www.crazy-bit.com/ 7 | * Mail : crazybitwps@hotmail.com 8 | * History : 9 | */ 10 | #ifndef __FOO_OBJECT_PROGRESS__2003_04_10__H__ 11 | #define __FOO_OBJECT_PROGRESS__2003_04_10__H__ 12 | 13 | //============================================================================= 14 | /** 15 | * Progress interface. 16 | */ 17 | class FCObjProgress 18 | { 19 | int m_nProgress ; 20 | public: 21 | FCObjProgress() : m_nProgress(0) {} 22 | virtual ~FCObjProgress() {} 23 | 24 | /// Set current progress to 0 25 | virtual void ResetProgress() {this->SetProgress(0);} 26 | 27 | /// Get current progress. 28 | virtual int GetProgress() const {return m_nProgress;} 29 | 30 | /// Set current progress. 31 | virtual void SetProgress(int nNew) {m_nProgress=nNew;} 32 | }; 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /src/TCAX/pixStone/ImageStone/include/PCL_interface_lazyobj.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) =USTC= Fu Li 3 | * 4 | * Author : Fu Li 5 | * Create : 2005-4-3 6 | * Home : http://www.crazy-bit.com/ 7 | * Mail : crazybitwps@hotmail.com 8 | * History : 9 | */ 10 | #ifndef __PCL_LAZY_OBJECT__2005_04_03__H__ 11 | #define __PCL_LAZY_OBJECT__2005_04_03__H__ 12 | 13 | template class PCL_Interface_Lazy_Object ; 14 | 15 | //============================================================================= 16 | /** 17 | * Lazy object, initialize object until get . 18 | */ 19 | template 20 | class PCL_Interface_Lazy_Object 21 | { 22 | public: 23 | PCL_Interface_Lazy_Object() : m_pObj(0) {} 24 | virtual ~PCL_Interface_Lazy_Object() {if(m_pObj) delete m_pObj;} 25 | 26 | /// Get lazy object (object will be created at first call). 27 | T* PCL_GetLazyObject() 28 | { 29 | if (!m_pObj) 30 | { 31 | m_pObj = new T ; 32 | PCL_Initialize_Lazy_Object (m_pObj) ; 33 | } 34 | return m_pObj ; 35 | } 36 | 37 | protected: 38 | /// Initialize lazy object. 39 | virtual void PCL_Initialize_Lazy_Object (T* pObj) {} 40 | private: 41 | T * m_pObj ; 42 | }; 43 | 44 | //============================================================================= 45 | // inline implement 46 | //============================================================================= 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /src/TCAX/pixStone/ImageStone/include/StdDefine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/pixStone/ImageStone/include/StdDefine.h -------------------------------------------------------------------------------- /src/TCAX/pixStone/ImageStone/include/command/Command.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/pixStone/ImageStone/include/command/Command.h -------------------------------------------------------------------------------- /src/TCAX/pixStone/ImageStone/include/imagefile/ImageFactory_Mini.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) =USTC= Fu Li 3 | * 4 | * Author : Fu Li 5 | * Create : 2005-7-29 6 | * Home : http://www.crazy-bit.com/ 7 | * Mail : crazybitwps@hotmail.com 8 | * History : 9 | */ 10 | #ifndef __FOO_IMAGEFACTORY_MINI__2005_07_29__H__ 11 | #define __FOO_IMAGEFACTORY_MINI__2005_07_29__H__ 12 | #include "Interface_ImageHandleFactory.h" 13 | #include "ImageHandle_Bmp.h" 14 | #include "ImageHandle_Tga.h" 15 | 16 | //class FCImageHandleFactory ; 17 | class FCImageHandleFactory_Mini ; 18 | 19 | //============================================================================= 20 | /** 21 | * Read/Write image depend on nothing (All OS). 22 | @verbatim 23 | BMP TGA 24 | Read O O 25 | Write O O 26 | @endverbatim 27 | */ 28 | class FCImageHandleFactory_Mini : public FCImageHandleFactory 29 | { 30 | protected: 31 | virtual FCImageHandleBase* CreateImageHandle (IMAGE_TYPE imgType) 32 | { 33 | switch (imgType) 34 | { 35 | case IMG_BMP : return new FCImageHandle_Bmp ; 36 | case IMG_TGA : return new FCImageHandle_Tga ; 37 | } 38 | return 0 ; 39 | } 40 | virtual ~FCImageHandleFactory_Mini() {} 41 | }; 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /src/TCAX/pixStone/ImageStone/include/imagefile/ImageHandle_Tga.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/pixStone/ImageStone/include/imagefile/ImageHandle_Tga.h -------------------------------------------------------------------------------- /src/TCAX/pixStone/pixStone.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pixStone", "pixStone.vcxproj", "{C0B8857F-4C82-4277-BB8C-6EF1F169297E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {C0B8857F-4C82-4277-BB8C-6EF1F169297E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {C0B8857F-4C82-4277-BB8C-6EF1F169297E}.Debug|Win32.Build.0 = Debug|Win32 14 | {C0B8857F-4C82-4277-BB8C-6EF1F169297E}.Release|Win32.ActiveCfg = Release|Win32 15 | {C0B8857F-4C82-4277-BB8C-6EF1F169297E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/pixStone/pixStone.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/pixStone/pixStone.suo -------------------------------------------------------------------------------- /src/TCAX/pixStone/pixStone.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Header Files 20 | 21 | 22 | 23 | 24 | Source Files 25 | 26 | 27 | Source Files 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/TCAX/pixStone/pixStone.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/sylHelper/KASS/KASS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/sylHelper/KASS/KASS.cpp -------------------------------------------------------------------------------- /src/TCAX/sylHelper/KASS/KASS.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | TCAX_KASS 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/TCAX/sylHelper/KASS/KASS.h: -------------------------------------------------------------------------------- 1 | #ifndef _KASS_H_ 2 | #define _KASS_H_ 3 | #pragma once 4 | 5 | #include "stdafx.h" 6 | #include "KASSFrm.h" 7 | 8 | class Kass 9 | { 10 | private: 11 | KassFrm *m_pFrm; 12 | WCHAR *m_ASSIn; 13 | DWORD m_dwASSInSize; 14 | WCHAR *m_ASSOut; 15 | DWORD m_dwASSOutSize; 16 | CString m_strHeader; 17 | UINT m_nLines; 18 | CString m_Dlg[LEN_LINES]; 19 | CString m_SubDlg[LEN_LINES]; 20 | CString m_Txt[LEN_LINES][LEN_WORDS]; 21 | UINT m_nTxt[LEN_LINES]; 22 | INT m_BTime[LEN_LINES]; 23 | INT m_ETime[LEN_LINES]; 24 | private: 25 | VOID ChangeEndian(WCHAR *pwCh, DWORD dwSize); 26 | CString spFmtTime(LONG lTime); 27 | LONG spDeFmtTime(CString strTime); 28 | BOOL GetWindowTXT(); // Get text from the edit-control 29 | BOOL TcDlg(); 30 | VOID TcTime(); 31 | VOID TcText(UINT nTxtPerKar); 32 | public: 33 | Kass(KassFrm *pmyFrm); 34 | ~Kass(); 35 | BOOL OpenFile(LPCWSTR lpFileName); 36 | BOOL TcConvert(UINT nTxtPerKar = 1); // put the above in one function 37 | VOID TcClear(); // Clean the edit-control and memory buffers 38 | BOOL TcSaveASS(LPWSTR lpFileName); 39 | 40 | }; 41 | #endif // _KASS_H_ 42 | -------------------------------------------------------------------------------- /src/TCAX/sylHelper/KASS/KASS.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/sylHelper/KASS/KASS.ico -------------------------------------------------------------------------------- /src/TCAX/sylHelper/KASS/KASS.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/sylHelper/KASS/KASS.rc -------------------------------------------------------------------------------- /src/TCAX/sylHelper/KASS/KASS.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KASS", "KASS.vcxproj", "{45A816BB-D712-4AB7-A1FB-5792A2DD4E8D}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {45A816BB-D712-4AB7-A1FB-5792A2DD4E8D}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {45A816BB-D712-4AB7-A1FB-5792A2DD4E8D}.Debug|Win32.Build.0 = Debug|Win32 14 | {45A816BB-D712-4AB7-A1FB-5792A2DD4E8D}.Release|Win32.ActiveCfg = Release|Win32 15 | {45A816BB-D712-4AB7-A1FB-5792A2DD4E8D}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/sylHelper/KASS/KASS.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/sylHelper/KASS/KASS.suo -------------------------------------------------------------------------------- /src/TCAX/sylHelper/KASS/KASS.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/sylHelper/KASS/KASSFrm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/sylHelper/KASS/KASSFrm.cpp -------------------------------------------------------------------------------- /src/TCAX/sylHelper/KASS/KASSFrm.h: -------------------------------------------------------------------------------- 1 | #ifndef _TCASSFRM_H_ 2 | #define _TCASSFRM_H_ 3 | #pragma once 4 | 5 | #include "stdafx.h" 6 | 7 | #define DIALOG_MAIN_OPEN (WM_USER + 101) 8 | #define DIALOG_MAIN_SAVEAS (WM_USER + 102) 9 | #define DIALOG_MAIN_CLEAR (WM_USER + 103) 10 | #define DIALOG_MAIN_EXIT (WM_USER + 104) 11 | 12 | class KassFrm 13 | { 14 | private: 15 | HINSTANCE m_hInst; 16 | HWND m_hWnd; 17 | OPENFILENAME m_ofn; 18 | BOOL m_bActive; 19 | BOOL m_bHasOpenFile; 20 | UINT m_nTxtPerKar; // how many texts in a karaoke timing 21 | public: 22 | KassFrm(HINSTANCE hInstance); 23 | ~KassFrm(); 24 | VOID FrmMainDlg(); 25 | VOID FrmSetOfn(WCHAR szFile[], WCHAR szFileTitle[]); 26 | OPENFILENAME FrmGetOfn() const; 27 | VOID FrmSetActiveFlag(BOOL bFlag); 28 | BOOL FrmGetActiveFlag() const; 29 | VOID FrmSetOpenFileFlag(BOOL bFlag); 30 | BOOL FrmGetOpenFileFlag() const; 31 | VOID FrmSetnTxtPerKar(UINT nTxtPerKar = 1); 32 | UINT FrmGetnTxtPerKar() const; 33 | HWND FrmGetWnd() const; 34 | BOOL FrmFileDlg(BOOL bFlag); 35 | static LRESULT CALLBACK FrmMainDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); 36 | }; 37 | #endif 38 | -------------------------------------------------------------------------------- /src/TCAX/sylHelper/KASS/MainFrm.h: -------------------------------------------------------------------------------- 1 | #ifndef _MAINFRM_H_ 2 | #define _MAINFRM_H_ 3 | #pragma once 4 | 5 | #include "stdafx.h" 6 | #endif 7 | -------------------------------------------------------------------------------- /src/TCAX/sylHelper/KASS/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by KASS.rc 4 | // 5 | #define IDI_ICON_MAIN 101 6 | #define IDD_DIALOG_MAIN 102 7 | #define IDC_MAIN_EDIT_ASS 1001 8 | #define IDC_MAIN_BTM_OPEN 1002 9 | #define IDC_MAIN_BTM_SAVEAS 1003 10 | #define IDC_MAIN_BTM_CLEAR 1004 11 | #define IDC_MAIN_BTM_EXIT 1005 12 | #define IDC_MAIN_COMBO_NTXTPERKAR 1006 13 | 14 | // Next default values for new objects 15 | // 16 | #ifdef APSTUDIO_INVOKED 17 | #ifndef APSTUDIO_READONLY_SYMBOLS 18 | #define _APS_NEXT_RESOURCE_VALUE 103 19 | #define _APS_NEXT_COMMAND_VALUE 40001 20 | #define _APS_NEXT_CONTROL_VALUE 1007 21 | #define _APS_NEXT_SYMED_VALUE 101 22 | #endif 23 | #endif 24 | -------------------------------------------------------------------------------- /src/TCAX/sylHelper/KASS/stdafx.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | 3 | 4 | VOID Message(int i, HWND hWnd) 5 | { 6 | CString str; 7 | str.Format(_T("%i"), i); 8 | ::MessageBox(hWnd, str, _T("Info."), MB_OK); 9 | } 10 | 11 | VOID Message(LPTSTR lpstr, HWND hWnd) 12 | { 13 | CString str; 14 | str.Format(_T("%s"), lpstr); 15 | ::MessageBox(hWnd, str, _T("Info."), MB_OK); 16 | } 17 | 18 | VOID Message(CString str, HWND hWnd) 19 | { 20 | ::MessageBox(hWnd, str, _T("Info."), MB_OK); 21 | } 22 | -------------------------------------------------------------------------------- /src/TCAX/sylHelper/KASS/stdafx.h: -------------------------------------------------------------------------------- 1 | #ifndef _STDAFX_H_ 2 | #define _STDAFX_H_ 3 | #pragma once 4 | #ifndef WINVER 5 | #define WINVER 0x0501 6 | #endif 7 | 8 | #define LEN_READ 0x00007800 // Max bytes read from an ass script, 30KB 9 | #define LEN_LINES 0x00000078 // Max lines of dialogues allowed in an ass script, 120 lines 10 | #define LEN_WORDS 0x00000064 // Max characters in a dialogue line, 100 characters 11 | 12 | #include 13 | #include 14 | #include 15 | using std::vector; 16 | 17 | 18 | VOID Message(int i, HWND hWnd = NULL); 19 | VOID Message(LPTSTR lpstr, HWND hWnd = NULL); 20 | VOID Message(CString str, HWND hWnd = NULL); 21 | #endif 22 | -------------------------------------------------------------------------------- /src/TCAX/tcasHelper/timeShift/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by timeShift.rc 4 | // 5 | #define IDD_DIALOG 101 6 | #define IDI_ICON 102 7 | #define IDC_BTM_FILE 1001 8 | #define IDC_BTM_SHIFTTIME 1002 9 | #define IDC_BTM_TCASINFO 1003 10 | #define IDC_CHECK_SAVECOPY 1051 11 | #define IDC_RADIO_FORWARD 1052 12 | #define IDC_RADIO_BACK 1053 13 | #define IDC_EDIT_FILE 1101 14 | #define IDC_EDIT_HOUR 1102 15 | #define IDC_EDIT_MIN 1103 16 | #define IDC_EDIT_SEC 1104 17 | #define IDC_EDIT_SS 1105 18 | 19 | // Next default values for new objects 20 | // 21 | #ifdef APSTUDIO_INVOKED 22 | #ifndef APSTUDIO_READONLY_SYMBOLS 23 | #define _APS_NEXT_RESOURCE_VALUE 101 24 | #define _APS_NEXT_COMMAND_VALUE 40001 25 | #define _APS_NEXT_CONTROL_VALUE 1009 26 | #define _APS_NEXT_SYMED_VALUE 101 27 | #endif 28 | #endif 29 | -------------------------------------------------------------------------------- /src/TCAX/tcasHelper/timeShift/std.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2011 milkyjing 3 | * 4 | * This Program is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 2, or (at your option) 7 | * any later version. 8 | * 9 | * This Program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with GNU Make; see the file COPYING. If not, write to 16 | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 17 | * http://www.gnu.org/copyleft/gpl.html 18 | * 19 | */ 20 | 21 | #ifndef TIME_SHIFT_STD 22 | #define TIME_SHIFT_STD 23 | #pragma once 24 | 25 | #include 26 | #include 27 | #include 28 | #include "../../../../../../libtcas/trunk/src/alpha/tcas/hla_util.h" 29 | 30 | #endif /* TIME_SHIFT_STD */ 31 | 32 | -------------------------------------------------------------------------------- /src/TCAX/tcasHelper/timeShift/timeShift.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcasHelper/timeShift/timeShift.aps -------------------------------------------------------------------------------- /src/TCAX/tcasHelper/timeShift/timeShift.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | TCSub_Tools_tcsAssist 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/TCAX/tcasHelper/timeShift/timeShift.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcasHelper/timeShift/timeShift.ico -------------------------------------------------------------------------------- /src/TCAX/tcasHelper/timeShift/timeShift.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "timeShift", "timeShift.vcxproj", "{0478E991-C6F8-4CBB-8DBD-898BB1FAEE1B}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {0478E991-C6F8-4CBB-8DBD-898BB1FAEE1B}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {0478E991-C6F8-4CBB-8DBD-898BB1FAEE1B}.Debug|Win32.Build.0 = Debug|Win32 14 | {0478E991-C6F8-4CBB-8DBD-898BB1FAEE1B}.Release|Win32.ActiveCfg = Release|Win32 15 | {0478E991-C6F8-4CBB-8DBD-898BB1FAEE1B}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/tcasHelper/timeShift/timeShift.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcasHelper/timeShift/timeShift.suo -------------------------------------------------------------------------------- /src/TCAX/tcasHelper/timeShift/timeShift.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/tcax/FreeType/freetype248.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/FreeType/freetype248.lib -------------------------------------------------------------------------------- /src/TCAX/tcax/FreeType/freetype248MT.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/FreeType/freetype248MT.lib -------------------------------------------------------------------------------- /src/TCAX/tcax/FreeType/freetype248ST.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/FreeType/freetype248ST.lib -------------------------------------------------------------------------------- /src/TCAX/tcax/Release.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/Release.rar -------------------------------------------------------------------------------- /src/TCAX/tcax/changelog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/changelog.txt -------------------------------------------------------------------------------- /src/TCAX/tcax/dependencies.txt: -------------------------------------------------------------------------------- 1 | libmap: none (it is just a simple utility) 2 | libtcc: libmap 3 | libsyl: none 4 | libtm: libsyl, FreeType 5 | tcaxPy: Python 6 | tcax: libmap, libtcc, libsyl, libtm, tcaxPy, libtcas, (FreeType, Python), component - tcaxLib 7 | tcaxLib: FreeType, Python, libtcas, libpng, (zlib) 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/TCAX/tcax/gdiFont/gdiFont.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gdiFont", "gdiFont.vcxproj", "{9296D69A-ED44-4032-AB72-E1793D2D6D18}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {9296D69A-ED44-4032-AB72-E1793D2D6D18}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {9296D69A-ED44-4032-AB72-E1793D2D6D18}.Debug|Win32.Build.0 = Debug|Win32 14 | {9296D69A-ED44-4032-AB72-E1793D2D6D18}.Release|Win32.ActiveCfg = Release|Win32 15 | {9296D69A-ED44-4032-AB72-E1793D2D6D18}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/tcax/gdiFont/gdiFont.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/gdiFont/gdiFont.suo -------------------------------------------------------------------------------- /src/TCAX/tcax/gdiFont/gdiFont.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/TCAX/tcax/gdiFont/gdiFont.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/tcax/issues.txt: -------------------------------------------------------------------------------- 1 | DONE: should handle relative file names 2 | DONE: A bug raised when invoke the same py script more than once, and with InitFont in the Init func, FinFont in the Fin Func. It seems that the second time FinFont receives a false parameter, while the first time is OK. NOTE: this buf is fixed simply by change `(pointer)' to `pointer', i.e., use global integer object rather than global tuple which may have some side effect 3 | DONE: Memory Leaks in pixStone... seriously.. 4 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libmap/algorithms.txt: -------------------------------------------------------------------------------- 1 | How to parse a comprehensive tcc map file into a tcc map memory object? 2 | 3 | there are several steps. 4 | 5 | 1. read the file into memory (encoded in utf-8) 6 | 7 | 2. parse the string from the beginning to the end: 8 | a) add valid key value pairs to the map 9 | b) skip invalid elements 10 | 11 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libmap/libmap.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmap", "libmap.vcxproj", "{1FE7021C-6C83-4374-9430-45E045DA4833}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {1FE7021C-6C83-4374-9430-45E045DA4833}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {1FE7021C-6C83-4374-9430-45E045DA4833}.Debug|Win32.Build.0 = Debug|Win32 14 | {1FE7021C-6C83-4374-9430-45E045DA4833}.Release|Win32.ActiveCfg = Release|Win32 15 | {1FE7021C-6C83-4374-9430-45E045DA4833}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libmap/libmap.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/libmap/libmap.suo -------------------------------------------------------------------------------- /src/TCAX/tcax/libmap/libmap.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Header Files 20 | 21 | 22 | Header Files 23 | 24 | 25 | 26 | 27 | Source Files 28 | 29 | 30 | Source Files 31 | 32 | 33 | Source Files 34 | 35 | 36 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libmap/libmap.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libmap/test3.tcc: -------------------------------------------------------------------------------- 1 | # tcc file version 2 | 3 | < tcc file version = 1.000 > 4 | 5 | 6 | # mode configuration 7 | 8 | < inherit ass header = false > 9 | < k mode = syllable > 10 | < text layout = horizontal > 11 | < tcaxpy init = false > 12 | < tcaxpy user = true > 13 | < tcaxpy fin = true > 14 | 15 | 16 | # py settings 17 | 18 | < py file = test1.py > < beg line = 1 > < end line = -1 > 19 | < py file = test2.py > < beg line = 2 > < end line = -2 > 20 | < py file = test3.py > < beg line = 3 > < end line = -3 > 21 | < py file = test4.py > < beg line = 4 > < end line = -4 > 22 | 23 | 24 | # main settings 25 | 26 | < k-timed ass file = test_k.ass > 27 | < font file = simhei.ttf > < font face id = 1 > < font size = 40 > 28 | < fx width = 1280 > < fx height = 720 > < fx fps = 23.976 > 29 | < alignment = 7 > 30 | < x offset = 30 > < y offset = 15 > 31 | < spacing = 5 > < space scale = 1.000 > 32 | 33 | 34 | # style settings 35 | 36 | < font face name = "" > 37 | < bord = 1 > < shad = 0 > 38 | < primary color = FFFFFF > < secondary color = FF0000 > < outline color = 06 > < back color = 600000 > 39 | < primary alpha = 2 > < secondary alpha = 253 > < outline alpha = 4 > < back alpha = 33 > 40 | 41 | 42 | # additional settings 43 | 44 | < blur = 57.000 > 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libmap/testmap.c: -------------------------------------------------------------------------------- 1 | #include "strmap.h" 2 | 3 | 4 | int libtcc_write_unicode_to_file(const char *filename, const wchar_t *buffer, int count) { 5 | FILE *fp; 6 | wchar_t bom[1]; 7 | fp = fopen(filename, "wb"); 8 | if (!fp) return -1; 9 | bom[0] = 0xFEFF; 10 | if (buffer[0] != bom[0]) { 11 | if (fwrite(bom, sizeof(wchar_t), 1, fp) != 1) { 12 | fclose(fp); 13 | return -1; 14 | } 15 | } 16 | if (fwrite(buffer, sizeof(wchar_t), count, fp) != count) { 17 | fclose(fp); 18 | return -1; 19 | } 20 | fclose(fp); 21 | return 0; 22 | } 23 | 24 | int main() { 25 | wchar_t *key; 26 | wchar_t *value; 27 | StrMap map; 28 | libmap_read_map_file("test3.tcc", &map); 29 | //libtcc_write_unicode_to_file("sdfsd.txt", map.buffer + 1, map.count - 2); 30 | libmap_parse(&map); 31 | libmap_polish(&map); 32 | //key = (wchar_t *)malloc(100); 33 | //wcscpy(key, L"font face name"); 34 | key = L"font file"; 35 | //tcc_map_set_offset(map.map, 3); 36 | if (tcc_map_retrieve(map.map, &key, &value)) 37 | MessageBoxW(NULL, value, L"D", MB_OK); 38 | key = L"font face name"; 39 | //tcc_map_set_offset(map.map, 3); 40 | if (tcc_map_retrieve(map.map, &key, &value)) 41 | MessageBoxW(NULL, value, L"D", MB_OK); 42 | //wprintf(value); 43 | libmap_destroy(&map); 44 | //free(key); 45 | return 0; 46 | } 47 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libmap/testtccmap.c: -------------------------------------------------------------------------------- 1 | #include "tccmap.h" 2 | #include 3 | #include 4 | 5 | typedef struct _tcc_string { 6 | char *buf; 7 | } TccString, *TccStringPtr; 8 | 9 | 10 | /* copy functions */ 11 | void copy_func(TccStringPtr dst, const TccStringPtr src) { 12 | int len = strlen(src->buf) + 1; 13 | dst->buf = (char *)malloc(len); 14 | memcpy(dst->buf, src->buf, len); 15 | } 16 | 17 | /* cleanup functions */ 18 | void clean_func(TccStringPtr src) { 19 | free(src->buf); 20 | } 21 | 22 | /* compare functions */ 23 | int compare_func(const TccStringPtr dst, const TccStringPtr src) { 24 | return strcmp(dst->buf, src->buf); 25 | } 26 | 27 | 28 | int main() { 29 | TccString key, value, val; 30 | TccMapPtr map; 31 | tcc_map_create(&map, sizeof(TccString), sizeof(TccString), 0, (tcc_map_key_copy_func)copy_func, (tcc_map_value_copy_func)copy_func, (tcc_map_key_cleanup_func)clean_func, (tcc_map_value_cleanup_func)clean_func, (tcc_map_key_compare_func)compare_func, (tcc_map_value_compare_func)compare_func); 32 | key.buf = (char *)malloc(5); 33 | strcpy(key.buf, "fuck"); 34 | value.buf = (char *)malloc(5); 35 | strcpy(value.buf, "you"); 36 | tcc_map_push_back(map, &key, &value); 37 | tcc_map_push_back(map, &key, &value); 38 | strcpy(value.buf, "youd"); 39 | tcc_map_push_back(map, &key, &value); 40 | tcc_map_set_offset(map, 2); 41 | tcc_map_retrieve(map, &key, &val); 42 | printf(val.buf); 43 | tcc_map_destroy(map); 44 | return 0; 45 | } 46 | 47 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libsyl/libsyl.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libsyl", "libsyl.vcxproj", "{920AE90D-FA19-44B3-A548-2EBB4488AC2C}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {920AE90D-FA19-44B3-A548-2EBB4488AC2C}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {920AE90D-FA19-44B3-A548-2EBB4488AC2C}.Debug|Win32.Build.0 = Debug|Win32 14 | {920AE90D-FA19-44B3-A548-2EBB4488AC2C}.Release|Win32.ActiveCfg = Release|Win32 15 | {920AE90D-FA19-44B3-A548-2EBB4488AC2C}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libsyl/libsyl.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/libsyl/libsyl.suo -------------------------------------------------------------------------------- /src/TCAX/tcax/libsyl/libsyl.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | Source Files 23 | 24 | 25 | 26 | 27 | Header Files 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libsyl/libsyl.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libsyl/temp_log.txt: -------------------------------------------------------------------------------- 1 | Added SYL_InfoToTcx structure and related functions (libsyl_info_to_tcx_with_word, libsyl_info_to_tcx_with_syl, libsyl_info_to_tcx_with_adv, libsyl_free_info) 2 | 3 | Added function libsyl_create_simplest_syl_string() 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/Readme.txt: -------------------------------------------------------------------------------- 1 | libtcc only have unicode version 2 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/TODO.txt: -------------------------------------------------------------------------------- 1 | Complete the TCC specification 2 | 3 | Implement libtcc (including define TCC_Attributes and implement libtcc_parse_tcc_string - may require additional work such as the implementation of string) 4 | 5 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/algorithm.txt: -------------------------------------------------------------------------------- 1 | tcc.h: 2 | 3 | define a struct TCC_Attributes 4 | 5 | contain configuration information for TCX FX 6 | 7 | and libtcc_parse_tcc_string() convert TCC string to TCC Attributes 8 | 9 | tcc.c (implementation) 10 | 11 | first convert TCC file to TCC string, then parse the TCC string to a Map (string, string) 12 | 13 | then convert map to TCC Attributes. 14 | 15 | 16 | in TCC Attributes: py file may be a two dimentional variable. 17 | 18 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/default.tcc: -------------------------------------------------------------------------------- 1 | This is a default TCC file. 2 | 3 | 4 | # tcc file version 5 | 6 | < tcc file version = 1.0 > 7 | 8 | 9 | # mode configuration 10 | 11 | < inherit ass header = false > 12 | < k mode = syllable > 13 | < text layout = horizontal > 14 | < tcxpy init = false > 15 | < tcxpy user = false > 16 | < tcxpy fin = false > 17 | 18 | 19 | # py settings 20 | 21 | < py file = test.py > < beg line = 1 > < end line = 0 > 22 | 23 | 24 | # main settings 25 | 26 | < k-timed ass file = test_k.ass > 27 | < font file = simhei.ttf > < font face id = 1 > < font size = 36 > 28 | < fx width = 1280 > < fx height = 720 > < fx fps = 23.976 > 29 | < alignment = 7 > 30 | < x offset = 30 > < y offset = 15 > 31 | < spacing = 0 > < space scale = 1.0 > 32 | 33 | 34 | # style settings 35 | 36 | < font face name = "" > 37 | < bord = 1 > < shad = 0 > 38 | < primary color = FFFFFF > < secondary color = 000000 > < outline color = 000000 > < back color = 000000 > 39 | < primary alpha = 0 > < secondary alpha = 255 > < outline alpha = 0 > < back alpha = 255 > 40 | 41 | 42 | # additional settings 43 | 44 | < blur = 0.0 > 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/libtcc.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtcc", "libtcc.vcxproj", "{8D71E813-8584-45D7-A82A-1F51394EA0AA}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {8D71E813-8584-45D7-A82A-1F51394EA0AA}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {8D71E813-8584-45D7-A82A-1F51394EA0AA}.Debug|Win32.Build.0 = Debug|Win32 14 | {8D71E813-8584-45D7-A82A-1F51394EA0AA}.Release|Win32.ActiveCfg = Release|Win32 15 | {8D71E813-8584-45D7-A82A-1F51394EA0AA}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/libtcc.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/libtcc/libtcc.suo -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/libtcc.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/main.c: -------------------------------------------------------------------------------- 1 | #include "string.h" 2 | #include 3 | 4 | int main() { 5 | String s; 6 | string_init(&s, 0); 7 | string_append(&s, L"GoFuck!", wcslen(L"GoFuck!")); 8 | string_append_int(&s, 111); 9 | string_append_double(&s, 43425.402349200); 10 | string_push_back(&s, L'\n'); 11 | wprintf(L"%i\n", string_get_size(&s)); 12 | wprintf(s.buffer); 13 | return 0; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/temp_log.txt: -------------------------------------------------------------------------------- 1 | Change blur from int to double 2 | 3 | Added TCC_InfoToTcx structure and related functions libtcc_info_to_tcx() and libtcc_free_info() -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/test.tcc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/libtcc/test.tcc -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/test/new.tcc: -------------------------------------------------------------------------------- 1 | This is a default TCC file. 2 | 3 | 4 | # tcc file version 5 | 6 | < tcc file version = 1.0 > 7 | 8 | 9 | # mode configuration 10 | 11 | < inherit ass header = false > 12 | < advanced k mode = true > 13 | < tcxpy init = true > 14 | < tcxpy user = false > 15 | 16 | 17 | # py settings 18 | 19 | < py file = test1.py > < beg line = 1 > < end line = -1 > 20 | < py file = test2.py > < beg line = 1 > < end line = -1 > 21 | < py file = test3.py > < beg line = 1 > < end line = -1 > 22 | < py file = test4.py > < beg line = 1 > < end line = -1 > 23 | 24 | 25 | # main settings 26 | 27 | < k-timed ass file = test_k.ass > 28 | < font file = simhei.ttf > < font face id = 1 > < font size = 40 > 29 | < fx width = 1280 > < fx height = 720 > < fx fps = 23.976 > 30 | < alignment = 7 > 31 | < x offset = 30 > < y offset = 15 > 32 | < spacing = 0 > < space scale = 1.0 > 33 | 34 | 35 | # style settings 36 | 37 | < font face name = "" > 38 | < bord = 1 > < shad = 0 > 39 | < primary color = FFFFFF > < secondary color = FF0000 > < outline color = 000000 > < back color = 000000 > 40 | < primary alpha = 0 > < secondary alpha = 255 > < outline alpha = 0 > < back alpha = 255 > 41 | 42 | 43 | # additional settings 44 | 45 | < blur = 0 > 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/test/test.tcc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/libtcc/test/test.tcc -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/test2.tcc: -------------------------------------------------------------------------------- 1 | This is a default TCC file. 2 | 3 | 4 | # tcc file version 5 | 6 | < tcc file version = 1.0 > 7 | 8 | 9 | # mode configuration 10 | 11 | < inherit ass header = true > 12 | < k mode = adv > 13 | < text layout = vert > 14 | < tcaxpy init = true > 15 | < tcaxpy user = false > 16 | < tcaxpy fin = false > 17 | 18 | 19 | # py settings 20 | 21 | < py file = test3.py > < beg line = -1 > < end line = 1 > 22 | < py file = test1.py > < beg line = -2 > < end line = 2 > 23 | < py file = test2.py > < beg line = -3 > < end line = 3 > 24 | < py file = test5.py > < beg line = -4 > < end line = 4 > 25 | 26 | 27 | # main settings 28 | 29 | < k-timed ass file = test_ksdff.ass > 30 | < font file = simheia 我艹.ttf > < font face id = 11 > < font size = 45 > 31 | < fx width = 12352 > < fx height = 723 > < fx fps = 23.976234 > 32 | < alignment = 72 > 33 | < x offset = 310 > < y offset = 1235 > 34 | < spacing = 52 > < space scale = 24.0 > 35 | 36 | 37 | # style settings 38 | 39 | < font face name = "" > 40 | < bord = 15 > < shad = 0 > 41 | < primary color = AAAAAA > < secondary color = FFGGGGG > < outline color = 06 > < back color = 60GGG06 > 42 | < primary alpha = 55 > < secondary alpha = 1253 > < outline alpha = 42 > < back alpha = 3343 > 43 | 44 | 45 | # additional settings 46 | 47 | < blur = 527 > 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/test3.tcc: -------------------------------------------------------------------------------- 1 | # tcc file version 2 | 3 | < tcc file version = 1.000 > 4 | 5 | 6 | # mode configuration 7 | 8 | < inherit ass header = true > 9 | < k mode = advanced > 10 | < text layout = vertical > 11 | < tcaxpy init = true > 12 | < tcaxpy user = false > 13 | < tcaxpy fin = false > 14 | 15 | 16 | # py settings 17 | 18 | < py file = test3.py > < beg line = -1 > < end line = 1 > 19 | < py file = test1.py > < beg line = -2 > < end line = 2 > 20 | < py file = test2.py > < beg line = -3 > < end line = 3 > 21 | < py file = test5.py > < beg line = -4 > < end line = 4 > 22 | 23 | 24 | # main settings 25 | 26 | < k-timed ass file = test_ksdff.ass > 27 | < font file = simheia 我艹.ttf > < font face id = 11 > < font size = 45 > 28 | < fx width = 12352 > < fx height = 723 > < fx fps = 23.976 > 29 | < alignment = 72 > 30 | < x offset = 310 > < y offset = 1235 > 31 | < spacing = 52 > < space scale = 24.000 > 32 | 33 | 34 | # style settings 35 | 36 | < font face name = "" > 37 | < bord = 15 > < shad = 0 > 38 | < primary color = AAAAAA > < secondary color = FFGGGG > < outline color = 06 > < back color = 60GGG0 > 39 | < primary alpha = 55 > < secondary alpha = 1253 > < outline alpha = 42 > < back alpha = 3343 > 40 | 41 | 42 | # additional settings 43 | 44 | < blur = 527.000 > 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtcc/test4.tcc: -------------------------------------------------------------------------------- 1 | # tcc file version 2 | 3 | < tcc file version = 1.000 > 4 | 5 | 6 | # mode configuration 7 | 8 | < inherit ass header = true > 9 | < k mode = advanced > 10 | < text layout = vertical > 11 | < tcaxpy init = true > 12 | < tcaxpy user = false > 13 | < tcaxpy fin = false > 14 | 15 | 16 | # py settings 17 | 18 | < py file = test3.py > < beg line = -1 > < end line = 1 > 19 | < py file = test1.py > < beg line = -2 > < end line = 2 > 20 | < py file = test2.py > < beg line = -3 > < end line = 3 > 21 | < py file = test5.py > < beg line = -4 > < end line = 4 > 22 | 23 | 24 | # main settings 25 | 26 | < k-timed ass file = test_ksdff.ass > 27 | < font file = simheia 我艹.ttf > < font face id = 11 > < font size = 45 > 28 | < fx width = 12352 > < fx height = 723 > < fx fps = 23.976 > 29 | < alignment = 72 > 30 | < x offset = 310 > < y offset = 1235 > 31 | < spacing = 52 > < space scale = 24.000 > 32 | 33 | 34 | # style settings 35 | 36 | < font face name = "" > 37 | < bord = 15 > < shad = 0 > 38 | < primary color = AAAAAA > < secondary color = FFGGGG > < outline color = 06 > < back color = 60GGG0 > 39 | < primary alpha = 55 > < secondary alpha = 1253 > < outline alpha = 42 > < back alpha = 3343 > 40 | 41 | 42 | # additional settings 43 | 44 | < blur = 527.000 > 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtm/FreeType/readme.txt: -------------------------------------------------------------------------------- 1 | ../../Freetype -------------------------------------------------------------------------------- /src/TCAX/tcax/libtm/TODO.txt: -------------------------------------------------------------------------------- 1 | Add structures 2 | 3 | --------------- 4 | 5 | 6 | Add supports for vertical layout 7 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtm/doc.txt: -------------------------------------------------------------------------------- 1 |  2 | /** 3 | * TM_TextHori structure 4 | */ 5 | typedef struct _tm_text_hori { 6 | int ascender; 7 | int descender; 8 | int *width2D; /**< Store the Font Width of every Charactor */ 9 | int *height2D; /**< Store the Font Height of every Charactor */ 10 | int *kerning2D; /**< kerning pair */ 11 | int *advance2D; /**< Store the Font Horizon Advance of every Charactor */ 12 | int *advanceDiff2D; /**< the sum of Advances before the specified text */ 13 | int *length1D; /**< the length (Horizon) of every Dialogue */ 14 | int *initX2D; /**< Store the Initial x-position of the left up corner (an7) of a text */ 15 | int *initY2D; /**< Store the Initial y-position of the left up corner (an7) a text */ 16 | } TM_TextHori, *TM_pTextHori; 17 | 18 | /** 19 | * TM_WordHori structure 20 | */ 21 | typedef struct _tm_word_hori { 22 | ; 23 | } TM_WordHori, *TM_pWordHori; 24 | 25 | /** 26 | * TM_AdvHori structure 27 | */ 28 | typedef struct _tm_adv_hori { 29 | ; 30 | } TM_AdvHori, *TM_pAdvHori; 31 | 32 | /** 33 | * TM_TextVert structure 34 | */ 35 | typedef struct _tm_text_vert { 36 | ; 37 | } TM_TextVert, *TM_pTextVert; 38 | 39 | /** 40 | * TM_WordVert structure 41 | */ 42 | typedef struct _tm_word_vert { 43 | ; 44 | } TM_WordVert, *TM_pWordVert; 45 | 46 | /** 47 | * TM_AdvVert structure 48 | */ 49 | typedef struct _tm_adv_vert { 50 | ; 51 | } TM_AdvVert, *TM_pAdvVert; 52 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtm/libtm.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtm", "libtm.vcxproj", "{2972E818-F815-465B-805E-6F53C8F1F51F}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {2972E818-F815-465B-805E-6F53C8F1F51F}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {2972E818-F815-465B-805E-6F53C8F1F51F}.Debug|Win32.Build.0 = Debug|Win32 14 | {2972E818-F815-465B-805E-6F53C8F1F51F}.Release|Win32.ActiveCfg = Release|Win32 15 | {2972E818-F815-465B-805E-6F53C8F1F51F}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtm/libtm.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/libtm/libtm.suo -------------------------------------------------------------------------------- /src/TCAX/tcax/libtm/libtm.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | Source Files 23 | 24 | 25 | 26 | 27 | Header Files 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtm/libtm.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/tcax/libtm/temp_log.txt: -------------------------------------------------------------------------------- 1 | Added TM_InfoToTcx structure and added related functions (libtm_info_to_tcx_with_text, libtm_info_to_tcx_with_word, libtm_info_to_tcx_with_adv and libtm_free_info) 2 | 3 | fixed bug `>> 6' to `/ 64' (becuase some value may be minus...) 4 | -------------------------------------------------------------------------------- /src/TCAX/tcax/resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/resource.h -------------------------------------------------------------------------------- /src/TCAX/tcax/tcax.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/tcax.rc -------------------------------------------------------------------------------- /src/TCAX/tcax/tcax.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tcax", "tcax.vcxproj", "{418B6CFB-69D7-47B9-9E8B-19039D9E5DB0}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {418B6CFB-69D7-47B9-9E8B-19039D9E5DB0}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {418B6CFB-69D7-47B9-9E8B-19039D9E5DB0}.Debug|Win32.Build.0 = Debug|Win32 14 | {418B6CFB-69D7-47B9-9E8B-19039D9E5DB0}.Release|Win32.ActiveCfg = Release|Win32 15 | {418B6CFB-69D7-47B9-9E8B-19039D9E5DB0}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcax.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/tcax.suo -------------------------------------------------------------------------------- /src/TCAX/tcax/tcax.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/FreeType/readme.txt: -------------------------------------------------------------------------------- 1 | ../../Freetype -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/bezier curve rasterization.txt: -------------------------------------------------------------------------------- 1 | Key words: Bernstein polynomial, de Casteljau's algorithm 2 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/dedicated resizing.txt: -------------------------------------------------------------------------------- 1 | when change a text size from 30 to 40 during 23 frames (e.g., {\K100}) 2 | the shape jerked... (although the move can be smoothed by Bilinear filtering) 3 | 4 | solution: should be able to deal with image width and height of float number 5 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/devel.txt: -------------------------------------------------------------------------------- 1 | Keyframing technique: 2 | 3 | keyframing can be used to show changes in object geometry and changes in colour as well as movement 4 | 5 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/libpng/libpng15.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/tcaxLib/libpng/libpng15.lib -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/libpng/zlib.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/tcaxLib/libpng/zlib.lib -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/notice.txt: -------------------------------------------------------------------------------- 1 | PIX whose startTime > endTime are invalid ones, hence should not be writen to the file, however this check 2 | happens only at the composition phase (to form a TCAS_BUF), thus when come to the writing process, validity 3 | will not be checked again. 4 | 5 | Check happens in tcas_main, tcas_keyframe, tcas_user functions 6 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/std.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2009-2011 milkyjing 3 | * 4 | * This Program is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 2, or (at your option) 7 | * any later version. 8 | * 9 | * This Program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with GNU Make; see the file COPYING. If not, write to 16 | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 17 | * http://www.gnu.org/copyleft/gpl.html 18 | * 19 | */ 20 | 21 | #ifndef TCAXLIB_STD_H 22 | #define TCAXLIB_STD_H 23 | #pragma once 24 | 25 | #include 26 | #include 27 | 28 | #define TCAXLIB_VERSION 0x00007000 /**< High word of TCAXLIB_VERSION indicates major tcaxLib version, and low word indicates minor version */ 29 | #define TCAXLIB_VER_STR L"0.7" 30 | 31 | 32 | /** 33 | * TCAX_Py_Error_Code structure that is in fact a Python long object. 34 | */ 35 | typedef PyObject *TCAX_Py_Error_Code; 36 | 37 | 38 | #endif /* TCAXLIB_STD_H */ 39 | 40 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/tcaxLib.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tcaxLib", "tcaxLib.vcxproj", "{913F63C6-4941-4570-AD6A-A4E01FAE4686}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {913F63C6-4941-4570-AD6A-A4E01FAE4686}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {913F63C6-4941-4570-AD6A-A4E01FAE4686}.Debug|Win32.Build.0 = Debug|Win32 14 | {913F63C6-4941-4570-AD6A-A4E01FAE4686}.Release|Win32.ActiveCfg = Release|Win32 15 | {913F63C6-4941-4570-AD6A-A4E01FAE4686}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/tcaxLib.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/tcaxLib/tcaxLib.suo -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/tcaxLib.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/temp_log.txt: -------------------------------------------------------------------------------- 1 | Added ImagePix function (only supports png file whose bit_depth is 8 and color_type is GRAY RGB or RGBA 2 | 3 | Fixed a bug in function tcxlib_combine_two_pixs() 4 | 5 | Updated function _tcxlib_resample_rgba() 6 | 7 | fixed bug `>> 6' to `/ 64' (becuase some value may be minus...) 8 | 9 | 10 | Rewrited the function _tcxlib_get_texts_pix, because the previous version had some damn bugs 11 | 12 | Fixed a small bug in function tcxlib_bilinear_filter_internal(), tcxlib_tcs_list_append_pix() and tcxlib_tcs_list_append_pix_with_fade() 13 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/test.c: -------------------------------------------------------------------------------- 1 | #include "test.h" 2 | 3 | static void dump_outline(FT_Outline *outline) { 4 | int i,j, t; 5 | FT_Vector *vp; 6 | printf("%d points, %d contours\n\n", outline->n_points,outline->n_contours); 7 | j = 0; 8 | for (i = 0; i < outline->n_points; i++) { 9 | vp = &outline->points[i]; 10 | t = outline->tags[i]; 11 | printf("%i: %i %i %c\n", i, vp->x, vp->y, "+*##"[t & 3]); 12 | if (i == outline->contours[j]) { 13 | j++; 14 | putchar('\n'); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/test.h: -------------------------------------------------------------------------------- 1 | /* for test purpose */ 2 | 3 | #include "pix.h" 4 | #include "text.h" 5 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/text.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/tcaxLib/text.rar -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxLib/tricks.txt: -------------------------------------------------------------------------------- 1 | PIX is tuple, hence it is read only, how do we modify its values when needed? 2 | here is a trick, we know that PIX is actually ((initX, initY), (width, height), (r1, g1, b1, a1, r2, g2, b2, a2, ...)) 3 | so, if we want to modify the initY, we write y = y(PIX[0][1]), then convert back by PIX = ((PIX[0][0], y), PIX[1], PIX[2]), 4 | if we need modify all of the data, we can simply use PIX_d = [list(PIX[0]), list(PIX[1]), list(PIX[2])], and convert back by 5 | PIX = (tuple(PIX_D[0]), tuple(PIX_d[1]), tuple(PIX_D[2])) 6 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/OO design.txt: -------------------------------------------------------------------------------- 1 | How can we use the object-oriented method to simplify the writing of tcax py script? 2 | 3 | class AssFX, responsible for a complete ASS FX 4 | 5 | class AssLine, responsible for an ASS line, an ASS FX is consisted of thousands of ASS lines 6 | 7 | class AssStyle -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/TODO.txt: -------------------------------------------------------------------------------- 1 | add a function in test.c (#include "../libtcc", "../libsyl", "../libtm") to help initialize PY_InitData (deep copy), 2 | add a function in py.h and py.c tcxpy_free_initdata() to free all the data 3 | 4 | or we can consider make tcxpy depending on libtcc, libsyl and libtm. 5 | 6 | ----------------------------------------- 7 | 8 | add other functions 9 | 10 | 11 | ----------------------- 12 | 13 | add tcxPy_Fin() -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/doc.txt: -------------------------------------------------------------------------------- 1 |  2 | PY_Error_Code tcxpy_exec_py_script(const wchar_t *filename) { 3 | int len, size; 4 | char *buf; 5 | char *ansiFilename; 6 | _tcxpy_sz_unicode_to_ansi(filename, &ansiFilename); 7 | len = strlen(ansiFilename); 8 | size = 11 + len + 11; 9 | buf = (char *)malloc(size * sizeof(char)); 10 | memcpy(buf, "exec(open('", 11 * sizeof(char)); 11 | memcpy(buf + 11, ansiFilename, len * sizeof(char)); 12 | memcpy(buf + 11 + len, "').read())\0", 11 * sizeof(char)); 13 | free(ansiFilename); 14 | PyRun_SimpleString(buf); 15 | free(buf); 16 | return py_error_success; 17 | } 18 | 19 | 20 | gcc -o t -Wall test.c py.c -I/root/Python-3.2/ -I/root/Python-3.2/Include/ -I/usr/local/lib/ -lpython3.2m -lm -lpthread -ldl -lutil 21 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/issues.txt: -------------------------------------------------------------------------------- 1 | there are some problem with function tcxpy_exec_py_script() caused by Python function PyRun_SimpleFile, this error occurs in Windows 7 Visual Studio 2010 -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/legacy.txt: -------------------------------------------------------------------------------- 1 |  2 | PY_Error_Code _tcaxpy_convert_file_to_ansi(const char *filename) { 3 | FILE *fp; 4 | unsigned char sig[3]; 5 | sig[0] = 0xFF; 6 | sig[1] = 0xFF; 7 | sig[2] = 0xFF; 8 | fp = fopen(filename, "rb"); 9 | if (!fp) return py_error_file_cant_open; 10 | fread(sig, sizeof(unsigned char), 3, fp); 11 | fclose(fp); 12 | if ((0xFF == sig[0] && 0xFE == sig[1]) || (0xFE == sig[0] && 0xFF == sig[1]) || (0xEF == sig[0] && 0xBB == sig[1] && 0xBF == sig[2])) { 13 | int size; 14 | char *ansi; 15 | if (_tcaxpy_read_file_to_ansi(filename, &ansi, &size) != py_error_success) return py_error_file_while_reading; 16 | fp = fopen(filename, "wb"); 17 | if (!fp) { 18 | free(ansi); 19 | return py_error_file_cant_open; 20 | } 21 | if (fwrite(ansi, sizeof(char), size, fp) != size) { 22 | free(ansi); 23 | fclose(fp); 24 | return py_error_file_while_writing; 25 | } 26 | free(ansi); 27 | fclose(fp); 28 | } 29 | return py_error_success; 30 | } 31 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/part1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/tcaxPy/part1.py -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/tcaxPy.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/tcaxPy/tcaxPy.rar -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/tcaxPy.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tcaxPy", "tcaxPy.vcxproj", "{F6AE092E-42B3-4A98-B096-343302E8B28B}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {F6AE092E-42B3-4A98-B096-343302E8B28B}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {F6AE092E-42B3-4A98-B096-343302E8B28B}.Debug|Win32.Build.0 = Debug|Win32 14 | {F6AE092E-42B3-4A98-B096-343302E8B28B}.Release|Win32.ActiveCfg = Release|Win32 15 | {F6AE092E-42B3-4A98-B096-343302E8B28B}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/tcaxPy.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/tcaxPy/tcaxPy.suo -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/tcaxPy.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | Source Files 23 | 24 | 25 | 26 | 27 | Header Files 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/tcaxPy.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/tcaxPyOO.py: -------------------------------------------------------------------------------- 1 | # this class deals with the 2 | class AssFX: -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/tcax_py_template.py: -------------------------------------------------------------------------------- 1 | from tcaxPy import * 2 | 3 | 4 | def tcaxPy_Init(): 5 | print('Tips: you can initialize your global variables here.') 6 | print('This function will be executed once if you set `< tcaxpy init = true >\'') 7 | print(GetHelp()) 8 | 9 | 10 | def tcaxPy_User(): 11 | print('User defined function.') 12 | print('This function will be executed once if you set `< tcaxpy user = true >\'') 13 | print('Otherwise, tcaxPy_Main will be executed (many times)') 14 | 15 | 16 | def tcaxPy_Fin(): 17 | print('Tips: you can finalize your global variables here.') 18 | print('This function will be executed once if you set `< tcaxpy fin = true >\'') 19 | print('Note: you do not need to finalize the global variables got from function GetVal()') 20 | 21 | 22 | def tcaxPy_Main(_i, _j, _n, _start, _end, _elapk, _k, _x, _y, _a, _txt): 23 | 24 | ASS_BUF = [] # used for saving ASS FX lines 25 | TCAS_BUF = [] # used for saving TCAS FX raw data 26 | 27 | ############################# 28 | # TODO: write your codes here # 29 | 30 | ass_main(ASS_BUF, SubL(_start, _end), pos(_x, _y) + K(_elapk) + K(_k), _txt) 31 | 32 | ############################# 33 | 34 | return (ASS_BUF, TCAS_BUF) 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/temp_log.txt: -------------------------------------------------------------------------------- 1 | Added some comments 2 | Added function tcxpy_init_base_py_module() 3 | 4 | # Version: ver0.7.3.5 build20100109 5 | # Revision: ver0.7.3.6 build20100902 6 | 7 | initial version of tcxPy in tcxCore project 8 | 9 | 10 | Added function tcxpy_init_user_py_module() 11 | 12 | Added function tcxpy_fin_tcxpy() 13 | 14 | ---------------------------- 15 | 16 | Fixed bugs in function tcxpy_init_base_py_module() -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/test.py.token: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/tcaxPy/test.py.token -------------------------------------------------------------------------------- /src/TCAX/tcax/tcaxPy/test_tcaxPy.py: -------------------------------------------------------------------------------- 1 | from tcaxPy import * 2 | import sys 3 | 4 | def test(): 5 | print(clip_0_255(990.55)) 6 | 7 | test() 8 | sys.stdin.readline() 9 | -------------------------------------------------------------------------------- /src/TCAX/tcax/templates/__pycache__/user_template_1.cpython-32.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/templates/__pycache__/user_template_1.cpython-32.pyc -------------------------------------------------------------------------------- /src/TCAX/tcax/templates/preview.avs: -------------------------------------------------------------------------------- 1 | LoadPlugin("I:\TheTecoProject\tcxCore project\tcxCore\branches\bin\VSFilter.dll") 2 | 3 | BlankClip(length=2100,width=1280,height=720,fps=23.976,pixel_type="RGB32",color=$000000) 4 | TextSub("test.ass") 5 | -------------------------------------------------------------------------------- /src/TCAX/tcax/templates/saiyaku_pro_ver.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/templates/saiyaku_pro_ver.rar -------------------------------------------------------------------------------- /src/TCAX/tcax/templates/saiyaku_pro_ver/__pycache__/tcaxPy_template_saiyaku_pro_ver.cpython-32.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/templates/saiyaku_pro_ver/__pycache__/tcaxPy_template_saiyaku_pro_ver.cpython-32.pyc -------------------------------------------------------------------------------- /src/TCAX/tcax/templates/saiyaku_pro_ver/preview.avs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/templates/saiyaku_pro_ver/preview.avs -------------------------------------------------------------------------------- /src/TCAX/tcax/templates/saiyaku_pro_ver/saiyaku_pro_ver.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/templates/saiyaku_pro_ver/saiyaku_pro_ver.rar -------------------------------------------------------------------------------- /src/TCAX/tcax/templates/saiyaku_pro_ver/tcaxPy_template_saiyaku_pro_ver.py.token: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/templates/saiyaku_pro_ver/tcaxPy_template_saiyaku_pro_ver.py.token -------------------------------------------------------------------------------- /src/TCAX/tcax/templates/saiyaku_pro_ver/test.tcc: -------------------------------------------------------------------------------- 1 | TCC for testing 2 | 3 | 4 | # tcc file version 5 | 6 | < tcc file version = 1.0 > 7 | 8 | 9 | # mode configuration 10 | 11 | < inherit ass header = false > 12 | < k mode = syl > 13 | < text layout = horizontal > 14 | < tcaxpy init = true > 15 | < tcaxpy user = true > 16 | < tcaxpy fin = true > 17 | 18 | 19 | # py settings 20 | 21 | < py file = tcaxPy_template_saiyaku_pro_ver.py > < beg line = 1 > < end line = 0 > 22 | 23 | 24 | # main settings 25 | 26 | < k-timed ass file = test_k.ass > 27 | < font file = simhei.TTF > < font face id = 1 > < font size = 36 > 28 | < fx width = 848 > < fx height = 480 > < fx fps = 23.976 > 29 | < alignment = 1 > 30 | < x offset = 0 > < y offset = 15 > 31 | < spacing = 0 > < space scale = 1.0 > 32 | 33 | 34 | # style settings 35 | 36 | < font face name = "" > 37 | < bord = 1 > < shad = 0 > 38 | < primary color = 0000FF > < secondary color = 8080FF > < outline color = 000040 > < back color = 800080 > 39 | < primary alpha = 0 > < secondary alpha = 255 > < outline alpha = 0 > < back alpha = 255 > 40 | 41 | 42 | # additional settings 43 | 44 | < blur = 0.0 > 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /src/TCAX/tcax/templates/soleil_pro_ver.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/templates/soleil_pro_ver.rar -------------------------------------------------------------------------------- /src/TCAX/tcax/templates/test.tcas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/templates/test.tcas -------------------------------------------------------------------------------- /src/TCAX/tcax/templates/test.tcc: -------------------------------------------------------------------------------- 1 | # tcc file version 2 | 3 | < tcc file version = 1.0 > 4 | 5 | 6 | # mode configuration 7 | 8 | < inherit ass header = false > 9 | < k mode = normal > 10 | < text layout = horizontal > 11 | < tcaxpy init = false > 12 | < tcaxpy user = true > 13 | < tcaxpy fin = false > 14 | 15 | 16 | # py settings 17 | 18 | < py file = user_template_1.py > < beg line = 1 > < end line = 0 > 19 | 20 | 21 | # main settings 22 | 23 | < k-timed ass file = test_k.ass > 24 | < font file = dfmrm5_0.ttc > < font face id = 2 > < font size = 40 > 25 | < fx width = 1280 > < fx height = 720 > < fx fps = 23.976 > 26 | < alignment = 8 > 27 | < x offset = 30 > < y offset = 24 > 28 | < spacing = 2 > < space scale = 1.0 > 29 | 30 | 31 | # style settings 32 | 33 | < font face name = "" > 34 | < bord = 3 > < shad = 0 > 35 | < primary color = FFE8FF > < secondary color = 0000FF > < outline color = 000050 > < back color = 000000 > 36 | < primary alpha = 0 > < secondary alpha = 255 > < outline alpha = 0 > < back alpha = 255 > 37 | 38 | 39 | # additional settings 40 | 41 | < blur = 0.0 > 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /src/TCAX/tcax/templates/user_template_1.py.token: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tcax/templates/user_template_1.py.token -------------------------------------------------------------------------------- /src/TCAX/tccHelper/fontColor/fontColor.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tccHelper/fontColor/fontColor.aps -------------------------------------------------------------------------------- /src/TCAX/tccHelper/fontColor/fontColor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tccHelper/fontColor/fontColor.cpp -------------------------------------------------------------------------------- /src/TCAX/tccHelper/fontColor/fontColor.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | tcax_tools_fontColor 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/TCAX/tccHelper/fontColor/fontColor.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tccHelper/fontColor/fontColor.ico -------------------------------------------------------------------------------- /src/TCAX/tccHelper/fontColor/fontColor.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fontColor", "fontColor.vcxproj", "{94C34094-4AD4-4ADC-B0FC-F74BCD7962F9}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {94C34094-4AD4-4ADC-B0FC-F74BCD7962F9}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {94C34094-4AD4-4ADC-B0FC-F74BCD7962F9}.Debug|Win32.Build.0 = Debug|Win32 14 | {94C34094-4AD4-4ADC-B0FC-F74BCD7962F9}.Release|Win32.ActiveCfg = Release|Win32 15 | {94C34094-4AD4-4ADC-B0FC-F74BCD7962F9}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/tccHelper/fontColor/fontColor.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tccHelper/fontColor/fontColor.suo -------------------------------------------------------------------------------- /src/TCAX/tccHelper/fontColor/fontColor.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/tccHelper/fontColor/fontColor_dll/fontColor_dll.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fontColor_dll", "fontColor_dll.vcxproj", "{5A34CC80-A7E4-40A7-B6A7-0CF8F68B5FC3}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {5A34CC80-A7E4-40A7-B6A7-0CF8F68B5FC3}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {5A34CC80-A7E4-40A7-B6A7-0CF8F68B5FC3}.Debug|Win32.Build.0 = Debug|Win32 14 | {5A34CC80-A7E4-40A7-B6A7-0CF8F68B5FC3}.Release|Win32.ActiveCfg = Release|Win32 15 | {5A34CC80-A7E4-40A7-B6A7-0CF8F68B5FC3}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/TCAX/tccHelper/fontColor/fontColor_dll/fontColor_dll.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/tccHelper/fontColor/fontColor_dll/fontColor_dll.suo -------------------------------------------------------------------------------- /src/TCAX/tccHelper/fontColor/fontColor_dll/fontColor_dll.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/TCAX/tccHelper/fontColor/fontColor_dll/fontColor_dll.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/tccHelper/fontColor/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by fontColor.rc 4 | // 5 | #define IDI_ICON_MAIN 101 6 | #define IDD_DIALOG_MAIN 102 7 | #define IDD_DIALOG_COLOR 103 8 | #define IDC_COMBO_FONT 1001 9 | #define IDC_EDIT_FACE_ID 1002 10 | #define IDC_EDIT_FILE_NAME 1003 11 | #define IDC_EDIT_FACE_NAME 1004 12 | #define IDC_EDIT_COLOR 1005 13 | #define IDC_CHECK_HIDE_DLG 1006 14 | #define IDC_BTN_EXIT 1051 15 | #define IDC_BTN_COPY_FILE_NAME 1052 16 | #define IDC_BTN_COPY_FACE_NAME 1053 17 | #define IDC_BTN_CAPTURE_COLOR 1054 18 | #define IDC_BTN_SELECT_COLOR 1055 19 | #define IDC_BTN_COPY_COLOR 1056 20 | #define IDC_BTN_COPY_FILE 1057 21 | 22 | // Next default values for new objects 23 | // 24 | #ifdef APSTUDIO_INVOKED 25 | #ifndef APSTUDIO_READONLY_SYMBOLS 26 | #define _APS_NEXT_RESOURCE_VALUE 105 27 | #define _APS_NEXT_COMMAND_VALUE 40001 28 | #define _APS_NEXT_CONTROL_VALUE 1010 29 | #define _APS_NEXT_SYMED_VALUE 101 30 | #endif 31 | #endif 32 | -------------------------------------------------------------------------------- /src/TCAX/tccHelper/fontColor/stdafx.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | 3 | 4 | void Message(int i) 5 | { 6 | WCHAR wcs[33]; 7 | ::_itow_s(i, wcs, 32, 10); 8 | ::MessageBoxW(NULL, wcs, L"Info", MB_OK); 9 | } 10 | 11 | void Message(LPCWSTR wcs) 12 | { 13 | ::MessageBoxW(NULL, wcs, L"Info", MB_OK); 14 | } 15 | 16 | void Message(LPCSTR str) 17 | { 18 | ::MessageBoxA(NULL, str, "Info", MB_OK); 19 | } 20 | -------------------------------------------------------------------------------- /src/TCAX/tccHelper/fontColor/stdafx.h: -------------------------------------------------------------------------------- 1 | #ifndef __STDAFX_H__ 2 | #define __STDAFX_H__ 3 | #pragma once 4 | #ifndef WINVER 5 | #define WINVER 0x0501 6 | #endif 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | using std::vector; 13 | 14 | 15 | void Message(int i); 16 | void Message(LPCWSTR wcs); 17 | void Message(LPCSTR str); 18 | 19 | #endif // __STDAFX_H__ 20 | -------------------------------------------------------------------------------- /src/TCAX/util/boost/libs/magick/PythonMagick-0.9.7.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/util/boost/libs/magick/PythonMagick-0.9.7.zip -------------------------------------------------------------------------------- /src/TCAX/util/boost/libs/magick/config.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/util/boost/libs/magick/config.rar -------------------------------------------------------------------------------- /src/TCAX/util/boost/libs/magick/helpers_src/Blob.cpp: -------------------------------------------------------------------------------- 1 | #include "Blob.h" 2 | 3 | void update_wrapper(Magick::Blob& blob, const std::string& data) { 4 | blob.update(data.c_str(),data.size()); 5 | } 6 | 7 | std::string get_blob_data(const Magick::Blob& blob) { 8 | const char* data = static_cast(blob.data()); 9 | size_t length = blob.length(); 10 | return std::string(data,data+length); 11 | } 12 | -------------------------------------------------------------------------------- /src/TCAX/util/boost/libs/magick/helpers_src/Blob.h: -------------------------------------------------------------------------------- 1 | #ifndef HELPER_BLOB_H 2 | #define HELPER_BLOB_H 3 | 4 | #include 5 | #include 6 | 7 | void update_wrapper(Magick::Blob& blob, const std::string& data); 8 | std::string get_blob_data(const Magick::Blob& blob); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/TCAX/util/boost/libs/magick/helpers_src/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libhelper.la 2 | 3 | libhelper_la_SOURCES = Blob.cpp 4 | noinst_HEADERS = Blob.h 5 | libhelper_la_CXXFLAGS = $(MAGICKPP_CFLAGS) 6 | -------------------------------------------------------------------------------- /src/TCAX/util/boost/libs/magick/patterns.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/util/boost/libs/magick/patterns.rar -------------------------------------------------------------------------------- /src/TCAX/util/cairo/Cairo_change.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/TCAX/util/cairo/Cairo_change.rar -------------------------------------------------------------------------------- /src/TCAX/util/cairo/__init__.py: -------------------------------------------------------------------------------- 1 | ''' 2 | Copyright © 2003,2010 James Henstridge, Steven Chaplin 3 | 4 | This file is part of pycairo. 5 | 6 | Pycairo is free software: you can redistribute it and/or modify it under 7 | the terms of the GNU Lesser General Public License version 3 as published 8 | by the Free Software Foundation. 9 | 10 | Pycairo is distributed in the hope that it will be useful, but WITHOUT ANY 11 | WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 12 | FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for 13 | more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pycairo. If not, see . 17 | ''' 18 | from ._cairo import * 19 | from .CairoAssist import * 20 | -------------------------------------------------------------------------------- /src/TCAX/util/cairo/cmd.bat: -------------------------------------------------------------------------------- 1 | I: 2 | cd RIXE 3 | cd misc 4 | cd Cairo 5 | cd cairo-1.10.2 6 | make -f Makefile.win32 CFG=release 7 | -------------------------------------------------------------------------------- /src/TCAX/util/cairo/compile.txt: -------------------------------------------------------------------------------- 1 | use msys (+gcc) to compile 2 | 3 | -------------------------------------------------------------------------------- /src/TCAX/util/cairo/draw2pix.py: -------------------------------------------------------------------------------- 1 | from tcaxPy import * 2 | from util.cairo import * 3 | 4 | # 初始化cairo 5 | def cairo_init(width, height): 6 | global surface 7 | global ctx 8 | surface = ImageSurface(FORMAT_ARGB32, width, height) 9 | ctx = Context(surface) 10 | # 增加额外的初始化代码 11 | ctx.set_line_width(1) 12 | ctx.set_source_rgba(1, 1, 1, 1) 13 | 14 | # ASS绘图代码转PIX 15 | def draw2pix(draw): 16 | # 自己定制绘制效果 17 | offset_x = surface.get_width() // 2 18 | offset_y = surface.get_height() // 2 19 | ctx.translate(offset_x, offset_y) 20 | #ctx.scale(2, 2) 21 | AssDraw(ctx, draw) 22 | ctx.fill_preserve() 23 | ctx.stroke() 24 | #ctx.scale(1/2, 1/2) 25 | ctx.translate(-offset_x, -offset_y) 26 | # 获取PIX, 并清空画布 27 | PIX = surface.get_pix() 28 | surface_clear(ctx) 29 | return PIX 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/TCAX/util/cairo/pycairo/cmd: -------------------------------------------------------------------------------- 1 | gcc -shared -std=c99 -Wall -O3 -o _cairo.pyd -DHAVE_DECLSPEC_DLL -DPy_ENABLE_SHARED cairomodule.c context.c font.c matrix.c path.c pattern.c surface.c -I"/d/Program Files/Python32/include" -L"/d/Program Files/Python32/libs" -I/usr/local/include/cairo -L/usr/local/lib -lcairo -lpixman-1 -lpng -lfreetype -lz -lpython32 -lgdi32 -lmsimg32 -Wl,--enable-runtime-pseudo-reloc -static 2 | strip --strip-all _cairo.pyd 3 | -------------------------------------------------------------------------------- /src/TCAX/util/cairo/pycairo/compile: -------------------------------------------------------------------------------- 1 | gcc -shared -std=c99 -Wall -O3 -o _cairo.pyd -DHAVE_DECLSPEC_DLL -DPy_ENABLE_SHARED cairomodule.c context.c font.c matrix.c path.c pattern.c surface.c -I"/d/Program Files/Python32/include" -L"/d/Program Files/Python32/libs" -I/usr/local/include/cairo -L/usr/local/lib -lcairo -lpixman-1 -lpng -lfreetype -lz -lpython32 -lgdi32 -lmsimg32 -Wl,--enable-runtime-pseudo-reloc -static 2 | strip --strip-all _cairo.pyd 3 | -------------------------------------------------------------------------------- /src/TCAX/util/cairo/pycairo/config.h: -------------------------------------------------------------------------------- 1 | #define VERSION "1.10.0" 2 | #define PYCAIRO_VERSION_MAJOR 1 3 | #define PYCAIRO_VERSION_MINOR 10 4 | #define PYCAIRO_VERSION_MICRO 0 5 | -------------------------------------------------------------------------------- /src/examples/readme.txt: -------------------------------------------------------------------------------- 1 | please visit www.tcax.org for the examples of TCAX. -------------------------------------------------------------------------------- /src/libtcas/TODO.txt: -------------------------------------------------------------------------------- 1 | Refine legacy code of libtcs to libtcas code. 2 | 3 | it is possible to use zlib to compress linear timing TCAS streams. should deal with this issue after 4 | the implementation of linear timing TCAS specification. -------------------------------------------------------------------------------- /src/libtcas/avl/avl.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "avl", "avl.vcxproj", "{4918EB85-D82C-4C28-A951-6A1DC82C2B8E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {4918EB85-D82C-4C28-A951-6A1DC82C2B8E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {4918EB85-D82C-4C28-A951-6A1DC82C2B8E}.Debug|Win32.Build.0 = Debug|Win32 14 | {4918EB85-D82C-4C28-A951-6A1DC82C2B8E}.Release|Win32.ActiveCfg = Release|Win32 15 | {4918EB85-D82C-4C28-A951-6A1DC82C2B8E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/libtcas/avl/avl.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/avl/avl.suo -------------------------------------------------------------------------------- /src/libtcas/avl/avl.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Header Files 20 | 21 | 22 | 23 | 24 | Source Files 25 | 26 | 27 | Source Files 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/libtcas/avl/avl.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/libtcas/license.txt: -------------------------------------------------------------------------------- 1 | libtcas 2 | 3 | Copyright (C) 2011 milkyjing 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | 21 | milkyjing 22 | -------------------------------------------------------------------------------- /src/libtcas/merger/merger.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "merger", "merger.vcxproj", "{D3722891-4231-4D4F-8E32-80E128A77099}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {D3722891-4231-4D4F-8E32-80E128A77099}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {D3722891-4231-4D4F-8E32-80E128A77099}.Debug|Win32.Build.0 = Debug|Win32 14 | {D3722891-4231-4D4F-8E32-80E128A77099}.Release|Win32.ActiveCfg = Release|Win32 15 | {D3722891-4231-4D4F-8E32-80E128A77099}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/libtcas/merger/merger.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/merger/merger.suo -------------------------------------------------------------------------------- /src/libtcas/merger/merger.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/libtcas/merger/merger.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/libtcas/parser/parser.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "parser", "parser.vcxproj", "{4B67A90B-E7E5-4F2C-830F-3189FDA54097}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {4B67A90B-E7E5-4F2C-830F-3189FDA54097}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {4B67A90B-E7E5-4F2C-830F-3189FDA54097}.Debug|Win32.Build.0 = Debug|Win32 14 | {4B67A90B-E7E5-4F2C-830F-3189FDA54097}.Release|Win32.ActiveCfg = Release|Win32 15 | {4B67A90B-E7E5-4F2C-830F-3189FDA54097}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/libtcas/parser/parser.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/parser/parser.suo -------------------------------------------------------------------------------- /src/libtcas/parser/parser.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/libtcas/parser/parser.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/libtcas/rb/rb.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rb", "rb.vcxproj", "{8E191F80-93FE-49D8-9534-AD51FC08F644}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {8E191F80-93FE-49D8-9534-AD51FC08F644}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {8E191F80-93FE-49D8-9534-AD51FC08F644}.Debug|Win32.Build.0 = Debug|Win32 14 | {8E191F80-93FE-49D8-9534-AD51FC08F644}.Release|Win32.ActiveCfg = Release|Win32 15 | {8E191F80-93FE-49D8-9534-AD51FC08F644}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/libtcas/rb/rb.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/rb/rb.suo -------------------------------------------------------------------------------- /src/libtcas/rb/rb.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Header Files 20 | 21 | 22 | 23 | 24 | Source Files 25 | 26 | 27 | Source Files 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/libtcas/rb/rb.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/libtcas/tcas/Copies/revision.txt: -------------------------------------------------------------------------------- 1 | r177 2 | -------------------------------------------------------------------------------- /src/libtcas/tcas/algorithm.txt: -------------------------------------------------------------------------------- 1 | stream parser. 2 | 3 | parse a tcas_unit byte stream instead of a file, return a new tcas_unit byte stream. 4 | 5 | if tcaxPy_Main is used, the returned tcas_unit byte stream may need to be converted back to Python list 6 | if tcaxPy_User is used, we can simply use function WriteTcasFile(TCAS_FILE, TCAS_BUF, parse=true) to eliminate the convertion 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/libtcas/tcas/issue.txt: -------------------------------------------------------------------------------- 1 | performance issues: 2 | 3 | cache support 4 | 5 | 6 | file I/O issues (which is related to the performance, the small the file is, the less time it spent on I/O): 7 | 8 | to a compressed TCAS chunk, its pos_and_color can be compressed again by using zlib, which can save about a half of the disc space. 9 | 10 | three things should be updated: 11 | 12 | 1. the header (flag of the TCAS file) 13 | 2. libtcas_read_specified_chunk, which should support reading of compressed pos_and_color 14 | 3. when writing, compression support should be added, related functions: 15 | a) libtcas_compress_raw_chunks, this function is to compress raw chunks to compressed chunks 16 | *b) a new function should be added, libtcas_compress_pos_and_color, which receives a stream created by the libtcas_compress_raw_chunks function, and returns a new stream 17 | c) libtcas_write, this function is to write the compressed chunks with compressed pos_and_color to the file. 18 | 19 | the new set of APIs will be contained in the file hla_z_comp.c and hla_z_comp.h 20 | 21 | 22 | 23 | vector_quicksort stack overflow issue 24 | 25 | the vector_quicksort method may occupy more memory than the default reserved stack, so we can change the stack size reserved through 26 | 27 | Project -> Properties -> Configuration Properties -> Linker -> System -> Stack Reserve Size 28 | 29 | -------------------------------------------------------------------------------- /src/libtcas/tcas/modules.txt: -------------------------------------------------------------------------------- 1 | core (base) 2 | tcas.c tcas.h, includes: vector.h vector.c, provides basic functionality 3 | 4 | 5 | high level api (need pthreads) 6 | hla_mt.c hla_mt.h, includes the tcas base, and threadpool.c threadpool.h which is implemented upon pthreads-win32 7 | 8 | hla_mt_mm.c hla_mt_mm.h, includes the tcas base, mapfile.c mapfile.h, and threadpool.c threadpool.h which is implemented upon pthreads-win32 9 | 10 | 11 | high level api (cache functionality) 12 | hla_file_cache.c hla_file_cache.h, includes the tcas base (after several comprehensive testing, these APIs are not suitable for practical use, and replaced by the hla_chunk_cache API set) 13 | 14 | hla_chunk_cache.c hla_chunk_cache.h, includes the tcas base, queue.c queue.h, rb.c rb.h, and avl.c, avl.h 15 | 16 | hla_frame_cache.c hla_frame_cache.h, includes the tcas base, and queue.c queue.h 17 | 18 | hla_double_cache.c hla_double_cache.h, includes the hla_chunk_cache 19 | 20 | hla_framer.c hla_framer.h, includes the tcas base 21 | 22 | hla_stream_parser.c hla_stream_parser.h, includes the tcas base 23 | 24 | 25 | high level api (compression functionality, for practical use) 26 | hla_z_comp.c hla_z_comp.h, includes the tcas base and the zlib 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/libtcas/tcas/notice.txt: -------------------------------------------------------------------------------- 1 | Note that, tcas lib does not check for null pointers as parameters. 2 | IMPORTANT: encapsulation on Containers (Collectors), meaning that you can only use interface to access their data members. 3 | But this constraint is not for other data types (structs) 4 | 5 | CONSTRAINTS: when writing the TCAS file, please make sure if startTime < endTime, do not write the chunk, 6 | if startTime == endTime and is not key frame chunks, do not write the chunk. 7 | 8 | compacted index does not surport key framing. 9 | -------------------------------------------------------------------------------- /src/libtcas/tcas/occupied files.txt: -------------------------------------------------------------------------------- 1 | used files: 2 | 3 | .\zlib 4 | 5 | hla_frame_cache.h 6 | hla_framer.h 7 | hla_stream_parser.h 8 | hla_util.h 9 | hla_z_comp.h 10 | queue.h 11 | rb.h 12 | tcas.h 13 | vector.h 14 | 15 | hla_frame_cache.c 16 | hla_framer.c 17 | hla_stream_parser.c 18 | hla_util.c 19 | hla_z_comp.c 20 | queue.c 21 | rb.c 22 | tcas.c 23 | test.c 24 | vector.c 25 | -------------------------------------------------------------------------------- /src/libtcas/tcas/prior.txt: -------------------------------------------------------------------------------- 1 | check the functions on HIGH LEVEL API part, and finish the implementation of parsing compressed TCAS file with linearized index streams. 2 | 3 | after that, start the project of `The TCAX Porject' 4 | -------------------------------------------------------------------------------- /src/libtcas/tcas/pthreadVC2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/tcas/pthreadVC2.dll -------------------------------------------------------------------------------- /src/libtcas/tcas/pthreads-win32/pthreadVC2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/tcas/pthreads-win32/pthreadVC2.dll -------------------------------------------------------------------------------- /src/libtcas/tcas/pthreads-win32/pthreadVC2.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/tcas/pthreads-win32/pthreadVC2.lib -------------------------------------------------------------------------------- /src/libtcas/tcas/tcas.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/tcas/tcas.rar -------------------------------------------------------------------------------- /src/libtcas/tcas/tcas.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tcas", "tcas.vcxproj", "{FF12EF1E-6D86-4C61-AAC7-6795CD9BB345}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {FF12EF1E-6D86-4C61-AAC7-6795CD9BB345}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {FF12EF1E-6D86-4C61-AAC7-6795CD9BB345}.Debug|Win32.Build.0 = Debug|Win32 14 | {FF12EF1E-6D86-4C61-AAC7-6795CD9BB345}.Release|Win32.ActiveCfg = Release|Win32 15 | {FF12EF1E-6D86-4C61-AAC7-6795CD9BB345}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/libtcas/tcas/tcas.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/tcas/tcas.suo -------------------------------------------------------------------------------- /src/libtcas/tcas/tcas.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/libtcas/tcas/techniques.txt: -------------------------------------------------------------------------------- 1 | Core Techniques 2 | 3 | 4 | Ordered Index 5 | ordered by chunk layer and offset of the chunk in the file, use a separate ID to indicate the order 6 | 7 | Index Linearization 8 | linearize the ordered index to separate linear index streams 9 | 10 | Chunk Lookup and Chunk Cache 11 | find all the effective chunks concerning frame n, and cache them, for they may still be effective to the next frame 12 | 13 | Key Framing 14 | generating of inter-mediate frames according to a key frame pair 15 | 16 | Zlib Compression 17 | use zlib to compress the pos_and_color of compressed chunks 18 | 19 | 20 | 21 | Utility Techniques 22 | 23 | 24 | File Cache 25 | cache a piece of the file to speed up the I/O 26 | 27 | Frame Cache 28 | cache a sequence of generated TCAS frames to improve the overall performance 29 | 30 | 31 | 32 | Obsolete Techniques 33 | 34 | 35 | Threadpooling 36 | use a threadpool to generate TCAS frames in parallels 37 | 38 | Mapping of File 39 | map the whole file into memory 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/libtcas/tcas/temp.txt: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | void Message(unsigned long i) { 5 | char sz[100]; 6 | sprintf(sz, "%08X", i); 7 | MessageBoxA(NULL, sz, "D", MB_OK); 8 | } 9 | -------------------------------------------------------------------------------- /src/libtcas/tcas/test.c: -------------------------------------------------------------------------------- 1 | #include "tcas.h" 2 | #include "hla_z_comp.h" 3 | #include "hla_frame_cache.h" 4 | #include "hla_framer.h" 5 | #include "hla_stream_parser.h" 6 | 7 | int main() { 8 | printf("Hello, TCAS!\n"); 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /src/libtcas/tcas/test_mapfile.c: -------------------------------------------------------------------------------- 1 | #include "mapfile.h" 2 | #include 3 | 4 | 5 | int main() { 6 | HANDLE hMapFile; 7 | unsigned long *buf; 8 | buf = libtcas_mapfile("test.tcas", &hMapFile, NULL); 9 | if (buf) { 10 | printf("%08X\n", buf[0]); 11 | libtcas_unmapfile(hMapFile, buf); 12 | } 13 | return 0; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /src/libtcas/tcas/zlib/previous/zlib.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/tcas/zlib/previous/zlib.lib -------------------------------------------------------------------------------- /src/libtcas/tcas/zlib/zlib.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/tcas/zlib/zlib.lib -------------------------------------------------------------------------------- /src/libtcas/tcas_framer/tcas_framer.def: -------------------------------------------------------------------------------- 1 | LIBRARY 2 | EXPORTS 3 | tcas_open @1 4 | tcas_get_width @2 5 | tcas_get_height @3 6 | tcas_get_min_frame @4 7 | tcas_get_max_frame @5 8 | tcas_get_fps @6 9 | tcas_get_frame @7 10 | tcas_close @8 11 | -------------------------------------------------------------------------------- /src/libtcas/tcas_framer/tcas_framer.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tcas_framer", "tcas_framer.vcxproj", "{027785A4-7D60-480F-A8E1-C9F71F3806F7}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {027785A4-7D60-480F-A8E1-C9F71F3806F7}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {027785A4-7D60-480F-A8E1-C9F71F3806F7}.Debug|Win32.Build.0 = Debug|Win32 14 | {027785A4-7D60-480F-A8E1-C9F71F3806F7}.Release|Win32.ActiveCfg = Release|Win32 15 | {027785A4-7D60-480F-A8E1-C9F71F3806F7}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/libtcas/tcas_framer/tcas_framer.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/tcas_framer/tcas_framer.suo -------------------------------------------------------------------------------- /src/libtcas/tcas_framer/tcas_framer.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | 23 | 24 | Header Files 25 | 26 | 27 | 28 | 29 | Source Files 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/libtcas/tcas_framer/tcas_framer.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/libtcas/test/TODO.txt: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /src/libtcas/test/parse_index.c: -------------------------------------------------------------------------------- 1 | #include "../tcas/tcas.h" 2 | #include "../tcas/tcas.c" 3 | #include "../tcas/vector.c" 4 | 5 | void traverse(const TCAS_pOrderedIndex pOrderedIndex) { 6 | printf("%i %i\n", pOrderedIndex->first, pOrderedIndex->last); 7 | } 8 | 9 | int main() { 10 | TCAS_LinearIndexsPtr linearIndexs; 11 | TCAS_OrderedIndex indexStart; 12 | TCAS_OrderedIndex indexEnd; 13 | long result; 14 | TCAS_OrderedIndex key; 15 | vector_create(&linearIndexs, sizeof(TCAS_OrderedIndex), 2, NULL, NULL); 16 | indexStart.first = 3; 17 | indexStart.last = 3; 18 | indexStart.id_pair = MAKEINDEXIP(1, 0); 19 | indexEnd.first = 7; 20 | indexEnd.last = 7; 21 | indexEnd.id_pair = MAKEINDEXIP(2, 1); 22 | vector_assign(linearIndexs, 0, &indexStart); 23 | vector_assign(linearIndexs, 1, &indexEnd); 24 | indexStart.first = 12; 25 | indexStart.last = 12; 26 | indexStart.id_pair = MAKEINDEXIP(3, 0); 27 | indexEnd.first = 21; 28 | indexEnd.last = 21; 29 | indexEnd.id_pair = MAKEINDEXIP(4, 1); 30 | vector_push_back(linearIndexs, &indexStart); 31 | vector_push_back(linearIndexs, &indexEnd); 32 | key.first = 14; 33 | key.last = 14; 34 | vector_traverse(linearIndexs, (vector_traverse_func)traverse); 35 | result = vector_binary_search_interval(linearIndexs, &key, (vector_compare_interval_func)_check_key_index_validity); 36 | printf("%i\n", result); 37 | return 0; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /src/libtcas/test/tcas_framer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/test/tcas_framer.dll -------------------------------------------------------------------------------- /src/libtcas/test/tcas_framer.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/test/tcas_framer.lib -------------------------------------------------------------------------------- /src/libtcas/test/temp.txt: -------------------------------------------------------------------------------- 1 | 2 | TCAS_File file; 3 | file.fp = fopen("I:\\RIXE\\libtcas\\trunk\\src\\alpha\\zlib\\ztest\\t.tcas", "wb"); 4 | libtcas_read_specified_chunk(pFile, ((tcas_u64)pOrderedIndexLast->offset) << 2, &pChunksCache->pChunks[i]); /* otherwise, we do not have to read it again */ 5 | libtcas_write(&file, pChunksCache->pChunks[i].pos_and_color, GETCOUNT(pChunksCache->pChunks[i].cltp) * 2); 6 | fclose(file.fp); 7 | MessageBox(NULL, L"D", L"D", 0); 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/libtcas/test/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | //signed short i; 6 | //i = 0x8000; 7 | //printf("%i\n", i); 8 | wchar_t *s = L"; Welcome to TCAX forum http://tcax.rhacg.com\r\n"; 9 | printf("%i\n", wcslen(s)); 10 | return 0; 11 | } 12 | 13 | -------------------------------------------------------------------------------- /src/libtcas/test/test.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/test/test.exe -------------------------------------------------------------------------------- /src/libtcas/test/test.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test.vcxproj", "{930AD0ED-E123-4FCC-AE7B-18930396D965}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {930AD0ED-E123-4FCC-AE7B-18930396D965}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {930AD0ED-E123-4FCC-AE7B-18930396D965}.Debug|Win32.Build.0 = Debug|Win32 14 | {930AD0ED-E123-4FCC-AE7B-18930396D965}.Release|Win32.ActiveCfg = Release|Win32 15 | {930AD0ED-E123-4FCC-AE7B-18930396D965}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/libtcas/test/test.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/test/test.suo -------------------------------------------------------------------------------- /src/libtcas/test/test.tcas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/test/test.tcas -------------------------------------------------------------------------------- /src/libtcas/test/test.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/libtcas/test/test.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/libtcas/test/test_raw.tcas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/test/test_raw.tcas -------------------------------------------------------------------------------- /src/libtcas/test/test_read.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | DWORD t1, t2; 6 | int i, size; 7 | char *buf; 8 | /*FILE *fp; 9 | unsigned char *buf; 10 | fp = fopen("J:\\Program Copies\\ubuntu-10.10-desktop-i386.iso", "rb"); 11 | if (!fp) 12 | return 0; 13 | size = 64 * 1024 * 1024; /* 64 MB 14 | buf = (unsigned char *)malloc(size); 15 | t1 = GetTickCount(); 16 | for (i = 0; i < 1; i++) /* 300 MB, can be read within about 3000 sec! 17 | fread(buf, sizeof(unsigned char), size, fp); 18 | t2 = GetTickCount(); 19 | printf("%i\n", t2 - t1); 20 | fclose(fp); 21 | free(buf); */ 22 | size = 100 * 1024; /* 100 KB */ 23 | t1 = GetTickCount(); 24 | for (i = 0; i < 10000; i++) { 25 | buf = (char *)malloc(size); 26 | free(buf); 27 | } 28 | t2 = GetTickCount(); 29 | printf("%i\n", t2 - t1); 30 | return 0; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /src/libtcas/test/test_uncompressed.tcas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/test/test_uncompressed.tcas -------------------------------------------------------------------------------- /src/libtcas/threadpool/pthreadVC2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/threadpool/pthreadVC2.dll -------------------------------------------------------------------------------- /src/libtcas/threadpool/pthreads-win32/pthreadVC2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/threadpool/pthreads-win32/pthreadVC2.dll -------------------------------------------------------------------------------- /src/libtcas/threadpool/pthreads-win32/pthreadVC2.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/threadpool/pthreads-win32/pthreadVC2.lib -------------------------------------------------------------------------------- /src/libtcas/threadpool/test.c: -------------------------------------------------------------------------------- 1 | #include "threadpool.h" 2 | #include 3 | #include 4 | 5 | void *pp(void *args) { 6 | int i; 7 | const char *str = (const char *)args; 8 | for (i = 0; i < 10; i++) { 9 | printf("%05i %s\n", i, str); 10 | Sleep(1000); 11 | } 12 | return (void *)0; 13 | } 14 | 15 | void *aw(void *args) { 16 | ThreadpoolPtr tp; 17 | ThreadpoolWorkPtr pwork; 18 | tp = (ThreadpoolPtr)((unsigned long *)args)[0]; 19 | pwork = (ThreadpoolWorkPtr)((unsigned long *)args)[1]; 20 | tp_assign_work(tp, pwork); 21 | return (void *)0; 22 | } 23 | 24 | 25 | int main() { 26 | pthread_t tid; 27 | char sz1[1024]; 28 | char sz2[1024]; 29 | unsigned long aa[2]; 30 | ThreadpoolPtr tp; 31 | ThreadpoolWork work; 32 | tp = tp_create(NULL, 3); 33 | if (tp_initialize(tp) != 0) { 34 | tp_destroy(tp, 0); 35 | return 0; 36 | } 37 | work.execution_route = (tpw_func)pp; 38 | memcpy(sz1, "Nice to meet you!", 500); 39 | work.args = (tpw_args)sz1; 40 | tp_assign_work(tp, &work); 41 | memcpy(sz2, "Nice to meet you, too!", 500); 42 | work.args = (tpw_args)sz2; 43 | tp_assign_work(tp, &work); 44 | tp_assign_work(tp, &work); 45 | aa[0] = (unsigned long)tp; 46 | aa[1] = (unsigned long)&work; 47 | pthread_create(&tid, NULL, aw, (void *)aa); 48 | //tp_assign_work(tp, &work); 49 | tp_wait(tp); 50 | printf("Destroy: %i\n", tp_destroy(tp, 1)); 51 | return 0; 52 | } 53 | 54 | -------------------------------------------------------------------------------- /src/libtcas/threadpool/threadpool.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "threadpool", "threadpool.vcxproj", "{5B7A8C7F-49C4-4919-A28A-C048CDB2E40F}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {5B7A8C7F-49C4-4919-A28A-C048CDB2E40F}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {5B7A8C7F-49C4-4919-A28A-C048CDB2E40F}.Debug|Win32.Build.0 = Debug|Win32 14 | {5B7A8C7F-49C4-4919-A28A-C048CDB2E40F}.Release|Win32.ActiveCfg = Release|Win32 15 | {5B7A8C7F-49C4-4919-A28A-C048CDB2E40F}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/libtcas/threadpool/threadpool.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/libtcas/threadpool/threadpool.suo -------------------------------------------------------------------------------- /src/libtcas/threadpool/threadpool.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Header Files 20 | 21 | 22 | 23 | 24 | Source Files 25 | 26 | 27 | Source Files 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/libtcas/threadpool/threadpool.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/tcasFilter/DirectShow/baseclasses/ddmm.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // File: DDMM.h 3 | // 4 | // Desc: DirectShow base classes - efines routines for using DirectDraw 5 | // on a multimonitor system. 6 | // 7 | // Copyright (c) 1995-2001 Microsoft Corporation. All rights reserved. 8 | //------------------------------------------------------------------------------ 9 | 10 | 11 | #ifdef __cplusplus 12 | extern "C" { /* Assume C declarations for C++ */ 13 | #endif /* __cplusplus */ 14 | 15 | // DDRAW.H might not include these 16 | #ifndef DDENUM_ATTACHEDSECONDARYDEVICES 17 | #define DDENUM_ATTACHEDSECONDARYDEVICES 0x00000001L 18 | #endif 19 | 20 | typedef HRESULT (*PDRAWCREATE)(IID *,LPDIRECTDRAW *,LPUNKNOWN); 21 | typedef HRESULT (*PDRAWENUM)(LPDDENUMCALLBACKA, LPVOID); 22 | 23 | IDirectDraw * DirectDrawCreateFromDevice(__in_opt LPSTR, PDRAWCREATE, PDRAWENUM); 24 | IDirectDraw * DirectDrawCreateFromDeviceEx(__in_opt LPSTR, PDRAWCREATE, LPDIRECTDRAWENUMERATEEXA); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif /* __cplusplus */ 29 | -------------------------------------------------------------------------------- /src/tcasFilter/DirectShow/baseclasses/perflog.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // File: perflog.h 3 | // 4 | // Desc: Performance logging framework. 5 | // 6 | // Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. 7 | //------------------------------------------------------------------------------ 8 | 9 | typedef struct _PERFLOG_LOGGING_PARAMS { 10 | GUID ControlGuid; 11 | void (*OnStateChanged)(void); 12 | ULONG NumberOfTraceGuids; 13 | TRACE_GUID_REGISTRATION TraceGuids[ANYSIZE_ARRAY]; 14 | } PERFLOG_LOGGING_PARAMS, *PPERFLOG_LOGGING_PARAMS; 15 | 16 | BOOL 17 | PerflogInitIfEnabled( 18 | IN HINSTANCE hInstance, 19 | __in PPERFLOG_LOGGING_PARAMS LogParams 20 | ); 21 | 22 | BOOL 23 | PerflogInitialize ( 24 | __in PPERFLOG_LOGGING_PARAMS LogParams 25 | ); 26 | 27 | VOID 28 | PerflogShutdown ( 29 | VOID 30 | ); 31 | 32 | VOID 33 | PerflogTraceEvent ( 34 | __in PEVENT_TRACE_HEADER Event 35 | ); 36 | 37 | extern ULONG PerflogEnableFlags; 38 | extern UCHAR PerflogEnableLevel; 39 | extern ULONG PerflogModuleLevel; 40 | extern TRACEHANDLE PerflogTraceHandle; 41 | extern TRACEHANDLE PerflogRegHandle; 42 | 43 | #define PerflogTracingEnabled() (PerflogTraceHandle != 0) 44 | 45 | #define PerflogEvent( _x_ ) PerflogTraceEventLevel _x_ 46 | 47 | VOID 48 | PerflogTraceEventLevel( 49 | ULONG Level, 50 | __in PEVENT_TRACE_HEADER Event 51 | ); 52 | 53 | VOID 54 | PerflogTraceEvent ( 55 | __in PEVENT_TRACE_HEADER Event 56 | ); 57 | -------------------------------------------------------------------------------- /src/tcasFilter/DirectShow/baseclasses/seekpt.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // File: SeekPT.h 3 | // 4 | // Desc: DirectShow base classes. 5 | // 6 | // Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. 7 | //------------------------------------------------------------------------------ 8 | 9 | 10 | #ifndef __seekpt_h__ 11 | #define __seekpt_h__ 12 | 13 | 14 | class CSeekingPassThru : public ISeekingPassThru, public CUnknown 15 | { 16 | public: 17 | static CUnknown *CreateInstance(__inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr); 18 | CSeekingPassThru(__in_opt LPCTSTR pName, __inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr); 19 | ~CSeekingPassThru(); 20 | 21 | DECLARE_IUNKNOWN; 22 | STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void ** ppv); 23 | 24 | STDMETHODIMP Init(BOOL bSupportRendering, IPin *pPin); 25 | 26 | private: 27 | CPosPassThru *m_pPosPassThru; 28 | }; 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /src/tcasFilter/DirectShow/baseclasses/sysclock.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // File: SysClock.h 3 | // 4 | // Desc: DirectShow base classes - defines a system clock implementation of 5 | // IReferenceClock. 6 | // 7 | // Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. 8 | //------------------------------------------------------------------------------ 9 | 10 | 11 | #ifndef __SYSTEMCLOCK__ 12 | #define __SYSTEMCLOCK__ 13 | 14 | // 15 | // Base clock. Uses timeGetTime ONLY 16 | // Uses most of the code in the base reference clock. 17 | // Provides GetTime 18 | // 19 | 20 | class CSystemClock : public CBaseReferenceClock, public IAMClockAdjust, public IPersist 21 | { 22 | public: 23 | // We must be able to create an instance of ourselves 24 | static CUnknown * WINAPI CreateInstance(__inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr); 25 | CSystemClock(__in_opt LPCTSTR pName, __inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr); 26 | 27 | DECLARE_IUNKNOWN 28 | 29 | STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void ** ppv); 30 | 31 | // Yield up our class id so that we can be persisted 32 | // Implement required Ipersist method 33 | STDMETHODIMP GetClassID(__out CLSID *pClsID); 34 | 35 | // IAMClockAdjust methods 36 | STDMETHODIMP SetClockDelta(REFERENCE_TIME rtDelta); 37 | }; //CSystemClock 38 | 39 | #endif /* __SYSTEMCLOCK__ */ 40 | -------------------------------------------------------------------------------- /src/tcasFilter/DirectShow/strmbasd.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/tcasFilter/DirectShow/strmbasd.lib -------------------------------------------------------------------------------- /src/tcasFilter/DirectShow/strmbase.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/tcasFilter/DirectShow/strmbase.lib -------------------------------------------------------------------------------- /src/tcasFilter/Readme.txt: -------------------------------------------------------------------------------- 1 | To compile tcsfilter, you need the avisynth.h and libtcas -------------------------------------------------------------------------------- /src/tcasFilter/TODO.txt: -------------------------------------------------------------------------------- 1 | DONE: add support for other color space. 2 | TODO: add support for VirtualDub and DirectShow (Auto-loaded) 3 | TODO: make it configurable of the number of threads to use 4 | DONE: finish the fundamental code (functionality) of DirectShow Interface 5 | DONE: add functions to retrieve the filename of the input video file 6 | DONE: color space issues 7 | DONE: retrieve the frame index according to the time stamp 8 | TODO: make tcasFilter robuster 9 | TODO: optimize the performance of color space convertion (yuv <--> rgb) 10 | TODO: optimize the performance of the direct show interface of tcasFilter 11 | TODO: add auto-loading support (by setting a higher merit) -------------------------------------------------------------------------------- /src/tcasFilter/fake_update/log.txt: -------------------------------------------------------------------------------- 1 | r20 -------------------------------------------------------------------------------- /src/tcasFilter/issues.txt: -------------------------------------------------------------------------------- 1 | TcasFilter DirectShow interface: 2 | now only tested functioning good with MP4, AVI, MKV files, using CoreCodec, and auto load the AVI Decompressor (which may hold the MSYUV). 3 | with RMVB, seek function is not functioning. 4 | 5 | -------------------------------------------------------------------------------- /src/tcasFilter/manual.txt: -------------------------------------------------------------------------------- 1 | there are three kinds of Frame rate, video frame rate, TCS FX frame rate, and user specified frame rate. 2 | TCS FX frame rate is just provided as a extra information, in most conditions it will just be ignored. 3 | if there is no user specified frame rate, video frame rate will be used to render the target TCS FX. 4 | -------------------------------------------------------------------------------- /src/tcasFilter/milestones.txt: -------------------------------------------------------------------------------- 1 | r14 - releases with TCAX beta versions (and TCAX Beta3 SP1) 2 | r15 - use frame cache technique to speed up the overall rendering progress. 3 | -------------------------------------------------------------------------------- /src/tcasFilter/reg.txt: -------------------------------------------------------------------------------- 1 | regsvr32 I:\RIXE\tcasFilter\trunk\src\alpha\tcasFilter\Release\tcasFilter.dll -------------------------------------------------------------------------------- /src/tcasFilter/tcasFilter.def: -------------------------------------------------------------------------------- 1 | ;=========================================================================== 2 | ; Copyright (c) 2011 milkyjing. All Rights Reserved. 3 | ;=========================================================================== 4 | 5 | LIBRARY tcasFilter.dll 6 | 7 | EXPORTS 8 | DllMain PRIVATE 9 | DllGetClassObject PRIVATE 10 | DllCanUnloadNow PRIVATE 11 | DllRegisterServer PRIVATE 12 | DllUnregisterServer PRIVATE 13 | 14 | -------------------------------------------------------------------------------- /src/tcasFilter/tcasFilter.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tcasFilter", "tcasFilter.vcxproj", "{68C384E3-65AA-4ECC-9B98-03AC2BE11247}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {68C384E3-65AA-4ECC-9B98-03AC2BE11247}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {68C384E3-65AA-4ECC-9B98-03AC2BE11247}.Debug|Win32.Build.0 = Debug|Win32 14 | {68C384E3-65AA-4ECC-9B98-03AC2BE11247}.Release|Win32.ActiveCfg = Release|Win32 15 | {68C384E3-65AA-4ECC-9B98-03AC2BE11247}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/tcasFilter/tcasFilter.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/tcasFilter/tcasFilter.suo -------------------------------------------------------------------------------- /src/tcasFilter/tcasFilter.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/tcasFilter/temp.txt: -------------------------------------------------------------------------------- 1 | void Message(int i) { 2 | char sz[37]; 3 | sprintf(sz, "%i", i); 4 | MessageBoxA(NULL, sz, "Info", MB_OK); 5 | } 6 | -------------------------------------------------------------------------------- /src/tcasFilter/temp_log.txt: -------------------------------------------------------------------------------- 1 | small modification -------------------------------------------------------------------------------- /src/util/audio/tcAudio/bass.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/util/audio/tcAudio/bass.dll -------------------------------------------------------------------------------- /src/util/audio/tcAudio/bass.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/util/audio/tcAudio/bass.lib -------------------------------------------------------------------------------- /src/util/audio/tcAudio/std.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2009-2011 milkyjing 3 | * 4 | * This Program is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 2, or (at your option) 7 | * any later version. 8 | * 9 | * This Program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with GNU Make; see the file COPYING. If not, write to 16 | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 17 | * http://www.gnu.org/copyleft/gpl.html 18 | * 19 | */ 20 | 21 | #ifndef TCAUDIO_STD_H 22 | #define TCAUDIO_STD_H 23 | #pragma once 24 | 25 | #include 26 | #include 27 | 28 | 29 | /** 30 | * TCAX_Py_Error_Code structure that is in fact a Python long object. 31 | */ 32 | typedef PyObject *TCAX_Py_Error_Code; 33 | 34 | #endif /* TCAUDIO_STD_H */ 35 | -------------------------------------------------------------------------------- /src/util/audio/tcAudio/tcAudio.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tcAudio", "tcAudio.vcxproj", "{60933494-5F8F-41F6-9593-B6EDEB03B07C}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {60933494-5F8F-41F6-9593-B6EDEB03B07C}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {60933494-5F8F-41F6-9593-B6EDEB03B07C}.Debug|Win32.Build.0 = Debug|Win32 14 | {60933494-5F8F-41F6-9593-B6EDEB03B07C}.Release|Win32.ActiveCfg = Release|Win32 15 | {60933494-5F8F-41F6-9593-B6EDEB03B07C}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/util/audio/tcAudio/tcAudio.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/util/audio/tcAudio/tcAudio.suo -------------------------------------------------------------------------------- /src/util/audio/tcAudio/tcAudio.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | Source Files 23 | 24 | 25 | 26 | 27 | Header Files 28 | 29 | 30 | Header Files 31 | 32 | 33 | -------------------------------------------------------------------------------- /src/util/audio/tcAudio/tcAudio.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/util/particle/lesson19.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/util/particle/lesson19.zip -------------------------------------------------------------------------------- /src/util/video/tcVideo/ffms2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/util/video/tcVideo/ffms2.dll -------------------------------------------------------------------------------- /src/util/video/tcVideo/ffms2.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/util/video/tcVideo/ffms2.lib -------------------------------------------------------------------------------- /src/util/video/tcVideo/ffms2.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/util/video/tcVideo/ffms2.pdb -------------------------------------------------------------------------------- /src/util/video/tcVideo/ffmsindex.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/util/video/tcVideo/ffmsindex.exe -------------------------------------------------------------------------------- /src/util/video/tcVideo/ffmsindex.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/util/video/tcVideo/ffmsindex.pdb -------------------------------------------------------------------------------- /src/util/video/tcVideo/std.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2009-2011 milkyjing 3 | * 4 | * This Program is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 2, or (at your option) 7 | * any later version. 8 | * 9 | * This Program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with GNU Make; see the file COPYING. If not, write to 16 | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 17 | * http://www.gnu.org/copyleft/gpl.html 18 | * 19 | */ 20 | 21 | #ifndef TCVIDEO_STD_H 22 | #define TCVIDEO_STD_H 23 | #pragma once 24 | 25 | #include 26 | #include 27 | #include // COM for HAALISOURCE 28 | 29 | 30 | /** 31 | * TCAX_Py_Error_Code structure that is in fact a Python long object. 32 | */ 33 | typedef PyObject *TCAX_Py_Error_Code; 34 | 35 | #endif /* TCVIDEO_STD_H */ 36 | -------------------------------------------------------------------------------- /src/util/video/tcVideo/tcVideo.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tcVideo", "tcVideo.vcxproj", "{E473F402-CE79-4D5F-A9A1-97BD12AD38AE}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {E473F402-CE79-4D5F-A9A1-97BD12AD38AE}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {E473F402-CE79-4D5F-A9A1-97BD12AD38AE}.Debug|Win32.Build.0 = Debug|Win32 14 | {E473F402-CE79-4D5F-A9A1-97BD12AD38AE}.Release|Win32.ActiveCfg = Release|Win32 15 | {E473F402-CE79-4D5F-A9A1-97BD12AD38AE}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /src/util/video/tcVideo/tcVideo.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/milkyjing/TCAX/f9860c66c82d66b08004d60697b61a47fed82808/src/util/video/tcVideo/tcVideo.suo -------------------------------------------------------------------------------- /src/util/video/tcVideo/tcVideo.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Header Files 20 | 21 | 22 | Header Files 23 | 24 | 25 | 26 | 27 | Source Files 28 | 29 | 30 | Source Files 31 | 32 | 33 | -------------------------------------------------------------------------------- /src/util/video/tcVideo/tcVideo.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | --------------------------------------------------------------------------------