summaryrefslogtreecommitdiffstats
path: root/libavutil
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit '9d5c62ba5b586c80af508b5914934b1c439f6652'Michael Niedermayer2012-12-067-6/+121
|\ | | | | | | | | | | | | | | | | | | | | | | | | * commit '9d5c62ba5b586c80af508b5914934b1c439f6652': lavu/opt: do not filter out the initial sign character except for flags eval: treat dB as decibels instead of decibytes float_dsp: add vector_dmul_scalar() to multiply a vector of doubles Conflicts: libavutil/eval.c tests/ref/fate/eval Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu/opt: do not filter out the initial sign character except for flagsJustin Ruggles2012-12-051-3/+8
| | | | | | | | This allows parsing of special-case negative numbers like decibels.
| * eval: treat dB as decibels instead of decibytesJustin Ruggles2012-12-051-3/+24
| |
| * float_dsp: add vector_dmul_scalar() to multiply a vector of doublesJustin Ruggles2012-12-055-0/+89
| | | | | | | | Include x86-optimized versions for SSE2 and AVX.
* | av_assert should use AV_LOG_PANIC.Reimar Döffinger2012-12-052-2/+2
| | | | | | | | | | | | | | The description of AV_LOG_PANIC 100% matches what av_assert does, while AV_LOG_FATAL does not really. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Merge commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967'Michael Niedermayer2012-12-0516-68/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967': Remove pointless #undefs of previously forbidden functions. fate: Add dependencies for bmp, cdxl, dfa, mp3 Conflicts: doc/examples/muxing.c libavfilter/filtfmts.c libavutil/des.c libavutil/eval.c libavutil/log.c libavutil/parseutils.c tests/fate/mp3.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Remove pointless #undefs of previously forbidden functions.Anton Khirnov2012-12-0415-29/+0
| |
* | pixdesc: fix broken yuva definitionsPaul B Mahol2012-12-051-20/+20
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavu/channel_layout: document the semantic of layouts.Nicolas George2012-12-021-0/+8
| |
* | lavu/parseutils: accept %J for hours >= 24.Nicolas George2012-12-023-3/+5
| | | | | | | | Allow to parse durations >= 24:00:00.
* | lavu/opt: allow to set sample and pixel format with av_opt_set_int()Stefano Sabatini2012-12-012-9/+24
| | | | | | | | | | | | | | | | | | | | | | This change requires the user to specify min and max value, and makes possible to prevent the user to set AV_{SAMPLE,PIX}_FMT_NONE if forbidden. Add required ifdeffery in case of mixed libraries, when libavutil is updated but not the other libraries. This is a followup of 08d0969c1402ccec4dce44bd430128fb59d7b790.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-12-011-3/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * qatar/master: configure: Use headers in the check for _beginthreadex for w32threads avutil: Use a configure check to enable windows console functions avutil: Include io.h with a separate condition from windows console functions Conflicts: libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Use a configure check to enable windows console functionsMartin Storsjö2012-11-301-2/+2
| | | | | | | | | | | | Not all versions or API subsets of windows have these functions. Signed-off-by: Martin Storsjö <martin@martin.st>
| * avutil: Include io.h with a separate condition from windows console functionsMartin Storsjö2012-11-301-1/+3
| | | | | | | | | | | | | | | | Not all versions of windows have the console color functions, while io.h might be needed for isatty (which can be found in unistd.h or io.h). Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-11-301-1/+3
|\ \ | |/ | | | | | | | | | | | | * qatar/master: avutil: Include io.h with a separate condition from MapViewOfFile cmdutils: Use a configure check for enabling CommandLineToArgvW Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Include io.h with a separate condition from MapViewOfFileMartin Storsjö2012-11-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | The existence of MapViewOfFile isn't linked to the existence of io.h. Not all versions of windows have MapViewOfFile (in particular, Windows Phone 8 and the "metro" windows 8 API subset don't), while they still have io.h (and need it for open/read/close). Signed-off-by: Martin Storsjö <martin@martin.st>
* | lavu/opt: change the way default pixel and sample format value is setStefano Sabatini2012-11-302-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the i64 field rather than the string value. Using a string to set a default sample/pixel format is weird, also the new interface is more consistent with the rest of the API. This is technically an API break, but hopefully there are no applications using this feature outside of FFmpeg. In order to save backward compatibility with mixed libraries in case libavutil is updated but not the other libraries, some ifdeffery hacks are added. Note that the version check is only performed when class->version != 0, since if it is not defined then we assume that no version was defined and the class is not affected by the change. We will luckily get rid of the hack at the next major bump.
* | Merge commit 'af7d13ee4a4bf8d708f9b0598abb8f6e22b76de1'Michael Niedermayer2012-11-281-1/+1
|\ \ | |/ | | | | | | | | | | | | | | * commit 'af7d13ee4a4bf8d708f9b0598abb8f6e22b76de1': asink_nullsink: plug a memory leak. x86: h264_idct: port to cpuflags x86: cpu: Drop unused HAVE_RWEFLAGS condition Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: cpu: Drop unused HAVE_RWEFLAGS conditionDiego Biurrun2012-11-281-1/+1
| | | | | | | | The test for rweflags was dropped in a previous commit.
* | Merge commit '3c370f5abc55739a261534b9f9bdc739cedbbbb9'Michael Niedermayer2012-11-272-0/+33
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * commit '3c370f5abc55739a261534b9f9bdc739cedbbbb9': riff: only warn on a bad INFO chunk code size instead of failing configure: Add separate list for libraries and use where appropriate x86: float_dsp: add SSE version of vector_fmul_scalar() Conflicts: configure libavformat/riff.c libavutil/x86/float_dsp.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: float_dsp: add SSE version of vector_fmul_scalar()Justin Ruggles2012-11-262-0/+33
| |
* | Merge commit '284ea790d89441fa1e6b2d72d3c1ed6d61972f0b'Michael Niedermayer2012-11-274-0/+66
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * commit '284ea790d89441fa1e6b2d72d3c1ed6d61972f0b': dsputil: move vector_fmul_scalar() to AVFloatDSPContext in libavutil aacenc: use the correct output buffer aacdec: fix signed overflows in lcg_random() base64: fix signed overflow in shift Conflicts: libavcodec/dsputil.c libavutil/base64.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: move vector_fmul_scalar() to AVFloatDSPContext in libavutilJustin Ruggles2012-11-264-0/+66
| |
| * base64: fix signed overflow in shiftMans Rullgard2012-11-261-2/+2
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * remove #defines to prevent use of discouraged external functionsJanne Grunau2012-11-251-34/+0
| | | | | | | | | | | | | | | | | | | | | | Preventing the use of discouraged or 'insecure' external functions through defines in an internal header is not a good solution. The header is not guaranteed to be included universally which makes overlooking bad use of said functions during review more likely. There are cases were those functions either are the most straight forward solution or even have to be used. Using malloc or free is required if the allocation or release is done by other libraries.
* | lavu: drop time redefinition as it causes some problems in some uncommon ↵Michael Niedermayer2012-11-261-2/+0
| | | | | | | | | | | | | | configurations. Based-on: e96d90eed66a198566c409958432d282e1b03869 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/samplefmt: return the size of the allocated samples buffer at the next bumpStefano Sabatini2012-11-253-2/+16
| | | | | | | | | | | | | | | | | | | | Make the functions av_samples_fill_arrays, av_samples_alloc, and avcodec_fill_audio_frame return a buffer size rather than 0 in case of success. This will be enabled at the next libavutil major bump, in order to preserve backward compatibility. Returning the size allows to simplify the code, avoiding a few function calls.
* | lavu/opt: add support for reading pixel and sample format through av_get_int()Stefano Sabatini2012-11-252-1/+3
| | | | | | | | | | Simplify backward compatibility, when switching from AV_OPT_TYPE_INT to AV_OPT_TYPE_SAMPLE/PIXEL_FMT.
* | lavu/imgutils: add consistency checks to av_image_copy_plane()Stefano Sabatini2012-11-253-1/+7
| | | | | | | | | | | | | | Add assertions and abort in case of invalid |dst_linesize| < bytewidth or |src_linesize| < bytewidth. Avoid to silently corrupt memory.
* | lavu/opt: fix range shown in set_format() log messageStefano Sabatini2012-11-251-1/+1
| |
* | lavu/opt: add av_opt_ accessors for pixel/format/image size optionsStefano Sabatini2012-11-253-1/+111
| | | | | | | | | | The interface is implemented against the style of the other options accessors. Possibly simplify programmatic setting of options.
* | replace av_log(0, by av_log(NULL,Michael Niedermayer2012-11-232-3/+3
| | | | | | | | | | | | The first parameter is a pointer and NULL is more correct Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '4a606c830ae664013cea33800094d4d0f4ec62da'Michael Niedermayer2012-11-231-17/+103
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * commit '4a606c830ae664013cea33800094d4d0f4ec62da': av_memcpy_backptr: optimise some special cases mpegvideo: simplify dxy calculation in hpel_motion() build: add rules to generate preprocessed source files Conflicts: Makefile libavutil/mem.c library.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * av_memcpy_backptr: optimise some special casesMans Rullgard2012-11-231-17/+103
| | | | | | | | | | | | | | | | | | - Add special cases for offsets of 2, 3, or 4 bytes. This means the offset is always >4 in the generic case, allowing 32-bit copies to be used there. - Don't use memcpy() for sizes less than 16 bytes. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | mips: Fixing HAVE_MIPSFPU dependenciesBojan Zivkovic2012-11-212-1/+6
| | | | | | | | | | | | Signed-off-by: Bojan Zivkovic <bojan@mips.com> Reviewed-by: Vitor Sessak <vitor1001@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ensure comment blocks that contain doxygen commands start with double asterixPeter Ross2012-11-212-2/+2
| | | | | | | | | | Reveiwed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pixdesc: fix alpha flagsMichael Niedermayer2012-11-211-7/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pixdesc: add av_get_padded_bits_per_pixel()Michael Niedermayer2012-11-212-0/+26
| | | | | | | | | | | | This will be needed to allow removing the PixFmtInfo table Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'd1d9efaae6c7e8466b06c30ca21c6b569dd2e480'Michael Niedermayer2012-11-212-24/+28
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'd1d9efaae6c7e8466b06c30ca21c6b569dd2e480': avcodec: split avpicture from imgconvert pixdesc: add PIX_FMT_ALPHA flag Conflicts: libavcodec/imgconvert.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixdesc: add PIX_FMT_ALPHA flagLuca Barbato2012-11-202-24/+28
| |
* | mips: Optimization of AC3 FP encoder and EAC3 FP decoderBojan Zivkovic2012-11-194-0/+112
| | | | | | | | | | | | Signed-off-by: Bojan Zivkovic <bojan@mips.com> Reveiwed-by: Vitor Sessak <vitor1001@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-11-191-16/+6
|\ \ | |/ | | | | | | | | | | | | * qatar/master: x86: h264_intrapred: Fix C function names in comments x86: SPLATD: port to cpuflags Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: SPLATD: port to cpuflagsDiego Biurrun2012-11-181-16/+6
| |
* | lavu/bprint: implement av_bprint_strftime().Nicolas George2012-11-173-2/+69
| |
* | Merge commit '8f5587c3d0bc4b5f075e4282215bda91a21fc12e'Michael Niedermayer2012-11-171-0/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * commit '8f5587c3d0bc4b5f075e4282215bda91a21fc12e': cpu.h: define AV_CPU_FLAG_MMX2 for libavutil major 52 h264: Fix parameters to ff_er_add_slice() call h264: always check ref_count for validity Conflicts: libavcodec/h264.c libavutil/cpu.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cpu.h: define AV_CPU_FLAG_MMX2 for libavutil major 52Janne Grunau2012-11-162-1/+4
| |
* | cpu: add a few cpu names as aliases for their cpu flagsMichael Niedermayer2012-11-171-0/+17
| | | | | | | | | | | | Help to complete this list is welcome! Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cpu: add cmov ro the table, which appears to have been forgottenMichael Niedermayer2012-11-171-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-11-161-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * qatar/master: x86: dsputil: port to cpuflags crc: av_crc() parameter names should match between .c, .h and doxygen avserver: replace av_read_packet with av_read_frame avserver: fix constness casting warnings Conflicts: libavcodec/x86/dsputil.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * crc: av_crc() parameter names should match between .c, .h and doxygenDiego Biurrun2012-11-161-1/+2
| |
OpenPOWER on IntegriCloud