Some doc fixes.
authorCarl Hetherington <cth@carlh.net>
Mon, 28 Apr 2014 23:28:51 +0000 (00:28 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 28 Apr 2014 23:28:51 +0000 (00:28 +0100)
Doxyfile
doc/mainpage.txt
test/4k_test.cc
test/audio_analysis_test.cc
test/audio_delay_test.cc
test/audio_mapping_test.cc
test/black_fill_test.cc
test/client_server_test.cc

index 4ed65e4f14c5bb940b5eb4bfa894339dcbab1908..9dc348635f0d29e10a52bc004ffd98a5ce9d17de 100644 (file)
--- a/Doxyfile
+++ b/Doxyfile
@@ -661,7 +661,7 @@ WARN_LOGFILE           =
 # directories like "/usr/src/myproject". Separate the files or directories
 # with spaces.
 
-INPUT                  = src/lib src/wx src/tools \
+INPUT                  = src/lib src/wx src/tools test \
                          doc/mainpage.txt
 
 # This tag can be used to specify the character encoding of the source files
index 649c9c60913506e43cb4c4084ce9dc4209edf453..a1cd9bac8d7bb9a128b2f1f988ea4fab86e36702 100644 (file)
@@ -1,7 +1,7 @@
 /** @mainpage DCP-o-matic
  *
  *  DCP-o-matic is a tool to create digital cinema packages (DCPs) from
- *  video files, or from sets of TIFF image files.  It is written in C++
+ *  video files, or from sets of image files.  It is written in C++
  *  and distributed under the GPL.
  *
  *  Video files are decoded using FFmpeg (http://ffmpeg.org), so any video
  *  for debugging purposes.
  *
  *  Thanks are due to the authors and communities of all DCP-o-matic's dependencies.
- * 
- *  DCP-o-matic is distributed in the hope that there are still cinemas with projectionists
- *  who might want to use it.  As Mark Kermode says, "if it doesn't have a projectionist
- *  it's not a cinema - it's a sweetshop with a video-screen."
  *
- *  Email correspondance is welcome to cth@carlh.net
+ *  Email correspondance is welcome to carl@dcpomatic.com
  *
- *  More details can be found at http://carlh.net/software/dcpomatic
+ *  More details can be found at http://dcpomatic.com/
  */
index f2892c5a3a8fd6945a13a0757e238884bc76c2c5..1e0b42697aa297cb84891039e05327993afddfb1 100644 (file)
 
 */
 
+/** @file  test/4k_test.cc
+ *  @brief Run a 4K encode from a simple input.
+ *
+ *  The output is checked against test/data/4k_test.
+ */
+
 #include <boost/test/unit_test.hpp>
 #include "lib/film.h"
 #include "lib/ffmpeg_content.h"
index b94b120564a13af559571323bb102494eba0cc2b..13a8dac8436e3fe832e064f11411ea7c051711b5 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 
 */
 
+/** @file  test/audio_analysis_test.cc
+ *  @brief Check serialisation of audio analyses.
+ */
+
 #include <boost/test/unit_test.hpp>
 #include "lib/audio_analysis.h"
 
@@ -26,7 +30,6 @@ random_float ()
        return (float (rand ()) / RAND_MAX) * 2 - 1;
 }
 
-/* Check serialisation of audio analyses */
 BOOST_AUTO_TEST_CASE (audio_analysis_test)
 {
        int const channels = 3;
index 2e02fa999e9b1e5d617bf2c0bc5b9f064dec60b3..8f4ca836a0feba8ccf116da4f933c0847efe688c 100644 (file)
 
 */
 
+/** @file  test/audio_delay_test.cc
+ *  @brief Test encode using some SndfileContents which have audio delays.
+ *
+ *  The output is checked algorithmically using knowledge of the input.
+ */
+
 #include <boost/test/unit_test.hpp>
 #include <dcp/sound_frame.h>
 #include <dcp/cpl.h>
@@ -87,7 +93,6 @@ void test_audio_delay (int delay_in_ms)
        }
 }
 
-
 /* Test audio delay when specified in a piece of audio content */
 BOOST_AUTO_TEST_CASE (audio_delay_test)
 {
index 1fc20dcaf6e0433dcfcaebdcf3afc4a0ddcc955c..f8467f3de9b144f70e2f620e1510eb2ee05191ab 100644 (file)
 
 */
 
+/** @file  test/audio_mapping_test.cc
+ *  @brief Basic tests of the AudioMapping class, which itself doesn't really do much.
+ */
+
 #include <boost/test/unit_test.hpp>
 #include "lib/audio_mapping.h"
 #include "lib/util.h"
 
-/* Basic tests of the AudioMapping class, which itself
-   doesn't really do much.
-*/
 BOOST_AUTO_TEST_CASE (audio_mapping_test)
 {
        AudioMapping none;
index a7e44bdfbd34f3360f5460bcc612b8562de70004..ef768b9a49daa2d7fd1ff1debfe671335504ca18 100644 (file)
@@ -25,7 +25,7 @@
 #include "test.h"
 
 /** @file test/black_fill_test.cc
- *  @brief Test insertion of black frames between video content.
+ *  @brief Test insertion of black frames between separate bits of video content.
  */
 
 using boost::shared_ptr;
index 54bbd520f8dd9c8d37ca2d1b30efd00cf2bca2f4..3faf3e74c455e3a08fbdb698afa03deefa4cd913 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 
 */
 
+/** @file  test/client_server_test.cc
+ *  @brief Test the server class.
+ *
+ *  Create a test image and then encode it using the standard mechanism
+ *  and also using a Server object running on localhost.  Compare the resulting
+ *  encoded data to check that they are the same.
+ */
+
 #include <boost/test/unit_test.hpp>
 #include <boost/thread.hpp>
 #include "lib/server.h"