summaryrefslogtreecommitdiffstats
path: root/libavutil
Commit message (Collapse)AuthorAgeFilesLines
* 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 <[email protected]>
* 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 <[email protected]>
| * 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 <[email protected]>
* | mips: Fixing HAVE_MIPSFPU dependenciesBojan Zivkovic2012-11-212-1/+6
| | | | | | | | | | | | Signed-off-by: Bojan Zivkovic <[email protected]> Reviewed-by: Vitor Sessak <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | ensure comment blocks that contain doxygen commands start with double asterixPeter Ross2012-11-212-2/+2
| | | | | | | | | | Reveiwed-by: Stefano Sabatini <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | pixdesc: fix alpha flagsMichael Niedermayer2012-11-211-7/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | 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 <[email protected]>
* | 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 <[email protected]>
| * 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 <[email protected]> Reveiwed-by: Vitor Sessak <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | 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 <[email protected]>
| * 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 <[email protected]>
| * 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 <[email protected]>
* | cpu: add cmov ro the table, which appears to have been forgottenMichael Niedermayer2012-11-171-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | 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 <[email protected]>
| * crc: av_crc() parameter names should match between .c, .h and doxygenDiego Biurrun2012-11-161-1/+2
| |
* | lavu/opt: fix av_opt_get_key_value() API.Nicolas George2012-11-163-6/+7
| | | | | | | | | | | | | | Do not skip the end delimiter. Reserve positive return values. This is an API break, but the function was introduced less than two weeks ago.
* | Merge commit '3b4296f41473a5b39e84d7a49d480624c9c60040'Michael Niedermayer2012-11-151-4/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '3b4296f41473a5b39e84d7a49d480624c9c60040': avformat: clarify stream id for muxing fate: Add dependencies for aac, alac, amrnb, amrwb, atrac tests ppc: do not pass redundant compiler flags avutil: change GET_UTF8 to not use av_log2() segment: fix NULL pointer dereference in seg_write_header() Conflicts: tests/fate/aac.mak Merged-by: Michael Niedermayer <[email protected]>
| * avutil: change GET_UTF8 to not use av_log2()Mans Rullgard2012-11-141-4/+5
| | | | | | | | | | | | | | This removes an inter-library dependency on ff_log2_tab causing linking errors in some configurations. Signed-off-by: Mans Rullgard <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-11-141-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | * qatar/master: x86: mmx2 ---> mmxext in asm constructs Conflicts: libavcodec/x86/h264_chromamc_10bit.asm libavcodec/x86/h264_deblock.asm libavcodec/x86/h264dsp_init.c Merged-by: Michael Niedermayer <[email protected]>
| * x86: mmx2 ---> mmxext in asm constructsDiego Biurrun2012-11-141-1/+1
| |
* | Remove deprecation of avcodec_get_chroma_sub_sample.Michael Niedermayer2012-11-141-0/+5
| | | | | | | | | | | | | | Add explanations what the difference between the 2 functions are and when either should be used. Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit '5e9c6ef8f3beb9ed7b271654a82349ac90fe43f2'Michael Niedermayer2012-11-142-0/+26
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5e9c6ef8f3beb9ed7b271654a82349ac90fe43f2': x86: h264_weight_10bit: port to cpuflags libtheoraenc: add missing pixdesc.h header avcodec: remove ff_is_hwaccel_pix_fmt pixdesc: add av_pix_fmt_get_chroma_sub_sample hlsenc: stand alone hls segmenter Conflicts: doc/muxers.texi libavcodec/ffv1enc.c libavcodec/imgconvert.c libavcodec/mpegvideo_enc.c libavcodec/tiffenc.c libavformat/Makefile libavformat/allformats.c Merged-by: Michael Niedermayer <[email protected]>
| * pixdesc: add av_pix_fmt_get_chroma_sub_sampleLuca Barbato2012-11-132-0/+26
| | | | | | | | Deprecate avcodec_get_chroma_sub_sample.
| * build: Drop AVX assembly ifdefsDiego Biurrun2012-11-111-4/+0
| | | | | | | | An assembler able to cope with AVX instructions is now required.
* | Merge commit '97bf7c03b1338a867da52c159a2afecbdedcfa88'Michael Niedermayer2012-11-125-210/+220
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '97bf7c03b1338a867da52c159a2afecbdedcfa88': doc: git-howto: Leave reviewers time to react before pushing patches Include libavutil/channel_layout.h instead of libavutil/audioconvert.h lavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.h Conflicts: doc/APIchanges doc/examples/decoding_encoding.c doc/git-howto.texi ffmpeg_filter.c libavcodec/flacdec.c libavcodec/imc.c libavcodec/mpegaudiodec.c libavcodec/utils.c libavfilter/asrc_anullsrc.c libavfilter/audio.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/avfiltergraph.c libavfilter/buffer.c libavutil/Makefile libavutil/audioconvert.h libavutil/channel_layout.c libavutil/version.h Merged-by: Michael Niedermayer <[email protected]>
| * lavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.hJustin Ruggles2012-11-115-184/+194
| |
* | Merge commit '802713c4e7b41bc2deed754d78649945c3442063'Michael Niedermayer2012-11-122-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '802713c4e7b41bc2deed754d78649945c3442063': mss2: prevent potential uninitialized reads mss2: reindent after last commit mss2: fix handling of unmasked implicit WMV9 rectangles configure: add lavu dependency to lavr/lavfi .pc files x86inc: Set program_name outside of x86inc.asm Conflicts: configure Merged-by: Michael Niedermayer <[email protected]>
| * x86inc: Set program_name outside of x86inc.asmDiego Biurrun2012-11-112-1/+2
| | | | | | | | This reduces the local difference to the x264 upstream version.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-11-101-8/+8
|\| | | | | | | | | | | | | | | * qatar/master: x86: PALIGNR: port to cpuflags x86: h264_qpel_10bit: port to cpuflags Merged-by: Michael Niedermayer <[email protected]>
| * x86: PALIGNR: port to cpuflagsDiego Biurrun2012-11-091-8/+8
| |
* | lavu: remove disabled FF_API_OLD_EVAL_NAMES codeStefano Sabatini2012-11-073-70/+0
| |
* | lavu/opt: show valid range in case of out-of-range valueStefano Sabatini2012-11-071-2/+2
| | | | | | | | Improve feedback.
* | Merge commit '5ff998a233d759d0de83ea6f95c383d03d25d88e'Michael Niedermayer2012-11-054-2/+62
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5ff998a233d759d0de83ea6f95c383d03d25d88e': flacenc: use uint64_t for bit counts flacenc: remove wasted trailing 0 bits lavu: add av_ctz() for trailing zero bit count flacenc: use a separate buffer for byte-swapping for MD5 checksum on big-endian fate: aac: Place LATM tests and general AAC tests in different groups build: The A64 muxer depends on rawenc.o for ff_raw_write_packet() Conflicts: doc/APIchanges libavutil/version.h tests/fate/aac.mak Merged-by: Michael Niedermayer <[email protected]>
| * lavu: add av_ctz() for trailing zero bit countJustin Ruggles2012-11-054-2/+62
| |
* | Merge commit '930e26a3ea9d223e04bac4cdde13697cec770031'Michael Niedermayer2012-11-051-12/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '930e26a3ea9d223e04bac4cdde13697cec770031': x86: h264qpel: Only define mmxext QPEL functions if H264QPEL is enabled x86: PABSW: port to cpuflags x86: vc1dsp: port to cpuflags rtmp: Use av_strlcat instead of strncat Conflicts: libavcodec/x86/h264_qpel.c Merged-by: Michael Niedermayer <[email protected]>
| * x86: PABSW: port to cpuflagsDiego Biurrun2012-11-051-12/+10
| |
* | lavu: drop disabled FF_API_OLD_TC_ADJUST_FRAMENUM codeStefano Sabatini2012-11-043-25/+1
| |
* | lavu/opt: implement av_opt_get_key_value().Nicolas George2012-11-043-15/+71
| | | | | | | | | | | | | | | | This function does the low-level work of av_opt_set_from_string() but can be used when there is no option context or when a generic handling of unknown keys is needed. av_opt_set_from_string() is changed to make use of it.
* | lavu/opt: parse key into a mallocated buffer.Nicolas George2012-11-041-18/+17
| | | | | | | | | | It removes the hardcoded limit on the key size without making the code much more complex, and it makes for a more versatile API.
* | avstring: fix compiler warning about freeing const pointersMichael Niedermayer2012-11-031-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit '9221efef7968463f3e3d9ce79ea72eaca082e73f'Michael Niedermayer2012-11-033-28/+42
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '9221efef7968463f3e3d9ce79ea72eaca082e73f': lavf: fix av_interleaved_write_frame() doxy. lavf: clarify the lifetime of demuxed packets. avconv: do not free muxed packet on streamcopy. crc: move doxy to the header vf_drawtext: do not use deprecated av_tree_node_size x86: Refactor PSWAPD fallback implementations and port to cpuflags Merged-by: Michael Niedermayer <[email protected]>