summaryrefslogtreecommitdiffstats
path: root/tests/rotozoom.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-071-5/+6
|\ | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mpegts: Remove disabled extension matching probe. fate: avoid freopen(NULL) in videogen/rotozoom Conflicts: tests/rotozoom.c tests/videogen.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: avoid freopen(NULL) in videogen/rotozoomMans Rullgard2012-06-071-5/+6
| | | | | | | | | | | | | | | | | | 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>
* | fate: dont freopen() stdoutMichael Niedermayer2012-05-311-2/+2
| | | | | | | | | | | | it doesnt work and breaks most BSDs Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'f919cc7df6ab844bc12f89fe7bef4fb915a47725'Michael Niedermayer2012-05-301-5/+12
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f919cc7df6ab844bc12f89fe7bef4fb915a47725': fate: fix acodec/vsynth tests for make 3.81 pcm_mpeg: fix number of consumed bytes to include the header. avfilter: include required header file avfilter.h in video.h x86: Avoid movs on BUTTERFLYPS when in AVX mode x86: use new schema for ASM macros fate: convert codec-regression.sh to makefile rules fate: allow tests to specify unit size for psnr comparison fate: teach videogen/rotozoom to output a single raw video stream http: Add support for reusing the http socket for subsequent requests http: Add support for using persistent connections Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: teach videogen/rotozoom to output a single raw video streamMans Rullgard2012-05-291-5/+12
| | | | | | | | | | | | | | 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>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-05-051-129/+7
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: tests: Refactor rotozoom/videogen common code into a separate file. tests: Mark some file-internal symbols as static. build: Drop leftover .exp pattern from LIBSUFFIXES list. vsrc_buffer: return EAGAIN if no frame is available. WMAL: Shift output samples by the specified number of padding zeroes. WMAL: Restore removed code in mclms_predict() rtpdec_h264: Remove a useless ifdef rtpdec_h264: Remove outdated/useless/incorrect comments rtpdec_h264: Remove useless memory corruption checks rtpdec_h264: Return proper error codes rtpdec_h264: Check the available data length before reading rtpdec_h264: Add input size checks png: check bit depth for PAL8/Y400A pixel formats. ea: check chunk_size for validity. celp filters: Do not read earlier than the start of the 'out' vector. Conflicts: libavcodec/pngdec.c libavfilter/src_buffer.c tests/rotozoom.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * tests: Refactor rotozoom/videogen common code into a separate file.Diego Biurrun2012-05-051-124/+2
| |
| * tests: Mark some file-internal symbols as static.Diego Biurrun2012-05-051-7/+7
| |
* | tests/rotozoom: make some things const.Michael Niedermayer2012-03-151-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-191-55/+58
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avprobe, cmdutils: K&R formatting cosmetics tests: K&R formatting cosmetics for test programs lavf: free packets for muxers implementing interleave_packet(). lavf: fix and extend av_interleaved_write_frame() doxy. mov: Remove dead stores for spherical coordinates for channel position. error_resilience: K&R formatting cosmetics RELEASE_NOTES: mention hiding private symbols in shared builds. RELEASE_NOTES: mention some notable API changes in 0.8 Conflicts: cmdutils.h doc/RELEASE_NOTES ffprobe.c libavcodec/error_resilience.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * tests: K&R formatting cosmetics for test programsGaurav Narula2012-01-181-55/+58
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-131-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: doxygen: misc consistency, spelling and wording fixes vcr1: drop unnecessary emms_c() calls without MMX code Replace all uses of av_close_input_file() with avformat_close_input(). lavf: add avformat_close_input(). lavf: deprecate av_close_input_stream(). lavf doxy: add some basic demuxing documentation. lavf doxy: add some general lavf information. lavf doxy: add misc utility functions to a group. lavf doxy: add av_guess_codec/format to the encoding group. lavf doxy: add core functions to a doxy group. Add basic libavdevice documentation. lavc: convert error_recognition to err_recognition. avconv: update -map option help text x86: Require 7 registers for the cabac asm x86: bswap: remove test for bswap instruction bswap: make generic implementation more compiler-friendly h264: remove useless cast proresdec: fix decode_slice() prototype Conflicts: configure doc/APIchanges ffprobe.c libavcodec/avcodec.h libavcodec/celp_math.h libavcodec/h264.c libavfilter/src_movie.c libavformat/anm.c libavformat/avformat.h libavformat/version.h libavutil/avstring.h libavutil/bswap.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxygen: misc consistency, spelling and wording fixesDiego Biurrun2011-12-121-1/+1
| |
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-05-121-115/+117
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (32 commits) 10-bit H.264 x86 chroma v loopfilter asm Port SMPTE S302M audio decoder from FFmbc 0.3. [Copyright headers corrected] Fix crash of interlaced MPEG2 decoding h264pred: fix one more aliasing violation. doc/APIchanges: fill in missing hashes and dates. flacenc: use proper initializers for AVOption default values. lavc: deprecate named constants for deprecated antialias_algo. aac: workaround for compilation on cygwin swscale: extend YUV422p support to 10bits depth tiff: add support for inverted FillOrder for uncompressed data Remove unused softfloat implementation. h264pred: fix aliasing violations. rotozoom: Eliminate French variable name. rotozoom: Check return value of fread(). rotozoom: Return an error value instead of calling exit(). rotozoom: Make init_demo() return int and check for errors on invocation. rotozoom: Drop silly UINT8 typedef. rotozoom: Drop some unnecessary parentheses. rotozoom: K&R coding style cosmetics rtsp: Only do keepalive using GET_PARAMETER if the server supports it ... Conflicts: Changelog cmdutils.c doc/APIchanges doc/general.texi ffmpeg.c ffplay.c libavcodec/h264pred_template.c libavcodec/resample.c libavutil/pixfmt.h libavutil/softfloat.c libavutil/softfloat.h tests/rotozoom.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rotozoom: Eliminate French variable name.Diego Biurrun2011-05-111-6/+6
| |
| * rotozoom: Check return value of fread().Diego Biurrun2011-05-111-2/+4
| | | | | | | | | | | | 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
| * rotozoom: Return an error value instead of calling exit().Diego Biurrun2011-05-111-1/+1
| |
| * rotozoom: Make init_demo() return int and check for errors on invocation.Diego Biurrun2011-05-111-3/+6
| |
| * rotozoom: Drop silly UINT8 typedef.Diego Biurrun2011-05-111-4/+4
| |
| * rotozoom: Drop some unnecessary parentheses.Diego Biurrun2011-05-111-5/+5
| |
| * rotozoom: K&R coding style cosmeticsDiego Biurrun2011-05-111-101/+106
| |
| * tests: Remove disabled code.Diego Biurrun2011-04-291-8/+0
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
|/ | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove unused global variable.Carl Eugen Hoyos2009-07-221-2/+0
| | | | Originally committed as revision 19483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Calculate gradient from parameter instead of using a global variable.Carl Eugen Hoyos2009-07-221-2/+2
| | | | Originally committed as revision 19482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark functions only used within the test programs as static.Diego Biurrun2009-02-191-5/+5
| | | | Originally committed as revision 17454 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Relicense to LGPL and add standard license header.Diego Biurrun2007-03-021-2/+19
| | | | | | Approved by the author, Sebastien Bechet, over email. Originally committed as revision 8188 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: tabs --> spaces, some prettyprintingDiego Biurrun2005-12-221-4/+4
| | | | Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-171-15/+15
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a leading zero to the sequence files generated by the testsuiteSam Hocevar2005-09-211-1/+1
| | | | | | | 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
* r/w -> rb/wbMichael Niedermayer2004-12-241-2/+2
| | | | Originally committed as revision 3774 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use explicit image nameFabrice Bellard2003-06-051-9/+15
| | | | Originally committed as revision 1930 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use bilinear interpolation for the rotozoomMichael Niedermayer2003-04-121-0/+19
| | | | Originally committed as revision 1759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* finished integrating rotozoom test in ffmpegMichael Niedermayer2003-04-111-41/+47
| | | | | | replaced float by integer to avoid rounding differenes between platforms Originally committed as revision 1755 to svn://svn.ffmpeg.org/ffmpeg/trunk
* alternative test video generator by (Sebastien Bechet <s dot bechet at av7 ↵Michael Niedermayer2003-04-111-0/+258
dot net>) Originally committed as revision 1754 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud