├── Authors.txt ├── CMakeLists.txt ├── Changelog.txt ├── CrashRpt_vs2010.sln ├── License.txt ├── clean.bat ├── demos ├── ConsoleDemo │ ├── CMakeLists.txt │ ├── ConsoleDemo.cpp │ └── ConsoleDemo_vs2010.vcxproj ├── MFCDemo │ ├── CMakeLists.txt │ ├── ChildFrm.cpp │ ├── ChildFrm.h │ ├── MFCDemo.cpp │ ├── MFCDemo.h │ ├── MFCDemo.rc │ ├── MFCDemoDoc.cpp │ ├── MFCDemoDoc.h │ ├── MFCDemoView.cpp │ ├── MFCDemoView.h │ ├── MFCDemo_vs2010.vcxproj │ ├── MFCDemo_vs2010.vcxproj.filters │ ├── MainFrm.cpp │ ├── MainFrm.h │ ├── Resource.h │ ├── res │ │ ├── MFCDemo.ico │ │ ├── MFCDemo.rc2 │ │ ├── MFCDemoDoc.ico │ │ └── Toolbar.bmp │ ├── stdafx.cpp │ └── stdafx.h └── WTLDemo │ ├── AboutDlg.h │ ├── CMakeLists.txt │ ├── CrashThread.cpp │ ├── CrashThread.h │ ├── DocumentDlg.h │ ├── MainDlg.cpp │ ├── MainDlg.h │ ├── WTLDemo.cpp │ ├── WTLDemo.rc │ ├── WTLDemo_vs2010.vcxproj │ ├── dummy.ini │ ├── dummy.log │ ├── res │ ├── WTLDemo.exe.manifest │ ├── WTLDemo.ico │ └── WTLDemo.rc2 │ ├── resource.h │ ├── stdafx.cpp │ └── stdafx.h ├── docs ├── Doxyfile ├── Doxyfile-svr ├── DoxygenLayout.xml ├── dox │ ├── analyzing_error_reports.dox │ ├── architecture_overview.dox │ ├── automated_tests.dox │ ├── automating_crash_report_processing.dox │ ├── compilation.dox │ ├── configure_prj.dox │ ├── crashfix_server.dox │ ├── crashrptprobe_api_examples.dox │ ├── crashrpttest.dox │ ├── crprober_tool.dox │ ├── enabling_crash_reporting.dox │ ├── error_report.dox │ ├── exception_handling.dox │ ├── install.dox │ ├── internationalization_support.dox │ ├── introduction_to_crashrpt.dox │ ├── mainpage.dox │ ├── misc_api_features.dox │ ├── other_topics.dox │ ├── preparing_to_release.dox │ ├── sending_error_report.dox │ ├── simple_example.dox │ ├── using_crash_descriptor.dox │ ├── using_crashprt_api.dox │ ├── using_crashrpt.dox │ ├── using_crashrptprobe_api.dox │ ├── using_error_reports.dox │ ├── using_minidump.dox │ └── writing_robust_code.dox ├── favicon.ico ├── footer.html ├── header.html ├── image │ ├── architecture.png │ ├── balloon.png │ ├── call_stack.png │ ├── cmake.png │ ├── code_line.png │ ├── crashcon.png │ ├── crashdump_sln.PNG │ ├── crashfix_server.png │ ├── crashrpttest.png │ ├── crtdll.png │ ├── custom_icon.png │ ├── dbghelp_open_minidump.png │ ├── detaildlg.png │ ├── disable_fpo.png │ ├── linker_debug_settings.png │ ├── maindlg.png │ ├── mfcdemo.png │ ├── modules.png │ ├── more_info_fields.png │ ├── no_symbols_loaded.png │ ├── output_window.PNG │ ├── program_database.png │ ├── progressdlg.png │ ├── reports_path.png │ ├── send_mandatory.png │ ├── send_queued_reports.png │ ├── solution_explorer.png │ ├── symbols_load_paths.png │ ├── threads.png │ ├── video_rec.png │ └── vs_unhandled_exception.PNG ├── logo.png └── style.css ├── include ├── CrashRpt.h └── CrashRptProbe.h ├── index.html ├── lang_files ├── crashrpt_lang_CS.ini ├── crashrpt_lang_DE.ini ├── crashrpt_lang_EN.ini ├── crashrpt_lang_ES.ini ├── crashrpt_lang_FR.ini ├── crashrpt_lang_HI.ini ├── crashrpt_lang_IT.ini ├── crashrpt_lang_JA.ini ├── crashrpt_lang_KO.ini ├── crashrpt_lang_PL.ini ├── crashrpt_lang_PT.ini ├── crashrpt_lang_RU.ini ├── crashrpt_lang_SK.ini ├── crashrpt_lang_ZH-CN.ini └── readme.txt ├── processing ├── crashrptprobe │ ├── CMakeLists.txt │ ├── CrashDescReader.cpp │ ├── CrashDescReader.h │ ├── CrashRptProbe.cpp │ ├── CrashRptProbe.def │ ├── CrashRptProbe.rc │ ├── CrashRptProbe_vs2010.vcxproj │ ├── MinidumpReader.cpp │ ├── MinidumpReader.h │ ├── resource.h │ ├── stdafx.cpp │ └── stdafx.h ├── crprober │ ├── CMakeLists.txt │ ├── crprober_vs2010.vcxproj │ └── main.cpp └── scripts │ ├── basic_stats.py │ └── postprocess.bat ├── reporting ├── crashrpt │ ├── CMakeLists.txt │ ├── CrashHandler.cpp │ ├── CrashHandler.h │ ├── CrashRpt.cpp │ ├── CrashRpt.def │ ├── CrashRpt.rc │ ├── CrashRpt_vs2010.vcxproj │ ├── CritSec.h │ ├── Prefastdef.h │ ├── SharedMem.cpp │ ├── SharedMem.h │ ├── StdAfx.cpp │ ├── StdAfx.h │ ├── Utility.cpp │ ├── Utility.h │ ├── res │ │ └── crashrpt.exe.manifest │ ├── resource.h │ └── strconv.h ├── crashsender │ ├── AssyncNotification.cpp │ ├── AssyncNotification.h │ ├── CMakeLists.txt │ ├── CrashInfoReader.cpp │ ├── CrashInfoReader.h │ ├── CrashSender.cpp │ ├── CrashSender.rc │ ├── CrashSender_vs2010.vcxproj │ ├── DetailDlg.cpp │ ├── DetailDlg.h │ ├── ErrorReportDlg.cpp │ ├── ErrorReportDlg.h │ ├── ErrorReportSender.cpp │ ├── ErrorReportSender.h │ ├── FilePreviewCtrl.cpp │ ├── FilePreviewCtrl.h │ ├── HttpRequestSender.cpp │ ├── HttpRequestSender.h │ ├── MailMsg.cpp │ ├── MailMsg.h │ ├── ProgressDlg.cpp │ ├── ProgressDlg.h │ ├── ResendDlg.cpp │ ├── ResendDlg.h │ ├── ScreenCap.cpp │ ├── ScreenCap.h │ ├── SequenceLayout.h │ ├── VideoRec.cpp │ ├── VideoRec.h │ ├── VideoRecDlg.cpp │ ├── VideoRecDlg.h │ ├── base64.cpp │ ├── base64.h │ ├── md5.cpp │ ├── md5.h │ ├── res │ │ ├── CrashSender.exe.manifest │ │ ├── CrashSender.ico │ │ └── VideoRec.ico │ ├── resource.h │ ├── smtpclient.cpp │ ├── smtpclient.h │ ├── stdafx.cpp │ └── stdafx.h └── scripts │ └── crashrpt.php ├── tests ├── CMakeLists.txt ├── CrashRptAPITests.cpp ├── CrashRptProbeAPITests.cpp ├── CrproberTests.cpp ├── DeliveryTests.cpp ├── ExceptionHandlerTests.cpp ├── LangFileTests.cpp ├── TestUtils.cpp ├── TestUtils.h ├── Tests.cpp ├── Tests.h ├── Tests_vs2010.vcxproj ├── stdafx.cpp └── stdafx.h ├── thirdparty ├── dbghelp │ ├── bin │ │ ├── amd64 │ │ │ └── dbghelp.dll │ │ └── dbghelp.dll │ ├── include │ │ └── dbghelp.h │ └── lib │ │ ├── amd64 │ │ └── dbghelp.lib │ │ └── dbghelp.lib ├── jpeg │ ├── CMakeLists.txt │ ├── README │ ├── change.log │ ├── jaricom.c │ ├── jcapimin.c │ ├── jcapistd.c │ ├── jcarith.c │ ├── jccoefct.c │ ├── jccolor.c │ ├── jcdctmgr.c │ ├── jchuff.c │ ├── jcinit.c │ ├── jcmainct.c │ ├── jcmarker.c │ ├── jcmaster.c │ ├── jcomapi.c │ ├── jconfig.h │ ├── jcparam.c │ ├── jcprepct.c │ ├── jcsample.c │ ├── jctrans.c │ ├── jdapimin.c │ ├── jdapistd.c │ ├── jdarith.c │ ├── jdatadst.c │ ├── jdatasrc.c │ ├── jdcoefct.c │ ├── jdcolor.c │ ├── jdct.h │ ├── jddctmgr.c │ ├── jdhuff.c │ ├── jdinput.c │ ├── jdmainct.c │ ├── jdmarker.c │ ├── jdmaster.c │ ├── jdmerge.c │ ├── jdpostct.c │ ├── jdsample.c │ ├── jdtrans.c │ ├── jerror.c │ ├── jerror.h │ ├── jfdctflt.c │ ├── jfdctfst.c │ ├── jfdctint.c │ ├── jidctflt.c │ ├── jidctfst.c │ ├── jidctint.c │ ├── jinclude.h │ ├── jmemansi.c │ ├── jmemmgr.c │ ├── jmemsys.h │ ├── jmorecfg.h │ ├── jpeg_vs2010.vcxproj │ ├── jpegint.h │ ├── jpeglib.h │ ├── jquant1.c │ ├── jquant2.c │ ├── jutils.c │ └── jversion.h ├── libogg │ ├── AUTHORS │ ├── CHANGES │ ├── CMakeLists.txt │ ├── COPYING │ ├── README │ ├── include │ │ └── ogg │ │ │ ├── ogg.h │ │ │ └── os_types.h │ ├── src │ │ ├── bitwise.c │ │ └── framing.c │ └── win32 │ │ ├── VS2010 │ │ └── libogg_vs2010.vcxproj │ │ └── ogg.def ├── libpng │ ├── CMakeLists.txt │ ├── LICENSE │ ├── libpng-1.2.24.txt │ ├── libpng_vs2010.vcxproj │ ├── png.c │ ├── png.h │ ├── pngconf.h │ ├── pngerror.c │ ├── pnggccrd.c │ ├── pngget.c │ ├── pngmem.c │ ├── pngpread.c │ ├── pngread.c │ ├── pngrio.c │ ├── pngrtran.c │ ├── pngrutil.c │ ├── pngset.c │ ├── pngtrans.c │ ├── pngvcrd.c │ ├── pngwio.c │ ├── pngwrite.c │ ├── pngwtran.c │ └── pngwutil.c ├── libtheora │ ├── AUTHORS │ ├── CHANGES │ ├── CMakeLists.txt │ ├── COPYING │ ├── LICENSE │ ├── README │ ├── include │ │ └── theora │ │ │ ├── codec.h │ │ │ ├── theora.h │ │ │ ├── theoradec.h │ │ │ └── theoraenc.h │ ├── lib │ │ ├── analyze.c │ │ ├── apiwrapper.c │ │ ├── apiwrapper.h │ │ ├── bitpack.c │ │ ├── bitpack.h │ │ ├── cpu.c │ │ ├── cpu.h │ │ ├── dct.h │ │ ├── decapiwrapper.c │ │ ├── decinfo.c │ │ ├── decint.h │ │ ├── decode.c │ │ ├── dequant.c │ │ ├── dequant.h │ │ ├── encapiwrapper.c │ │ ├── encfrag.c │ │ ├── encinfo.c │ │ ├── encint.h │ │ ├── encode.c │ │ ├── enquant.c │ │ ├── enquant.h │ │ ├── fdct.c │ │ ├── fragment.c │ │ ├── huffdec.c │ │ ├── huffdec.h │ │ ├── huffenc.c │ │ ├── huffenc.h │ │ ├── huffman.h │ │ ├── idct.c │ │ ├── info.c │ │ ├── internal.c │ │ ├── internal.h │ │ ├── mathops.c │ │ ├── mathops.h │ │ ├── mcenc.c │ │ ├── modedec.h │ │ ├── ocintrin.h │ │ ├── quant.c │ │ ├── quant.h │ │ ├── rate.c │ │ ├── state.c │ │ ├── theora.exp │ │ ├── theoradec.exp │ │ ├── theoraenc.exp │ │ ├── tokenize.c │ │ ├── x86 │ │ │ ├── mmxencfrag.c │ │ │ ├── mmxfdct.c │ │ │ ├── mmxfrag.c │ │ │ ├── mmxfrag.h │ │ │ ├── mmxidct.c │ │ │ ├── mmxloop.h │ │ │ ├── mmxstate.c │ │ │ ├── sse2fdct.c │ │ │ ├── x86enc.c │ │ │ ├── x86enc.h │ │ │ ├── x86int.h │ │ │ └── x86state.c │ │ └── x86_vc │ │ │ ├── mmxencfrag.c │ │ │ ├── mmxfdct.c │ │ │ ├── mmxfrag.c │ │ │ ├── mmxfrag.h │ │ │ ├── mmxidct.c │ │ │ ├── mmxloop.h │ │ │ ├── mmxstate.c │ │ │ ├── x86enc.c │ │ │ ├── x86enc.h │ │ │ ├── x86int.h │ │ │ └── x86state.c │ └── win32 │ │ └── VS2010 │ │ ├── README │ │ ├── libogg.props │ │ ├── libogg.vsprops │ │ ├── libtheora │ │ ├── libtheora_vs2010.vcxproj │ │ └── libtheora_vs2010.vcxproj.filters │ │ └── libvorbis.vsprops ├── minizip │ ├── CMakeLists.txt │ ├── MiniZip64_Changes.txt │ ├── MiniZip64_info.txt │ ├── crypt.h │ ├── ioapi.c │ ├── ioapi.h │ ├── iowin32.c │ ├── iowin32.h │ ├── minizip_vs2010.vcxproj │ ├── mztools.c │ ├── mztools.h │ ├── unzip.c │ ├── unzip.h │ ├── zip.c │ └── zip.h ├── tinyxml │ ├── CMakeLists.txt │ ├── changes.txt │ ├── readme.txt │ ├── tinystr.cpp │ ├── tinystr.h │ ├── tinyxml.cpp │ ├── tinyxml.h │ ├── tinyxml_vs2010.vcxproj │ ├── tinyxmlerror.cpp │ └── tinyxmlparser.cpp ├── webm │ ├── CHANGELOG │ ├── CMakeLists.txt │ ├── README │ ├── build │ │ ├── vpx.def │ │ ├── vpx_2010.vcxproj │ │ ├── vpx_2010.vcxproj.filters │ │ ├── vpx_config.c │ │ ├── vpx_config.h │ │ ├── vpx_rtcd.h │ │ └── vpx_version.h │ ├── include │ │ └── vpx │ │ │ ├── vp8.h │ │ │ ├── vp8cx.h │ │ │ ├── vp8dx.h │ │ │ ├── vpx_codec.h │ │ │ ├── vpx_codec_impl_bottom.h │ │ │ ├── vpx_codec_impl_top.h │ │ │ ├── vpx_decoder.h │ │ │ ├── vpx_encoder.h │ │ │ ├── vpx_image.h │ │ │ └── vpx_integer.h │ ├── md5sums.txt │ └── src │ │ ├── CHANGELOG │ │ ├── args.c │ │ ├── args.h │ │ ├── build │ │ ├── make │ │ │ ├── Makefile │ │ │ ├── configure.sh │ │ │ ├── gen_asm_deps.sh │ │ │ ├── gen_msvs_def.sh │ │ │ ├── gen_msvs_proj.sh │ │ │ ├── gen_msvs_sln.sh │ │ │ ├── obj_int_extract.c │ │ │ ├── rtcd.sh │ │ │ └── version.sh │ │ └── x86-msvs │ │ │ ├── obj_int_extract.bat │ │ │ ├── yasm.props │ │ │ ├── yasm.rules │ │ │ ├── yasm.targets │ │ │ └── yasm.xml │ │ ├── configure │ │ ├── decode_to_md5.c │ │ ├── decode_with_drops.c │ │ ├── error_resilient.c │ │ ├── examples.mk │ │ ├── force_keyframe.c │ │ ├── keywords.dox │ │ ├── libmkv │ │ ├── EbmlIDs.h │ │ ├── EbmlWriter.cpp │ │ └── EbmlWriter.h │ │ ├── libs.doxy_template │ │ ├── libs.mk │ │ ├── mainpage.dox │ │ ├── md5_utils.c │ │ ├── md5_utils.h │ │ ├── nestegg │ │ ├── halloc │ │ │ ├── halloc.h │ │ │ └── src │ │ │ │ ├── align.h │ │ │ │ ├── halloc.c │ │ │ │ ├── hlist.h │ │ │ │ └── macros.h │ │ ├── include │ │ │ └── nestegg │ │ │ │ └── nestegg.h │ │ └── src │ │ │ └── nestegg.c │ │ ├── postproc.c │ │ ├── simple_decoder.c │ │ ├── simple_encoder.c │ │ ├── solution.mk │ │ ├── tools_common.c │ │ ├── tools_common.h │ │ ├── twopass_encoder.c │ │ ├── usage.dox │ │ ├── usage_cx.dox │ │ ├── usage_dx.dox │ │ ├── vp8 │ │ ├── common │ │ │ ├── alloccommon.c │ │ │ ├── alloccommon.h │ │ │ ├── asm_com_offsets.c │ │ │ ├── blockd.c │ │ │ ├── blockd.h │ │ │ ├── coefupdateprobs.h │ │ │ ├── common.h │ │ │ ├── debugmodes.c │ │ │ ├── default_coef_probs.h │ │ │ ├── dequantize.c │ │ │ ├── entropy.c │ │ │ ├── entropy.h │ │ │ ├── entropymode.c │ │ │ ├── entropymode.h │ │ │ ├── entropymv.c │ │ │ ├── entropymv.h │ │ │ ├── extend.c │ │ │ ├── extend.h │ │ │ ├── filter.c │ │ │ ├── filter.h │ │ │ ├── findnearmv.c │ │ │ ├── findnearmv.h │ │ │ ├── generic │ │ │ │ └── systemdependent.c │ │ │ ├── header.h │ │ │ ├── idct_blk.c │ │ │ ├── idctllm.c │ │ │ ├── invtrans.h │ │ │ ├── loopfilter.c │ │ │ ├── loopfilter.h │ │ │ ├── loopfilter_filters.c │ │ │ ├── mbpitch.c │ │ │ ├── mfqe.c │ │ │ ├── modecont.c │ │ │ ├── modecont.h │ │ │ ├── mv.h │ │ │ ├── onyx.h │ │ │ ├── onyxc_int.h │ │ │ ├── onyxd.h │ │ │ ├── postproc.c │ │ │ ├── postproc.h │ │ │ ├── ppflags.h │ │ │ ├── pragmas.h │ │ │ ├── quant_common.c │ │ │ ├── quant_common.h │ │ │ ├── reconinter.c │ │ │ ├── reconinter.h │ │ │ ├── reconintra.c │ │ │ ├── reconintra4x4.c │ │ │ ├── reconintra4x4.h │ │ │ ├── rtcd.c │ │ │ ├── rtcd_defs.sh │ │ │ ├── sad_c.c │ │ │ ├── setupintrarecon.c │ │ │ ├── setupintrarecon.h │ │ │ ├── swapyv12buffer.c │ │ │ ├── swapyv12buffer.h │ │ │ ├── systemdependent.h │ │ │ ├── threading.h │ │ │ ├── treecoder.c │ │ │ ├── treecoder.h │ │ │ ├── variance.h │ │ │ ├── variance_c.c │ │ │ ├── vp8_entropymodedata.h │ │ │ └── x86 │ │ │ │ ├── dequantize_mmx.asm │ │ │ │ ├── filter_x86.c │ │ │ │ ├── filter_x86.h │ │ │ │ ├── idct_blk_mmx.c │ │ │ │ ├── idct_blk_sse2.c │ │ │ │ ├── idctllm_mmx.asm │ │ │ │ ├── idctllm_sse2.asm │ │ │ │ ├── iwalsh_mmx.asm │ │ │ │ ├── iwalsh_sse2.asm │ │ │ │ ├── loopfilter_mmx.asm │ │ │ │ ├── loopfilter_sse2.asm │ │ │ │ ├── loopfilter_x86.c │ │ │ │ ├── mfqe_sse2.asm │ │ │ │ ├── postproc_mmx.asm │ │ │ │ ├── postproc_sse2.asm │ │ │ │ ├── postproc_x86.c │ │ │ │ ├── recon_mmx.asm │ │ │ │ ├── recon_sse2.asm │ │ │ │ ├── recon_wrapper_sse2.c │ │ │ │ ├── sad_mmx.asm │ │ │ │ ├── sad_sse2.asm │ │ │ │ ├── sad_sse3.asm │ │ │ │ ├── sad_sse4.asm │ │ │ │ ├── sad_ssse3.asm │ │ │ │ ├── subpixel_mmx.asm │ │ │ │ ├── subpixel_sse2.asm │ │ │ │ ├── subpixel_ssse3.asm │ │ │ │ ├── variance_impl_mmx.asm │ │ │ │ ├── variance_impl_sse2.asm │ │ │ │ ├── variance_impl_ssse3.asm │ │ │ │ ├── variance_mmx.c │ │ │ │ ├── variance_sse2.c │ │ │ │ ├── variance_ssse3.c │ │ │ │ └── vp8_asm_stubs.c │ │ ├── decoder │ │ │ ├── asm_dec_offsets.c │ │ │ ├── dboolhuff.c │ │ │ ├── dboolhuff.h │ │ │ ├── decodemv.c │ │ │ ├── decodemv.h │ │ │ ├── decoderthreading.h │ │ │ ├── decodframe.c │ │ │ ├── detokenize.c │ │ │ ├── detokenize.h │ │ │ ├── onyxd_if.c │ │ │ ├── onyxd_int.h │ │ │ ├── threading.c │ │ │ └── treereader.h │ │ ├── encoder │ │ │ ├── asm_enc_offsets.c │ │ │ ├── bitstream.c │ │ │ ├── bitstream.h │ │ │ ├── block.h │ │ │ ├── boolhuff.c │ │ │ ├── boolhuff.h │ │ │ ├── dct.c │ │ │ ├── dct_value_cost.h │ │ │ ├── dct_value_tokens.h │ │ │ ├── defaultcoefcounts.h │ │ │ ├── denoising.c │ │ │ ├── denoising.h │ │ │ ├── encodeframe.c │ │ │ ├── encodeframe.h │ │ │ ├── encodeintra.c │ │ │ ├── encodeintra.h │ │ │ ├── encodemb.c │ │ │ ├── encodemb.h │ │ │ ├── encodemv.c │ │ │ ├── encodemv.h │ │ │ ├── ethreading.c │ │ │ ├── firstpass.c │ │ │ ├── firstpass.h │ │ │ ├── lookahead.c │ │ │ ├── lookahead.h │ │ │ ├── mcomp.c │ │ │ ├── mcomp.h │ │ │ ├── modecosts.c │ │ │ ├── modecosts.h │ │ │ ├── onyx_if.c │ │ │ ├── onyx_int.h │ │ │ ├── pickinter.c │ │ │ ├── pickinter.h │ │ │ ├── picklpf.c │ │ │ ├── psnr.c │ │ │ ├── psnr.h │ │ │ ├── quantize.c │ │ │ ├── quantize.h │ │ │ ├── ratectrl.c │ │ │ ├── ratectrl.h │ │ │ ├── rdopt.c │ │ │ ├── rdopt.h │ │ │ ├── segmentation.c │ │ │ ├── segmentation.h │ │ │ ├── temporal_filter.c │ │ │ ├── tokenize.c │ │ │ ├── tokenize.h │ │ │ ├── treewriter.c │ │ │ ├── treewriter.h │ │ │ └── x86 │ │ │ │ ├── dct_mmx.asm │ │ │ │ ├── dct_sse2.asm │ │ │ │ ├── encodeopt.asm │ │ │ │ ├── fwalsh_sse2.asm │ │ │ │ ├── quantize_mmx.asm │ │ │ │ ├── quantize_sse2.asm │ │ │ │ ├── quantize_sse4.asm │ │ │ │ ├── quantize_ssse3.asm │ │ │ │ ├── subtract_mmx.asm │ │ │ │ ├── subtract_sse2.asm │ │ │ │ ├── temporal_filter_apply_sse2.asm │ │ │ │ ├── vp8_enc_stubs_mmx.c │ │ │ │ └── vp8_enc_stubs_sse2.c │ │ ├── exports_dec │ │ ├── exports_enc │ │ ├── vp8_common.mk │ │ ├── vp8_cx_iface.c │ │ ├── vp8_dx_iface.c │ │ ├── vp8cx.mk │ │ └── vp8dx.mk │ │ ├── vp8_scalable_patterns.c │ │ ├── vp8_set_maps.c │ │ ├── vp8cx_set_ref.c │ │ ├── vpx │ │ ├── exports_com │ │ ├── exports_dec │ │ ├── exports_enc │ │ ├── internal │ │ │ └── vpx_codec_internal.h │ │ ├── src │ │ │ ├── vpx_codec.c │ │ │ ├── vpx_decoder.c │ │ │ ├── vpx_encoder.c │ │ │ └── vpx_image.c │ │ ├── vp8.h │ │ ├── vp8cx.h │ │ ├── vp8dx.h │ │ ├── vpx_codec.h │ │ ├── vpx_codec.mk │ │ ├── vpx_codec_impl_bottom.h │ │ ├── vpx_codec_impl_top.h │ │ ├── vpx_decoder.h │ │ ├── vpx_encoder.h │ │ ├── vpx_image.h │ │ └── vpx_integer.h │ │ ├── vpx_mem │ │ ├── include │ │ │ └── vpx_mem_intrnl.h │ │ ├── vpx_mem.c │ │ ├── vpx_mem.h │ │ └── vpx_mem.mk │ │ ├── vpx_ports │ │ ├── asm_offsets.h │ │ ├── emms.asm │ │ ├── mem.h │ │ ├── mem_ops.h │ │ ├── mem_ops_aligned.h │ │ ├── vpx_timer.h │ │ ├── x86.h │ │ ├── x86_abi_support.asm │ │ └── x86_cpuid.c │ │ ├── vpx_scale │ │ ├── generic │ │ │ ├── gen_scalers.c │ │ │ ├── vpxscale.c │ │ │ ├── yv12config.c │ │ │ ├── yv12extend.c │ │ │ └── yv12extend_generic.h │ │ ├── scale_mode.h │ │ ├── vpx_scale.mk │ │ ├── vpxscale.h │ │ └── yv12config.h │ │ ├── vpxdec.c │ │ ├── vpxenc.c │ │ ├── y4minput.c │ │ └── y4minput.h ├── wtl │ ├── CPL.TXT │ ├── atlapp.h │ ├── atlcrack.h │ ├── atlctrls.h │ ├── atlctrlw.h │ ├── atlctrlx.h │ ├── atlddx.h │ ├── atldlgs.h │ ├── atldwm.h │ ├── atlfind.h │ ├── atlframe.h │ ├── atlgdi.h │ ├── atlmisc.h │ ├── atlprint.h │ ├── atlres.h │ ├── atlresce.h │ ├── atlribbon.h │ ├── atlscrl.h │ ├── atlsplit.h │ ├── atltheme.h │ ├── atluser.h │ ├── atlwince.h │ ├── atlwinx.h │ └── readme.htm └── zlib │ ├── CMakeLists.txt │ ├── ChangeLog │ ├── FAQ │ ├── README │ ├── adler32.c │ ├── compress.c │ ├── crc32.c │ ├── crc32.h │ ├── deflate.c │ ├── deflate.h │ ├── gzclose.c │ ├── gzguts.h │ ├── gzlib.c │ ├── gzread.c │ ├── gzwrite.c │ ├── infback.c │ ├── inffast.c │ ├── inffast.h │ ├── inffixed.h │ ├── inflate.c │ ├── inflate.h │ ├── inftrees.c │ ├── inftrees.h │ ├── minigzip.c │ ├── trees.c │ ├── trees.h │ ├── uncompr.c │ ├── zconf.h │ ├── zconf.in.h │ ├── zlib.h │ ├── zlib_vs2010.vcxproj │ ├── zutil.c │ └── zutil.h └── version.props /Authors.txt: -------------------------------------------------------------------------------- 1 | CrashRpt Project Authors: 2 | 3 | Mike Carruth - CrashRpt project originator 4 | Oleg Krivtsov (zexspectrum) - current CrashRpt project maintainer 5 | 6 | Also thanks to: 7 | 8 | David Kelvin (crcode.s) for his money donation 9 | Thomas Fischer (tdev) for his Python statistics collection script 10 | Andy Schoenle for his German language file 11 | Davide Zaccanti for his Italian language file 12 | hadop for his French translation 13 | -------------------------------------------------------------------------------- /License.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003, The CrashRpt Project Authors. 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | 7 | * Redistributions of source code must retain the above copyright notice, this 8 | list of conditions and the following disclaimer. 9 | 10 | * Redistributions in binary form must reproduce the above copyright notice, 11 | this list of conditions and the following disclaimer in the documentation 12 | and/or other materials provided with the distribution. 13 | 14 | * Neither the name of the author nor the names of its contributors 15 | may be used to endorse or promote products derived from this software without 16 | specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 19 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 20 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT 21 | SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 22 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 23 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 25 | STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 26 | OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | -------------------------------------------------------------------------------- /demos/ConsoleDemo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(ConsoleDemo) 2 | 3 | # Create the list of source files 4 | aux_source_directory( . source_files ) 5 | file( GLOB header_files *.h ) 6 | 7 | # Define _UNICODE (use wide-char encoding) 8 | add_definitions(-D_UNICODE ) 9 | 10 | fix_default_compiler_settings_() 11 | 12 | # Add include dir 13 | include_directories(${CMAKE_SOURCE_DIR}/include 14 | ${CMAKE_SOURCE_DIR}/reporting/CrashRpt 15 | ${CMAKE_SOURCE_DIR}/thirdparty/wtl 16 | ${CMAKE_SOURCE_DIR}/thirdparty/zlib 17 | ${CMAKE_SOURCE_DIR}/thirdparty/minizip 18 | ${CMAKE_SOURCE_DIR}/thirdparty/jpeg 19 | ${CMAKE_SOURCE_DIR}/thirdparty/libpng 20 | ${CMAKE_SOURCE_DIR}/thirdparty/tinyxml ) 21 | 22 | # Add executable build target 23 | add_executable(ConsoleDemo ${source_files} ${header_files}) 24 | 25 | # Add input link libraries 26 | target_link_libraries(ConsoleDemo CrashRpt) 27 | 28 | set_target_properties(ConsoleDemo PROPERTIES DEBUG_POSTFIX d ) 29 | -------------------------------------------------------------------------------- /demos/MFCDemo/ChildFrm.cpp: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | 11 | // ChildFrm.cpp : implementation of the CChildFrame class 12 | // 13 | #include "stdafx.h" 14 | #include "MFCDemo.h" 15 | 16 | #include "ChildFrm.h" 17 | 18 | #ifdef _DEBUG 19 | #define new DEBUG_NEW 20 | #endif 21 | 22 | 23 | // CChildFrame 24 | 25 | IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWnd) 26 | 27 | BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd) 28 | END_MESSAGE_MAP() 29 | 30 | 31 | // CChildFrame construction/destruction 32 | 33 | CChildFrame::CChildFrame() 34 | { 35 | // TODO: add member initialization code here 36 | } 37 | 38 | CChildFrame::~CChildFrame() 39 | { 40 | } 41 | 42 | 43 | BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs) 44 | { 45 | // TODO: Modify the Window class or styles here by modifying the CREATESTRUCT cs 46 | if( !CMDIChildWnd::PreCreateWindow(cs) ) 47 | return FALSE; 48 | 49 | return TRUE; 50 | } 51 | 52 | 53 | // CChildFrame diagnostics 54 | 55 | #ifdef _DEBUG 56 | void CChildFrame::AssertValid() const 57 | { 58 | CMDIChildWnd::AssertValid(); 59 | } 60 | 61 | void CChildFrame::Dump(CDumpContext& dc) const 62 | { 63 | CMDIChildWnd::Dump(dc); 64 | } 65 | 66 | #endif //_DEBUG 67 | 68 | 69 | // CChildFrame message handlers 70 | -------------------------------------------------------------------------------- /demos/MFCDemo/ChildFrm.h: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | 11 | // ChildFrm.h : interface of the CChildFrame class 12 | // 13 | 14 | 15 | #pragma once 16 | 17 | 18 | class CChildFrame : public CMDIChildWnd 19 | { 20 | DECLARE_DYNCREATE(CChildFrame) 21 | public: 22 | CChildFrame(); 23 | 24 | // Attributes 25 | public: 26 | 27 | // Operations 28 | public: 29 | 30 | // Overrides 31 | virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 32 | 33 | // Implementation 34 | public: 35 | virtual ~CChildFrame(); 36 | #ifdef _DEBUG 37 | virtual void AssertValid() const; 38 | virtual void Dump(CDumpContext& dc) const; 39 | #endif 40 | 41 | // Generated message map functions 42 | protected: 43 | DECLARE_MESSAGE_MAP() 44 | }; 45 | -------------------------------------------------------------------------------- /demos/MFCDemo/MFCDemo.h: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | 11 | // MFCDemo.h : main header file for the MFCDemo application 12 | // 13 | #pragma once 14 | 15 | #ifndef __AFXWIN_H__ 16 | #error "include 'stdafx.h' before including this file for PCH" 17 | #endif 18 | 19 | #include "resource.h" // main symbols 20 | 21 | 22 | // CMFCDemoApp: 23 | // See MFCDemo.cpp for the implementation of this class 24 | // 25 | 26 | class CMFCDemoApp : public CWinApp 27 | { 28 | public: 29 | CMFCDemoApp(); 30 | 31 | 32 | // Overrides 33 | public: 34 | virtual BOOL InitInstance(); 35 | virtual int Run(); 36 | 37 | // Implementation 38 | afx_msg void OnAppAbout(); 39 | DECLARE_MESSAGE_MAP() 40 | }; 41 | 42 | extern CMFCDemoApp theApp; -------------------------------------------------------------------------------- /demos/MFCDemo/MFCDemoDoc.cpp: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | 11 | // MFCDemoDoc.cpp : implementation of the CMFCDemoDoc class 12 | // 13 | 14 | #include "stdafx.h" 15 | #include "MFCDemo.h" 16 | 17 | #include "MFCDemoDoc.h" 18 | 19 | #ifdef _DEBUG 20 | #define new DEBUG_NEW 21 | #endif 22 | 23 | 24 | // CMFCDemoDoc 25 | 26 | IMPLEMENT_DYNCREATE(CMFCDemoDoc, CDocument) 27 | 28 | BEGIN_MESSAGE_MAP(CMFCDemoDoc, CDocument) 29 | END_MESSAGE_MAP() 30 | 31 | 32 | // CMFCDemoDoc construction/destruction 33 | 34 | CMFCDemoDoc::CMFCDemoDoc() 35 | { 36 | // TODO: add one-time construction code here 37 | 38 | } 39 | 40 | CMFCDemoDoc::~CMFCDemoDoc() 41 | { 42 | } 43 | 44 | BOOL CMFCDemoDoc::OnNewDocument() 45 | { 46 | if (!CDocument::OnNewDocument()) 47 | return FALSE; 48 | 49 | // TODO: add reinitialization code here 50 | // (SDI documents will reuse this document) 51 | 52 | return TRUE; 53 | } 54 | 55 | 56 | 57 | 58 | // CMFCDemoDoc serialization 59 | 60 | void CMFCDemoDoc::Serialize(CArchive& ar) 61 | { 62 | if (ar.IsStoring()) 63 | { 64 | // TODO: add storing code here 65 | 66 | int* p = NULL; 67 | *p = 13; 68 | } 69 | else 70 | { 71 | // TODO: add loading code here 72 | } 73 | } 74 | 75 | 76 | // CMFCDemoDoc diagnostics 77 | 78 | #ifdef _DEBUG 79 | void CMFCDemoDoc::AssertValid() const 80 | { 81 | CDocument::AssertValid(); 82 | } 83 | 84 | void CMFCDemoDoc::Dump(CDumpContext& dc) const 85 | { 86 | CDocument::Dump(dc); 87 | } 88 | #endif //_DEBUG 89 | 90 | 91 | // CMFCDemoDoc commands 92 | -------------------------------------------------------------------------------- /demos/MFCDemo/MFCDemoDoc.h: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | 11 | // MFCDemoDoc.h : interface of the CMFCDemoDoc class 12 | // 13 | 14 | 15 | #pragma once 16 | 17 | 18 | class CMFCDemoDoc : public CDocument 19 | { 20 | protected: // create from serialization only 21 | CMFCDemoDoc(); 22 | DECLARE_DYNCREATE(CMFCDemoDoc) 23 | 24 | // Attributes 25 | public: 26 | 27 | // Operations 28 | public: 29 | 30 | // Overrides 31 | public: 32 | virtual BOOL OnNewDocument(); 33 | virtual void Serialize(CArchive& ar); 34 | 35 | // Implementation 36 | public: 37 | virtual ~CMFCDemoDoc(); 38 | #ifdef _DEBUG 39 | virtual void AssertValid() const; 40 | virtual void Dump(CDumpContext& dc) const; 41 | #endif 42 | 43 | protected: 44 | 45 | // Generated message map functions 46 | protected: 47 | DECLARE_MESSAGE_MAP() 48 | }; 49 | 50 | 51 | -------------------------------------------------------------------------------- /demos/MFCDemo/MFCDemoView.h: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | 11 | // MFCDemoView.h : interface of the CMFCDemoView class 12 | // 13 | 14 | 15 | #pragma once 16 | 17 | 18 | class CMFCDemoView : public CView 19 | { 20 | protected: // create from serialization only 21 | CMFCDemoView(); 22 | DECLARE_DYNCREATE(CMFCDemoView) 23 | 24 | // Attributes 25 | public: 26 | CMFCDemoDoc* GetDocument() const; 27 | 28 | // Operations 29 | public: 30 | 31 | // Overrides 32 | public: 33 | virtual void OnDraw(CDC* pDC); // overridden to draw this view 34 | virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 35 | protected: 36 | virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 37 | virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 38 | virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 39 | 40 | // Implementation 41 | public: 42 | virtual ~CMFCDemoView(); 43 | #ifdef _DEBUG 44 | virtual void AssertValid() const; 45 | virtual void Dump(CDumpContext& dc) const; 46 | #endif 47 | 48 | protected: 49 | 50 | // Generated message map functions 51 | protected: 52 | DECLARE_MESSAGE_MAP() 53 | }; 54 | 55 | #ifndef _DEBUG // debug version in MFCDemoView.cpp 56 | inline CMFCDemoDoc* CMFCDemoView::GetDocument() const 57 | { return reinterpret_cast(m_pDocument); } 58 | #endif 59 | 60 | -------------------------------------------------------------------------------- /demos/MFCDemo/MainFrm.h: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | 11 | // MainFrm.h : interface of the CMainFrame class 12 | // 13 | 14 | 15 | #pragma once 16 | 17 | class CMainFrame : public CMDIFrameWnd 18 | { 19 | DECLARE_DYNAMIC(CMainFrame) 20 | public: 21 | CMainFrame(); 22 | 23 | // Attributes 24 | public: 25 | 26 | // Operations 27 | public: 28 | 29 | // Overrides 30 | public: 31 | virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 32 | 33 | // Implementation 34 | public: 35 | virtual ~CMainFrame(); 36 | #ifdef _DEBUG 37 | virtual void AssertValid() const; 38 | virtual void Dump(CDumpContext& dc) const; 39 | #endif 40 | 41 | protected: // control bar embedded members 42 | CStatusBar m_wndStatusBar; 43 | CToolBar m_wndToolBar; 44 | 45 | // Generated message map functions 46 | protected: 47 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 48 | DECLARE_MESSAGE_MAP() 49 | }; 50 | 51 | 52 | -------------------------------------------------------------------------------- /demos/MFCDemo/Resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by MFCDemo.rc 4 | // 5 | #define IDD_ABOUTBOX 100 6 | #define IDP_OLE_INIT_FAILED 100 7 | #define IDR_MAINFRAME 128 8 | #define IDR_MFCDemoTYPE 129 9 | 10 | // Next default values for new objects 11 | // 12 | #ifdef APSTUDIO_INVOKED 13 | #ifndef APSTUDIO_READONLY_SYMBOLS 14 | #define _APS_NEXT_RESOURCE_VALUE 130 15 | #define _APS_NEXT_CONTROL_VALUE 1000 16 | #define _APS_NEXT_SYMED_VALUE 101 17 | #define _APS_NEXT_COMMAND_VALUE 32771 18 | #endif 19 | #endif 20 | -------------------------------------------------------------------------------- /demos/MFCDemo/res/MFCDemo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/demos/MFCDemo/res/MFCDemo.ico -------------------------------------------------------------------------------- /demos/MFCDemo/res/MFCDemo.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // MFCDemo.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | -------------------------------------------------------------------------------- /demos/MFCDemo/res/MFCDemoDoc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/demos/MFCDemo/res/MFCDemoDoc.ico -------------------------------------------------------------------------------- /demos/MFCDemo/res/Toolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/demos/MFCDemo/res/Toolbar.bmp -------------------------------------------------------------------------------- /demos/MFCDemo/stdafx.cpp: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | 11 | // stdafx.cpp : source file that includes just the standard includes 12 | // MFCDemo.pch will be the pre-compiled header 13 | // stdafx.obj will contain the pre-compiled type information 14 | 15 | #include "stdafx.h" 16 | 17 | 18 | -------------------------------------------------------------------------------- /demos/WTLDemo/CrashThread.h: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | 11 | #pragma once 12 | #include "stdafx.h" 13 | #include "CrashRpt.h" 14 | 15 | 16 | struct CrashThreadInfo 17 | { 18 | HANDLE m_hWakeUpEvent; 19 | bool m_bStop; 20 | int m_ExceptionType; 21 | }; 22 | 23 | DWORD WINAPI CrashThread(LPVOID pParam); 24 | 25 | void test_generate_report(); 26 | 27 | -------------------------------------------------------------------------------- /demos/WTLDemo/WTLDemo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/demos/WTLDemo/WTLDemo.cpp -------------------------------------------------------------------------------- /demos/WTLDemo/dummy.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/demos/WTLDemo/dummy.ini -------------------------------------------------------------------------------- /demos/WTLDemo/dummy.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/demos/WTLDemo/dummy.log -------------------------------------------------------------------------------- /demos/WTLDemo/res/WTLDemo.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 9 | 10 | CrashRptTest Application 11 | 12 | 13 | 14 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /demos/WTLDemo/res/WTLDemo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/demos/WTLDemo/res/WTLDemo.ico -------------------------------------------------------------------------------- /demos/WTLDemo/res/WTLDemo.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // CRASHRPTTEST.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | -------------------------------------------------------------------------------- /demos/WTLDemo/stdafx.cpp: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | 11 | // stdafx.cpp : source file that includes just the standard includes 12 | // CrashRptTest.pch will be the pre-compiled header 13 | // stdafx.obj will contain the pre-compiled type information 14 | 15 | #include "stdafx.h" 16 | 17 | #if (_ATL_VER < 0x0700) 18 | #include 19 | #endif //(_ATL_VER < 0x0700) 20 | -------------------------------------------------------------------------------- /docs/Doxyfile-svr: -------------------------------------------------------------------------------- 1 | # This configuration file is used to generate CrashRpt documentation 2 | # that will be stored on server (online) 3 | 4 | @INCLUDE = Doxyfile 5 | 6 | SEARCHENGINE = YES 7 | SERVER_BASED_SEARCH = YES 8 | 9 | 10 | -------------------------------------------------------------------------------- /docs/dox/automating_crash_report_processing.dox: -------------------------------------------------------------------------------- 1 | /*! 2 | 3 | \page automating_crash_report_processing Automating Crash Report Processing 4 | 5 | The error report processing means opening a crash report, reading crash description 6 | XML, opening crash minidump file, retrieving important information about the 7 | exception, and finally presenting the information to the developer in text form. 8 | 9 | Automating the error report processing becomes the critical task when you receive a 10 | lot of error reports after software release. Among hundreds of reports there may be 11 | only several different problems, while others just duplicate the information about 12 | those problems. Opening so many reports manually in Visual Studio or in WinDbg and 13 | analyzing their content may become boring and take a lot of time. 14 | 15 | \image html reports_path.png 16 | 17 | The easiest way to process error reports automatically is to install the 18 | CrashFix web application. CrashFix server allows to easily receive, store, 19 | organize and analyze crash reports sent by your C++ application. For additional information, 20 | please see the \subpage crashfix_server page. 21 | 22 | An alternative way is to use a command-line tool named crprober.exe provided 23 | by CrashRpt. The tool is designed for processing error report 24 | files and outputting the results to a text file or to terminal. 25 | For additional information, please refer to the \subpage crprober_tool page. 26 | 27 | The crprober.exe tool uses CrashRptProbe API internally. The API 28 | is designed to provide programming access to crash report file contents and 29 | can be useful if you want to write your own crash report processing application. 30 | For additional information, please refer to the \subpage using_crashrptprobe_api and 31 | \subpage crashrptprobe_api_examples pages. 32 | 33 | Further reading: \ref crashfix_server. 34 | 35 | */ -------------------------------------------------------------------------------- /docs/dox/introduction_to_crashrpt.dox: -------------------------------------------------------------------------------- 1 | /*! 2 | 3 | \page introduction_to_crashrpt Introduction to CrashRpt 4 | 5 | 6 | This section covers the following topics: 7 | 8 | - \subpage getting_started page describes CrashRpt library's 9 | mission and main features. 10 | 11 | - \subpage architecture_overview page describes the main 12 | components of CrashRpt: the components designed for error 13 | reporting and components designed for error report analysis. 14 | 15 | - \subpage error_report page tells about what error report files are, 16 | when they are created and what data they contain. 17 | 18 | - \subpage demos page describes some demo applications included in 19 | CrashRpt distribution. You can refer to those apps for examples 20 | of CrashRpt usage. 21 | 22 | - Frequently Asked Questions 23 | page contains the questions and answers about CrashRpt usage. 24 | Read this page for quick start. 25 | 26 | - Change Log page 27 | contains change history between versions of CrashRpt. 28 | Read this page to learn what's new in the current version. 29 | 30 | - Authors page 31 | contains the list of people who contributed into CrashRpt 32 | project development. 33 | 34 | 35 | */ 36 | -------------------------------------------------------------------------------- /docs/dox/mainpage.dox: -------------------------------------------------------------------------------- 1 | /*! 2 | 3 | \mainpage CrashRpt Documentation 4 | 5 | CrashRpt is a light-weight open-source error reporting library for C++ applications running in Windows. 6 | 7 | \section toc Table of Contents 8 | 9 | - \subpage introduction_to_crashrpt 10 | - \ref getting_started 11 | - \ref architecture_overview 12 | - \ref error_report 13 | - \ref demos 14 | - Frequently Asked Questions 15 | - Change Log 16 | - Authors 17 | - \subpage using_crashrpt 18 | - \ref compiling_crashrpt 19 | - \ref configuring_project 20 | - \ref using_crashrpt_api 21 | - \ref enabling_crash_reporting 22 | - \ref sending_error_reports 23 | - \ref misc_api_features 24 | - \ref simple_example 25 | - \ref internationalization_support 26 | - \ref preparing_to_software_release 27 | - \subpage using_error_reports 28 | - \ref analyzing_error_reports 29 | - \ref using_crash_descriptor 30 | - \ref using_minidump 31 | - \ref automating_crash_report_processing 32 | - \ref crashfix_server 33 | - \ref crprober_tool 34 | - \ref using_crashrptprobe_api 35 | - \ref crashrptprobe_api_examples 36 | - \subpage other_topics 37 | - \ref exception_handling 38 | - \ref writing_robust_code 39 | - \ref automated_tests 40 | */ 41 | -------------------------------------------------------------------------------- /docs/dox/other_topics.dox: -------------------------------------------------------------------------------- 1 | /*! 2 | 3 | \page other_topics Other Topics 4 | 5 | This section covers the following topics: 6 | 7 | - \subpage exception_handling page describes what is an exception and how exceptions are handled 8 | in applications built in Visual C++ IDE. 9 | 10 | - \subpage writing_robust_code page contains some tips on how to write the C++ code 11 | more tolerant to critical errors. 12 | 13 | - \subpage automated_tests page conatains information on unit tests used by 14 | CrashRpt developers for ensuring library's functionality works correctly. 15 | 16 | */ 17 | -------------------------------------------------------------------------------- /docs/dox/using_crashrpt.dox: -------------------------------------------------------------------------------- 1 | /*! 2 | 3 | \page using_crashrpt Using CrashRpt in Your Project 4 | 5 | This section covers the following topics: 6 | 7 | - \subpage compiling_crashrpt page contains information on how 8 | to compile CrashRpt library from source code. Reading this 9 | is required to integrate CrashRpt with your C++ application. 10 | 11 | - \subpage configuring_project page describes how to configure your 12 | project build options to be able to properly use CrashRpt's error report 13 | generation functionality. 14 | 15 | - \subpage using_crashrpt_api page describes in details the CrashRpt API 16 | functions, structures and helper classes. Use these in your code 17 | to enable crash reporting, add various files to crash report and 18 | enable error report delivery. 19 | 20 | - \subpage simple_example page contains a simplfied tutorial on how to use 21 | the API provided by CrashRpt. 22 | 23 | - \subpage internationalization_support page contains information on how to 24 | localize CrashRpt to your favourite language. This is suitable for multi-lingual apps. 25 | 26 | - \subpage preparing_to_software_release page describes how to prepare 27 | your application to release. You shold follow the instructions listed here 28 | to be able to postprocess error reports sent by your application. 29 | 30 | */ 31 | -------------------------------------------------------------------------------- /docs/dox/using_error_reports.dox: -------------------------------------------------------------------------------- 1 | /*! 2 | 3 | \page using_error_reports Using Error Reports 4 | 5 | This section covers the following topics: 6 | 7 | - \subpage analyzing_error_reports page contains general information on crash report analysis. 8 | 9 | - \subpage using_crash_descriptor page describes how to use the information contained inside of 10 | the crashrpt.xml file. 11 | 12 | - \subpage using_minidump page tells about using the crashdump.dmp file. The minidump 13 | file can be opened in Visual Studio IDE or in WinDbg. 14 | 15 | - \subpage automating_crash_report_processing describes how to automate crash report analysis 16 | with tools provided by CrashRpt. Automating the analysis is useful when you receive 17 | too many error report and processing them manually becomes too difficult. 18 | 19 | */ -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/favicon.ico -------------------------------------------------------------------------------- /docs/footer.html: -------------------------------------------------------------------------------- 1 |
2 | Generated on $datetime for $projectname by doxygen $doxygenversion
3 | 4 | 5 | -------------------------------------------------------------------------------- /docs/header.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | $title 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
Logocrashrpt
A crash reporting system for Windows applications
24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /docs/image/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/architecture.png -------------------------------------------------------------------------------- /docs/image/balloon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/balloon.png -------------------------------------------------------------------------------- /docs/image/call_stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/call_stack.png -------------------------------------------------------------------------------- /docs/image/cmake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/cmake.png -------------------------------------------------------------------------------- /docs/image/code_line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/code_line.png -------------------------------------------------------------------------------- /docs/image/crashcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/crashcon.png -------------------------------------------------------------------------------- /docs/image/crashdump_sln.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/crashdump_sln.PNG -------------------------------------------------------------------------------- /docs/image/crashfix_server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/crashfix_server.png -------------------------------------------------------------------------------- /docs/image/crashrpttest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/crashrpttest.png -------------------------------------------------------------------------------- /docs/image/crtdll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/crtdll.png -------------------------------------------------------------------------------- /docs/image/custom_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/custom_icon.png -------------------------------------------------------------------------------- /docs/image/dbghelp_open_minidump.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/dbghelp_open_minidump.png -------------------------------------------------------------------------------- /docs/image/detaildlg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/detaildlg.png -------------------------------------------------------------------------------- /docs/image/disable_fpo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/disable_fpo.png -------------------------------------------------------------------------------- /docs/image/linker_debug_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/linker_debug_settings.png -------------------------------------------------------------------------------- /docs/image/maindlg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/maindlg.png -------------------------------------------------------------------------------- /docs/image/mfcdemo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/mfcdemo.png -------------------------------------------------------------------------------- /docs/image/modules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/modules.png -------------------------------------------------------------------------------- /docs/image/more_info_fields.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/more_info_fields.png -------------------------------------------------------------------------------- /docs/image/no_symbols_loaded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/no_symbols_loaded.png -------------------------------------------------------------------------------- /docs/image/output_window.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/output_window.PNG -------------------------------------------------------------------------------- /docs/image/program_database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/program_database.png -------------------------------------------------------------------------------- /docs/image/progressdlg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/progressdlg.png -------------------------------------------------------------------------------- /docs/image/reports_path.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/reports_path.png -------------------------------------------------------------------------------- /docs/image/send_mandatory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/send_mandatory.png -------------------------------------------------------------------------------- /docs/image/send_queued_reports.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/send_queued_reports.png -------------------------------------------------------------------------------- /docs/image/solution_explorer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/solution_explorer.png -------------------------------------------------------------------------------- /docs/image/symbols_load_paths.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/symbols_load_paths.png -------------------------------------------------------------------------------- /docs/image/threads.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/threads.png -------------------------------------------------------------------------------- /docs/image/video_rec.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/video_rec.png -------------------------------------------------------------------------------- /docs/image/vs_unhandled_exception.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/image/vs_unhandled_exception.PNG -------------------------------------------------------------------------------- /docs/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/docs/logo.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CrashRpt Documentation 6 | 7 | 8 | 9 | 10 | 11 | Redirecting... If nothing happens, please click here. 12 | 13 | 14 | -------------------------------------------------------------------------------- /lang_files/crashrpt_lang_CS.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/lang_files/crashrpt_lang_CS.ini -------------------------------------------------------------------------------- /lang_files/crashrpt_lang_DE.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/lang_files/crashrpt_lang_DE.ini -------------------------------------------------------------------------------- /lang_files/crashrpt_lang_EN.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/lang_files/crashrpt_lang_EN.ini -------------------------------------------------------------------------------- /lang_files/crashrpt_lang_ES.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/lang_files/crashrpt_lang_ES.ini -------------------------------------------------------------------------------- /lang_files/crashrpt_lang_FR.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/lang_files/crashrpt_lang_FR.ini -------------------------------------------------------------------------------- /lang_files/crashrpt_lang_HI.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/lang_files/crashrpt_lang_HI.ini -------------------------------------------------------------------------------- /lang_files/crashrpt_lang_IT.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/lang_files/crashrpt_lang_IT.ini -------------------------------------------------------------------------------- /lang_files/crashrpt_lang_JA.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/lang_files/crashrpt_lang_JA.ini -------------------------------------------------------------------------------- /lang_files/crashrpt_lang_KO.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/lang_files/crashrpt_lang_KO.ini -------------------------------------------------------------------------------- /lang_files/crashrpt_lang_PL.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/lang_files/crashrpt_lang_PL.ini -------------------------------------------------------------------------------- /lang_files/crashrpt_lang_PT.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/lang_files/crashrpt_lang_PT.ini -------------------------------------------------------------------------------- /lang_files/crashrpt_lang_RU.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/lang_files/crashrpt_lang_RU.ini -------------------------------------------------------------------------------- /lang_files/crashrpt_lang_SK.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/lang_files/crashrpt_lang_SK.ini -------------------------------------------------------------------------------- /lang_files/crashrpt_lang_ZH-CN.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/lang_files/crashrpt_lang_ZH-CN.ini -------------------------------------------------------------------------------- /processing/crashrptprobe/CrashDescReader.h: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | 11 | // File: CrashDescReader.h 12 | // Description: Crash description XML file reader. 13 | // Authors: zexspectrum 14 | // Date: 2010 15 | 16 | #pragma once 17 | #include "stdafx.h" 18 | #include 19 | #include "tinyxml.h" 20 | 21 | class CCrashDescReader 22 | { 23 | public: 24 | 25 | CCrashDescReader(); 26 | ~CCrashDescReader(); 27 | 28 | int Load(CString sFileName); 29 | 30 | bool m_bLoaded; 31 | 32 | DWORD m_dwGeneratorVersion; 33 | 34 | CString m_sCrashGUID; 35 | CString m_sAppName; 36 | CString m_sAppVersion; 37 | CString m_sImageName; 38 | CString m_sOperatingSystem; 39 | BOOL m_bOSIs64Bit; 40 | CString m_sSystemTimeUTC; 41 | CString m_sGeoLocation; 42 | 43 | DWORD m_dwExceptionType; 44 | DWORD m_dwExceptionCode; 45 | 46 | DWORD m_dwFPESubcode; 47 | 48 | CString m_sInvParamExpression; 49 | CString m_sInvParamFunction; 50 | CString m_sInvParamFile; 51 | DWORD m_dwInvParamLine; 52 | 53 | CString m_sUserEmail; 54 | CString m_sProblemDescription; 55 | 56 | CString m_sMemoryUsageKbytes; 57 | CString m_sGUIResourceCount; 58 | CString m_sOpenHandleCount; 59 | 60 | std::map m_aFileItems; 61 | std::map m_aCustomProps; 62 | 63 | private: 64 | 65 | int LoadXmlv10(TiXmlHandle hDoc); 66 | }; 67 | 68 | -------------------------------------------------------------------------------- /processing/crashrptprobe/CrashRptProbe.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | crpOpenErrorReportW @1 3 | crpOpenErrorReportA @2 4 | crpCloseErrorReport @3 5 | crpGetPropertyW @4 6 | crpGetPropertyA @5 7 | crpExtractFileW @6 8 | crpExtractFileA @7 9 | crpGetLastErrorMsgW @8 10 | crpGetLastErrorMsgA @9 -------------------------------------------------------------------------------- /processing/crashrptprobe/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by CrashRptProbe.rc 4 | 5 | // Next default values for new objects 6 | // 7 | #ifdef APSTUDIO_INVOKED 8 | #ifndef APSTUDIO_READONLY_SYMBOLS 9 | #define _APS_NEXT_RESOURCE_VALUE 101 10 | #define _APS_NEXT_COMMAND_VALUE 40001 11 | #define _APS_NEXT_CONTROL_VALUE 1001 12 | #define _APS_NEXT_SYMED_VALUE 101 13 | #endif 14 | #endif 15 | -------------------------------------------------------------------------------- /processing/crashrptprobe/stdafx.cpp: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | 11 | 12 | // stdafx.cpp : source file that includes just the standard includes 13 | // CrashRptProbe.pch will be the pre-compiled header 14 | // stdafx.obj will contain the pre-compiled type information 15 | 16 | #include "stdafx.h" 17 | 18 | // TODO: reference any additional headers you need in STDAFX.H 19 | // and not in this file 20 | 21 | int _STPRINTF_S(TCHAR* buffer, size_t sizeOfBuffer, const TCHAR* format, ... ) 22 | { 23 | va_list args; 24 | va_start(args, format); 25 | 26 | #if _MSC_VER<1400 27 | UNREFERENCED_PARAMETER(sizeOfBuffer); 28 | return _vstprintf(buffer, format, args); 29 | #else 30 | return _vstprintf_s(buffer, sizeOfBuffer, format, args); 31 | #endif 32 | } 33 | -------------------------------------------------------------------------------- /processing/crprober/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(crprober) 2 | 3 | # Create the list of source files 4 | aux_source_directory( . source_files ) 5 | file( GLOB header_files *.h ) 6 | 7 | # Define _UNICODE (use wide-char encoding) 8 | add_definitions(-D_UNICODE ) 9 | 10 | fix_default_compiler_settings_() 11 | 12 | # Add include dir 13 | include_directories(${CMAKE_SOURCE_DIR}/include) 14 | 15 | # Add executable build target 16 | add_executable(crprober ${source_files} ${header_files}) 17 | 18 | # Add input link libraries 19 | target_link_libraries(crprober CrashRptProbe) 20 | 21 | set_target_properties(crprober PROPERTIES DEBUG_POSTFIX d ) -------------------------------------------------------------------------------- /processing/scripts/basic_stats.py: -------------------------------------------------------------------------------- 1 | # This script calculates how many error reports are in each subdirectory 2 | # and how many error reports are in total. 3 | # Edit in_dir and out_file parameters as you need. 4 | 5 | import os 6 | 7 | in_dir = "D:/Projects/CrashRpt/valid_reports" 8 | out_file = "stats.txt" 9 | 10 | 11 | f = open(out_file, "w") 12 | 13 | def get_txt_file_count(dirname): 14 | count = 0 15 | for root, dirs, files in os.walk(dirname, True): 16 | for file in files: 17 | if file[-4:] != ".txt": 18 | continue; 19 | count += 1 20 | break; 21 | return count 22 | 23 | multimap = dict() 24 | for root, dirs, files in os.walk(in_dir): 25 | for dir in dirs: 26 | dir_name = os.path.join(root, dir) 27 | report_count_in_dir = get_txt_file_count(dir_name) 28 | if report_count_in_dir in multimap.keys(): 29 | multimap[report_count_in_dir].append(dir) 30 | else: 31 | multimap[report_count_in_dir] = [dir] 32 | 33 | ordered_list = list(multimap.keys()) 34 | ordered_list.sort() 35 | ordered_list.reverse() 36 | 37 | total_count = 0 38 | total_groups = 0 39 | for count in ordered_list: 40 | total_groups += len(multimap[count]); 41 | total_count += count * len(multimap[count]) 42 | 43 | f.write("Total %d reports (100%%) in %d directories\n"%(total_count, total_groups)) 44 | 45 | n = 1 46 | for key in ordered_list: 47 | for dir in multimap[key]: 48 | percent = key/total_count*100 49 | f.write("%d. %d reports (%0.1f%%) in '%s'\n"%(n, key, percent, dir)) 50 | n = n+1 51 | 52 | f.close() -------------------------------------------------------------------------------- /reporting/crashrpt/CrashRpt.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | 3 | crInstallW @7 4 | crInstallA @8 5 | crUninstall @9 6 | crInstallToCurrentThread2 @11 7 | crUninstallFromCurrentThread @12 8 | crAddFile2W @15 9 | crAddFile2A @16 10 | crAddScreenshot @17 11 | crAddPropertyW @18 12 | crAddPropertyA @19 13 | crGenerateErrorReport @20 14 | crExceptionFilter @21 15 | crEmulateCrash @22 16 | crGetLastErrorMsgW @23 17 | crGetLastErrorMsgA @24 18 | crAddRegKeyW @25 19 | crAddRegKeyA @26 20 | crAddScreenshot2 @27 21 | crAddVideo @28 22 | crSetCrashCallbackW @29 23 | crSetCrashCallbackA @30 24 | 25 | 26 | -------------------------------------------------------------------------------- /reporting/crashrpt/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // CrashRpt.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | #if (_ATL_VER < 0x0700) 8 | #include 9 | #endif //(_ATL_VER < 0x0700) 10 | -------------------------------------------------------------------------------- /reporting/crashrpt/res/crashrpt.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | CrashRpt Application 11 | 12 | 13 | 14 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /reporting/crashrpt/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by CrashRpt.rc 4 | // 5 | #define IDM_ABOUTBOX 0x0010 6 | #define IDR_MAINFRAME 128 7 | #define IDC_MESSAGE_TEXT 131 8 | #define IDR_LICENSE 210 9 | #define IDS_NAME 1000 10 | #define IDS_DESC 1001 11 | #define IDS_TYPE 1002 12 | #define IDS_SIZE 1003 13 | #define IDC_EDIT1 1003 14 | #define IDS_CRASH_DUMP 1004 15 | #define IDC_EDIT2 1004 16 | #define IDS_CRASH_LOG 1005 17 | #define IDS_SYMBOL_FILE 1006 18 | #define IDS_HTTP_FORM_DATA 1007 19 | #define IDC_BUTTON1 1014 20 | #define IDS_CONTENT_TYPE 57346 21 | #define IDS_HEADER 57610 22 | #define IDS_MESSAGE 57611 23 | #define IDS_INVALID_EMAIL 57611 24 | #define IDS_ZIP_FILTER 57612 25 | #define IDS_HTTP_HEADER_CONTENT_TYPE 57613 26 | #define IDS_HTTP_HEADER_BOUNDARY 57614 27 | #define IDS_FORM_DATA 57638 28 | #define IDS_ABOUTBOX 57654 29 | 30 | // Next default values for new objects 31 | // 32 | #ifdef APSTUDIO_INVOKED 33 | #ifndef APSTUDIO_READONLY_SYMBOLS 34 | #define _APS_NEXT_RESOURCE_VALUE 211 35 | #define _APS_NEXT_COMMAND_VALUE 32772 36 | #define _APS_NEXT_CONTROL_VALUE 1015 37 | #define _APS_NEXT_SYMED_VALUE 101 38 | #endif 39 | #endif 40 | -------------------------------------------------------------------------------- /reporting/crashsender/FilePreviewCtrl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/reporting/crashsender/FilePreviewCtrl.cpp -------------------------------------------------------------------------------- /reporting/crashsender/VideoRecDlg.h: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | 11 | // File: VideoRecDlg.h 12 | // Description: Video Recording Dialog. 13 | // Authors: zexspectrum 14 | // Date: Sep 2013 15 | 16 | #pragma once 17 | #include "stdafx.h" 18 | #include "resource.h" 19 | 20 | // class CVideoRecDlg 21 | // Implements video recording notification dialog. 22 | class CVideoRecDlg : 23 | public CDialogImpl 24 | { 25 | public: 26 | enum { IDD = IDD_VIDEOREC }; 27 | 28 | BEGIN_MSG_MAP(CVideoRecDlg) 29 | MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog) 30 | COMMAND_ID_HANDLER(IDOK, OnOK) 31 | COMMAND_ID_HANDLER(IDCANCEL, OnCancel) 32 | END_MSG_MAP() 33 | 34 | LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/); 35 | 36 | LRESULT OnOK(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/); 37 | LRESULT OnCancel(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/); 38 | 39 | CStatic m_statText; 40 | CButton m_btnAllow; 41 | CButton m_btnCancel; 42 | }; -------------------------------------------------------------------------------- /reporting/crashsender/base64.h: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | #pragma once 11 | 12 | #include 13 | 14 | std::string base64_encode(unsigned char const* , unsigned int len, int split_count = 76, const char *split = "\r\n"); 15 | std::string base64_decode(std::string const& s); 16 | 17 | -------------------------------------------------------------------------------- /reporting/crashsender/md5.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/reporting/crashsender/md5.cpp -------------------------------------------------------------------------------- /reporting/crashsender/md5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/reporting/crashsender/md5.h -------------------------------------------------------------------------------- /reporting/crashsender/res/CrashSender.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 9 | 10 | CrashSender Application 11 | 12 | 13 | 14 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /reporting/crashsender/res/CrashSender.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/reporting/crashsender/res/CrashSender.ico -------------------------------------------------------------------------------- /reporting/crashsender/res/VideoRec.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/reporting/crashsender/res/VideoRec.ico -------------------------------------------------------------------------------- /reporting/crashsender/stdafx.cpp: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | // stdafx.cpp : source file that includes just the standard includes 11 | // testapp.pch will be the pre-compiled header 12 | // stdafx.obj will contain the pre-compiled type information 13 | 14 | #include "stdafx.h" 15 | 16 | #if (_ATL_VER < 0x0700) 17 | #include 18 | #endif //(_ATL_VER < 0x0700) 19 | 20 | -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(Tests) 2 | 3 | # Create the list of source files 4 | aux_source_directory( . source_files ) 5 | file( GLOB header_files *.h ) 6 | 7 | list(APPEND source_files ${CMAKE_SOURCE_DIR}/reporting/CrashRpt/Utility.cpp) 8 | 9 | # Enable usage of precompiled header 10 | set(srcs_using_precomp ${source_files}) 11 | list(REMOVE_ITEM srcs_using_precomp ./stdafx.cpp ) 12 | add_msvc_precompiled_header(stdafx.h ./stdafx.cpp srcs_using_precomp ) 13 | 14 | # Define _UNICODE (use wide-char encoding) 15 | add_definitions(-D_UNICODE ) 16 | 17 | if(NOT CRASHRPT_BUILD_SHARED_LIBS) 18 | add_definitions(-DCRASHRPT_LIB ) 19 | endif(NOT CRASHRPT_BUILD_SHARED_LIBS) 20 | 21 | fix_default_compiler_settings_() 22 | 23 | foreach (flag_var 24 | CMAKE_C_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELEASE ) 25 | string(REPLACE "/O2" "-Od" ${flag_var} "${${flag_var}}") 26 | string(REPLACE "/Ob2" "" ${flag_var} "${${flag_var}}") 27 | set(${flag_var} "${${flag_var}} /Zi /fp:except /MP") 28 | endforeach() 29 | 30 | set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} /DEBUG") 31 | 32 | # Add include dir 33 | include_directories( ${CMAKE_SOURCE_DIR}/include 34 | ${CMAKE_SOURCE_DIR}/reporting/CrashRpt 35 | ${CMAKE_SOURCE_DIR}/thirdparty/wtl ) 36 | 37 | # Add executable build target 38 | add_executable(Tests ${source_files} ${header_files}) 39 | 40 | # Add input link libraries 41 | target_link_libraries(Tests CrashRpt CrashRptProbe) 42 | 43 | set_target_properties(Tests PROPERTIES DEBUG_POSTFIX d ) 44 | #set_target_properties(Tests PROPERTIES COMPILE_FLAGS "/Zi" LINK_FLAGS "/DEBUG") 45 | -------------------------------------------------------------------------------- /tests/CrashRptAPITests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/tests/CrashRptAPITests.cpp -------------------------------------------------------------------------------- /tests/CrashRptProbeAPITests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/tests/CrashRptProbeAPITests.cpp -------------------------------------------------------------------------------- /tests/TestUtils.h: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | 11 | #include "stdafx.h" 12 | 13 | namespace TestUtils 14 | { 15 | 16 | // A helper function that creates a error report for testing 17 | BOOL CreateErrorReport(CString sTmpFolder, CString& sErrorReportName, CString& sMD5Hash); 18 | 19 | // Returns the list of sections in an INI file. 20 | int EnumINIFileSections(CString sFileName, std::vector& aSections); 21 | 22 | // Returns the list of strings in the specified section in an INI file. 23 | int EnumINIFileStrings(CString sFileName, CString sSectionName, std::vector& aStrings); 24 | 25 | // Launches the EXE program and returns its return code. 26 | int RunProgram(CString sExeName, CString sParams); 27 | 28 | // Launches the EXE program and grabs its stdout output. 29 | std::wstring exec(LPCTSTR szCmd); 30 | 31 | // Trims the string 32 | void wtrim(std::wstring& str, const wchar_t* szTrim=L" \t\r\n"); 33 | }; 34 | 35 | -------------------------------------------------------------------------------- /tests/Tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/tests/Tests.cpp -------------------------------------------------------------------------------- /tests/stdafx.cpp: -------------------------------------------------------------------------------- 1 | /************************************************************************************* 2 | This file is a part of CrashRpt library. 3 | Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved. 4 | 5 | Use of this source code is governed by a BSD-style license 6 | that can be found in the License.txt file in the root of the source 7 | tree. All contributing project authors may 8 | be found in the Authors.txt file in the root of the source tree. 9 | ***************************************************************************************/ 10 | // stdafx.cpp : source file that includes just the standard includes 11 | // testapp.pch will be the pre-compiled header 12 | // stdafx.obj will contain the pre-compiled type information 13 | 14 | #include "stdafx.h" 15 | 16 | #if (_ATL_VER < 0x0700) 17 | #include 18 | #endif //(_ATL_VER < 0x0700) 19 | 20 | -------------------------------------------------------------------------------- /thirdparty/dbghelp/bin/amd64/dbghelp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/thirdparty/dbghelp/bin/amd64/dbghelp.dll -------------------------------------------------------------------------------- /thirdparty/dbghelp/bin/dbghelp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/thirdparty/dbghelp/bin/dbghelp.dll -------------------------------------------------------------------------------- /thirdparty/dbghelp/lib/amd64/dbghelp.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/thirdparty/dbghelp/lib/amd64/dbghelp.lib -------------------------------------------------------------------------------- /thirdparty/dbghelp/lib/dbghelp.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/thirdparty/dbghelp/lib/dbghelp.lib -------------------------------------------------------------------------------- /thirdparty/jpeg/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(libjpeg) 2 | 3 | # Create the list of source files 4 | aux_source_directory( . source_files ) 5 | 6 | # Define _UNICODE (use wide-char encoding) 7 | add_definitions(-D_UNICODE -D_CRT_SECURE_NO_DEPRECATE /wd4244 /wd4131 /wd4100 /wd4127 /wd4267 /wd4310) 8 | 9 | fix_default_compiler_settings_() 10 | 11 | # Add library build target 12 | add_library(libjpeg STATIC ${source_files}) 13 | 14 | set_target_properties(libjpeg PROPERTIES DEBUG_POSTFIX d ) -------------------------------------------------------------------------------- /thirdparty/jpeg/jconfig.h: -------------------------------------------------------------------------------- 1 | /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */ 2 | /* see jconfig.txt for explanations */ 3 | 4 | #define HAVE_PROTOTYPES 5 | #define HAVE_UNSIGNED_CHAR 6 | #define HAVE_UNSIGNED_SHORT 7 | /* #define void char */ 8 | /* #define const */ 9 | #undef CHAR_IS_UNSIGNED 10 | #define HAVE_STDDEF_H 11 | #define HAVE_STDLIB_H 12 | #undef NEED_BSD_STRINGS 13 | #undef NEED_SYS_TYPES_H 14 | #undef NEED_FAR_POINTERS /* we presume a 32-bit flat memory model */ 15 | #undef NEED_SHORT_EXTERNAL_NAMES 16 | #undef INCOMPLETE_TYPES_BROKEN 17 | 18 | /* Define "boolean" as unsigned char, not int, per Windows custom */ 19 | #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ 20 | typedef unsigned char boolean; 21 | #endif 22 | #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ 23 | 24 | 25 | #ifdef JPEG_INTERNALS 26 | 27 | #undef RIGHT_SHIFT_IS_UNSIGNED 28 | 29 | #endif /* JPEG_INTERNALS */ 30 | 31 | #ifdef JPEG_CJPEG_DJPEG 32 | 33 | #define BMP_SUPPORTED /* BMP image file format */ 34 | #define GIF_SUPPORTED /* GIF image file format */ 35 | #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */ 36 | #undef RLE_SUPPORTED /* Utah RLE image file format */ 37 | #define TARGA_SUPPORTED /* Targa image file format */ 38 | 39 | #define TWO_FILE_COMMANDLINE /* optional */ 40 | #define USE_SETMODE /* Microsoft has setmode() */ 41 | #undef NEED_SIGNAL_CATCHER 42 | #undef DONT_USE_B_MODE 43 | #undef PROGRESS_REPORT /* optional */ 44 | 45 | #endif /* JPEG_CJPEG_DJPEG */ 46 | -------------------------------------------------------------------------------- /thirdparty/jpeg/jversion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * jversion.h 3 | * 4 | * Copyright (C) 1991-2010, Thomas G. Lane, Guido Vollbeding. 5 | * This file is part of the Independent JPEG Group's software. 6 | * For conditions of distribution and use, see the accompanying README file. 7 | * 8 | * This file contains software version identification. 9 | */ 10 | 11 | 12 | #define JVERSION "8b 16-May-2010" 13 | 14 | #define JCOPYRIGHT "Copyright (C) 2010, Thomas G. Lane, Guido Vollbeding" 15 | -------------------------------------------------------------------------------- /thirdparty/libogg/AUTHORS: -------------------------------------------------------------------------------- 1 | Monty 2 | Greg Maxwell 3 | Ralph Giles 4 | Cristian Adam 5 | Tim Terriberry 6 | 7 | and the rest of the Xiph.Org Foundation. 8 | -------------------------------------------------------------------------------- /thirdparty/libogg/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(libogg) 2 | 3 | # Create the list of source files 4 | aux_source_directory( ./src source_files ) 5 | 6 | # Define _UNICODE (use wide-char encoding) 7 | add_definitions(-D_UNICODE -D_CRT_SECURE_NO_DEPRECATE /wd4244) 8 | 9 | # Add include dir 10 | include_directories( ${CMAKE_SOURCE_DIR}/thirdparty/libogg/include) 11 | 12 | fix_default_compiler_settings_() 13 | 14 | # Add library build target 15 | add_library(libogg STATIC ${source_files}) 16 | 17 | set_target_properties(libogg PROPERTIES DEBUG_POSTFIX d ) -------------------------------------------------------------------------------- /thirdparty/libogg/COPYING: -------------------------------------------------------------------------------- 1 | Copyright (c) 2002, Xiph.org Foundation 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions 5 | are met: 6 | 7 | - Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | 10 | - Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 14 | - Neither the name of the Xiph.org Foundation nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION 22 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | -------------------------------------------------------------------------------- /thirdparty/libogg/win32/ogg.def: -------------------------------------------------------------------------------- 1 | ; $Id: ogg.def 14733 2008-04-14 21:27:06Z sping $ 2 | ; 3 | ; ogg.def 4 | ; 5 | LIBRARY 6 | EXPORTS 7 | ; 8 | oggpack_writeinit 9 | oggpack_writetrunc 10 | oggpack_writealign 11 | oggpack_writecopy 12 | oggpack_reset 13 | oggpack_writeclear 14 | oggpack_readinit 15 | oggpack_write 16 | oggpack_look 17 | oggpack_look1 18 | oggpack_adv 19 | oggpack_adv1 20 | oggpack_read 21 | oggpack_read1 22 | oggpack_bytes 23 | oggpack_bits 24 | oggpack_get_buffer 25 | ; 26 | oggpackB_writeinit 27 | oggpackB_writetrunc 28 | oggpackB_writealign 29 | oggpackB_writecopy 30 | oggpackB_reset 31 | oggpackB_writeclear 32 | oggpackB_readinit 33 | oggpackB_write 34 | oggpackB_look 35 | oggpackB_look1 36 | oggpackB_adv 37 | oggpackB_adv1 38 | oggpackB_read 39 | oggpackB_read1 40 | oggpackB_bytes 41 | oggpackB_bits 42 | oggpackB_get_buffer 43 | ; 44 | ogg_stream_packetin 45 | ogg_stream_pageout 46 | ogg_stream_flush 47 | ; 48 | ogg_sync_init 49 | ogg_sync_clear 50 | ogg_sync_reset 51 | ogg_sync_destroy 52 | ogg_sync_buffer 53 | ogg_sync_wrote 54 | ogg_sync_pageseek 55 | ogg_sync_pageout 56 | ogg_stream_pagein 57 | ogg_stream_packetout 58 | ogg_stream_packetpeek 59 | ; 60 | ogg_stream_init 61 | ogg_stream_clear 62 | ogg_stream_reset 63 | ogg_stream_reset_serialno 64 | ogg_stream_destroy 65 | ogg_stream_eos 66 | ; 67 | ogg_page_checksum_set 68 | ogg_page_version 69 | ogg_page_continued 70 | ogg_page_bos 71 | ogg_page_eos 72 | ogg_page_granulepos 73 | ogg_page_serialno 74 | ogg_page_pageno 75 | ogg_page_packets 76 | ogg_packet_clear 77 | 78 | 79 | -------------------------------------------------------------------------------- /thirdparty/libpng/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(libpng) 2 | 3 | # Create the list of source files 4 | aux_source_directory( . source_files ) 5 | 6 | # Define _UNICODE (use wide-char encoding) 7 | add_definitions(-D_UNICODE -D_CRT_SECURE_NO_DEPRECATE /wd4244 /wd4267) 8 | 9 | # Add include dir 10 | include_directories( ${CMAKE_SOURCE_DIR}/thirdparty/zlib ) 11 | 12 | fix_default_compiler_settings_() 13 | 14 | # Add library build target 15 | add_library(libpng STATIC ${source_files}) 16 | 17 | # Add linker input libraries 18 | target_link_libraries(libpng zlib) 19 | 20 | set_target_properties(libpng PROPERTIES DEBUG_POSTFIX d ) -------------------------------------------------------------------------------- /thirdparty/libtheora/AUTHORS: -------------------------------------------------------------------------------- 1 | Monty 2 | - Original VP3 port 3 | 4 | Ralph Giles 5 | Timothy B. Terriberry 6 | Monty 7 | - Ongoing development 8 | 9 | Dan B. Miller 10 | - Pre alpha3 development 11 | 12 | Rudolf Marek 13 | Wim Tayman 14 | Dan Lenski 15 | Nils Pipenbrinck 16 | Monty 17 | - MMX optimized functions 18 | 19 | Aaron Colwell 20 | Thomas Vander Stichele 21 | Jan Gerber 22 | Conrad Parker 23 | Cristian Adam 24 | Sebastian Pippin 25 | Simon Hosie 26 | - Bug fixes, enhancements, build systems. 27 | 28 | Mauricio Piacentini 29 | - Original win32 projects and example ports 30 | - VP3->Theora transcoder 31 | 32 | Silvia Pfeiffer 33 | - Figures for the spec 34 | 35 | Michael Smith 36 | Andre Pang 37 | calc 38 | Chris Cheney 39 | Brendan Cully 40 | Edward Hervey 41 | Adam Moss 42 | Colin Ward 43 | Jeremy C. Reed 44 | Arc Riley 45 | Rodolphe Ortalo 46 | - Bug fixes 47 | 48 | 49 | and other Xiph.org contributors 50 | -------------------------------------------------------------------------------- /thirdparty/libtheora/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(libtheora) 2 | 3 | # Create the list of source files 4 | aux_source_directory( ./lib source_files ) 5 | aux_source_directory( ./lib/x86_vc x86_source_files ) 6 | 7 | # Define _UNICODE (use wide-char encoding) 8 | add_definitions(-D_UNICODE -D_CRT_SECURE_NO_DEPRECATE /wd4244 /wd4700 /wd4214 /wd4554 /wd4018 /wd4100 /wd4132 /wd4389 /wd4127 /wd4701 /wd4245 /wd4267 /wd4334) 9 | 10 | # Add include dir 11 | include_directories( ${CMAKE_SOURCE_DIR}/thirdparty/libogg/include 12 | ${CMAKE_SOURCE_DIR}/thirdparty/libtheora/include) 13 | 14 | fix_default_compiler_settings_() 15 | 16 | foreach (flag_var CMAKE_C_FLAGS_DEBUG CMAKE_CXX_FLAGS_DEBUG ) 17 | string(REPLACE "/RTC1" "-RTCs" ${flag_var} "${${flag_var}}") 18 | endforeach() 19 | 20 | # Add library build target 21 | add_library(libtheora STATIC ${source_files} ${x86_source_files}) 22 | 23 | set_target_properties(libtheora PROPERTIES DEBUG_POSTFIX d ) 24 | -------------------------------------------------------------------------------- /thirdparty/libtheora/COPYING: -------------------------------------------------------------------------------- 1 | Copyright (C) 2002-2009 Xiph.org Foundation 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions 5 | are met: 6 | 7 | - Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | 10 | - Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 14 | - Neither the name of the Xiph.org Foundation nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION 22 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | -------------------------------------------------------------------------------- /thirdparty/libtheora/LICENSE: -------------------------------------------------------------------------------- 1 | Please see the file COPYING for the copyright license for this software. 2 | 3 | In addition to and irrespective of the copyright license associated 4 | with this software, On2 Technologies, Inc. makes the following statement 5 | regarding technology used in this software: 6 | 7 | On2 represents and warrants that it shall not assert any rights 8 | relating to infringement of On2's registered patents, nor initiate 9 | any litigation asserting such rights, against any person who, or 10 | entity which utilizes the On2 VP3 Codec Software, including any 11 | use, distribution, and sale of said Software; which make changes, 12 | modifications, and improvements in said Software; and to use, 13 | distribute, and sell said changes as well as applications for other 14 | fields of use. 15 | 16 | This reference implementation is originally derived from the On2 VP3 17 | Codec Software, and the Theora video format is essentially compatible 18 | with the VP3 video format, consisting of a backward-compatible superset. 19 | -------------------------------------------------------------------------------- /thirdparty/libtheora/lib/cpu.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * * 3 | * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * 4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 7 | * * 8 | * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * 9 | * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | function: 13 | last mod: $Id: cpu.h 16503 2009-08-22 18:14:02Z giles $ 14 | 15 | ********************************************************************/ 16 | 17 | #if !defined(_x86_cpu_H) 18 | # define _x86_cpu_H (1) 19 | #include "internal.h" 20 | 21 | #define OC_CPU_X86_MMX (1<<0) 22 | #define OC_CPU_X86_3DNOW (1<<1) 23 | #define OC_CPU_X86_3DNOWEXT (1<<2) 24 | #define OC_CPU_X86_MMXEXT (1<<3) 25 | #define OC_CPU_X86_SSE (1<<4) 26 | #define OC_CPU_X86_SSE2 (1<<5) 27 | #define OC_CPU_X86_PNI (1<<6) 28 | #define OC_CPU_X86_SSSE3 (1<<7) 29 | #define OC_CPU_X86_SSE4_1 (1<<8) 30 | #define OC_CPU_X86_SSE4_2 (1<<9) 31 | #define OC_CPU_X86_SSE4A (1<<10) 32 | #define OC_CPU_X86_SSE5 (1<<11) 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /thirdparty/libtheora/lib/dct.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * * 3 | * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * 4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 7 | * * 8 | * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * 9 | * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: 14 | last mod: $Id: dct.h 16503 2009-08-22 18:14:02Z giles $ 15 | 16 | ********************************************************************/ 17 | 18 | /*Definitions shared by the forward and inverse DCT transforms.*/ 19 | #if !defined(_dct_H) 20 | # define _dct_H (1) 21 | 22 | /*cos(n*pi/16) (resp. sin(m*pi/16)) scaled by 65536.*/ 23 | #define OC_C1S7 ((ogg_int32_t)64277) 24 | #define OC_C2S6 ((ogg_int32_t)60547) 25 | #define OC_C3S5 ((ogg_int32_t)54491) 26 | #define OC_C4S4 ((ogg_int32_t)46341) 27 | #define OC_C5S3 ((ogg_int32_t)36410) 28 | #define OC_C6S2 ((ogg_int32_t)25080) 29 | #define OC_C7S1 ((ogg_int32_t)12785) 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /thirdparty/libtheora/lib/dequant.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * * 3 | * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * 4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 7 | * * 8 | * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * 9 | * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: 14 | last mod: $Id: dequant.h 16503 2009-08-22 18:14:02Z giles $ 15 | 16 | ********************************************************************/ 17 | 18 | #if !defined(_dequant_H) 19 | # define _dequant_H (1) 20 | # include "quant.h" 21 | # include "bitpack.h" 22 | 23 | int oc_quant_params_unpack(oc_pack_buf *_opb, 24 | th_quant_info *_qinfo); 25 | void oc_quant_params_clear(th_quant_info *_qinfo); 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /thirdparty/libtheora/lib/enquant.h: -------------------------------------------------------------------------------- 1 | #if !defined(_enquant_H) 2 | # define _enquant_H (1) 3 | # include "quant.h" 4 | 5 | typedef struct oc_iquant oc_iquant; 6 | 7 | #define OC_QUANT_MAX_LOG (OC_Q57(OC_STATIC_ILOG_32(OC_QUANT_MAX)-1)) 8 | 9 | /*Used to compute x/d via ((x*m>>16)+x>>l)+(x<0)) 10 | (i.e., one 16x16->16 mul, 2 shifts, and 2 adds). 11 | This is not an approximation; for 16-bit x and d, it is exact.*/ 12 | struct oc_iquant{ 13 | ogg_int16_t m; 14 | ogg_int16_t l; 15 | }; 16 | 17 | typedef oc_iquant oc_iquant_table[64]; 18 | 19 | 20 | 21 | void oc_quant_params_pack(oggpack_buffer *_opb,const th_quant_info *_qinfo); 22 | void oc_enquant_tables_init(ogg_uint16_t *_dequant[64][3][2], 23 | oc_iquant *_enquant[64][3][2],const th_quant_info *_qinfo); 24 | void oc_enquant_qavg_init(ogg_int64_t _log_qavg[2][64], 25 | ogg_uint16_t *_dequant[64][3][2],int _pixel_fmt); 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /thirdparty/libtheora/lib/huffenc.h: -------------------------------------------------------------------------------- 1 | #if !defined(_huffenc_H) 2 | # define _huffenc_H (1) 3 | # include "huffman.h" 4 | 5 | 6 | 7 | typedef th_huff_code th_huff_table[TH_NDCT_TOKENS]; 8 | 9 | 10 | 11 | extern const th_huff_code 12 | TH_VP31_HUFF_CODES[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]; 13 | 14 | 15 | 16 | int oc_huff_codes_pack(oggpack_buffer *_opb, 17 | const th_huff_code _codes[TH_NHUFFMAN_TABLES][TH_NDCT_TOKENS]); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /thirdparty/libtheora/lib/quant.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * * 3 | * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * 4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 7 | * * 8 | * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * 9 | * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: 14 | last mod: $Id: quant.h 16503 2009-08-22 18:14:02Z giles $ 15 | 16 | ********************************************************************/ 17 | 18 | #if !defined(_quant_H) 19 | # define _quant_H (1) 20 | # include "theora/codec.h" 21 | # include "ocintrin.h" 22 | 23 | typedef ogg_uint16_t oc_quant_table[64]; 24 | 25 | 26 | /*Maximum scaled quantizer value.*/ 27 | #define OC_QUANT_MAX (1024<<2) 28 | 29 | 30 | void oc_dequant_tables_init(ogg_uint16_t *_dequant[64][3][2], 31 | int _pp_dc_scale[64],const th_quant_info *_qinfo); 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /thirdparty/libtheora/lib/theora.exp: -------------------------------------------------------------------------------- 1 | # export list for libtheora 2 | _theora_version_string 3 | _theora_version_number 4 | _theora_encode_init 5 | _theora_encode_YUVin 6 | _theora_encode_packetout 7 | _theora_encode_header 8 | _theora_encode_comment 9 | _theora_encode_tables 10 | _theora_decode_header 11 | _theora_decode_init 12 | _theora_decode_packetin 13 | _theora_decode_YUVout 14 | _theora_control 15 | _theora_packet_isheader 16 | _theora_packet_iskeyframe 17 | _theora_granule_shift 18 | _theora_granule_frame 19 | _theora_granule_time 20 | _theora_info_init 21 | _theora_info_clear 22 | _theora_clear 23 | _theora_comment_init 24 | _theora_comment_add 25 | _theora_comment_add_tag 26 | _theora_comment_query 27 | _theora_comment_query_count 28 | _theora_comment_clear 29 | _th_version_string 30 | _th_version_number 31 | _th_decode_headerin 32 | _th_decode_alloc 33 | _th_setup_free 34 | _th_decode_ctl 35 | _th_decode_packetin 36 | _th_decode_ycbcr_out 37 | _th_decode_free 38 | _th_packet_isheader 39 | _th_packet_iskeyframe 40 | _th_granule_frame 41 | _th_granule_time 42 | _th_info_init 43 | _th_info_clear 44 | _th_comment_init 45 | _th_comment_add 46 | _th_comment_add_tag 47 | _th_comment_query 48 | _th_comment_query_count 49 | _th_comment_clear 50 | _th_encode_alloc 51 | _th_encode_ctl 52 | _th_encode_flushheader 53 | _th_encode_packetout 54 | _th_encode_ycbcr_in 55 | _th_encode_free 56 | -------------------------------------------------------------------------------- /thirdparty/libtheora/lib/theoradec.exp: -------------------------------------------------------------------------------- 1 | # export list for theoradec 2 | _th_version_string 3 | _th_version_number 4 | _th_decode_headerin 5 | _th_decode_alloc 6 | _th_setup_free 7 | _th_decode_ctl 8 | _th_decode_packetin 9 | _th_decode_ycbcr_out 10 | _th_decode_free 11 | _th_packet_isheader 12 | _th_packet_iskeyframe 13 | _th_granule_frame 14 | _th_granule_time 15 | _th_info_init 16 | _th_info_clear 17 | _th_comment_init 18 | _th_comment_add 19 | _th_comment_add_tag 20 | _th_comment_query 21 | _th_comment_query_count 22 | _th_comment_clear 23 | _theora_version_string 24 | _theora_version_number 25 | _theora_decode_header 26 | _theora_decode_init 27 | _theora_decode_packetin 28 | _theora_decode_YUVout 29 | _theora_control 30 | _theora_packet_isheader 31 | _theora_packet_iskeyframe 32 | _theora_granule_shift 33 | _theora_granule_frame 34 | _theora_granule_time 35 | _theora_info_init 36 | _theora_info_clear 37 | _theora_clear 38 | _theora_comment_init 39 | _theora_comment_add 40 | _theora_comment_add_tag 41 | _theora_comment_query 42 | _theora_comment_query_count 43 | _theora_comment_clear 44 | -------------------------------------------------------------------------------- /thirdparty/libtheora/lib/theoraenc.exp: -------------------------------------------------------------------------------- 1 | # export list for theoraenc 2 | _th_encode_alloc 3 | _th_encode_ctl 4 | _th_encode_flushheader 5 | _th_encode_ycbcr_in 6 | _th_encode_packetout 7 | _th_encode_free 8 | _TH_VP31_QUANT_INFO 9 | _TH_VP31_HUFF_CODES 10 | _theora_encode_init 11 | _theora_encode_YUVin 12 | _theora_encode_packetout 13 | _theora_encode_header 14 | _theora_encode_comment 15 | _theora_encode_tables 16 | -------------------------------------------------------------------------------- /thirdparty/libtheora/lib/x86/x86int.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * * 3 | * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * 4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 7 | * * 8 | * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * 9 | * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: 14 | last mod: $Id: x86int.h 16503 2009-08-22 18:14:02Z giles $ 15 | 16 | ********************************************************************/ 17 | 18 | #if !defined(_x86_x86int_H) 19 | # define _x86_x86int_H (1) 20 | # include "../internal.h" 21 | 22 | void oc_state_vtable_init_x86(oc_theora_state *_state); 23 | 24 | void oc_frag_copy_mmx(unsigned char *_dst, 25 | const unsigned char *_src,int _ystride); 26 | void oc_frag_recon_intra_mmx(unsigned char *_dst,int _ystride, 27 | const ogg_int16_t *_residue); 28 | void oc_frag_recon_inter_mmx(unsigned char *_dst, 29 | const unsigned char *_src,int _ystride,const ogg_int16_t *_residue); 30 | void oc_frag_recon_inter2_mmx(unsigned char *_dst,const unsigned char *_src1, 31 | const unsigned char *_src2,int _ystride,const ogg_int16_t *_residue); 32 | void oc_idct8x8_mmx(ogg_int16_t _y[64],int _last_zzi); 33 | void oc_state_frag_recon_mmx(const oc_theora_state *_state,ptrdiff_t _fragi, 34 | int _pli,ogg_int16_t _dct_coeffs[64],int _last_zzi,ogg_uint16_t _dc_quant); 35 | void oc_state_frag_copy_list_mmx(const oc_theora_state *_state, 36 | const ptrdiff_t *_fragis,ptrdiff_t _nfragis, 37 | int _dst_frame,int _src_frame,int _pli); 38 | void oc_state_loop_filter_frag_rows_mmx(const oc_theora_state *_state, 39 | int _bv[256],int _refi,int _pli,int _fragy0,int _fragy_end); 40 | void oc_restore_fpu_mmx(void); 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /thirdparty/libtheora/lib/x86_vc/mmxfrag.h: -------------------------------------------------------------------------------- 1 | #if !defined(_x86_vc_mmxfrag_H) 2 | # define _x86_vc_mmxfrag_H (1) 3 | # include 4 | # include "x86int.h" 5 | 6 | #if defined(OC_X86_ASM) 7 | 8 | /*Copies an 8x8 block of pixels from _src to _dst, assuming _ystride bytes 9 | between rows.*/ 10 | #define OC_FRAG_COPY_MMX(_dst,_src,_ystride) \ 11 | do{ \ 12 | const unsigned char *src; \ 13 | unsigned char *dst; \ 14 | src=(_src); \ 15 | dst=(_dst); \ 16 | __asm mov SRC,src \ 17 | __asm mov DST,dst \ 18 | __asm mov YSTRIDE,_ystride \ 19 | /*src+0*ystride*/ \ 20 | __asm movq mm0,[SRC] \ 21 | /*src+1*ystride*/ \ 22 | __asm movq mm1,[SRC+YSTRIDE] \ 23 | /*ystride3=ystride*3*/ \ 24 | __asm lea YSTRIDE3,[YSTRIDE+YSTRIDE*2] \ 25 | /*src+2*ystride*/ \ 26 | __asm movq mm2,[SRC+YSTRIDE*2] \ 27 | /*src+3*ystride*/ \ 28 | __asm movq mm3,[SRC+YSTRIDE3] \ 29 | /*dst+0*ystride*/ \ 30 | __asm movq [DST],mm0 \ 31 | /*dst+1*ystride*/ \ 32 | __asm movq [DST+YSTRIDE],mm1 \ 33 | /*Pointer to next 4.*/ \ 34 | __asm lea SRC,[SRC+YSTRIDE*4] \ 35 | /*dst+2*ystride*/ \ 36 | __asm movq [DST+YSTRIDE*2],mm2 \ 37 | /*dst+3*ystride*/ \ 38 | __asm movq [DST+YSTRIDE3],mm3 \ 39 | /*Pointer to next 4.*/ \ 40 | __asm lea DST,[DST+YSTRIDE*4] \ 41 | /*src+0*ystride*/ \ 42 | __asm movq mm0,[SRC] \ 43 | /*src+1*ystride*/ \ 44 | __asm movq mm1,[SRC+YSTRIDE] \ 45 | /*src+2*ystride*/ \ 46 | __asm movq mm2,[SRC+YSTRIDE*2] \ 47 | /*src+3*ystride*/ \ 48 | __asm movq mm3,[SRC+YSTRIDE3] \ 49 | /*dst+0*ystride*/ \ 50 | __asm movq [DST],mm0 \ 51 | /*dst+1*ystride*/ \ 52 | __asm movq [DST+YSTRIDE],mm1 \ 53 | /*dst+2*ystride*/ \ 54 | __asm movq [DST+YSTRIDE*2],mm2 \ 55 | /*dst+3*ystride*/ \ 56 | __asm movq [DST+YSTRIDE3],mm3 \ 57 | } \ 58 | while(0) 59 | 60 | # endif 61 | #endif 62 | -------------------------------------------------------------------------------- /thirdparty/libtheora/win32/VS2010/README: -------------------------------------------------------------------------------- 1 | libtheora has libogg as a dependency, and for examples, also 2 | libvorbis, therefore you need to have libogg and libvorbis 3 | compiled beforehand. 4 | 5 | Lets say you have libogg, libvorbis and libtheora in the same directory: 6 | 7 | libogg-1.1.4 8 | libvorbis-1.2.2 9 | libtheora-1.0 10 | 11 | Because there is no automatic library detection you have to, 12 | either: 13 | 14 | 1. Rename libogg-1.1.4 to libogg, and libvorbis-1.2.2 to libvorbis. 15 | 16 | 2. Open libogg.vsprops with a text editor (even notepad.exe 17 | will suffice) and see if LIBOGG_VERSION is set to the correct 18 | version, in this case "1.1.4". 19 | 20 | The same procedure should be done for libvorbis.vsprops and 21 | check LIBVORBIS_VERSION for the correct version, in this 22 | case "1.2.2". 23 | -------------------------------------------------------------------------------- /thirdparty/libtheora/win32/VS2010/libogg.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 1.1.4 5 | 6 | 7 | <_ProjectFileVersion>10.0.40219.1 8 | 9 | 10 | 11 | ..\..\..\..\libogg-$(LIBOGG_VERSION)\include;..\..\..\..\ogg\include;..\..\..\..\..\..\..\core\ogg\libogg\include;%(AdditionalIncludeDirectories) 12 | 13 | 14 | 15 | 16 | $(LIBOGG_VERSION) 17 | 18 | 19 | -------------------------------------------------------------------------------- /thirdparty/libtheora/win32/VS2010/libogg.vsprops: -------------------------------------------------------------------------------- 1 | 2 | 7 | 11 | 15 | 19 | 20 | -------------------------------------------------------------------------------- /thirdparty/libtheora/win32/VS2010/libvorbis.vsprops: -------------------------------------------------------------------------------- 1 | 2 | 7 | 11 | 15 | 19 | 20 | -------------------------------------------------------------------------------- /thirdparty/minizip/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(minizip) 2 | 3 | # Create the list of source files 4 | aux_source_directory( . source_files ) 5 | 6 | # Define _UNICODE (use wide-char encoding) 7 | add_definitions(-D_UNICODE -D_CRT_SECURE_NO_DEPRECATE /wd4127 /wd4131 /wd4100 /wd4189 /wd4244) 8 | 9 | # Add include dir 10 | include_directories( ${CMAKE_SOURCE_DIR}/thirdparty/zlib ) 11 | 12 | fix_default_compiler_settings_() 13 | 14 | # Add library build target 15 | add_library(minizip STATIC ${source_files}) 16 | 17 | # Add linker input libraries 18 | target_link_libraries(minizip zlib) 19 | 20 | set_target_properties(minizip PROPERTIES DEBUG_POSTFIX d ) -------------------------------------------------------------------------------- /thirdparty/minizip/MiniZip64_Changes.txt: -------------------------------------------------------------------------------- 1 | 2 | MiniZip 1.1 was derrived from MiniZip at version 1.01f 3 | 4 | Change in 1.0 (Okt 2009) 5 | - **TODO - Add history** 6 | 7 | -------------------------------------------------------------------------------- /thirdparty/minizip/iowin32.h: -------------------------------------------------------------------------------- 1 | /* iowin32.h -- IO base function header for compress/uncompress .zip 2 | Version 1.1, February 14h, 2010 3 | part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html ) 4 | 5 | Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html ) 6 | 7 | Modifications for Zip64 support 8 | Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com ) 9 | 10 | For more info read MiniZip_info.txt 11 | 12 | */ 13 | 14 | #include 15 | 16 | 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | void fill_win32_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def)); 22 | void fill_win32_filefunc64 OF((zlib_filefunc64_def* pzlib_filefunc_def)); 23 | void fill_win32_filefunc64A OF((zlib_filefunc64_def* pzlib_filefunc_def)); 24 | void fill_win32_filefunc64W OF((zlib_filefunc64_def* pzlib_filefunc_def)); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | -------------------------------------------------------------------------------- /thirdparty/minizip/mztools.h: -------------------------------------------------------------------------------- 1 | /* 2 | Additional tools for Minizip 3 | Code: Xavier Roche '2004 4 | License: Same as ZLIB (www.gzip.org) 5 | */ 6 | 7 | #ifndef _zip_tools_H 8 | #define _zip_tools_H 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | #ifndef _ZLIB_H 15 | #include "zlib.h" 16 | #endif 17 | 18 | #include "unzip.h" 19 | 20 | /* Repair a ZIP file (missing central directory) 21 | file: file to recover 22 | fileOut: output file after recovery 23 | fileOutTmp: temporary file name used for recovery 24 | */ 25 | extern int ZEXPORT unzRepair(const char* file, 26 | const char* fileOut, 27 | const char* fileOutTmp, 28 | uLong* nRecovered, 29 | uLong* bytesRecovered); 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /thirdparty/tinyxml/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(tinyxml) 2 | 3 | # Create the list of source files 4 | aux_source_directory( . source_files ) 5 | 6 | # Define _UNICODE (use wide-char encoding) 7 | add_definitions(-D_UNICODE) 8 | 9 | fix_default_compiler_settings_() 10 | 11 | # Add library build target 12 | add_library(tinyxml STATIC ${source_files}) 13 | 14 | set_target_properties(tinyxml PROPERTIES DEBUG_POSTFIX d ) -------------------------------------------------------------------------------- /thirdparty/tinyxml/changes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/thirdparty/tinyxml/changes.txt -------------------------------------------------------------------------------- /thirdparty/tinyxml/readme.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | STATIC LIBRARY : tinyxml Project Overview 3 | ======================================================================== 4 | 5 | AppWizard has created this tinyxml library project for you. 6 | 7 | No source files were created as part of your project. 8 | 9 | 10 | tinyxml.vcproj 11 | This is the main project file for VC++ projects generated using an Application Wizard. 12 | It contains information about the version of Visual C++ that generated the file, and 13 | information about the platforms, configurations, and project features selected with the 14 | Application Wizard. 15 | 16 | ///////////////////////////////////////////////////////////////////////////// 17 | Other notes: 18 | 19 | AppWizard uses "TODO:" comments to indicate parts of the source code you 20 | should add to or customize. 21 | 22 | ///////////////////////////////////////////////////////////////////////////// 23 | -------------------------------------------------------------------------------- /thirdparty/tinyxml/tinystr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/thirdparty/tinyxml/tinystr.cpp -------------------------------------------------------------------------------- /thirdparty/tinyxml/tinyxmlerror.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | www.sourceforge.net/projects/tinyxml 3 | Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com) 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 7 | damages arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any 10 | purpose, including commercial applications, and to alter it and 11 | redistribute it freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must 14 | not claim that you wrote the original software. If you use this 15 | software in a product, an acknowledgment in the product documentation 16 | would be appreciated but is not required. 17 | 18 | 2. Altered source versions must be plainly marked as such, and 19 | must not be misrepresented as being the original software. 20 | 21 | 3. This notice may not be removed or altered from any source 22 | distribution. 23 | */ 24 | 25 | #include "tinyxml.h" 26 | 27 | // The goal of the seperate error file is to make the first 28 | // step towards localization. tinyxml (currently) only supports 29 | // english error messages, but the could now be translated. 30 | // 31 | // It also cleans up the code a bit. 32 | // 33 | 34 | const char* TiXmlBase::errorString[ TIXML_ERROR_STRING_COUNT ] = 35 | { 36 | "No error", 37 | "Error", 38 | "Failed to open file", 39 | "Error parsing Element.", 40 | "Failed to read Element name", 41 | "Error reading Element value.", 42 | "Error reading Attributes.", 43 | "Error: empty tag.", 44 | "Error reading end tag.", 45 | "Error parsing Unknown.", 46 | "Error parsing Comment.", 47 | "Error parsing Declaration.", 48 | "Error document empty.", 49 | "Error null (0) or unexpected EOF found in input stream.", 50 | "Error parsing CDATA.", 51 | "Error when TiXmlDocument added to document, because TiXmlDocument can only be at the root.", 52 | }; 53 | -------------------------------------------------------------------------------- /thirdparty/webm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(vpx) 2 | 3 | include_directories(./include ./src ./build) 4 | 5 | # Create the list of source files 6 | aux_source_directory(./build build_source_files) 7 | aux_source_directory(./src/vpx/src vpx_source_files) 8 | aux_source_directory(./src/vp8 vp8_source_files) 9 | aux_source_directory(./src/vp8/common vp8_common_source_files) 10 | aux_source_directory(./src/vp8/common/generic vp8_common_generic_source_files) 11 | aux_source_directory(./src/vp8/encoder vp8_encoder_source_files) 12 | aux_source_directory(./src/libmkv mkv_source_files) 13 | aux_source_directory(./src/vpx_mem vpx_mem_source_files) 14 | aux_source_directory(./src/vpx_scale/generic vpx_scale_source_files) 15 | 16 | # Define _UNICODE (use wide-char encoding) 17 | add_definitions(-D_UNICODE -D_CRT_SECURE_NO_DEPRECATE /wd4244 /wd4706 /wd4018) 18 | 19 | fix_default_compiler_settings_() 20 | 21 | # Add library build target 22 | add_library(vpx STATIC ${build_source_files} 23 | ${vpx_source_files} 24 | ${mkv_source_files} 25 | ${vp8_source_files} 26 | ${vp8_common_source_files} 27 | ${vp8_common_generic_source_files} 28 | ${vp8_encoder_source_files} 29 | ${vpx_mem_source_files} 30 | ${vpx_scale_source_files}) 31 | 32 | set_target_properties(vpx PROPERTIES DEBUG_POSTFIX d ) -------------------------------------------------------------------------------- /thirdparty/webm/build/vpx.def: -------------------------------------------------------------------------------- 1 | LIBRARY vpx 2 | EXPORTS 3 | vpx_codec_vp8_cx_algo DATA 4 | vpx_codec_vp8_cx 5 | vpx_codec_vp8_dx_algo DATA 6 | vpx_codec_vp8_dx 7 | vpx_codec_build_config 8 | vpx_codec_control_ 9 | vpx_codec_destroy 10 | vpx_codec_err_to_string 11 | vpx_codec_error 12 | vpx_codec_error_detail 13 | vpx_codec_get_caps 14 | vpx_codec_iface_name 15 | vpx_codec_version 16 | vpx_codec_version_extra_str 17 | vpx_codec_version_str 18 | vpx_img_alloc 19 | vpx_img_flip 20 | vpx_img_free 21 | vpx_img_set_rect 22 | vpx_img_wrap 23 | vpx_codec_enc_config_default 24 | vpx_codec_enc_config_set 25 | vpx_codec_enc_init_ver 26 | vpx_codec_encode 27 | vpx_codec_get_cx_data 28 | vpx_codec_get_global_headers 29 | vpx_codec_get_preview_frame 30 | vpx_codec_set_cx_data_buf 31 | vpx_codec_dec_init_ver 32 | vpx_codec_decode 33 | vpx_codec_get_frame 34 | vpx_codec_get_mem_map 35 | vpx_codec_get_stream_info 36 | vpx_codec_peek_stream_info 37 | vpx_codec_register_put_frame_cb 38 | vpx_codec_register_put_slice_cb 39 | vpx_codec_set_mem_map 40 | -------------------------------------------------------------------------------- /thirdparty/webm/build/vpx_config.c: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */ 2 | /* */ 3 | /* Use of this source code is governed by a BSD-style license */ 4 | /* that can be found in the LICENSE file in the root of the source */ 5 | /* tree. An additional intellectual property rights grant can be found */ 6 | /* in the file PATENTS. All contributing project authors may */ 7 | /* be found in the AUTHORS file in the root of the source tree. */ 8 | static const char* const cfg = "--target=x86-win32-vs8 --disable-mmx --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4_1 --disable-runtime-cpu-detect --as=yasm"; 9 | const char *vpx_codec_build_config(void) {return cfg;} 10 | -------------------------------------------------------------------------------- /thirdparty/webm/build/vpx_version.h: -------------------------------------------------------------------------------- 1 | #define VERSION_MAJOR 1 2 | #define VERSION_MINOR 1 3 | #define VERSION_PATCH 0 4 | #define VERSION_EXTRA "" 5 | #define VERSION_PACKED ((VERSION_MAJOR<<16)|(VERSION_MINOR<<8)|(VERSION_PATCH)) 6 | #define VERSION_STRING_NOSP "v1.1.0" 7 | #define VERSION_STRING " v1.1.0" 8 | -------------------------------------------------------------------------------- /thirdparty/webm/include/vpx/vpx_codec_impl_bottom.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | /* 13 | * This file is to be included at the bottom of the header files defining the 14 | * interface to individual codecs and contains matching blocks to those defined 15 | * in vpx_codec_impl_top.h 16 | */ 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | -------------------------------------------------------------------------------- /thirdparty/webm/include/vpx/vpx_codec_impl_top.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | /* 13 | * This file is to be included at the top of the header files defining the 14 | * interface to individual codecs and contains various workarounds common 15 | * to all codec implementations. 16 | */ 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | -------------------------------------------------------------------------------- /thirdparty/webm/include/vpx/vpx_integer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef VPX_INTEGER_H 13 | #define VPX_INTEGER_H 14 | 15 | /* get ptrdiff_t, size_t, wchar_t, NULL */ 16 | #include 17 | 18 | #if (defined(_MSC_VER) && (_MSC_VER < 1600)) || defined(VPX_EMULATE_INTTYPES) 19 | typedef signed char int8_t; 20 | typedef signed short int16_t; 21 | typedef signed int int32_t; 22 | 23 | typedef unsigned char uint8_t; 24 | typedef unsigned short uint16_t; 25 | typedef unsigned int uint32_t; 26 | 27 | #if (defined(_MSC_VER) && (_MSC_VER < 1600)) 28 | typedef signed __int64 int64_t; 29 | typedef unsigned __int64 uint64_t; 30 | #endif 31 | 32 | #ifndef _UINTPTR_T_DEFINED 33 | typedef size_t uintptr_t; 34 | #endif 35 | 36 | #else 37 | 38 | /* Most platforms have the C99 standard integer types. */ 39 | 40 | #if defined(__cplusplus) && !defined(__STDC_FORMAT_MACROS) 41 | #define __STDC_FORMAT_MACROS 42 | #endif 43 | #include 44 | 45 | #endif 46 | 47 | /* VS2010 defines stdint.h, but not inttypes.h */ 48 | #if defined(_MSC_VER) 49 | #define PRId64 "I64d" 50 | #else 51 | #include 52 | #endif 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /thirdparty/webm/src/args.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef ARGS_H 13 | #define ARGS_H 14 | #include 15 | 16 | struct arg 17 | { 18 | char **argv; 19 | const char *name; 20 | const char *val; 21 | unsigned int argv_step; 22 | const struct arg_def *def; 23 | }; 24 | 25 | struct arg_enum_list 26 | { 27 | const char *name; 28 | int val; 29 | }; 30 | #define ARG_ENUM_LIST_END {0} 31 | 32 | typedef struct arg_def 33 | { 34 | const char *short_name; 35 | const char *long_name; 36 | int has_val; 37 | const char *desc; 38 | const struct arg_enum_list *enums; 39 | } arg_def_t; 40 | #define ARG_DEF(s,l,v,d) {s,l,v,d, NULL} 41 | #define ARG_DEF_ENUM(s,l,v,d,e) {s,l,v,d,e} 42 | #define ARG_DEF_LIST_END {0} 43 | 44 | struct arg arg_init(char **argv); 45 | int arg_match(struct arg *arg_, const struct arg_def *def, char **argv); 46 | const char *arg_next(struct arg *arg); 47 | void arg_show_usage(FILE *fp, const struct arg_def *const *defs); 48 | char **argv_dup(int argc, const char **argv); 49 | 50 | unsigned int arg_parse_uint(const struct arg *arg); 51 | int arg_parse_int(const struct arg *arg); 52 | struct vpx_rational arg_parse_rational(const struct arg *arg); 53 | int arg_parse_enum_or_int(const struct arg *arg); 54 | #endif 55 | -------------------------------------------------------------------------------- /thirdparty/webm/src/build/x86-msvs/obj_int_extract.bat: -------------------------------------------------------------------------------- 1 | REM Copyright (c) 2011 The WebM project authors. All Rights Reserved. 2 | REM 3 | REM Use of this source code is governed by a BSD-style license 4 | REM that can be found in the LICENSE file in the root of the source 5 | REM tree. An additional intellectual property rights grant can be found 6 | REM in the file PATENTS. All contributing project authors may 7 | REM be found in the AUTHORS file in the root of the source tree. 8 | echo on 9 | 10 | cl /I "./" /I "%1" /nologo /c "%1/vp8/common/asm_com_offsets.c" 11 | cl /I "./" /I "%1" /nologo /c "%1/vp8/decoder/asm_dec_offsets.c" 12 | cl /I "./" /I "%1" /nologo /c "%1/vp8/encoder/asm_enc_offsets.c" 13 | obj_int_extract.exe rvds "asm_com_offsets.obj" > "asm_com_offsets.asm" 14 | obj_int_extract.exe rvds "asm_dec_offsets.obj" > "asm_dec_offsets.asm" 15 | obj_int_extract.exe rvds "asm_enc_offsets.obj" > "asm_enc_offsets.asm" 16 | -------------------------------------------------------------------------------- /thirdparty/webm/src/build/x86-msvs/yasm.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 5 | Midl 6 | CustomBuild 7 | 8 | 9 | _SelectedFiles;$(YASMDependsOn) 11 | 12 | 13 | 14 | False 15 | $(IntDir)%(Filename).obj 16 | 0 17 | 0 18 | yasm -Xvc -f $(Platform) [AllOptions] [AdditionalOptions] [Inputs] 19 | %(ObjectFileName) 20 | Assembling %(Filename)%(Extension) 21 | false 22 | 23 | 24 | -------------------------------------------------------------------------------- /thirdparty/webm/src/libmkv/EbmlWriter.h: -------------------------------------------------------------------------------- 1 | #ifndef EBMLWRITER_HPP 2 | #define EBMLWRITER_HPP 3 | 4 | // Copyright (c) 2010 The WebM project authors. All Rights Reserved. 5 | // 6 | // Use of this source code is governed by a BSD-style license 7 | // that can be found in the LICENSE file in the root of the source 8 | // tree. An additional intellectual property rights grant can be found 9 | // in the file PATENTS. All contributing project authors may 10 | // be found in the AUTHORS file in the root of the source tree. 11 | 12 | //note: you must define write and serialize functions as well as your own EBML_GLOBAL 13 | //These functions MUST be implemented 14 | #include 15 | #include "vpx/vpx_integer.h" 16 | 17 | typedef struct EbmlGlobal EbmlGlobal; 18 | void Ebml_Serialize(EbmlGlobal *glob, const void *, int, unsigned long); 19 | void Ebml_Write(EbmlGlobal *glob, const void *, unsigned long); 20 | ///// 21 | 22 | 23 | void Ebml_WriteLen(EbmlGlobal *glob, long long val); 24 | void Ebml_WriteString(EbmlGlobal *glob, const char *str); 25 | void Ebml_WriteUTF8(EbmlGlobal *glob, const wchar_t *wstr); 26 | void Ebml_WriteID(EbmlGlobal *glob, unsigned long class_id); 27 | void Ebml_SerializeUnsigned64(EbmlGlobal *glob, unsigned long class_id, uint64_t ui); 28 | void Ebml_SerializeUnsigned(EbmlGlobal *glob, unsigned long class_id, unsigned long ui); 29 | void Ebml_SerializeBinary(EbmlGlobal *glob, unsigned long class_id, unsigned long ui); 30 | void Ebml_SerializeFloat(EbmlGlobal *glob, unsigned long class_id, double d); 31 | //TODO make this more generic to signed 32 | void Ebml_WriteSigned16(EbmlGlobal *glob, short val); 33 | void Ebml_SerializeString(EbmlGlobal *glob, unsigned long class_id, const char *s); 34 | void Ebml_SerializeUTF8(EbmlGlobal *glob, unsigned long class_id, wchar_t *s); 35 | void Ebml_SerializeData(EbmlGlobal *glob, unsigned long class_id, unsigned char *data, unsigned long data_length); 36 | void Ebml_WriteVoid(EbmlGlobal *glob, unsigned long vSize); 37 | //TODO need date function 38 | #endif 39 | -------------------------------------------------------------------------------- /thirdparty/webm/src/mainpage.dox: -------------------------------------------------------------------------------- 1 | /*!\mainpage WebM VP8 Codec SDK 2 | 3 | \section main_contents Page Contents 4 | - \ref main_intro 5 | - \ref main_startpoints 6 | - \ref main_support 7 | 8 | \section main_intro Introduction 9 | Welcome to the WebM VP8 Codec SDK. This SDK allows you to integrate your 10 | applications with the VP8 video codec, a high quality, royalty free, open 11 | source codec deployed on millions of computers and devices worldwide. 12 | 13 | This distribution of the WebM VP8 Codec SDK includes the following support: 14 | 15 | \if vp8_encoder 16 | - \ref vp8_encoder 17 | \endif 18 | \if vp8_decoder 19 | - \ref vp8_decoder 20 | \endif 21 | 22 | 23 | \section main_startpoints Starting Points 24 | - Consult the \ref changelog for a complete list of improvements in this 25 | release. 26 | - The \ref readme contains instructions on recompiling the sample applications. 27 | - Read the \ref usage "usage" for a narrative on codec usage. 28 | - Read the \ref samples "sample code" for examples of how to interact with the 29 | codec. 30 | - \ref codec reference 31 | \if encoder 32 | - \ref encoder reference 33 | \endif 34 | \if decoder 35 | - \ref decoder reference 36 | \endif 37 | 38 | \section main_support Support Options & FAQ 39 | The WebM project is an open source project supported by its community. For 40 | questions about this SDK, please mail the apps-devel@webmproject.org list. 41 | To contribute, see http://www.webmproject.org/code/contribute and mail 42 | codec-devel@webmproject.org. 43 | */ 44 | 45 | /*!\page changelog CHANGELOG 46 | \verbinclude CHANGELOG 47 | */ 48 | 49 | /*!\page readme README 50 | \verbinclude README 51 | */ 52 | 53 | /*!\defgroup codecs Supported Codecs */ 54 | -------------------------------------------------------------------------------- /thirdparty/webm/src/md5_utils.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This is the header file for the MD5 message-digest algorithm. 3 | * The algorithm is due to Ron Rivest. This code was 4 | * written by Colin Plumb in 1993, no copyright is claimed. 5 | * This code is in the public domain; do with it what you wish. 6 | * 7 | * Equivalent code is available from RSA Data Security, Inc. 8 | * This code has been tested against that, and is equivalent, 9 | * except that you don't need to include two pages of legalese 10 | * with every copy. 11 | * 12 | * To compute the message digest of a chunk of bytes, declare an 13 | * MD5Context structure, pass it to MD5Init, call MD5Update as 14 | * needed on buffers full of bytes, and then call MD5Final, which 15 | * will fill a supplied 16-byte array with the digest. 16 | * 17 | * Changed so as no longer to depend on Colin Plumb's `usual.h' 18 | * header definitions 19 | * - Ian Jackson . 20 | * Still in the public domain. 21 | */ 22 | 23 | #ifndef MD5_H 24 | #define MD5_H 25 | 26 | #define md5byte unsigned char 27 | #define UWORD32 unsigned int 28 | 29 | typedef struct MD5Context MD5Context; 30 | struct MD5Context 31 | { 32 | UWORD32 buf[4]; 33 | UWORD32 bytes[2]; 34 | UWORD32 in[16]; 35 | }; 36 | 37 | void MD5Init(struct MD5Context *context); 38 | void MD5Update(struct MD5Context *context, md5byte const *buf, unsigned len); 39 | void MD5Final(unsigned char digest[16], struct MD5Context *context); 40 | void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]); 41 | 42 | #endif /* !MD5_H */ 43 | -------------------------------------------------------------------------------- /thirdparty/webm/src/nestegg/halloc/halloc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004-2010 Alex Pankratov. All rights reserved. 3 | * 4 | * Hierarchical memory allocator, 1.2.1 5 | * http://swapped.cc/halloc 6 | */ 7 | 8 | /* 9 | * The program is distributed under terms of BSD license. 10 | * You can obtain the copy of the license by visiting: 11 | * 12 | * http://www.opensource.org/licenses/bsd-license.php 13 | */ 14 | 15 | #ifndef _LIBP_HALLOC_H_ 16 | #define _LIBP_HALLOC_H_ 17 | 18 | #include /* size_t */ 19 | 20 | /* 21 | * Core API 22 | */ 23 | void * halloc (void * block, size_t len); 24 | void hattach(void * block, void * parent); 25 | 26 | /* 27 | * standard malloc/free api 28 | */ 29 | void * h_malloc (size_t len); 30 | void * h_calloc (size_t n, size_t len); 31 | void * h_realloc(void * p, size_t len); 32 | void h_free (void * p); 33 | char * h_strdup (const char * str); 34 | 35 | /* 36 | * the underlying allocator 37 | */ 38 | typedef void * (* realloc_t)(void * ptr, size_t len); 39 | 40 | extern realloc_t halloc_allocator; 41 | 42 | #endif 43 | 44 | -------------------------------------------------------------------------------- /thirdparty/webm/src/nestegg/halloc/src/align.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004-2010 Alex Pankratov. All rights reserved. 3 | * 4 | * Hierarchical memory allocator, 1.2.1 5 | * http://swapped.cc/halloc 6 | */ 7 | 8 | /* 9 | * The program is distributed under terms of BSD license. 10 | * You can obtain the copy of the license by visiting: 11 | * 12 | * http://www.opensource.org/licenses/bsd-license.php 13 | */ 14 | 15 | #ifndef _LIBP_ALIGN_H_ 16 | #define _LIBP_ALIGN_H_ 17 | 18 | /* 19 | * a type with the most strict alignment requirements 20 | */ 21 | union max_align 22 | { 23 | char c; 24 | short s; 25 | long l; 26 | int i; 27 | float f; 28 | double d; 29 | void * v; 30 | void (*q)(void); 31 | }; 32 | 33 | typedef union max_align max_align_t; 34 | 35 | #endif 36 | 37 | -------------------------------------------------------------------------------- /thirdparty/webm/src/nestegg/halloc/src/macros.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004-2010 Alex Pankratov. All rights reserved. 3 | * 4 | * Hierarchical memory allocator, 1.2.1 5 | * http://swapped.cc/halloc 6 | */ 7 | 8 | /* 9 | * The program is distributed under terms of BSD license. 10 | * You can obtain the copy of the license by visiting: 11 | * 12 | * http://www.opensource.org/licenses/bsd-license.php 13 | */ 14 | 15 | #ifndef _LIBP_MACROS_H_ 16 | #define _LIBP_MACROS_H_ 17 | 18 | #include /* offsetof */ 19 | 20 | /* 21 | restore pointer to the structure by a pointer to its field 22 | */ 23 | #define structof(p,t,f) ((t*)(- offsetof(t,f) + (char*)(p))) 24 | 25 | /* 26 | * redefine for the target compiler 27 | */ 28 | #ifdef _WIN32 29 | #define static_inline static __inline 30 | #else 31 | #define static_inline static __inline__ 32 | #endif 33 | 34 | 35 | #endif 36 | 37 | -------------------------------------------------------------------------------- /thirdparty/webm/src/solution.mk: -------------------------------------------------------------------------------- 1 | ## 2 | ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | ## 4 | ## Use of this source code is governed by a BSD-style license 5 | ## that can be found in the LICENSE file in the root of the source 6 | ## tree. An additional intellectual property rights grant can be found 7 | ## in the file PATENTS. All contributing project authors may 8 | ## be found in the AUTHORS file in the root of the source tree. 9 | ## 10 | 11 | 12 | vpx.sln: $(wildcard *.vcproj) 13 | @echo " [CREATE] $@" 14 | $(SRC_PATH_BARE)/build/make/gen_msvs_sln.sh \ 15 | $(if $(filter %vpx.vcproj,$^),\ 16 | $(foreach vcp,$(filter-out %vpx.vcproj %gtest.vcproj %obj_int_extract.vcproj,$^),\ 17 | --dep=$(vcp:.vcproj=):vpx) \ 18 | $(foreach vcp,$(filter %_test.vcproj,$^),\ 19 | --dep=$(vcp:.vcproj=):gtest)) \ 20 | --dep=vpx:obj_int_extract \ 21 | --ver=$(CONFIG_VS_VERSION)\ 22 | --out=$@ $^ 23 | vpx.sln.mk: vpx.sln 24 | @true 25 | 26 | PROJECTS-yes += vpx.sln vpx.sln.mk 27 | -include vpx.sln.mk 28 | 29 | # Always install this file, as it is an unconditional post-build rule. 30 | INSTALL_MAPS += src/% $(SRC_PATH_BARE)/% 31 | INSTALL-SRCS-yes += $(target).mk 32 | -------------------------------------------------------------------------------- /thirdparty/webm/src/tools_common.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | #include 11 | #include "tools_common.h" 12 | #if defined(_WIN32) || defined(__OS2__) 13 | #include 14 | #include 15 | 16 | #ifdef __OS2__ 17 | #define _setmode setmode 18 | #define _fileno fileno 19 | #define _O_BINARY O_BINARY 20 | #endif 21 | #endif 22 | 23 | FILE* set_binary_mode(FILE *stream) 24 | { 25 | (void)stream; 26 | #if defined(_WIN32) || defined(__OS2__) 27 | _setmode(_fileno(stream), _O_BINARY); 28 | #endif 29 | return stream; 30 | } 31 | -------------------------------------------------------------------------------- /thirdparty/webm/src/tools_common.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | #ifndef TOOLS_COMMON_H 11 | #define TOOLS_COMMON_H 12 | 13 | /* Sets a stdio stream into binary mode */ 14 | FILE* set_binary_mode(FILE *stream); 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /thirdparty/webm/src/usage_cx.dox: -------------------------------------------------------------------------------- 1 | /*! \page usage_encode Encode 2 | 3 | The vpx_codec_encode() function is at the core of the encode loop. It 4 | processes raw images passed by the application, producing packets of 5 | compressed data. The deadline parameter controls the amount 6 | of time in microseconds the encoder should spend working on the frame. For 7 | more information on the deadline parameter, see 8 | \ref usage_deadline. 9 | 10 | 11 | \ref samples 12 | 13 | */ 14 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/alloccommon.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_ALLOCCOMMON_H 13 | #define __INC_ALLOCCOMMON_H 14 | 15 | #include "onyxc_int.h" 16 | 17 | void vp8_create_common(VP8_COMMON *oci); 18 | void vp8_remove_common(VP8_COMMON *oci); 19 | void vp8_de_alloc_frame_buffers(VP8_COMMON *oci); 20 | int vp8_alloc_frame_buffers(VP8_COMMON *oci, int width, int height); 21 | void vp8_setup_version(VP8_COMMON *oci); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/blockd.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "blockd.h" 13 | #include "vpx_mem/vpx_mem.h" 14 | 15 | const unsigned char vp8_block2left[25] = 16 | { 17 | 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8 18 | }; 19 | const unsigned char vp8_block2above[25] = 20 | { 21 | 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 4, 5, 4, 5, 6, 7, 6, 7, 8 22 | }; 23 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/common.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef common_h 13 | #define common_h 1 14 | 15 | #include 16 | 17 | /* Interface header for common constant data structures and lookup tables */ 18 | 19 | #include "vpx_mem/vpx_mem.h" 20 | 21 | /* Only need this for fixed-size arrays, for structs just assign. */ 22 | 23 | #define vp8_copy( Dest, Src) { \ 24 | assert( sizeof( Dest) == sizeof( Src)); \ 25 | vpx_memcpy( Dest, Src, sizeof( Src)); \ 26 | } 27 | 28 | /* Use this for variably-sized arrays. */ 29 | 30 | #define vp8_copy_array( Dest, Src, N) { \ 31 | assert( sizeof( *Dest) == sizeof( *Src)); \ 32 | vpx_memcpy( Dest, Src, N * sizeof( *Src)); \ 33 | } 34 | 35 | #define vp8_zero( Dest) vpx_memset( &Dest, 0, sizeof( Dest)); 36 | 37 | #define vp8_zero_array( Dest, N) vpx_memset( Dest, 0, N * sizeof( *Dest)); 38 | 39 | 40 | #endif /* common_h */ 41 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/dequantize.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "vpx_config.h" 13 | #include "vpx_rtcd.h" 14 | #include "vp8/common/blockd.h" 15 | #include "vpx_mem/vpx_mem.h" 16 | 17 | void vp8_dequantize_b_c(BLOCKD *d, short *DQC) 18 | { 19 | int i; 20 | short *DQ = d->dqcoeff; 21 | short *Q = d->qcoeff; 22 | 23 | for (i = 0; i < 16; i++) 24 | { 25 | DQ[i] = Q[i] * DQC[i]; 26 | } 27 | } 28 | 29 | void vp8_dequant_idct_add_c(short *input, short *dq, 30 | unsigned char *dest, int stride) 31 | { 32 | int i; 33 | 34 | for (i = 0; i < 16; i++) 35 | { 36 | input[i] = dq[i] * input[i]; 37 | } 38 | 39 | vp8_short_idct4x4llm_c(input, dest, stride, dest, stride); 40 | 41 | vpx_memset(input, 0, 32); 42 | 43 | } 44 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/entropymv.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "entropymv.h" 13 | 14 | const MV_CONTEXT vp8_mv_update_probs[2] = 15 | { 16 | {{ 17 | 237, 18 | 246, 19 | 253, 253, 254, 254, 254, 254, 254, 20 | 254, 254, 254, 254, 254, 250, 250, 252, 254, 254 21 | }}, 22 | {{ 23 | 231, 24 | 243, 25 | 245, 253, 254, 254, 254, 254, 254, 26 | 254, 254, 254, 254, 254, 251, 251, 254, 254, 254 27 | }} 28 | }; 29 | const MV_CONTEXT vp8_default_mv_context[2] = 30 | { 31 | {{ 32 | /* row */ 33 | 162, /* is short */ 34 | 128, /* sign */ 35 | 225, 146, 172, 147, 214, 39, 156, /* short tree */ 36 | 128, 129, 132, 75, 145, 178, 206, 239, 254, 254 /* long bits */ 37 | }}, 38 | 39 | 40 | 41 | {{ 42 | /* same for column */ 43 | 164, /* is short */ 44 | 128, 45 | 204, 170, 119, 235, 140, 230, 228, 46 | 128, 130, 130, 74, 148, 180, 203, 236, 254, 254 /* long bits */ 47 | 48 | }} 49 | }; 50 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/entropymv.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_ENTROPYMV_H 13 | #define __INC_ENTROPYMV_H 14 | 15 | #include "treecoder.h" 16 | 17 | enum 18 | { 19 | mv_max = 1023, /* max absolute value of a MV component */ 20 | MVvals = (2 * mv_max) + 1, /* # possible values "" */ 21 | mvfp_max = 255, /* max absolute value of a full pixel MV component */ 22 | MVfpvals = (2 * mvfp_max) +1, /* # possible full pixel MV values */ 23 | 24 | mvlong_width = 10, /* Large MVs have 9 bit magnitudes */ 25 | mvnum_short = 8, /* magnitudes 0 through 7 */ 26 | 27 | /* probability offsets for coding each MV component */ 28 | 29 | mvpis_short = 0, /* short (<= 7) vs long (>= 8) */ 30 | MVPsign, /* sign for non-zero */ 31 | MVPshort, /* 8 short values = 7-position tree */ 32 | 33 | MVPbits = MVPshort + mvnum_short - 1, /* mvlong_width long value bits */ 34 | MVPcount = MVPbits + mvlong_width /* (with independent probabilities) */ 35 | }; 36 | 37 | typedef struct mv_context 38 | { 39 | vp8_prob prob[MVPcount]; /* often come in row, col pairs */ 40 | } MV_CONTEXT; 41 | 42 | extern const MV_CONTEXT vp8_mv_update_probs[2], vp8_default_mv_context[2]; 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/extend.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_EXTEND_H 13 | #define __INC_EXTEND_H 14 | 15 | #include "vpx_scale/yv12config.h" 16 | 17 | void vp8_extend_mb_row(YV12_BUFFER_CONFIG *ybf, unsigned char *YPtr, unsigned char *UPtr, unsigned char *VPtr); 18 | void vp8_copy_and_extend_frame(YV12_BUFFER_CONFIG *src, 19 | YV12_BUFFER_CONFIG *dst); 20 | void vp8_copy_and_extend_frame_with_rect(YV12_BUFFER_CONFIG *src, 21 | YV12_BUFFER_CONFIG *dst, 22 | int srcy, int srcx, 23 | int srch, int srcw); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/filter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef FILTER_H 13 | #define FILTER_H 14 | 15 | #define BLOCK_HEIGHT_WIDTH 4 16 | #define VP8_FILTER_WEIGHT 128 17 | #define VP8_FILTER_SHIFT 7 18 | 19 | extern const short vp8_bilinear_filters[8][2]; 20 | extern const short vp8_sub_pel_filters[8][6]; 21 | 22 | #endif //FILTER_H 23 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/header.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_HEADER_H 13 | #define __INC_HEADER_H 14 | 15 | /* 24 bits total */ 16 | typedef struct 17 | { 18 | unsigned int type: 1; 19 | unsigned int version: 3; 20 | unsigned int show_frame: 1; 21 | 22 | /* Allow 2^20 bytes = 8 megabits for first partition */ 23 | 24 | unsigned int first_partition_length_in_bytes: 19; 25 | 26 | #ifdef PACKET_TESTING 27 | unsigned int frame_number; 28 | unsigned int update_gold: 1; 29 | unsigned int uses_gold: 1; 30 | unsigned int update_last: 1; 31 | unsigned int uses_last: 1; 32 | #endif 33 | 34 | } VP8_HEADER; 35 | 36 | #ifdef PACKET_TESTING 37 | #define VP8_HEADER_SIZE 8 38 | #else 39 | #define VP8_HEADER_SIZE 3 40 | #endif 41 | 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/invtrans.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_INVTRANS_H 13 | #define __INC_INVTRANS_H 14 | 15 | #include "vpx_config.h" 16 | #include "vpx_rtcd.h" 17 | #include "blockd.h" 18 | #include "onyxc_int.h" 19 | 20 | #if CONFIG_MULTITHREAD 21 | #include "vpx_mem/vpx_mem.h" 22 | #endif 23 | 24 | static void eob_adjust(char *eobs, short *diff) 25 | { 26 | /* eob adjust.... the idct can only skip if both the dc and eob are zero */ 27 | int js; 28 | for(js = 0; js < 16; js++) 29 | { 30 | if((eobs[js] == 0) && (diff[0] != 0)) 31 | eobs[js]++; 32 | diff+=16; 33 | } 34 | } 35 | 36 | static void vp8_inverse_transform_mby(MACROBLOCKD *xd) 37 | { 38 | short *DQC = xd->dequant_y1; 39 | 40 | if (xd->mode_info_context->mbmi.mode != SPLITMV) 41 | { 42 | /* do 2nd order transform on the dc block */ 43 | if (xd->eobs[24] > 1) 44 | { 45 | vp8_short_inv_walsh4x4 46 | (&xd->block[24].dqcoeff[0], xd->qcoeff); 47 | } 48 | else 49 | { 50 | vp8_short_inv_walsh4x4_1 51 | (&xd->block[24].dqcoeff[0], xd->qcoeff); 52 | } 53 | eob_adjust(xd->eobs, xd->qcoeff); 54 | 55 | DQC = xd->dequant_y1_dc; 56 | } 57 | vp8_dequant_idct_add_y_block 58 | (xd->qcoeff, DQC, 59 | xd->dst.y_buffer, 60 | xd->dst.y_stride, xd->eobs); 61 | } 62 | #endif 63 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/mbpitch.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "blockd.h" 13 | 14 | void vp8_setup_block_dptrs(MACROBLOCKD *x) 15 | { 16 | int r, c; 17 | 18 | for (r = 0; r < 4; r++) 19 | { 20 | for (c = 0; c < 4; c++) 21 | { 22 | x->block[r*4+c].predictor = x->predictor + r * 4 * 16 + c * 4; 23 | } 24 | } 25 | 26 | for (r = 0; r < 2; r++) 27 | { 28 | for (c = 0; c < 2; c++) 29 | { 30 | x->block[16+r*2+c].predictor = x->predictor + 256 + r * 4 * 8 + c * 4; 31 | 32 | } 33 | } 34 | 35 | for (r = 0; r < 2; r++) 36 | { 37 | for (c = 0; c < 2; c++) 38 | { 39 | x->block[20+r*2+c].predictor = x->predictor + 320 + r * 4 * 8 + c * 4; 40 | 41 | } 42 | } 43 | 44 | for (r = 0; r < 25; r++) 45 | { 46 | x->block[r].qcoeff = x->qcoeff + r * 16; 47 | x->block[r].dqcoeff = x->dqcoeff + r * 16; 48 | x->block[r].eob = x->eobs + r; 49 | } 50 | } 51 | 52 | void vp8_build_block_doffsets(MACROBLOCKD *x) 53 | { 54 | int block; 55 | 56 | for (block = 0; block < 16; block++) /* y blocks */ 57 | { 58 | x->block[block].offset = 59 | (block >> 2) * 4 * x->dst.y_stride + (block & 3) * 4; 60 | } 61 | 62 | for (block = 16; block < 20; block++) /* U and V blocks */ 63 | { 64 | x->block[block+4].offset = 65 | x->block[block].offset = 66 | ((block - 16) >> 1) * 4 * x->dst.uv_stride + (block & 1) * 4; 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/modecont.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "entropy.h" 13 | 14 | const int vp8_mode_contexts[6][4] = 15 | { 16 | { 17 | /* 0 */ 18 | 7, 1, 1, 143, 19 | }, 20 | { 21 | /* 1 */ 22 | 14, 18, 14, 107, 23 | }, 24 | { 25 | /* 2 */ 26 | 135, 64, 57, 68, 27 | }, 28 | { 29 | /* 3 */ 30 | 60, 56, 128, 65, 31 | }, 32 | { 33 | /* 4 */ 34 | 159, 134, 128, 34, 35 | }, 36 | { 37 | /* 5 */ 38 | 234, 188, 128, 28, 39 | }, 40 | }; 41 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/modecont.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_MODECONT_H 13 | #define __INC_MODECONT_H 14 | 15 | extern const int vp8_mode_contexts[6][4]; 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/mv.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_MV_H 13 | #define __INC_MV_H 14 | #include "vpx/vpx_integer.h" 15 | 16 | typedef struct 17 | { 18 | short row; 19 | short col; 20 | } MV; 21 | 22 | typedef union int_mv 23 | { 24 | uint32_t as_int; 25 | MV as_mv; 26 | } int_mv; /* facilitates faster equality tests and copies */ 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/postproc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef POSTPROC_H 13 | #define POSTPROC_H 14 | 15 | #include "vpx_ports/mem.h" 16 | struct postproc_state 17 | { 18 | int last_q; 19 | int last_noise; 20 | char noise[3072]; 21 | int last_base_qindex; 22 | int last_frame_valid; 23 | DECLARE_ALIGNED(16, char, blackclamp[16]); 24 | DECLARE_ALIGNED(16, char, whiteclamp[16]); 25 | DECLARE_ALIGNED(16, char, bothclamp[16]); 26 | }; 27 | #include "onyxc_int.h" 28 | #include "ppflags.h" 29 | int vp8_post_proc_frame(struct VP8Common *oci, YV12_BUFFER_CONFIG *dest, 30 | vp8_ppflags_t *flags); 31 | 32 | 33 | void vp8_de_noise(YV12_BUFFER_CONFIG *source, 34 | YV12_BUFFER_CONFIG *post, 35 | int q, 36 | int low_var_thresh, 37 | int flag); 38 | 39 | void vp8_deblock(YV12_BUFFER_CONFIG *source, 40 | YV12_BUFFER_CONFIG *post, 41 | int q, 42 | int low_var_thresh, 43 | int flag); 44 | 45 | #define MFQE_PRECISION 4 46 | 47 | void vp8_multiframe_quality_enhance(struct VP8Common *cm); 48 | #endif 49 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/ppflags.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_PPFLAGS_H 13 | #define __INC_PPFLAGS_H 14 | enum 15 | { 16 | VP8D_NOFILTERING = 0, 17 | VP8D_DEBLOCK = 1<<0, 18 | VP8D_DEMACROBLOCK = 1<<1, 19 | VP8D_ADDNOISE = 1<<2, 20 | VP8D_DEBUG_TXT_FRAME_INFO = 1<<3, 21 | VP8D_DEBUG_TXT_MBLK_MODES = 1<<4, 22 | VP8D_DEBUG_TXT_DC_DIFF = 1<<5, 23 | VP8D_DEBUG_TXT_RATE_INFO = 1<<6, 24 | VP8D_DEBUG_DRAW_MV = 1<<7, 25 | VP8D_DEBUG_CLR_BLK_MODES = 1<<8, 26 | VP8D_DEBUG_CLR_FRM_REF_BLKS = 1<<9, 27 | VP8D_MFQE = 1<<10 28 | }; 29 | 30 | typedef struct 31 | { 32 | int post_proc_flag; 33 | int deblocking_level; 34 | int noise_level; 35 | int display_ref_frame_flag; 36 | int display_mb_modes_flag; 37 | int display_b_modes_flag; 38 | int display_mv_flag; 39 | } vp8_ppflags_t; 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/pragmas.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | 13 | 14 | #ifdef __INTEL_COMPILER 15 | #pragma warning(disable:997 1011 170) 16 | #endif 17 | #ifdef _MSC_VER 18 | #pragma warning(disable:4799) 19 | #endif 20 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/quant_common.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "string.h" 13 | #include "blockd.h" 14 | #include "onyxc_int.h" 15 | 16 | extern int vp8_ac_yquant(int QIndex); 17 | extern int vp8_dc_quant(int QIndex, int Delta); 18 | extern int vp8_dc2quant(int QIndex, int Delta); 19 | extern int vp8_ac2quant(int QIndex, int Delta); 20 | extern int vp8_dc_uv_quant(int QIndex, int Delta); 21 | extern int vp8_ac_uv_quant(int QIndex, int Delta); 22 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/reconinter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_RECONINTER_H 13 | #define __INC_RECONINTER_H 14 | 15 | extern void vp8_build_inter_predictors_mb(MACROBLOCKD *x); 16 | extern void vp8_build_inter16x16_predictors_mb(MACROBLOCKD *x, 17 | unsigned char *dst_y, 18 | unsigned char *dst_u, 19 | unsigned char *dst_v, 20 | int dst_ystride, 21 | int dst_uvstride); 22 | 23 | 24 | extern void vp8_build_inter16x16_predictors_mby(MACROBLOCKD *x, 25 | unsigned char *dst_y, 26 | int dst_ystride); 27 | extern void vp8_build_inter_predictors_b(BLOCKD *d, int pitch, 28 | unsigned char *base_pre, 29 | int pre_stride, 30 | vp8_subpix_fn_t sppf); 31 | 32 | extern void vp8_build_inter16x16_predictors_mbuv(MACROBLOCKD *x); 33 | extern void vp8_build_inter4x4_predictors_mbuv(MACROBLOCKD *x); 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/reconintra4x4.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_RECONINTRA4x4_H 13 | #define __INC_RECONINTRA4x4_H 14 | #include "vp8/common/blockd.h" 15 | 16 | static void intra_prediction_down_copy(MACROBLOCKD *xd, 17 | unsigned char *above_right_src) 18 | { 19 | int dst_stride = xd->dst.y_stride; 20 | unsigned char *above_right_dst = xd->dst.y_buffer - dst_stride + 16; 21 | 22 | unsigned int *src_ptr = (unsigned int *)above_right_src; 23 | unsigned int *dst_ptr0 = (unsigned int *)(above_right_dst + 4 * dst_stride); 24 | unsigned int *dst_ptr1 = (unsigned int *)(above_right_dst + 8 * dst_stride); 25 | unsigned int *dst_ptr2 = (unsigned int *)(above_right_dst + 12 * dst_stride); 26 | 27 | *dst_ptr0 = *src_ptr; 28 | *dst_ptr1 = *src_ptr; 29 | *dst_ptr2 = *src_ptr; 30 | } 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/rtcd.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | #include "vpx_config.h" 11 | #define RTCD_C 12 | #include "vpx_rtcd.h" 13 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/setupintrarecon.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "setupintrarecon.h" 13 | #include "vpx_mem/vpx_mem.h" 14 | 15 | void vp8_setup_intra_recon(YV12_BUFFER_CONFIG *ybf) 16 | { 17 | int i; 18 | 19 | /* set up frame new frame for intra coded blocks */ 20 | vpx_memset(ybf->y_buffer - 1 - ybf->y_stride, 127, ybf->y_width + 5); 21 | for (i = 0; i < ybf->y_height; i++) 22 | ybf->y_buffer[ybf->y_stride *i - 1] = (unsigned char) 129; 23 | 24 | vpx_memset(ybf->u_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); 25 | for (i = 0; i < ybf->uv_height; i++) 26 | ybf->u_buffer[ybf->uv_stride *i - 1] = (unsigned char) 129; 27 | 28 | vpx_memset(ybf->v_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); 29 | for (i = 0; i < ybf->uv_height; i++) 30 | ybf->v_buffer[ybf->uv_stride *i - 1] = (unsigned char) 129; 31 | 32 | } 33 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/setupintrarecon.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "vpx_scale/yv12config.h" 13 | extern void vp8_setup_intra_recon(YV12_BUFFER_CONFIG *ybf); 14 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/swapyv12buffer.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "swapyv12buffer.h" 13 | 14 | void vp8_swap_yv12_buffer(YV12_BUFFER_CONFIG *new_frame, YV12_BUFFER_CONFIG *last_frame) 15 | { 16 | unsigned char *temp; 17 | 18 | temp = last_frame->buffer_alloc; 19 | last_frame->buffer_alloc = new_frame->buffer_alloc; 20 | new_frame->buffer_alloc = temp; 21 | 22 | temp = last_frame->y_buffer; 23 | last_frame->y_buffer = new_frame->y_buffer; 24 | new_frame->y_buffer = temp; 25 | 26 | temp = last_frame->u_buffer; 27 | last_frame->u_buffer = new_frame->u_buffer; 28 | new_frame->u_buffer = temp; 29 | 30 | temp = last_frame->v_buffer; 31 | last_frame->v_buffer = new_frame->v_buffer; 32 | new_frame->v_buffer = temp; 33 | 34 | } 35 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/swapyv12buffer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef SWAPYV12_BUFFER_H 13 | #define SWAPYV12_BUFFER_H 14 | 15 | #include "vpx_scale/yv12config.h" 16 | 17 | void vp8_swap_yv12_buffer(YV12_BUFFER_CONFIG *new_frame, YV12_BUFFER_CONFIG *last_frame); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/systemdependent.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "vpx_config.h" 13 | #if ARCH_X86 || ARCH_X86_64 14 | void vpx_reset_mmx_state(void); 15 | #define vp8_clear_system_state() 16 | //#define vp8_clear_system_state() vpx_reset_mmx_state() 17 | #else 18 | #define vp8_clear_system_state() 19 | #endif 20 | 21 | struct VP8Common; 22 | void vp8_machine_specific_config(struct VP8Common *); 23 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/x86/filter_x86.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | #include "vpx_ports/mem.h" 12 | 13 | DECLARE_ALIGNED(16, const short, vp8_bilinear_filters_x86_4[8][8]) = 14 | { 15 | { 128, 128, 128, 128, 0, 0, 0, 0 }, 16 | { 112, 112, 112, 112, 16, 16, 16, 16 }, 17 | { 96, 96, 96, 96, 32, 32, 32, 32 }, 18 | { 80, 80, 80, 80, 48, 48, 48, 48 }, 19 | { 64, 64, 64, 64, 64, 64, 64, 64 }, 20 | { 48, 48, 48, 48, 80, 80, 80, 80 }, 21 | { 32, 32, 32, 32, 96, 96, 96, 96 }, 22 | { 16, 16, 16, 16, 112, 112, 112, 112 } 23 | }; 24 | 25 | DECLARE_ALIGNED(16, const short, vp8_bilinear_filters_x86_8[8][16]) = 26 | { 27 | { 128, 128, 128, 128, 128, 128, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0 }, 28 | { 112, 112, 112, 112, 112, 112, 112, 112, 16, 16, 16, 16, 16, 16, 16, 16 }, 29 | { 96, 96, 96, 96, 96, 96, 96, 96, 32, 32, 32, 32, 32, 32, 32, 32 }, 30 | { 80, 80, 80, 80, 80, 80, 80, 80, 48, 48, 48, 48, 48, 48, 48, 48 }, 31 | { 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64 }, 32 | { 48, 48, 48, 48, 48, 48, 48, 48, 80, 80, 80, 80, 80, 80, 80, 80 }, 33 | { 32, 32, 32, 32, 32, 32, 32, 32, 96, 96, 96, 96, 96, 96, 96, 96 }, 34 | { 16, 16, 16, 16, 16, 16, 16, 16, 112, 112, 112, 112, 112, 112, 112, 112 } 35 | }; 36 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/x86/filter_x86.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | #ifndef FILTER_X86_H 12 | #define FILTER_X86_H 13 | 14 | /* x86 assembly specific copy of vp8/common/filter.c:vp8_bilinear_filters with 15 | * duplicated values */ 16 | extern const short vp8_bilinear_filters_x86_4[8][8]; /* duplicated 4x */ 17 | extern const short vp8_bilinear_filters_x86_8[8][16]; /* duplicated 8x */ 18 | 19 | #endif /* FILTER_X86_H */ 20 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/common/x86/postproc_x86.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | /* On Android NDK, rand is inlined function, but postproc needs rand symbol */ 12 | #if defined(__ANDROID__) 13 | #define rand __rand 14 | #include 15 | #undef rand 16 | 17 | extern int rand(void) 18 | { 19 | return __rand(); 20 | } 21 | #endif 22 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/decoder/asm_dec_offsets.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "vpx_ports/asm_offsets.h" 13 | #include "onyxd_int.h" 14 | 15 | BEGIN 16 | 17 | DEFINE(bool_decoder_user_buffer_end, offsetof(BOOL_DECODER, user_buffer_end)); 18 | DEFINE(bool_decoder_user_buffer, offsetof(BOOL_DECODER, user_buffer)); 19 | DEFINE(bool_decoder_value, offsetof(BOOL_DECODER, value)); 20 | DEFINE(bool_decoder_count, offsetof(BOOL_DECODER, count)); 21 | DEFINE(bool_decoder_range, offsetof(BOOL_DECODER, range)); 22 | 23 | END 24 | 25 | /* add asserts for any offset that is not supported by assembly code */ 26 | /* add asserts for any size that is not supported by assembly code */ 27 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/decoder/dboolhuff.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "dboolhuff.h" 13 | #include "vpx_ports/mem.h" 14 | #include "vpx_mem/vpx_mem.h" 15 | 16 | int vp8dx_start_decode(BOOL_DECODER *br, 17 | const unsigned char *source, 18 | unsigned int source_sz) 19 | { 20 | br->user_buffer_end = source+source_sz; 21 | br->user_buffer = source; 22 | br->value = 0; 23 | br->count = -8; 24 | br->range = 255; 25 | 26 | if (source_sz && !source) 27 | return 1; 28 | 29 | /* Populate the buffer */ 30 | vp8dx_bool_decoder_fill(br); 31 | 32 | return 0; 33 | } 34 | 35 | 36 | void vp8dx_bool_decoder_fill(BOOL_DECODER *br) 37 | { 38 | const unsigned char *bufptr; 39 | const unsigned char *bufend; 40 | VP8_BD_VALUE value; 41 | int count; 42 | bufend = br->user_buffer_end; 43 | bufptr = br->user_buffer; 44 | value = br->value; 45 | count = br->count; 46 | 47 | VP8DX_BOOL_DECODER_FILL(count, value, bufptr, bufend); 48 | 49 | br->user_buffer = bufptr; 50 | br->value = value; 51 | br->count = count; 52 | } 53 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/decoder/decodemv.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "onyxd_int.h" 13 | 14 | void vp8_decode_mode_mvs(VP8D_COMP *); 15 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/decoder/decoderthreading.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | 13 | 14 | 15 | #ifndef _DECODER_THREADING_H 16 | #define _DECODER_THREADING_H 17 | 18 | #if CONFIG_MULTITHREAD 19 | extern void vp8mt_decode_mb_rows(VP8D_COMP *pbi, MACROBLOCKD *xd); 20 | extern void vp8_decoder_remove_threads(VP8D_COMP *pbi); 21 | extern void vp8_decoder_create_threads(VP8D_COMP *pbi); 22 | extern void vp8mt_alloc_temp_buffers(VP8D_COMP *pbi, int width, int prev_mb_rows); 23 | extern void vp8mt_de_alloc_temp_buffers(VP8D_COMP *pbi, int mb_rows); 24 | #endif 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/decoder/detokenize.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef DETOKENIZE_H 13 | #define DETOKENIZE_H 14 | 15 | #include "onyxd_int.h" 16 | 17 | void vp8_reset_mb_tokens_context(MACROBLOCKD *x); 18 | int vp8_decode_mb_tokens(VP8D_COMP *, MACROBLOCKD *); 19 | 20 | #endif /* DETOKENIZE_H */ 21 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/decoder/treereader.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef tree_reader_h 13 | #define tree_reader_h 1 14 | 15 | #include "vp8/common/treecoder.h" 16 | 17 | #include "dboolhuff.h" 18 | 19 | typedef BOOL_DECODER vp8_reader; 20 | 21 | #define vp8_read vp8dx_decode_bool 22 | #define vp8_read_literal vp8_decode_value 23 | #define vp8_read_bit( R) vp8_read( R, vp8_prob_half) 24 | 25 | 26 | /* Intent of tree data structure is to make decoding trivial. */ 27 | 28 | static int vp8_treed_read( 29 | vp8_reader *const r, /* !!! must return a 0 or 1 !!! */ 30 | vp8_tree t, 31 | const vp8_prob *const p 32 | ) 33 | { 34 | register vp8_tree_index i = 0; 35 | 36 | while ((i = t[ i + vp8_read(r, p[i>>1])]) > 0) ; 37 | 38 | return -i; 39 | } 40 | 41 | #endif /* tree_reader_h */ 42 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/denoising.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | #ifndef VP8_ENCODER_DENOISING_H_ 12 | #define VP8_ENCODER_DENOISING_H_ 13 | 14 | #include "block.h" 15 | 16 | typedef struct vp8_denoiser 17 | { 18 | YV12_BUFFER_CONFIG yv12_running_avg; 19 | YV12_BUFFER_CONFIG yv12_mc_running_avg; 20 | } VP8_DENOISER; 21 | 22 | int vp8_denoiser_allocate(VP8_DENOISER *denoiser, int width, int height); 23 | 24 | void vp8_denoiser_free(VP8_DENOISER *denoiser); 25 | 26 | void vp8_denoiser_denoise_mb(VP8_DENOISER *denoiser, 27 | MACROBLOCK *x, 28 | unsigned int best_sse, 29 | unsigned int zero_mv_sse, 30 | int recon_yoffset, 31 | int recon_uvoffset); 32 | 33 | #endif // VP8_ENCODER_DENOISING_H_ 34 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/encodeframe.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | #ifndef ENCODEFRAME_H 11 | #define ENCODEFRAME_H 12 | extern void vp8_activity_masking(VP8_COMP *cpi, MACROBLOCK *x); 13 | 14 | extern void vp8_build_block_offsets(MACROBLOCK *x); 15 | 16 | extern void vp8_setup_block_ptrs(MACROBLOCK *x); 17 | 18 | extern void vp8_encode_frame(VP8_COMP *cpi); 19 | 20 | extern int vp8cx_encode_inter_macroblock(VP8_COMP *cpi, MACROBLOCK *x, 21 | TOKENEXTRA **t, 22 | int recon_yoffset, int recon_uvoffset, 23 | int mb_row, int mb_col); 24 | 25 | extern int vp8cx_encode_intra_macroblock(VP8_COMP *cpi, MACROBLOCK *x, 26 | TOKENEXTRA **t); 27 | #endif 28 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/encodeintra.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef _ENCODEINTRA_H_ 13 | #define _ENCODEINTRA_H_ 14 | #include "onyx_int.h" 15 | 16 | int vp8_encode_intra(VP8_COMP *cpi, MACROBLOCK *x, int use_dc_pred); 17 | void vp8_encode_intra16x16mby(MACROBLOCK *x); 18 | void vp8_encode_intra16x16mbuv(MACROBLOCK *x); 19 | void vp8_encode_intra4x4mby(MACROBLOCK *mb); 20 | void vp8_encode_intra4x4block(MACROBLOCK *x, int ib); 21 | #endif 22 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/encodemb.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_ENCODEMB_H 13 | #define __INC_ENCODEMB_H 14 | 15 | #include "onyx_int.h" 16 | void vp8_encode_inter16x16(MACROBLOCK *x); 17 | 18 | void vp8_build_dcblock(MACROBLOCK *b); 19 | void vp8_transform_mb(MACROBLOCK *mb); 20 | void vp8_transform_mbuv(MACROBLOCK *x); 21 | void vp8_transform_intra_mby(MACROBLOCK *x); 22 | 23 | void vp8_optimize_mby(MACROBLOCK *x); 24 | void vp8_optimize_mbuv(MACROBLOCK *x); 25 | void vp8_encode_inter16x16y(MACROBLOCK *x); 26 | #endif 27 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/encodemv.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_ENCODEMV_H 13 | #define __INC_ENCODEMV_H 14 | 15 | #include "onyx_int.h" 16 | 17 | void vp8_write_mvprobs(VP8_COMP *); 18 | void vp8_encode_motion_vector(vp8_writer *, const MV *, const MV_CONTEXT *); 19 | void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, int mvc_flag[2]); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/firstpass.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #if !defined __INC_FIRSTPASS_H 13 | #define __INC_FIRSTPASS_H 14 | 15 | extern void vp8_init_first_pass(VP8_COMP *cpi); 16 | extern void vp8_first_pass(VP8_COMP *cpi); 17 | extern void vp8_end_first_pass(VP8_COMP *cpi); 18 | 19 | extern void vp8_init_second_pass(VP8_COMP *cpi); 20 | extern void vp8_second_pass(VP8_COMP *cpi); 21 | extern void vp8_end_second_pass(VP8_COMP *cpi); 22 | 23 | extern size_t vp8_firstpass_stats_sz(unsigned int mb_count); 24 | #endif 25 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/modecosts.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "vp8/common/blockd.h" 13 | #include "onyx_int.h" 14 | #include "treewriter.h" 15 | #include "vp8/common/entropymode.h" 16 | 17 | 18 | void vp8_init_mode_costs(VP8_COMP *c) 19 | { 20 | VP8_COMMON *x = &c->common; 21 | { 22 | const vp8_tree_p T = vp8_bmode_tree; 23 | 24 | int i = 0; 25 | 26 | do 27 | { 28 | int j = 0; 29 | 30 | do 31 | { 32 | vp8_cost_tokens((int *)c->mb.bmode_costs[i][j], x->kf_bmode_prob[i][j], T); 33 | } 34 | while (++j < VP8_BINTRAMODES); 35 | } 36 | while (++i < VP8_BINTRAMODES); 37 | 38 | vp8_cost_tokens((int *)c->mb.inter_bmode_costs, x->fc.bmode_prob, T); 39 | } 40 | vp8_cost_tokens((int *)c->mb.inter_bmode_costs, x->fc.sub_mv_ref_prob, vp8_sub_mv_ref_tree); 41 | 42 | vp8_cost_tokens(c->mb.mbmode_cost[1], x->fc.ymode_prob, vp8_ymode_tree); 43 | vp8_cost_tokens(c->mb.mbmode_cost[0], x->kf_ymode_prob, vp8_kf_ymode_tree); 44 | 45 | vp8_cost_tokens(c->mb.intra_uv_mode_cost[1], x->fc.uv_mode_prob, vp8_uv_mode_tree); 46 | vp8_cost_tokens(c->mb.intra_uv_mode_cost[0], x->kf_uv_mode_prob, vp8_uv_mode_tree); 47 | } 48 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/modecosts.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_MODECOSTS_H 13 | #define __INC_MODECOSTS_H 14 | 15 | void vp8_init_mode_costs(VP8_COMP *x); 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/pickinter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_PICKINTER_H 13 | #define __INC_PICKINTER_H 14 | #include "vpx_config.h" 15 | #include "vp8/common/onyxc_int.h" 16 | 17 | extern void vp8_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset, 18 | int recon_uvoffset, int *returnrate, 19 | int *returndistortion, int *returnintra, 20 | int mb_row, int mb_col); 21 | extern void vp8_pick_intra_mode(VP8_COMP *cpi, MACROBLOCK *x, int *rate); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/psnr.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "vpx_scale/yv12config.h" 13 | #include "math.h" 14 | #include "vp8/common/systemdependent.h" /* for vp8_clear_system_state() */ 15 | 16 | #define MAX_PSNR 60 17 | 18 | double vp8_mse2psnr(double Samples, double Peak, double Mse) 19 | { 20 | double psnr; 21 | 22 | if ((double)Mse > 0.0) 23 | psnr = 10.0 * log10(Peak * Peak * Samples / Mse); 24 | else 25 | psnr = MAX_PSNR; // Limit to prevent / 0 26 | 27 | if (psnr > MAX_PSNR) 28 | psnr = MAX_PSNR; 29 | 30 | return psnr; 31 | } 32 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/psnr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_PSNR_H 13 | #define __INC_PSNR_H 14 | 15 | extern double vp8_mse2psnr(double Samples, double Peak, double Mse); 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/quantize.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef __INC_QUANTIZE_H 13 | #define __INC_QUANTIZE_H 14 | 15 | struct VP8_COMP; 16 | struct macroblock; 17 | extern void vp8_set_quantizer(struct VP8_COMP *cpi, int Q); 18 | extern void vp8cx_frame_init_quantizer(struct VP8_COMP *cpi); 19 | extern void vp8_update_zbin_extra(struct VP8_COMP *cpi, struct macroblock *x); 20 | extern void vp8cx_mb_init_quantizer(struct VP8_COMP *cpi, struct macroblock *x, int ok_to_skip); 21 | extern void vp8cx_init_quantizer(struct VP8_COMP *cpi); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/ratectrl.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #if !defined __INC_RATECTRL_H 13 | 14 | #include "onyx_int.h" 15 | 16 | extern void vp8_save_coding_context(VP8_COMP *cpi); 17 | extern void vp8_restore_coding_context(VP8_COMP *cpi); 18 | 19 | extern void vp8_setup_key_frame(VP8_COMP *cpi); 20 | extern void vp8_update_rate_correction_factors(VP8_COMP *cpi, int damp_var); 21 | extern int vp8_regulate_q(VP8_COMP *cpi, int target_bits_per_frame); 22 | extern void vp8_adjust_key_frame_context(VP8_COMP *cpi); 23 | extern void vp8_compute_frame_size_bounds(VP8_COMP *cpi, int *frame_under_shoot_limit, int *frame_over_shoot_limit); 24 | 25 | // return of 0 means drop frame 26 | extern int vp8_pick_frame_size(VP8_COMP *cpi); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/segmentation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "string.h" 13 | #include "vp8/common/blockd.h" 14 | #include "onyx_int.h" 15 | 16 | extern void vp8_update_gf_useage_maps(VP8_COMP *cpi, VP8_COMMON *cm, MACROBLOCK *x); 17 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/tokenize.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef tokenize_h 13 | #define tokenize_h 14 | 15 | #include "vp8/common/entropy.h" 16 | #include "block.h" 17 | 18 | void vp8_tokenize_initialize(); 19 | 20 | typedef struct 21 | { 22 | short Token; 23 | short Extra; 24 | } TOKENVALUE; 25 | 26 | typedef struct 27 | { 28 | const vp8_prob *context_tree; 29 | short Extra; 30 | unsigned char Token; 31 | unsigned char skip_eob_node; 32 | } TOKENEXTRA; 33 | 34 | int rd_cost_mby(MACROBLOCKD *); 35 | 36 | #ifdef ENTROPY_STATS 37 | void init_context_counters(); 38 | void print_context_counters(); 39 | 40 | extern _int64 context_counters[BLOCK_TYPES] [COEF_BANDS] [PREV_COEF_CONTEXTS] [MAX_ENTROPY_TOKENS]; 41 | #endif 42 | 43 | extern const short *const vp8_dct_value_cost_ptr; 44 | /* TODO: The Token field should be broken out into a separate char array to 45 | * improve cache locality, since it's needed for costing when the rest of the 46 | * fields are not. 47 | */ 48 | extern const TOKENVALUE *const vp8_dct_value_tokens_ptr; 49 | 50 | #endif /* tokenize_h */ 51 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/treewriter.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "treewriter.h" 13 | 14 | static void cost( 15 | int *const C, 16 | vp8_tree T, 17 | const vp8_prob *const P, 18 | int i, 19 | int c 20 | ) 21 | { 22 | const vp8_prob p = P [i>>1]; 23 | 24 | do 25 | { 26 | const vp8_tree_index j = T[i]; 27 | const int d = c + vp8_cost_bit(p, i & 1); 28 | 29 | if (j <= 0) 30 | C[-j] = d; 31 | else 32 | cost(C, T, P, j, d); 33 | } 34 | while (++i & 1); 35 | } 36 | void vp8_cost_tokens(int *c, const vp8_prob *p, vp8_tree t) 37 | { 38 | cost(c, t, p, 0, 0); 39 | } 40 | void vp8_cost_tokens2(int *c, const vp8_prob *p, vp8_tree t,int start) 41 | { 42 | cost(c, t, p, start, 0); 43 | } 44 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/encoder/x86/vp8_enc_stubs_sse2.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #include "vpx_config.h" 13 | #include "vpx_rtcd.h" 14 | #include "vpx_ports/x86.h" 15 | #include "vp8/encoder/block.h" 16 | 17 | int vp8_mbblock_error_xmm_impl(short *coeff_ptr, short *dcoef_ptr, int dc); 18 | int vp8_mbblock_error_xmm(MACROBLOCK *mb, int dc) 19 | { 20 | short *coeff_ptr = mb->block[0].coeff; 21 | short *dcoef_ptr = mb->e_mbd.block[0].dqcoeff; 22 | return vp8_mbblock_error_xmm_impl(coeff_ptr, dcoef_ptr, dc); 23 | } 24 | 25 | int vp8_mbuverror_xmm_impl(short *s_ptr, short *d_ptr); 26 | int vp8_mbuverror_xmm(MACROBLOCK *mb) 27 | { 28 | short *s_ptr = &mb->coeff[256]; 29 | short *d_ptr = &mb->e_mbd.dqcoeff[256]; 30 | return vp8_mbuverror_xmm_impl(s_ptr, d_ptr); 31 | } 32 | 33 | void vp8_subtract_b_sse2_impl(unsigned char *z, int src_stride, 34 | short *diff, unsigned char *predictor, 35 | int pitch); 36 | void vp8_subtract_b_sse2(BLOCK *be, BLOCKD *bd, int pitch) 37 | { 38 | unsigned char *z = *(be->base_src) + be->src; 39 | unsigned int src_stride = be->src_stride; 40 | short *diff = &be->src_diff[0]; 41 | unsigned char *predictor = &bd->predictor[0]; 42 | vp8_subtract_b_sse2_impl(z, src_stride, diff, predictor, pitch); 43 | } 44 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/exports_dec: -------------------------------------------------------------------------------- 1 | data vpx_codec_vp8_dx_algo 2 | text vpx_codec_vp8_dx 3 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/exports_enc: -------------------------------------------------------------------------------- 1 | data vpx_codec_vp8_cx_algo 2 | text vpx_codec_vp8_cx 3 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vp8/vp8dx.mk: -------------------------------------------------------------------------------- 1 | ## 2 | ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | ## 4 | ## Use of this source code is governed by a BSD-style license 5 | ## that can be found in the LICENSE file in the root of the source 6 | ## tree. An additional intellectual property rights grant can be found 7 | ## in the file PATENTS. All contributing project authors may 8 | ## be found in the AUTHORS file in the root of the source tree. 9 | ## 10 | 11 | 12 | include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8_common.mk 13 | 14 | VP8_DX_EXPORTS += exports_dec 15 | 16 | VP8_DX_SRCS-yes += $(VP8_COMMON_SRCS-yes) 17 | VP8_DX_SRCS-no += $(VP8_COMMON_SRCS-no) 18 | VP8_DX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes) 19 | VP8_DX_SRCS_REMOVE-no += $(VP8_COMMON_SRCS_REMOVE-no) 20 | 21 | VP8_DX_SRCS-yes += vp8_dx_iface.c 22 | 23 | # common 24 | #define ARM 25 | #define DISABLE_THREAD 26 | 27 | #INCLUDES += algo/vpx_common/vpx_mem/include 28 | #INCLUDES += common 29 | #INCLUDES += common 30 | #INCLUDES += common 31 | #INCLUDES += common 32 | #INCLUDES += decoder 33 | 34 | 35 | 36 | # decoder 37 | #define ARM 38 | #define DISABLE_THREAD 39 | 40 | #INCLUDES += algo/vpx_common/vpx_mem/include 41 | #INCLUDES += common 42 | #INCLUDES += common 43 | #INCLUDES += common 44 | #INCLUDES += common 45 | #INCLUDES += decoder 46 | 47 | VP8_DX_SRCS-yes += decoder/asm_dec_offsets.c 48 | VP8_DX_SRCS-yes += decoder/dboolhuff.c 49 | VP8_DX_SRCS-yes += decoder/decodemv.c 50 | VP8_DX_SRCS-yes += decoder/decodframe.c 51 | VP8_DX_SRCS-yes += decoder/detokenize.c 52 | VP8_DX_SRCS-$(CONFIG_ERROR_CONCEALMENT) += decoder/ec_types.h 53 | VP8_DX_SRCS-$(CONFIG_ERROR_CONCEALMENT) += decoder/error_concealment.h 54 | VP8_DX_SRCS-$(CONFIG_ERROR_CONCEALMENT) += decoder/error_concealment.c 55 | VP8_DX_SRCS-yes += decoder/dboolhuff.h 56 | VP8_DX_SRCS-yes += decoder/decodemv.h 57 | VP8_DX_SRCS-yes += decoder/decoderthreading.h 58 | VP8_DX_SRCS-yes += decoder/detokenize.h 59 | VP8_DX_SRCS-yes += decoder/onyxd_int.h 60 | VP8_DX_SRCS-yes += decoder/treereader.h 61 | VP8_DX_SRCS-yes += decoder/onyxd_if.c 62 | VP8_DX_SRCS-$(CONFIG_MULTITHREAD) += decoder/threading.c 63 | 64 | VP8_DX_SRCS-yes := $(filter-out $(VP8_DX_SRCS_REMOVE-yes),$(VP8_DX_SRCS-yes)) 65 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx/exports_com: -------------------------------------------------------------------------------- 1 | text vpx_codec_build_config 2 | text vpx_codec_control_ 3 | text vpx_codec_destroy 4 | text vpx_codec_err_to_string 5 | text vpx_codec_error 6 | text vpx_codec_error_detail 7 | text vpx_codec_get_caps 8 | text vpx_codec_iface_name 9 | text vpx_codec_version 10 | text vpx_codec_version_extra_str 11 | text vpx_codec_version_str 12 | text vpx_img_alloc 13 | text vpx_img_flip 14 | text vpx_img_free 15 | text vpx_img_set_rect 16 | text vpx_img_wrap 17 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx/exports_dec: -------------------------------------------------------------------------------- 1 | text vpx_codec_dec_init_ver 2 | text vpx_codec_decode 3 | text vpx_codec_get_frame 4 | text vpx_codec_get_mem_map 5 | text vpx_codec_get_stream_info 6 | text vpx_codec_peek_stream_info 7 | text vpx_codec_register_put_frame_cb 8 | text vpx_codec_register_put_slice_cb 9 | text vpx_codec_set_mem_map 10 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx/exports_enc: -------------------------------------------------------------------------------- 1 | text vpx_codec_enc_config_default 2 | text vpx_codec_enc_config_set 3 | text vpx_codec_enc_init_ver 4 | text vpx_codec_encode 5 | text vpx_codec_get_cx_data 6 | text vpx_codec_get_global_headers 7 | text vpx_codec_get_preview_frame 8 | text vpx_codec_set_cx_data_buf 9 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx/vpx_codec.mk: -------------------------------------------------------------------------------- 1 | ## 2 | ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | ## 4 | ## Use of this source code is governed by a BSD-style license 5 | ## that can be found in the LICENSE file in the root of the source 6 | ## tree. An additional intellectual property rights grant can be found 7 | ## in the file PATENTS. All contributing project authors may 8 | ## be found in the AUTHORS file in the root of the source tree. 9 | ## 10 | 11 | 12 | API_EXPORTS += exports 13 | 14 | API_SRCS-yes += src/vpx_decoder.c 15 | API_SRCS-yes += vpx_decoder.h 16 | API_SRCS-yes += src/vpx_encoder.c 17 | API_SRCS-yes += vpx_encoder.h 18 | API_SRCS-yes += internal/vpx_codec_internal.h 19 | API_SRCS-yes += src/vpx_codec.c 20 | API_SRCS-yes += src/vpx_image.c 21 | API_SRCS-yes += vpx_codec.h 22 | API_SRCS-yes += vpx_codec.mk 23 | API_SRCS-yes += vpx_codec_impl_bottom.h 24 | API_SRCS-yes += vpx_codec_impl_top.h 25 | API_SRCS-yes += vpx_image.h 26 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx/vpx_codec_impl_bottom.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | /* 13 | * This file is to be included at the bottom of the header files defining the 14 | * interface to individual codecs and contains matching blocks to those defined 15 | * in vpx_codec_impl_top.h 16 | */ 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx/vpx_codec_impl_top.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | /* 13 | * This file is to be included at the top of the header files defining the 14 | * interface to individual codecs and contains various workarounds common 15 | * to all codec implementations. 16 | */ 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx/vpx_integer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef VPX_INTEGER_H 13 | #define VPX_INTEGER_H 14 | 15 | /* get ptrdiff_t, size_t, wchar_t, NULL */ 16 | #include 17 | 18 | #if (defined(_MSC_VER) && (_MSC_VER < 1600)) || defined(VPX_EMULATE_INTTYPES) 19 | typedef signed char int8_t; 20 | typedef signed short int16_t; 21 | typedef signed int int32_t; 22 | 23 | typedef unsigned char uint8_t; 24 | typedef unsigned short uint16_t; 25 | typedef unsigned int uint32_t; 26 | 27 | #if (defined(_MSC_VER) && (_MSC_VER < 1600)) 28 | typedef signed __int64 int64_t; 29 | typedef unsigned __int64 uint64_t; 30 | #endif 31 | 32 | #ifndef _UINTPTR_T_DEFINED 33 | typedef size_t uintptr_t; 34 | #endif 35 | 36 | #else 37 | 38 | /* Most platforms have the C99 standard integer types. */ 39 | 40 | #if defined(__cplusplus) && !defined(__STDC_FORMAT_MACROS) 41 | #define __STDC_FORMAT_MACROS 42 | #endif 43 | #include 44 | 45 | #endif 46 | 47 | /* VS2010 defines stdint.h, but not inttypes.h */ 48 | #if defined(_MSC_VER) 49 | #define PRId64 "I64d" 50 | #else 51 | #include 52 | #endif 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx_mem/vpx_mem.mk: -------------------------------------------------------------------------------- 1 | MEM_SRCS-yes += vpx_mem.mk 2 | MEM_SRCS-yes += vpx_mem.c 3 | MEM_SRCS-yes += vpx_mem.h 4 | MEM_SRCS-yes += include/vpx_mem_intrnl.h 5 | 6 | MEM_SRCS-$(CONFIG_MEM_TRACKER) += vpx_mem_tracker.c 7 | MEM_SRCS-$(CONFIG_MEM_TRACKER) += include/vpx_mem_tracker.h 8 | 9 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_true.c 10 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_resize.c 11 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_shrink.c 12 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_largest.c 13 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_dflt_abort.c 14 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_base.c 15 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/include 16 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/include/hmm_intrnl.h 17 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/include/cavl_if.h 18 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/include/hmm_cnfg.h 19 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/include/heapmm.h 20 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/include/cavl_impl.h 21 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_grow.c 22 | MEM_SRCS-$(CONFIG_MEM_MANAGER) += memory_manager/hmm_alloc.c 23 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx_ports/asm_offsets.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef VPX_PORTS_ASM_OFFSETS_H 13 | #define VPX_PORTS_ASM_OFFSETS_H 14 | 15 | #include 16 | 17 | #define ct_assert(name,cond) \ 18 | static void assert_##name(void) UNUSED;\ 19 | static void assert_##name(void) {switch(0){case 0:case !!(cond):;}} 20 | 21 | #if INLINE_ASM 22 | #define DEFINE(sym, val) asm("\n" #sym " EQU %0" : : "i" (val)); 23 | #define BEGIN int main(void) { 24 | #define END return 0; } 25 | #else 26 | #define DEFINE(sym, val) int sym = val; 27 | #define BEGIN 28 | #define END 29 | #endif 30 | 31 | #endif /* VPX_PORTS_ASM_OFFSETS_H */ 32 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx_ports/emms.asm: -------------------------------------------------------------------------------- 1 | ; 2 | ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | ; 4 | ; Use of this source code is governed by a BSD-style license 5 | ; that can be found in the LICENSE file in the root of the source 6 | ; tree. An additional intellectual property rights grant can be found 7 | ; in the file PATENTS. All contributing project authors may 8 | ; be found in the AUTHORS file in the root of the source tree. 9 | ; 10 | 11 | 12 | %include "vpx_ports/x86_abi_support.asm" 13 | 14 | section .text 15 | global sym(vpx_reset_mmx_state) 16 | sym(vpx_reset_mmx_state): 17 | emms 18 | ret 19 | 20 | 21 | %ifidn __OUTPUT_FORMAT__,x64 22 | global sym(vpx_winx64_fldcw) 23 | sym(vpx_winx64_fldcw): 24 | sub rsp, 8 25 | mov [rsp], rcx ; win x64 specific 26 | fldcw [rsp] 27 | add rsp, 8 28 | ret 29 | 30 | 31 | global sym(vpx_winx64_fstcw) 32 | sym(vpx_winx64_fstcw): 33 | sub rsp, 8 34 | fstcw [rsp] 35 | mov rax, [rsp] 36 | add rsp, 8 37 | ret 38 | %endif 39 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx_ports/mem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef VPX_PORTS_MEM_H 13 | #define VPX_PORTS_MEM_H 14 | #include "vpx_config.h" 15 | #include "vpx/vpx_integer.h" 16 | 17 | #if (defined(__GNUC__) && __GNUC__) || defined(__SUNPRO_C) 18 | #define DECLARE_ALIGNED(n,typ,val) typ val __attribute__ ((aligned (n))) 19 | #elif defined(_MSC_VER) 20 | #define DECLARE_ALIGNED(n,typ,val) __declspec(align(n)) typ val 21 | #else 22 | #warning No alignment directives known for this compiler. 23 | #define DECLARE_ALIGNED(n,typ,val) typ val 24 | #endif 25 | #endif 26 | 27 | 28 | /* Declare an aligned array on the stack, for situations where the stack 29 | * pointer may not have the alignment we expect. Creates an array with a 30 | * modified name, then defines val to be a pointer, and aligns that pointer 31 | * within the array. 32 | */ 33 | #define DECLARE_ALIGNED_ARRAY(a,typ,val,n)\ 34 | typ val##_[(n)+(a)/sizeof(typ)+1];\ 35 | typ *val = (typ*)((((intptr_t)val##_)+(a)-1)&((intptr_t)-(a))) 36 | 37 | 38 | /* Indicates that the usage of the specified variable has been audited to assure 39 | * that it's safe to use uninitialized. Silences 'may be used uninitialized' 40 | * warnings on gcc. 41 | */ 42 | #if defined(__GNUC__) && __GNUC__ 43 | #define UNINITIALIZED_IS_SAFE(x) x=x 44 | #else 45 | #define UNINITIALIZED_IS_SAFE(x) x 46 | #endif 47 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx_ports/x86_cpuid.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | #include 12 | #include "x86.h" 13 | 14 | struct cpuid_vendors 15 | { 16 | char vendor_string[12]; 17 | vpx_cpu_t vendor_id; 18 | }; 19 | 20 | static struct cpuid_vendors cpuid_vendor_list[VPX_CPU_LAST] = 21 | { 22 | { "AuthenticAMD", VPX_CPU_AMD }, 23 | { "AMDisbetter!", VPX_CPU_AMD_OLD }, 24 | { "CentaurHauls", VPX_CPU_CENTAUR }, 25 | { "CyrixInstead", VPX_CPU_CYRIX }, 26 | { "GenuineIntel", VPX_CPU_INTEL }, 27 | { "NexGenDriven", VPX_CPU_NEXGEN }, 28 | { "Geode by NSC", VPX_CPU_NSC }, 29 | { "RiseRiseRise", VPX_CPU_RISE }, 30 | { "SiS SiS SiS ", VPX_CPU_SIS }, 31 | { "GenuineTMx86", VPX_CPU_TRANSMETA }, 32 | { "TransmetaCPU", VPX_CPU_TRANSMETA_OLD }, 33 | { "UMC UMC UMC ", VPX_CPU_UMC }, 34 | { "VIA VIA VIA ", VPX_CPU_VIA }, 35 | }; 36 | 37 | vpx_cpu_t vpx_x86_vendor(void) 38 | { 39 | unsigned int reg_eax; 40 | unsigned int vs[3]; 41 | int i; 42 | 43 | /* Get the Vendor String from the CPU */ 44 | cpuid(0, reg_eax, vs[0], vs[2], vs[1]); 45 | 46 | for (i = 0; i < VPX_CPU_LAST; i++) 47 | { 48 | if (strncmp ((const char *)vs, cpuid_vendor_list[i].vendor_string, 12) == 0) 49 | return (cpuid_vendor_list[i].vendor_id); 50 | } 51 | 52 | return VPX_CPU_UNKNOWN; 53 | } 54 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx_scale/generic/yv12extend_generic.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef YV12_EXTEND_GENERIC_H 13 | #define YV12_EXTEND_GENERIC_H 14 | 15 | #include "vpx_scale/yv12config.h" 16 | 17 | void vp8_yv12_extend_frame_borders(YV12_BUFFER_CONFIG *ybf); 18 | 19 | /* Copy Y,U,V buffer data from src to dst, filling border of dst as well. */ 20 | void vp8_yv12_copy_frame(YV12_BUFFER_CONFIG *src_ybc, YV12_BUFFER_CONFIG *dst_ybc); 21 | 22 | /* Copy Y buffer data from src_ybc to dst_ybc without filling border data */ 23 | void vp8_yv12_copy_y_c(YV12_BUFFER_CONFIG *src_ybc, YV12_BUFFER_CONFIG *dst_ybc); 24 | 25 | #endif /* YV12_EXTEND_GENERIC_H */ 26 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx_scale/scale_mode.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | /**************************************************************************** 13 | * 14 | ***************************************************************************** 15 | */ 16 | 17 | #ifndef SCALE_MODE_H 18 | #define SCALE_MODE_H 19 | 20 | typedef enum 21 | { 22 | MAINTAIN_ASPECT_RATIO = 0x0, 23 | SCALE_TO_FIT = 0x1, 24 | CENTER = 0x2, 25 | OTHER = 0x3 26 | } SCALE_MODE; 27 | 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx_scale/vpx_scale.mk: -------------------------------------------------------------------------------- 1 | SCALE_SRCS-yes += vpx_scale.mk 2 | SCALE_SRCS-yes += scale_mode.h 3 | SCALE_SRCS-yes += yv12config.h 4 | SCALE_SRCS-yes += vpxscale.h 5 | SCALE_SRCS-yes += generic/vpxscale.c 6 | SCALE_SRCS-yes += generic/yv12config.c 7 | SCALE_SRCS-yes += generic/yv12extend.c 8 | SCALE_SRCS-yes += generic/yv12extend_generic.h 9 | SCALE_SRCS-$(CONFIG_SPATIAL_RESAMPLING) += generic/gen_scalers.c 10 | 11 | #neon 12 | SCALE_SRCS-$(HAVE_NEON) += arm/neon/vp8_vpxyv12_copyframe_func_neon$(ASM) 13 | SCALE_SRCS-$(HAVE_NEON) += arm/neon/vp8_vpxyv12_copy_y_neon$(ASM) 14 | SCALE_SRCS-$(HAVE_NEON) += arm/neon/vp8_vpxyv12_copysrcframe_func_neon$(ASM) 15 | SCALE_SRCS-$(HAVE_NEON) += arm/neon/vp8_vpxyv12_extendframeborders_neon$(ASM) 16 | SCALE_SRCS-$(HAVE_NEON) += arm/neon/yv12extend_arm.c 17 | 18 | SCALE_SRCS-no += $(SCALE_SRCS_REMOVE-yes) 19 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx_scale/vpxscale.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef VPXSCALE_H 13 | #define VPXSCALE_H 14 | 15 | #include "vpx_scale/yv12config.h" 16 | 17 | extern void vp8_yv12_scale_or_center 18 | ( 19 | YV12_BUFFER_CONFIG *src_yuv_config, 20 | YV12_BUFFER_CONFIG *dst_yuv_config, 21 | int expanded_frame_width, 22 | int expanded_frame_height, 23 | int scaling_mode, 24 | int HScale, 25 | int HRatio, 26 | int VScale, 27 | int VRatio 28 | ); 29 | extern void vp8_scale_frame 30 | ( 31 | YV12_BUFFER_CONFIG *src, 32 | YV12_BUFFER_CONFIG *dst, 33 | unsigned char *temp_area, 34 | unsigned char temp_height, 35 | unsigned int hscale, 36 | unsigned int hratio, 37 | unsigned int vscale, 38 | unsigned int vratio, 39 | unsigned int interlaced 40 | ); 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /thirdparty/webm/src/vpx_scale/yv12config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | 12 | #ifndef YV12_CONFIG_H 13 | #define YV12_CONFIG_H 14 | #ifdef __cplusplus 15 | extern "C" 16 | { 17 | #endif 18 | 19 | #define VP7BORDERINPIXELS 48 20 | #define VP8BORDERINPIXELS 32 21 | 22 | /************************************* 23 | For INT_YUV: 24 | 25 | Y = (R+G*2+B)/4; 26 | U = (R-B)/2; 27 | V = (G*2 - R - B)/4; 28 | And 29 | R = Y+U-V; 30 | G = Y+V; 31 | B = Y-U-V; 32 | ************************************/ 33 | typedef enum 34 | { 35 | REG_YUV = 0, /* Regular yuv */ 36 | INT_YUV = 1 /* The type of yuv that can be tranfer to and from RGB through integer transform */ 37 | } 38 | YUV_TYPE; 39 | 40 | typedef struct yv12_buffer_config 41 | { 42 | int y_width; 43 | int y_height; 44 | int y_stride; 45 | /* int yinternal_width; */ 46 | 47 | int uv_width; 48 | int uv_height; 49 | int uv_stride; 50 | /* int uvinternal_width; */ 51 | 52 | unsigned char *y_buffer; 53 | unsigned char *u_buffer; 54 | unsigned char *v_buffer; 55 | 56 | unsigned char *buffer_alloc; 57 | int border; 58 | int frame_size; 59 | YUV_TYPE clrtype; 60 | 61 | int corrupted; 62 | int flags; 63 | } YV12_BUFFER_CONFIG; 64 | 65 | int vp8_yv12_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, int height, int border); 66 | int vp8_yv12_de_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf); 67 | 68 | #ifdef __cplusplus 69 | } 70 | #endif 71 | 72 | 73 | #endif /*YV12_CONFIG_H*/ 74 | -------------------------------------------------------------------------------- /thirdparty/webm/src/y4minput.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | * 10 | * Based on code from the OggTheora software codec source code, 11 | * Copyright (C) 2002-2010 The Xiph.Org Foundation and contributors. 12 | */ 13 | #if !defined(_y4minput_H) 14 | # define _y4minput_H (1) 15 | # include 16 | # include "vpx/vpx_image.h" 17 | 18 | 19 | 20 | typedef struct y4m_input y4m_input; 21 | 22 | 23 | 24 | /*The function used to perform chroma conversion.*/ 25 | typedef void (*y4m_convert_func)(y4m_input *_y4m, 26 | unsigned char *_dst,unsigned char *_src); 27 | 28 | 29 | 30 | struct y4m_input{ 31 | int pic_w; 32 | int pic_h; 33 | int fps_n; 34 | int fps_d; 35 | int par_n; 36 | int par_d; 37 | char interlace; 38 | int src_c_dec_h; 39 | int src_c_dec_v; 40 | int dst_c_dec_h; 41 | int dst_c_dec_v; 42 | char chroma_type[16]; 43 | /*The size of each converted frame buffer.*/ 44 | size_t dst_buf_sz; 45 | /*The amount to read directly into the converted frame buffer.*/ 46 | size_t dst_buf_read_sz; 47 | /*The size of the auxilliary buffer.*/ 48 | size_t aux_buf_sz; 49 | /*The amount to read into the auxilliary buffer.*/ 50 | size_t aux_buf_read_sz; 51 | y4m_convert_func convert; 52 | unsigned char *dst_buf; 53 | unsigned char *aux_buf; 54 | }; 55 | 56 | int y4m_input_open(y4m_input *_y4m,FILE *_fin,char *_skip,int _nskip); 57 | void y4m_input_close(y4m_input *_y4m); 58 | int y4m_input_fetch_frame(y4m_input *_y4m,FILE *_fin,vpx_image_t *img); 59 | 60 | #endif 61 | -------------------------------------------------------------------------------- /thirdparty/zlib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(zlib) 2 | 3 | # Create the list of source files 4 | aux_source_directory( . source_files ) 5 | 6 | # Define _UNICODE (use wide-char encoding) 7 | add_definitions(-D_UNICODE -D_CRT_SECURE_NO_DEPRECATE /wd4996 /wd4131 /wd4244 /wd4127) 8 | 9 | fix_default_compiler_settings_() 10 | 11 | # Add library build target 12 | add_library(zlib STATIC ${source_files}) 13 | 14 | set_target_properties(zlib PROPERTIES DEBUG_POSTFIX d ) -------------------------------------------------------------------------------- /thirdparty/zlib/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svn2github/crashrpt/c74fa63dcd352ed020d4c8256be4869d9b56e9c9/thirdparty/zlib/ChangeLog -------------------------------------------------------------------------------- /thirdparty/zlib/gzclose.c: -------------------------------------------------------------------------------- 1 | /* gzclose.c -- zlib gzclose() function 2 | * Copyright (C) 2004, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | #include "gzguts.h" 7 | 8 | /* gzclose() is in a separate file so that it is linked in only if it is used. 9 | That way the other gzclose functions can be used instead to avoid linking in 10 | unneeded compression or decompression routines. */ 11 | int ZEXPORT gzclose(file) 12 | gzFile file; 13 | { 14 | #ifndef NO_GZCOMPRESS 15 | gz_statep state; 16 | 17 | if (file == NULL) 18 | return Z_STREAM_ERROR; 19 | state = (gz_statep)file; 20 | 21 | return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file); 22 | #else 23 | return gzclose_r(file); 24 | #endif 25 | } 26 | -------------------------------------------------------------------------------- /thirdparty/zlib/inffast.h: -------------------------------------------------------------------------------- 1 | /* inffast.h -- header to use inffast.c 2 | * Copyright (C) 1995-2003, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start)); 12 | -------------------------------------------------------------------------------- /version.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 1403 6 | 7 | 8 | 9 | 10 | 11 | $(CrashRptVer) 12 | 13 | 14 | --------------------------------------------------------------------------------