aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
Commit message (Collapse)AuthorAgeFilesLines
...
| * x86: XOP/FMA4 CPU detection supportJason Garrett-Glaser2011-09-264-2/+15
| |
* | lavu/attributes: introduce AV_NOWARN_DEPRECATED.Nicolas George2011-09-251-0/+18
| |
* | Add av_calloc() helper.Laurent Aimar2011-09-252-0/+19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add new pix_fmt RGBA64Jean First2011-09-242-0/+57
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-231-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Add LATM demuxer avplay: flush audio decoder with empty packets at EOF if the decoder has CODEC_CAP_DELAY set. 8svx/iff: fix decoding of compressed stereo 8svx files. 8svx: log an error message if output buffer is too small 8svx: check packet size before reading the initial sample value. 8svx: output 8-bit samples instead of 16-bit. 8svx: split delta decoding into a separate function. mp4: Don't read an empty Decoder Config Descriptor fate.sh: Ignore errors from rm command during cleanup. fate.sh: Run git-pull in quiet mode to avoid console spam. Apple ProRes decoder rtmp: Make the input FLV parser handle data cut at any point rv34: Check for invalid slices offsets eval: test isnan(sqrt(-1)) instead of just sqrt(-1) Conflicts: Changelog libavcodec/8svx.c libavcodec/proresdec.c libavcodec/version.h libavformat/iff.c libavformat/version.h tests/ref/fate/eval Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * eval: test isnan(sqrt(-1)) instead of just sqrt(-1)Anton Khirnov2011-09-221-1/+1
| | | | | | | | sqrt(-1) returns "some NaN", it's not specified which exactly.
* | lavu: add av_x_if_null().Clément Bœsch2011-09-221-2/+10
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-212-3/+21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: swfdec: Add support for sample_rate_code 0 (5512 Hz) dct-test: factor out some common code and do whas was likely intended doc: library versions need to be bumped in version.h Revert "ffmpeg: get rid of useless AVInputStream.nb_streams." Remove some forgotten AVCodecContext.palctrl usage. lavc/utils: move avcodec_init() higher in the file. lavc: replace some deprecated FF_*_TYPE with AV_PICTURE_TYPE_* ac3dec: actually use drc_scale private option lavc: undeprecate AVPALETTE_SIZE and AVPALETTE_COUNT macros alsa: add missing header msmpeg4: remove leftover unused debug variable declaration Fix assert() calls that need updates after FF_COMMON_FRAME macro elimination. Fix av_dlog invocations with wrong or missing logging context. vf_yadif: add support to yuva420p vf_yadif: correct documentation on the parity parameter vf_yadif: copy buffer properties like aspect for second frame as well oma: support for encrypted files id3v2: add support for non-text and GEOB type tag frames des: add possibility to calculate DES-CBC-MAC with small buffer Conflicts: ffmpeg.c libavcodec/dct-test.c libavformat/mpegts.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * des: add possibility to calculate DES-CBC-MAC with small bufferDavid Goldwich2011-09-212-3/+21
| | | | | | | | | | | | | | | | | | | | | | This patch adds the possibility to calculate the DES-CBC-MAC of a source buffer (i.e. the last block of the buffer encrypted in CBC mode) without having to allocate a destination buffer that is as long as the complete source buffer, but instead only 8 bytes for the MAC. Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-191-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: movenc: fix NULL reference in mov_write_tkhd_tag rmdec: Reject invalid deinterleaving parameters rv34: Fix potential overreads rv34: Fix buffer size used for MC of B frames after a resolution change rv34: Avoid NULL dereference on corrupted bitstream rv10: Reject slices that does not have the same type as the first one vf_yadif: add an option to enable/disable deinterlacing based on src frame "interlaced" flag vsrc_color: set output pos values to -1 vsrc_color: add @file doxy vsrc_buffer: remove duplicated file description eval: implement not() expression eval: add sqrt function for computing the square root rmdec: use the deinterleaving mode and not the codec when creating audio packets. lavf: Fix context pointer in av_open_input_stream when avformat_open_input fails Conflicts: doc/eval.texi doc/filters.texi libavcodec/rv10.c libavfilter/vsrc_color.c libavformat/rmdec.c libavutil/avutil.h libavutil/eval.c tests/ref/fate/eval Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * eval: implement not() expressionStefano Sabatini2011-09-192-2/+8
| |
| * eval: add sqrt function for computing the square rootStefano Sabatini2011-09-192-1/+7
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-121-9/+25
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (31 commits) audioconvert: add explanatory comments to channel_names array audioconvert: K&R whitespace cosmetics avconv: use correct index when selecting metadata to write to. avconv: fix inverted variable doc/avconv: document option types (input/output/per-stream/...) doc/avtools-common-opts: write a section about stream specifiers. doc/avconv: remove two pointless paragraphs. doc/avconv: document that global options should be specified first. doc/avconv: remove entries for nonexistent options doc/avconv: remove documentation for removed 'timestamp' option doc: cosmetics, rename fftools-common-opts to avtools-.... avconv: move streamid_map to options context. avconv: extend -vf syntax avconv: move top_field_first to options context. avconv: move inter/intra matrix to options context. avconv: remove -psnr option. avconv: remove me_threshold option. avconv: move video_rc_override_string to options context. avconv: move frame pixel format to the options context. avconv: move frame aspect ratio to the options context. ... Conflicts: avconv.c cmdutils_common_opts.h doc/avconv.texi Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * audioconvert: add explanatory comments to channel_names arrayStefano Sabatini2011-09-111-5/+20
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * audioconvert: K&R whitespace cosmeticsStefano Sabatini2011-09-111-4/+5
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | avopt: Fix searching for constantsMichael Niedermayer2011-09-081-1/+1
| | | | | | | | | | | | Fixes Ticket350 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-073-15/+25
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Add LATM muxer v210enc: clip values according to specifications v210enc: switch to PIX_FMT_422P10 v210dec: switch to PIX_FMT_422P10 AVOptions: remove AVOption.offset <= 0 checks AVOptions: deprecate av_opt_set_defaults2 AVOptions: move doxy for av_opt_set_defaults() from opt.c to opt.h libx264: fix setting some more parameters libx264: fix setting the H.264 level libx264: add 'direct-pred' private option libx264: add 'partitions' private option Conflicts: Changelog libavcodec/Makefile libavcodec/libx264.c libavcodec/v210enc.c libavfilter/src_movie.c libavformat/version.h libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * AVOptions: remove AVOption.offset <= 0 checksAnton Khirnov2011-09-071-4/+4
| | | | | | | | | | They will only ever be <=0 if the option is broken, in which case this check is hiding a bug.
| * AVOptions: deprecate av_opt_set_defaults2Anton Khirnov2011-09-073-6/+17
| | | | | | | | | | | | It's a hack which was created to allow for multiple options with different defaults to refer to same field (e.g. 'b' vs 'ab'). There is no need for it anymore.
| * AVOptions: move doxy for av_opt_set_defaults() from opt.c to opt.hAnton Khirnov2011-09-072-6/+5
| | | | | | | | Also change it to be more readable.
* | av_string: add av_asprintf().Clément Bœsch2011-09-043-1/+37
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-043-3/+12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: AVOptions: fix av_set_string3() doxy to match reality. cmdutils: get rid of dummy contexts for examining AVOptions. lavf,lavc,sws: add {avcodec,avformat,sws}_get_class() functions. AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find(). cpu detection: avoid a signed overflow Conflicts: avconv.c cmdutils.c doc/APIchanges ffmpeg.c libavcodec/options.c libavcodec/version.h libavformat/version.h libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * AVOptions: fix av_set_string3() doxy to match reality.Anton Khirnov2011-09-031-1/+1
| | | | | | | | Fixes bug 28.
| * AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().Anton Khirnov2011-09-032-1/+10
| | | | | | | | | | It allows to search for options only with AVClass, without allocating the corresponding context.
| * cpu detection: avoid a signed overflowSean McGovern2011-09-031-1/+1
| | | | | | | | | | | | 1<<31 overflows because 1 is signed, so force it to unsigned. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-011-4/+4
|\| | | | | | | | | | | | | | | | | | | * qatar/master: avconv: fix some bugs introduced in 630902a1e1336e7ee0cf3dcbcb6eb07af8edf660 libmp3lame: fix typo AVOptions: drop av_ prefix from static av_get_number(). libx264: use X264_THREADS_AUTO constant instead of 0. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * AVOptions: drop av_ prefix from static av_get_number().Anton Khirnov2011-09-011-4/+4
| |
* | fifo: add note in av_fifo_realloc2() doxy regarding reallocation failure ↵Stefano Sabatini2011-08-301-0/+2
| | | | | | | | behavior
* | Use the shorter channel layout description for the common case.Carl Eugen Hoyos2011-08-281-4/+4
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-08-281-1/+1
|\| | | | | | | | | | | | | | | | | * qatar/master: Use deinterleavers for demangling audio packets in RealMedia. vf_scale: don't leak SWS context. doxygen: drop another pointless star from pointer variable name Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxygen: drop another pointless star from pointer variable nameDiego Biurrun2011-08-271-1/+1
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-08-264-14/+51
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fifo: add FIFO API test program, and fate test fifo: add av_fifo_peek2(), and deprecate av_fifo_peek() postprocess.c: filter name needs to be double 0 terminated doxygen: fix wrong comment syntax, //< vs. ///< doxygen: drop pointless star from pointer variable names Replace deprecated av_find_stream_info() by avformat_find_stream_info(). xmv: eliminate superfluous zeroing of zero data configure: fix typo in avconv dependency list Conflicts: configure doc/APIchanges libavutil/Makefile libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fifo: add FIFO API test program, and fate testStefano Sabatini2011-08-262-1/+37
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()Stefano Sabatini2011-08-262-4/+32
| | | | | | | | | | | | | | The new function provides a more generic interface than av_fifo_peek() for peeking at a FIFO buffer data. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * doxygen: drop pointless star from pointer variable namesDiego Biurrun2011-08-261-12/+12
| |
* | lavu: add av_get_media_type_string() convenience functionStefano Sabatini2011-08-202-1/+19
| | | | | | | | Avoid code duplication.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-08-181-0/+33
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (23 commits) h264: hide reference frame errors unless requested swscale: split hScale() function pointer into h[cy]Scale(). Move clipd macros to x86util.asm. avconv: reindent. avconv: rescue poor abused start_time global. avconv: rescue poor abused recording_time global. avconv: merge two loops in output_packet(). avconv: fix broken indentation. avconv: get rid of the arbitrary MAX_FILES limit. avconv: get rid of the output_streams_for_file vs. ost_table schizophrenia avconv: add a wrapper for output AVFormatContexts and merge output_opts into it avconv: make itsscale syntax consistent with other options. avconv: factor out adding input streams. avconv: Factorize combining auto vsync with format. avconv: Factorize video resampling. avconv: Don't unnecessarily convert ipts to a double. ffmpeg: remove unsed variable nopts RV3/4 parser: remove unused variable 'off' add XMV demuxer rmdec: parse FPS in RealMedia properly ... Conflicts: avconv.c libavformat/version.h libswscale/swscale.c tests/ref/fate/lmlm4-demux Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Move clipd macros to x86util.asm.Ronald S. Bultje2011-08-171-0/+33
| | | | | | | | This allows sharing them between multiple .asm files.
* | fifo: return AVERROR(ENOMEM) rather -1 in av_fifo_realloc2()Stefano Sabatini2011-08-141-1/+1
| |
* | fifo: apply misc cosmetic fixesStefano Sabatini2011-08-141-10/+11
| |
* | fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()Stefano Sabatini2011-08-142-5/+33
| | | | | | | | | | The new function provides a more flexible interface for peeking at a FIFO buffer data.
* | Merge commit 'b2c087871dafc7d030b2d48457ddff597dfd4925'Michael Niedermayer2011-08-132-0/+1447
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b2c087871dafc7d030b2d48457ddff597dfd4925': Move x86util.asm from libavcodec/ to libavutil/. Move x86inc.asm to libavutil/. APIchanges: note error_recognition in lavf lavf: add support for error_recognition, use it in avidec, and bump minor API version avconv: change semantics of -map avconv: get rid of new* options. cmdutils: allow precisely specifying a stream for AVOptions. configure: add missing CFLAGS to fix building on the HURD libx264: Include hint for possible values for configuring libx264 cmdutils: allow ':'-separated modifiers in option names. avconv: make -map_metadata work consistently with the other options avconv: remove deprecated options. avconv: make -map_chapters accept only the input file index. Make a copy of ffmpeg under a new name -- avconv. ffmpeg: add a warning stating that the program is deprecated. Add weighted motion compensation for RV40 B-frames RV3/4: calculate B-frame motion weights once per frame Move RV3/4-specific DSP functions into their own context mjpeg: propagate decode errors from ff_mjpeg_decode_sos and ff_mjpeg_decode_dqt h264: notice memory allocation failure Conflicts: .gitignore Makefile cmdutils.c configure doc/ffplay.texi doc/ffprobe.texi doc/ffserver.texi libavcodec/libx264.c libavformat/avformat.h libavformat/avidec.c libavformat/version.h tests/lavf-regression.sh tests/lavfi-regression.sh Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Move x86util.asm from libavcodec/ to libavutil/.Ronald S. Bultje2011-08-121-0/+542
| | | | | | | | This allows using it in swscale also.
| * Move x86inc.asm to libavutil/.Ronald S. Bultje2011-08-121-0/+905
| | | | | | | | This allows using it in libswscale/ also.
* | av_get_string: search children too.Michael Niedermayer2011-08-131-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | av_get_number: also search children, this is more sane than not doing so.Michael Niedermayer2011-08-131-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | audioconvert: define unique strings for AV_CH_LAYOUT_5POINT{0,1}_BACKStefano Sabatini2011-07-282-3/+3
| | | | | | | | | | | | | | | | Previously the string for AV_CH_LAYOUT_5POINT{0,1}_BACK was the same of the string for AV_CH_LAYOUT_5POINT{0,1}. This is required for discerning the two channel layouts, given a channel layout string.
* | parseutils: add some documentation for small_strptime()Stefano Sabatini2011-07-231-1/+10
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-181-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | * qatar/master: vf_libopencv: replace opencv/cxtypes.h #include by opencv/cxcore.h dsputil: remove disabled code tta: remove disabled code gxfenc: place variable declarations before statements x86: Use LOCAL_ALIGNED in mpegvideo_mmx_template random_seed: use proper #includes Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * random_seed: use proper #includesMans Rullgard2011-07-171-2/+2
| | | | | | | | | | | | Use <> for system headers, add needed math.h, drop unnecessary avutil.h. Signed-off-by: Mans Rullgard <mans@mansr.com>