summaryrefslogtreecommitdiffstats
path: root/libavutil
Commit message (Collapse)AuthorAgeFilesLines
* x86inc: put basicnop under ifdef to prevent compile failure.Clément Bœsch2012-07-071-0/+2
| | | | | | This should fix the NASM box. Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
* x86inc: try to put amdnop under ifdef to prevent compile failureMichael Niedermayer2012-07-071-0/+2
| | | | | | based on similar amdnop usage in ffmpeg Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* log: fix compilation failure on mingw due to reference to undefined set_color256Michael Niedermayer2012-07-071-0/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavu: 256 color supportPaul B Mahol2012-07-072-20/+30
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* cosmetics: various spelling fixesLou Logan2012-07-061-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Blowfish: restructure/simplify code a bit.Michael Niedermayer2012-07-061-26/+18
| | | | | | Very slightly faster (2% or so) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-054-18/+62
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: qdm2: remove broken and disabled dump_context() debug function x86: h264_intrapred: use newly introduced SPLAT* and PSHUFLW macros x86inc: add SPLATB_LOAD, SPLATB_REG, PSHUFLW macros x86inc: modify ALIGN to not generate long nops on i586 x86: h264_intrapred: port to cpuflag macros avplay: update input filter pointer when the filtergraph is reset. avconv: fix parsing of -force_key_frames option. h264: use templates to avoid excessive inlining xtea: Make the count parameter match the documentation blowfish: Make the count parameter match the documentation mpegvideo: Don't use ff_mspel_motion() for vc1 xtea: invert branch and loop precedence blowfish: invert branch and loop precedence flvdec: optionally trust the metadata avconv: Set audio filter time base to the sample rate vp8: Add ifdef guards around the sse2 loopfilter in the sse2slow branch too Conflicts: ffmpeg.c ffplay.c libavcodec/h264.c libavcodec/mpegvideo_common.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86inc: add SPLATB_LOAD, SPLATB_REG, PSHUFLW macrosLoren Merritt2012-07-051-4/+37
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * x86inc: modify ALIGN to not generate long nops on i586Loren Merritt2012-07-051-0/+4
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * xtea: Make the count parameter match the documentationSamuel Pitoiset2012-07-051-4/+2
| | | | | | | | | | | | | | | | Previously it was interpreted as number of bytes, while the documentation stated that it was the number of 8 byte blocks. This makes it behave similarly to the existing AES code. Signed-off-by: Martin Storsjö <martin@martin.st>
| * blowfish: Make the count parameter match the documentationSamuel Pitoiset2012-07-051-4/+2
| | | | | | | | | | | | | | | | Previously it was interpreted as number of bytes, while the documentation stated that it was the number of 8 byte blocks. This makes it behave similarly to the existing AES code. Signed-off-by: Martin Storsjö <martin@martin.st>
| * xtea: invert branch and loop precedenceLuca Barbato2012-07-051-7/+12
| | | | | | | | Should slightly improve performance depending on the compiler used.
| * blowfish: invert branch and loop precedenceLuca Barbato2012-07-051-7/+13
| | | | | | | | Should slightly improve performance depending on the compiler used.
* | Install libavutil/version.hCarl Eugen Hoyos2012-07-051-0/+1
| | | | | | | | Fixes ticket #1513
* | blowfish.h: include author attributionMichael Niedermayer2012-07-041-0/+1
| | | | | | | | | | Reviewed-by: Clément Bœsch <ubitux@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | xtea.h: include author attributionMichael Niedermayer2012-07-041-0/+1
| | | | | | | | | | Reviewed-by: Clément Bœsch <ubitux@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-049-39/+924
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (29 commits) lavfi: reclassify showfiltfmts as a TESTPROG graph2dot: fix printf format specifier swscale: yuv2planeX 8bit >=sse2 functions need aligned stack on x86-32. vp8: loopfilter >=sse2 functions need aligned stack on x86-32. amr: remove shift out of the AMR_BIT() macro. dsputilenc: group yasm and inline asm function pointer assignment. mov: use forward declaration of a function instead of a table. Clarify Doxygen comment for FF_API_* #defines. configure: simplify get_version() Create version.h headers for libraries that lack them gitignore: Use full path instead of relative path to specify patterns mpegvideo: remove VLAs Add XTEA encryption support in libavutil Add Blowfish encryption support in libavutil eval: Add the isinf() function and tests for it flacdec: move lpc filter to flacdsp flacdec: split off channel decorrelation as flacdsp avplay: Add an option for not limiting the input buffer size FATE: add a test for WMA cover art. FATE: add a test for apetag cover art ... Conflicts: .gitignore configure ffplay.c libavcodec/Makefile libavcodec/error_resilience.c libavcodec/mpegvideo.c libavcodec/ratecontrol.c libavdevice/avdevice.h libavfilter/Makefile libavfilter/filtfmts.c libavfilter/version.h libavformat/mov.c libavformat/version.h libavutil/Makefile libavutil/avutil.h libavutil/version.h libswscale/swscale.h libswscale/x86/swscale_mmx.c tests/fate/libavutil.mak tests/lavfi-regression.sh tools/graph2dot.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Clarify Doxygen comment for FF_API_* #defines.Diego Biurrun2012-07-041-5/+4
| |
| * Create version.h headers for libraries that lack themDiego Biurrun2012-07-043-50/+84
| |
| * Add XTEA encryption support in libavutilSamuel Pitoiset2012-07-044-1/+230
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * Add Blowfish encryption support in libavutilSamuel Pitoiset2012-07-044-2/+647
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * eval: Add the isinf() function and tests for itMartin Storsjö2012-07-042-2/+9
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | error: define AVERROR_EXTERNAL.Nicolas George2012-07-043-1/+3
| | | | | | | | | | | | This code is intended for errors in external libraries when no corresponding error code can be found. AVERROR_UNKNOWN is too vague for that and looks like AVERROR_BUG.
* | error: define AVERROR_BUFFER_TOO_SMALL.Nicolas George2012-07-042-0/+2
| | | | | | | | | | Some API require a buffer and return a specific error if it is too small. This error code helps to map codes.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-043-31/+8
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: cosmetics: Consistently use C-style comments with multiple inclusion guards anm: fix a few Doxygen comments misc typo and wording fixes attributes: add av_noreturn attributes: drop pointless define guards configure: do not disable av_always_inline with --enable-small flvdec: initial stream switch support avplay: fix write on freed memory for rawvideo snow: remove a VLA used for edge emulation x86: lavfi: fix gradfun/yadif build with mmx/sse disabled snow: remove the runs[] VLA. snow: Check mallocs at init flacdec: remove redundant setting of avctx->sample_fmt Conflicts: ffplay.c libavcodec/h264.c libavcodec/snow.c libavcodec/snow.h libavcodec/snowdec.c libavcodec/snowenc.c libavformat/flvdec.c libavutil/attributes.h tools/patcheck Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: Consistently use C-style comments with multiple inclusion guardsDiego Biurrun2012-07-031-1/+1
| |
| * attributes: add av_noreturnReinhard Tartler2012-07-031-0/+6
| | | | | | | | | | | | | | Also use it in the declaration of the various exit_program implementations in avtools. inspired by a clang-scan report.
| * attributes: drop pointless define guardsReinhard Tartler2012-07-031-22/+0
| | | | | | | | the av_-prefixed attributes must not be defined outside of this file
* | libavutil: add 12 and 14 bit planar colorspacesMichael Niedermayer2012-07-032-0/+217
| | | | | | | | | | | | Reviewed-by: Jean First <jeanfirst@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-021-4/+8
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: asfdec: read attached pictures. apetag: reindent apetag: export attached covers as video streams. apetag: fix the amount of data read from binary tags. apetag: make sure avio_get_str() doesn't read more than it should. mov: read itunes cover art. snow: remove VLA in mc_block() intfloat: Don't use designated initializers in the public headers snow: remove a VLA. doc: Remind devs to check return values, especially for malloc() et al MS ATC Screen (aka MSS3) decoder vf_yadif: move x86 init code to x86/yadif.c vf_gradfun: move x86 init code to x86/gradfun.c roqvideo: Remove a totally unused dspcontext smacker: remove some unused code dsicin: remove dead assignment aacdec: remove dead assignment rl2: remove dead assignment proresenc: make a variable local to the loop where it is used alsdec: remove dead assignments Conflicts: Changelog doc/developer.texi libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/version.h libavfilter/gradfun.h libavfilter/x86/gradfun.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * intfloat: Don't use designated initializers in the public headersRonald S. Bultje2012-07-021-4/+8
| | | | | | | | | | | | | | | | | | | | | | intfloat.h is a public header, and is now (since a1245d5ca) included by mathematics.h, which many external callers include. This fixes building third party applications that include mathematics.h in a language that doesn't support designated initalizers. Signed-off-by: Martin Storsjö <martin@martin.st>
* | mem: heap memory poisoning.Clément Bœsch2012-07-021-1/+7
| | | | | | | | | | Enable it by default with FATE. limitation: not random, and not supported with realloc.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-014-3/+77
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: opt/eval: Include mathematics.h for NAN/INFINITY mathematics: Don't use division by zero in NAN/INFINITY macros wma: Lower the maximum number of channels to 2 x86: cpu: clean up check for cpuid instruction support ARM: generate position independent code to access data symbols Conflicts: libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * opt/eval: Include mathematics.h for NAN/INFINITYMartin Storsjö2012-07-012-0/+2
| | | | | | | | | | | | | | These files use NAN/INFINITY but didn't include mathematics.h to get the fallback definitions if the system lacks the macros. Signed-off-by: Martin Storsjö <martin@martin.st>
| * mathematics: Don't use division by zero in NAN/INFINITY macrosRonald S. Bultje2012-07-011-2/+3
| | | | | | | | | | | | | | | | | | | | Some compilers, MSVC among them, don't recognize the divisions by zero as meaning infinity/nan. These macros should, according to the standard, expand to constant expressions, but this shouldn't matter for our usage. Signed-off-by: Martin Storsjö <martin@martin.st>
| * x86: cpu: clean up check for cpuid instruction supportMans Rullgard2012-07-011-20/+16
| | | | | | | | | | | | | | This adds macros for accessing the EFLAGS register and uses these instead of coding the entire check in inline asm. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * ARM: generate position independent code to access data symbolsMans Rullgard2012-07-011-1/+72
| | | | | | | | | | | | | | | | | | | | | | This creates proper position independent code when accessing data symbols if CONFIG_PIC is set. References to external symbols should now use the movrelx macro. Some additional code changes are required since this macro may need a register to hold the GOT pointer. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-301-0/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: dsputilenc_mmx: split assignment of ff_sse16_sse2 to SSE2 section. dnxhdenc: add space between function argument type and comment. x86: fmtconvert: add special asm for float_to_int16_interleave_misc_* attributes: Add a definition of av_always_inline for MSVC cmdutils: Pass the actual chosen encoder to filter_codec_opts os_support: Add fallback definitions for stat flags os_support: Rename the poll fallback function to ff_poll network: Check for struct pollfd os_support: Don't compare a negative number against socket descriptors os_support: Include all the necessary headers for the win32 open function x86: vc1: fix and enable optimised loop filter Conflicts: cmdutils.c cmdutils.h ffmpeg.c ffplay.c libavformat/os_support.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * attributes: Add a definition of av_always_inline for MSVCRonald S. Bultje2012-06-301-0/+2
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * random_seed: Only read /dev/*random if we have unistd.hRonald S. Bultje2012-06-291-0/+8
| | | | | | | | | | | | | | | | unistd.h is used for open/read/close, but if this header does not exist, there's probably no use in trying to open /dev/*random at all. Signed-off-by: Martin Storsjö <martin@martin.st>
* | avutil: fix project name reference in doxy sectionMichael Niedermayer2012-06-291-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pixdesc: fix project reference in commentMichael Niedermayer2012-06-291-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | parseutils: fix sorting of colorsPaul B Mahol2012-06-281-1/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-281-0/+21
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mss1: validate number of changeable palette entries mss1: report palette changed when some additional colours were decoded x86: fft: replace call to memcpy by a loop udp: Support IGMPv3 source specific multicast and source blocking dxva2: include dxva.h if found libm: Provide fallback definitions for isnan() and isinf() tcp: Pass NULL as hostname to getaddrinfo if the string is empty tcp: Set AI_PASSIVE when the socket will be used for listening Conflicts: configure libavcodec/mss1.c libavformat/udp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libm: Provide fallback definitions for isnan() and isinf()Martin Storsjö2012-06-271-0/+21
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | log: change color for filters from blue to bright greenMichael Niedermayer2012-06-281-2/+2
| | | | | | | | | | | | | | The blue is difficult to read on several peoples terminals with black background. Idea-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-271-3/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avconv: add an assert to silence an uninitialized variable warning. avconv: shut up an uninitialized variable warning. avfiltergraph: shut up uninitialized variable warning. af_join: initialize a variable to shut up gcc warning. amix: fix format specifier for AVFilterLink.sample_rate. lavfi: make filters less verbose. mpc8: read APE tags. lavr: x86: fix ff_conv_fltp_to_flt_6ch function prototypes libm: provide fallback definition for cbrtf() using powf() network: Don't redefine error codes if they already exist in errno.h configure: Check for sys/time.h network: Include unistd.h from network.h avconv: don't include vsrc_buffer.h, which doesn't exist anymore lavfi: reorder AVFilterLink fields. lavfi: reorder AVFilterContext fields. lavfi: reorder AVFilter fields. lavfi: reorder AVFilterBufferRef fields. lavfi: reorder AVFilterBuffer fields. Conflicts: configure libavcodec/v210dec.h libavfilter/asrc_anullsrc.c libavfilter/avfilter.h libavfilter/buffersrc.c libavfilter/src_movie.c libavfilter/vf_aspect.c libavfilter/vf_crop.c libavfilter/vf_drawbox.c libavfilter/vf_fade.c libavfilter/vf_overlay.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavfilter/vsrc_color.c libavformat/network.h libavutil/libm.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libm: provide fallback definition for cbrtf() using powf()Mans Rullgard2012-06-261-0/+7
| | | | | | | | | | | | | | | | This adds a fallback for cbrtf() using powf(x, 1/3). Since powf() with a non-integer exponent requires a non-negative base, special handling of negative inputs is needed. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | lavu/imgutils: create misc functions for dealing with buffersStefano Sabatini2012-06-263-1/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | Move the lavc/imgconvert functions and rename them as follows: avpicture_get_size -> av_image_get_buffer_size() avpicture_fill -> av_image_fill_arrays() avpicture_layout -> av_image_copy_to_buffer() The new functions have an align parameter, which allows to define the linesize alignment assumed in the buffer (which is set or read). The names of the functions are consistent with the lavu/samples API (av_samples_get_buffer_size(), av_samples_fill_arrays()).
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-262-34/+37
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * qatar/master: log: Include io.h on windows lavr: x86: merge some branches x86: cpu: whitespace (mostly) cosmetics x86: fft: win64: fix stack alignment for memcpy() call Conflicts: libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud