1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-18 03:19:31 +02:00
Commit Graph

27 Commits

Author SHA1 Message Date
Mans Rullgard
d0e9415d23 fate: avoid freopen(NULL) in videogen/rotozoom
A number of systems do not implement freopen() with a NULL filename
correctly.  This changes these programs to output individual images
if opening a named output argument as a file fails, in this case
assuming it is a directory.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-07 11:28:39 +01:00
Mans Rullgard
7e5880e0cb fate: teach videogen/rotozoom to output a single raw video stream
This makes videogen/rotozoom output a raw video stream on stdout
if no output directory is specified.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-29 08:27:19 +01:00
Diego Biurrun
f0ccd53a3b tests: Refactor rotozoom/videogen common code into a separate file. 2012-05-05 17:11:06 +02:00
Diego Biurrun
814208a7a6 tests: Mark some file-internal symbols as static. 2012-05-05 16:32:57 +02:00
Gaurav Narula
b481bbc32a tests: K&R formatting cosmetics for test programs 2012-01-18 21:07:17 +01:00
Diego Biurrun
58c42af722 doxygen: misc consistency, spelling and wording fixes 2011-12-12 23:06:23 +01:00
Diego Biurrun
e1e0ca70eb rotozoom: Eliminate French variable name. 2011-05-11 11:54:58 +02:00
Diego Biurrun
cbb0930f0e rotozoom: Check return value of fread().
This fixes the warnings:
tests/rotozoom.c:252: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
tests/rotozoom.c:254: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
2011-05-11 11:54:57 +02:00
Diego Biurrun
771339ca20 rotozoom: Return an error value instead of calling exit(). 2011-05-11 11:54:57 +02:00
Diego Biurrun
2131e8590c rotozoom: Make init_demo() return int and check for errors on invocation. 2011-05-11 11:54:57 +02:00
Diego Biurrun
5a37c12c82 rotozoom: Drop silly UINT8 typedef. 2011-05-11 11:54:57 +02:00
Diego Biurrun
e9c10459a3 rotozoom: Drop some unnecessary parentheses. 2011-05-11 11:54:57 +02:00
Diego Biurrun
f628559d9a rotozoom: K&R coding style cosmetics 2011-05-11 11:54:56 +02:00
Diego Biurrun
03acaa4a43 tests: Remove disabled code. 2011-04-29 18:08:46 +02:00
Mans Rullgard
2912e87a6c Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:33:20 +00:00
Carl Eugen Hoyos
6c2a778d38 Remove unused global variable.
Originally committed as revision 19483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 08:28:58 +00:00
Carl Eugen Hoyos
9276b8f0cc Calculate gradient from parameter instead of using a global variable.
Originally committed as revision 19482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 08:26:17 +00:00
Diego Biurrun
6f2162b471 Mark functions only used within the test programs as static.
Originally committed as revision 17454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 10:09:46 +00:00
Diego Biurrun
01d193aaec Relicense to LGPL and add standard license header.
Approved by the author, Sebastien Bechet, over email.

Originally committed as revision 8188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 10:15:07 +00:00
Diego Biurrun
bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun
115329f160 COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Sam Hocevar
528bbdde7f Add a leading zero to the sequence files generated by the testsuite
so they always appear in proper order.
patch by Sam Hocevar < sam -- at -- zoy -- dot -- org >

Originally committed as revision 4606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-21 00:09:02 +00:00
Michael Niedermayer
6feb1de50f r/w -> rb/wb
Originally committed as revision 3774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-24 12:34:11 +00:00
Fabrice Bellard
67f7f31697 use explicit image name
Originally committed as revision 1930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-05 12:36:34 +00:00
Michael Niedermayer
2add6b5db7 use bilinear interpolation for the rotozoom
Originally committed as revision 1759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-12 02:32:33 +00:00
Michael Niedermayer
6afd3b92b4 finished integrating rotozoom test in ffmpeg
replaced float by integer to avoid rounding differenes between platforms

Originally committed as revision 1755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-11 13:43:17 +00:00
Michael Niedermayer
6696163608 alternative test video generator by (Sebastien Bechet <s dot bechet at av7 dot net>)
Originally committed as revision 1754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-11 10:07:57 +00:00