Ticket #2828: t2828_v1.patch
File t2828_v1.patch, 4.0 KB (added by , 8 years ago) |
---|
-
build/premake/extern_libs4.lua
422 422 }) 423 423 end, 424 424 }, 425 libjpg = {426 compile_settings = function()427 if os.is("windows") or os.is("macosx") then428 add_default_include_paths("libjpg")429 end430 end,431 link_settings = function()432 if os.is("windows") or os.is("macosx") then433 add_default_lib_paths("libjpg")434 end435 add_default_links({436 win_names = { "jpeg-6b" },437 unix_names = { "jpeg" },438 })439 end,440 },441 425 libpng = { 442 426 compile_settings = function() 443 427 if os.is("windows") or os.is("macosx") then -
build/premake/premake4.lua
814 814 "opengl", 815 815 "libpng", 816 816 "zlib", 817 "libjpg",818 817 "valgrind", 819 818 "cxxtest", 820 819 } … … 898 897 "opengl", 899 898 "sdl", 900 899 901 "libjpg",902 900 "libpng", 903 901 "zlib", 904 902 -
libraries/source/nvtt/src/src/nvconfig.h.in
8 8 #cmakedefine HAVE_MALLOC_H 9 9 10 10 #cmakedefine HAVE_PNG 11 #cmakedefine HAVE_JPEG12 11 #cmakedefine HAVE_TIFF 13 12 #cmakedefine HAVE_OPENEXR 14 13 -
source/lib/tex/tex_codec.cpp
36 36 // Statically allocate all of the codecs... 37 37 TexCodecDds DdsCodec; 38 38 TexCodecPng PngCodec; 39 TexCodecJpg JpgCodec;40 39 TexCodecTga TgaCodec; 41 40 TexCodecBmp BmpCodec; 42 41 // Codecs will be searched in this order 43 42 static const ITexCodec *codecs[] = {(ITexCodec *)&DdsCodec, (ITexCodec *)&PngCodec, 44 (ITexCodec *)&JpgCodec,(ITexCodec *)&TgaCodec, (ITexCodec *)&BmpCodec};43 (ITexCodec *)&TgaCodec, (ITexCodec *)&BmpCodec}; 45 44 static const int codecs_len = sizeof(codecs) / sizeof(ITexCodec*); 46 45 47 46 // find codec that recognizes the desired output file extension, -
source/lib/tex/tex_codec.h
131 131 }; 132 132 }; 133 133 134 class TexCodecJpg:ITexCodec {135 public:136 virtual Status decode(u8* data, size_t size, Tex* RESTRICT t) const;137 virtual Status encode(Tex* RESTRICT t, DynArray* RESTRICT da) const;138 virtual Status transform(Tex* t, size_t transforms) const;139 virtual bool is_hdr(const u8* file) const;140 virtual bool is_ext(const OsPath& extension) const;141 virtual size_t hdr_size(const u8* file) const;142 virtual const wchar_t* get_name() const {143 static const wchar_t *name = L"jpg";144 return name;145 };146 };147 148 134 class TexCodecDds:ITexCodec { 149 135 public: 150 136 virtual Status decode(u8* data, size_t size, Tex* RESTRICT t) const; -
source/tools/dist/0ad.nsi
80 80 File /r /x "public" /x "mod" /x "dev.cfg" "${CHECKOUTPATH}\binaries" 81 81 !else 82 82 ; Exclude debug DLLs and related files 83 File /r /x "public" /x "mod" /x "dev.cfg" /x "*_d.dll" /x "enetd.dll" /x "FColladaD.dll" /x "gloox-1.0d.dll" /x "glooxwrapper_dbg.*" /x " jpeg-6bd.dll" /x "libcurld.dll" /x "libpng16d.dll" /x "miniupnpcd.dll" /x "mozjs*-ps-debug.*" /x "msvc*d.dll" /x "zlib1d.dll" "${CHECKOUTPATH}\binaries"83 File /r /x "public" /x "mod" /x "dev.cfg" /x "*_d.dll" /x "enetd.dll" /x "FColladaD.dll" /x "gloox-1.0d.dll" /x "glooxwrapper_dbg.*" /x "libcurld.dll" /x "libpng16d.dll" /x "miniupnpcd.dll" /x "mozjs*-ps-debug.*" /x "msvc*d.dll" /x "zlib1d.dll" "${CHECKOUTPATH}\binaries" 84 84 !endif 85 85 86 86 SetOutPath "$INSTDIR\binaries\data\mods\public"