- Mar 07, 2025
-
-
Petter Reinholdtsen authored
The ftime method has been removed from POSIX and is depricated on Linux. clock_gettime() work better on Linux, but is not available on Windows, so fall back to ftime() if autotools/scons fail to detect clock_gettime(). Based on proposal in opusfile!9. Fixes the following compiler messages: ../../examples/dump_video.c: In function ‘main’: ../../examples/dump_video.c:490:5: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Werror=deprecated-declarations] 490 | ftime(&start); | ^~~~~ In file included from ../../examples/dump_video.c:40: /usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ ../../examples/dump_video.c:491:5: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Werror=deprecated-declarations] 491 | ftime(&last); | ^~~~~ /usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ ../../examples/dump_video.c:505:13: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Werror=deprecated-declarations] 505 | ftime(&after); | ^~~~~ /usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~
-
- Jun 18, 2020
-
-
Ralph Giles authored
Align indents to two spaces for cosmetic uniformity.
-
Signed-off-by:
Ralph Giles <giles@thaumas.net>
-
- Feb 15, 2011
-
-
Ralph Giles authored
This is a modified version of png2theora, using libtiff instead of libpng to read a sequence of tiff image files and convert them to an Ogg Theora video. Originally added because the Sintel film project was giving us tiff frames and waiting for conversion to png before encoding was tedious. In fact, it nearly took longer than creating this program. svn path=/trunk/theora/; revision=17844
-
- Dec 13, 2010
-
-
Ralph Giles authored
svn path=/trunk/theora/; revision=17753
-
- Dec 02, 2010
-
-
Ralph Giles authored
This program shows how to query a few version-dependent library paramenters, such as the vendor string and maximum speed level, and prints a summary to stdout in 'header: value' format. I mostly wanted this as a utility to get the maximum speed level for benchmark scripts, but thought it structuring it as an example was better than stuffing it in tools. It would be reasonable to extend this to return decoder parameters like the maximum preprocessing level. svn path=/trunk/theora/; revision=17709
-
- Nov 30, 2010
-
-
Ralph Giles authored
Invoking the build with 'scons collect_metrics=1' will compile the library -DOC_COLLECT_METRICS, which enables recording training metrics. svn path=/trunk/theora/; revision=17692
-
- Sep 23, 2010
-
-
Ralph Giles authored
This will be the basis of the 1.2.x releases. svn path=/trunk/theora/; revision=17445
-