From 1270da362693c8431f8e2b71088a1e7e2c517c3d Mon Sep 17 00:00:00 2001 From: Ari Koivula Date: Tue, 15 Dec 2015 15:39:44 +0200 Subject: [PATCH] Move files under their modules in Visual Studio Also moves CLI stuff under CLI project, so they are compiled as their own lib just like when the Makefile is used. The file interface_main.c was an artifact from a bygone era and should have been deleted long ago. --- build/kvazaar_cli/kvazaar_cli.vcxproj | 8 +- build/kvazaar_cli/kvazaar_cli.vcxproj.filters | 20 +- build/kvazaar_lib/kvazaar_lib.vcxproj | 5 - build/kvazaar_lib/kvazaar_lib.vcxproj.filters | 624 +++++++++--------- src/interface_main.c | 50 -- 5 files changed, 310 insertions(+), 397 deletions(-) delete mode 100644 src/interface_main.c diff --git a/build/kvazaar_cli/kvazaar_cli.vcxproj b/build/kvazaar_cli/kvazaar_cli.vcxproj index 2abe3437..173acd36 100644 --- a/build/kvazaar_cli/kvazaar_cli.vcxproj +++ b/build/kvazaar_cli/kvazaar_cli.vcxproj @@ -87,7 +87,13 @@ - + + + + + + + diff --git a/build/kvazaar_cli/kvazaar_cli.vcxproj.filters b/build/kvazaar_cli/kvazaar_cli.vcxproj.filters index b848df5d..0f16c487 100644 --- a/build/kvazaar_cli/kvazaar_cli.vcxproj.filters +++ b/build/kvazaar_cli/kvazaar_cli.vcxproj.filters @@ -1,22 +1,12 @@  - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - + + + - - Source Files - + + \ No newline at end of file diff --git a/build/kvazaar_lib/kvazaar_lib.vcxproj b/build/kvazaar_lib/kvazaar_lib.vcxproj index a4af9567..610438ed 100644 --- a/build/kvazaar_lib/kvazaar_lib.vcxproj +++ b/build/kvazaar_lib/kvazaar_lib.vcxproj @@ -129,11 +129,9 @@ - - @@ -169,9 +167,7 @@ - - @@ -224,7 +220,6 @@ - diff --git a/build/kvazaar_lib/kvazaar_lib.vcxproj.filters b/build/kvazaar_lib/kvazaar_lib.vcxproj.filters index c874bea8..518a42b1 100644 --- a/build/kvazaar_lib/kvazaar_lib.vcxproj.filters +++ b/build/kvazaar_lib/kvazaar_lib.vcxproj.filters @@ -1,428 +1,400 @@  - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + {c7f0ebb9-e5c1-479d-bb12-c2403f551ae0} - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd + + {2d160ce0-596b-4f8c-ae61-1ddd5ccbe1ea} - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + {871a51e7-0a11-4870-ad93-0809af9a2412} - - {84b28f88-c0de-4ee8-8566-c2c56d2b0f6e} + + {8a1eee84-49e9-4e2d-9681-a23a774cdb18} - + + {1dce39e5-50a3-4cd7-adfa-6d382446debd} + + {aa218f1d-2e13-425d-80a7-3f4d74076c5c} - + {e4e77a4f-e708-4b11-9ba7-9d2b746e3f5d} - + {0c7b7451-4b19-443f-b51c-588e63bb4c93} - + {2b47e32d-3fee-4a34-a4cb-8453b769b1b0} - + {770e42cd-56bc-4377-af83-c14872722ed2} - - {62b39266-3f82-421d-91df-7f12caa817ad} - - - {675b31f0-f1a3-4b1f-b436-ae24c2ab7279} - - - {1e811a93-2291-426e-951b-0c1137af77f7} - - - {9e275b7f-3094-4614-b817-6ce0bee827b2} - - - {7b258ce6-90d8-4e47-ab43-babda9eefbd9} - - - {80a08f4c-ca27-488b-bd63-8df6eacd1f3a} - - + {4ffb5d27-c5bb-44d5-a935-fa93066a259e} - + {d0ce7d00-30c6-4e8a-b96e-51e13cb038ea} - - {62f151c5-cdcd-46e5-aaef-fe5fdd33dce4} + + {c696e039-5ba4-48ab-845d-cfe1a5713525} + + + {7b258ce6-90d8-4e47-ab43-babda9eefbd9} + + + {f4560af3-b3b4-47b4-b401-908f2d279847} + + + {63c21cb2-b379-4d38-bcb8-173786c2466d} - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - Source Files\strategies + Optimization\strategies - Source Files\strategies + Optimization\strategies - Source Files\strategies\generic + Optimization\strategies\generic - Source Files\strategies\generic + Optimization\strategies\generic - Source Files\strategies\altivec + Optimization\strategies\altivec - Source Files\strategies\sse41 + Optimization\strategies\sse41 - Source Files\strategies\sse2 + Optimization\strategies\sse2 - Source Files\strategies\avx2 + Optimization\strategies\avx2 - Source Files\strategies\x86_asm + Optimization\strategies\x86_asm - Source Files\strategies\avx2 + Optimization\strategies\avx2 - Source Files\strategies\generic + Optimization\strategies\generic - Source Files\strategies + Optimization\strategies - Source Files\strategies + Optimization\strategies - Source Files\strategies\avx2 + Optimization\strategies\avx2 - Source Files\strategies\generic - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files + Optimization\strategies\generic - Source Files\strategies + Optimization\strategies - Source Files\strategies\generic + Optimization\strategies\generic - Source Files\strategies\avx2 + Optimization\strategies\avx2 - Source Files\strategies + Optimization\strategies - Source Files\strategies\generic + Optimization\strategies\generic - Source Files\strategies\avx2 + Optimization\strategies\avx2 + + + Compression + + + Compression + + + Compression + + + Control + + + Control + + + Control + + + Control + + + CABAC + + + CABAC + + + CABAC + + + Control + + + Reconstruction + + + Extras + + + Data structures + + + Data structures + + + Data structures + + + Data structures + + + Compression + + + Reconstruction + + + Reconstruction + + + Control + + + Control + + + Bitstream + + + Control + + + Reconstruction + + + Optimization + + + Reconstruction + + + Reconstruction + + + Reconstruction + + + Threading + + + Bitstream - - Header Files - - - Header Files - - Header Files - - - Header Files + CABAC - Header Files - - - Header Files - - - Header Files - - - Header Files + CABAC - Header Files + CABAC - - Header Files + + Control - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files + + Control - Header Files + Control - Header Files + Control - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files\strategies - - - Header Files\strategies - - - Header Files\strategies\altivec - - - Header Files\strategies\generic - - - Header Files\strategies\generic - - - Header Files\strategies\sse41 - - - Header Files\strategies\sse2 - - - Header Files\strategies\avx2 - - - Header Files\strategies\x86_asm - - - Header Files\strategies\x86_asm - - - Header Files\strategies\x86_asm - - - Header Files\strategies\avx2 - - - Header Files\strategies - - - Header Files\strategies\generic - - - Header Files\strategies - - - Header Files\strategies\generic - - - Header Files\strategies\avx2 - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files + + Control - Header Files + Control + + + Control + + + Threading + + + Threading + + + Control + + + Control + + + Control + + + Data structures + + + Data structures + + + Data structures + + + Data structures + + + Extras + + + Reconstruction + + + Reconstruction + + + Reconstruction + + + Reconstruction + + + Reconstruction + + + Reconstruction + + + Reconstruction + + + + + Optimization + + + Compression + + + Compression + + + Compression + + + Bitstream + + + Compression - Header Files\strategies + Optimization\strategies - - Header Files\strategies - - - Header Files\strategies\generic - - - Header Files\strategies\avx2 + + Optimization\strategies - Header Files\strategies + Optimization\strategies + + + Optimization\strategies + + + Optimization\strategies + + + Optimization\strategies + + + Optimization\strategies + + + Optimization\strategies\x86_asm + + + Optimization\strategies\x86_asm + + + Optimization\strategies\x86_asm + + + Optimization\strategies\sse41 + + + Optimization\strategies\sse2 + + + Optimization\strategies\generic - Header Files\strategies\generic + Optimization\strategies\generic + + + Optimization\strategies\generic + + + Optimization\strategies\generic + + + Optimization\strategies\generic + + + Optimization\strategies\generic + + + Optimization\strategies\avx2 - Header Files\strategies\avx2 + Optimization\strategies\avx2 + + + Optimization\strategies\avx2 + + + Optimization\strategies\avx2 + + + Optimization\strategies\avx2 + + + Optimization\strategies\altivec + + + Bitstream - Source Files\extras + Extras - Source Files\strategies\x86_asm + Optimization\strategies\x86_asm - Source Files\strategies\x86_asm + Optimization\strategies\x86_asm \ No newline at end of file diff --git a/src/interface_main.c b/src/interface_main.c deleted file mode 100644 index 2f6106da..00000000 --- a/src/interface_main.c +++ /dev/null @@ -1,50 +0,0 @@ -/***************************************************************************** - * This file is part of Kvazaar HEVC encoder. - * - * Copyright (C) 2013-2015 Tampere University of Technology and others (see - * COPYING file). - * - * Kvazaar is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the - * Free Software Foundation; either version 2.1 of the License, or (at your - * option) any later version. - * - * Kvazaar is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with Kvazaar. If not, see . - ****************************************************************************/ - -/** - * \file - * \brief Entry point for the Visual Studio project. - * - * This file is needed for Visual Studio, because it will not link the main - * function from the .lib if the project has no .c files. - * - * \author Marko Viitanen ( fador@iki.fi ), - * Tampere University of Technology, - * Department of Pervasive Computing. - * \author Ari Koivula ( ari@koivu.la ), - * Tampere University of Technology, - * Department of Pervasive Computing. - */ - -// This is not actually needed, because the linker will use the main from the -// .lib of the encoder, but I will leave it here in case we encounter some -// problem with that. -/* -int encmain(int argc, char *argv[]); - -int main(int argc, char *argv[]) -{ - int i = 10; - while (i) { - --i; - } - return encmain(argc, argv); -} -*/