summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-0424-100/+185
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-033-3/+3
| |
| * anm: fix a few Doxygen commentsDiego Biurrun2012-07-031-2/+3
| |
| * misc typo and wording fixesDiego Biurrun2012-07-039-12/+12
| |
| * attributes: add av_noreturnReinhard Tartler2012-07-032-1/+7
| | | | | | | | | | | | | | 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
| * configure: do not disable av_always_inline with --enable-smallMans Rullgard2012-07-031-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, --enable-small turns av_always_inline into plain inline, which is more or less ignored by the compiler. While the intent of this is probably to reduce code size by avoiding some inlining, it has more far-reaching effects. We use av_always_inline in two situations: 1. The body of a function is smaller than the call overhead. Instances of these are abundant in libavutil, the bswap.h functions being good examples. 2. The function is a template relying on constant propagation through inlined calls for sane code generation. These are often found in motion compensation code. Both of these types of functions should be inlined even if targeting small code size. Although GCC has heuristics for detecting the first of these types, it is not always reliable, especially when the function uses inline assembler, which is often the reason for having those functions in the first place, so making it explicit is generally a good idea. The size increase from inlining template-type functions is usually much smaller than it seems due to different branches being mutually exclusive between the different invocations. The dead branches can, however, only be removed after inlining and constant propagation have been performed, which means the initial cost estimate for inlining these is much higher than is actually the case, resulting in GCC often making bad choices if left to its own devices. Furthermore, the GCC inliner limits how much it allows a function to grow due to automatic inlining of calls, and this appears to not take call overhead into account. When nested inlining is used, the limit may be hit before the innermost level is reached. In some cases, this has prevented inlining of type 1 functions as defined above, resulting in significant performance loss. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * flvdec: initial stream switch supportLuca Barbato2012-07-031-4/+91
| | | | | | | | Codec change midstream gets mapped to a separate stream.
| * avplay: fix write on freed memory for rawvideoLuca Barbato2012-07-031-2/+4
| | | | | | | | | | | | | | Do not assume avpacket and the decoded frames are independent. To be absolutely sure and not sprinkle av_free_packet around the code the call had been placed before getting the frame and on the error path.
| * snow: remove a VLA used for edge emulationRonald S. Bultje2012-07-033-1/+6
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * x86: lavfi: fix gradfun/yadif build with mmx/sse disabledMans Rullgard2012-07-032-6/+18
| | | | | | | | | | | | | | These functions are defined conditionally so any uses need to have preprocessor guards. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * snow: remove the runs[] VLA.Ronald S. Bultje2012-07-033-1/+4
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * snow: Check mallocs at initMartin Storsjö2012-07-033-10/+23
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * flacdec: remove redundant setting of avctx->sample_fmtMans Rullgard2012-07-021-2/+0
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | lavf/segment: rename SegmentContext.pb to list_pbStefano Sabatini2012-07-041-9/+9
| | | | | | | | | | The new name is more auto-explicative, as the pb is used for the segment list file.
* | lavf/segment: add error log in case of invalid filename templateStefano Sabatini2012-07-031-1/+3
| | | | | | | | Better rather than silently exit.
* | lavf/segment: fix logic for segmenting audio-only inputsStefano Sabatini2012-07-031-1/+2
| | | | | | | | | | | | Also add a comment for clarifying the logic. Fix trac ticket #1290.
* | lavf/segment: add more information in log message in seg_write_packet()Stefano Sabatini2012-07-031-2/+2
| |
* | doc: add documentation regarding MIPS optimizationsNedeljko Babic2012-07-031-0/+60
| | | | | | | | | | | | | | | | Add doc/mips.txt document with short explanation regarding targeted platform for MIPS optimizations and regarding MIPS copyright notice. Signed-off-by: Nedeljko Babic <nbabic@mips.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | lavf/segment: remove unused offset variableStefano Sabatini2012-07-031-2/+0
| |
* | lavf/segment: apply misc fixes to the private options internal documentationStefano Sabatini2012-07-031-10/+10
| | | | | | | | | | Option help message tell what the option *does*, not what the set field represents.
* | lavf/segment: slightly simplify fail logic in seg_write_packet()Stefano Sabatini2012-07-031-6/+1
| |
* | lavf/segment: move list filename printing logic from segment_end() to ↵Stefano Sabatini2012-07-031-16/+12
| | | | | | | | | | | | | | | | segment_start() Allow to deal with the list file printing only in a single point, thus simplifying logic, and allow a bit of factorization (no special case needed when printing the first file name of the list).
* | Suggest aresample filter if it was not compiled but requested.Carl Eugen Hoyos2012-07-031-1/+1
| |
* | avcodec_align_dimensions2: support 12 & 14 bit planar colorspacesMichael Niedermayer2012-07-031-0/+16
| | | | | | | | | | Reviewed-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | imgconvert: add planar RGB formats to pix_fmt_infoMichael Niedermayer2012-07-031-0/+34
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | imgconvert: add yuv 9,10,12,14 bit planar YUV formats to pix_fmt_infoMichael Niedermayer2012-07-031-0/+72
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | 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>
* | jvdec: check if there is enough dataPaul B Mahol2012-07-031-5/+6
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | jvdec: remove redundant checkPaul B Mahol2012-07-031-2/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | jvdec: remove buf_sizePaul B Mahol2012-07-031-4/+3
| | | | | | | | | | | | It is same as avpkt->size. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | jvdec: stop reading partial palettePaul B Mahol2012-07-031-2/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | tools: add bisect scriptMichael Niedermayer2012-07-031-0/+27
| | | | | | | | | | | | | | | | This script works like "git bisect" except that you can specify with "bisect need ffmpeg|ffplay|ffserver|ffprobe" which tool(s) are needed for testing a checkout Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | yadif/x86: add prototypes for functions, make code valid C again.Michael Niedermayer2012-07-031-0/+4
| | | | | | | | | | Broken by: libav (a87b17f3283aada762820f1b797eeb7a2dff6c61) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | jvdec: check that the video_size fits in the packet.Michael Niedermayer2012-07-032-2/+1
| | | | | | | | | | | | | | Prevents use of out of array data and fate failure. Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | jvdec: fix memleak of jv->framesPaul B Mahol2012-07-031-0/+10
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | jvdemux: correct size for truncated packetsMichael Niedermayer2012-07-033-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: add test for Bitmap Brothers JV demuxerPaul B Mahol2012-07-032-0/+23
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | fate: add test for Bitmap Brothers JV videoPaul B Mahol2012-07-032-0/+12
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | h264pred: assert that depth is supportedMichael Niedermayer2012-07-031-0/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264dsp: assert that depth is supportedMichael Niedermayer2012-07-031-0/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dsputil: assert that depth is supportedMichael Niedermayer2012-07-031-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: remove vsrc_buffer.h APIStefano Sabatini2012-07-034-101/+1
| | | | | | | | | | | | | | The vsrc_buffer.h is not installed since commit 0b3b95813576, so there is no point into keeping it around. The buffersrc.h API, which is more powerful, should be used instead.
* | lavc/rawdec: add assertion check in raw_decode()Stefano Sabatini2012-07-031-0/+2
| | | | | | | | | | Check on an implicit assumption done on the number of coded bits for paletted rawvideo with coded bits == 2.
* | lavc/rawdec: prefer constant AVPALETTE_SIZE over 256*4Stefano Sabatini2012-07-031-2/+2
| | | | | | | | Improve readability.
* | h264: sps: handle more profilesMichael Niedermayer2012-07-031-1/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264: add support for constraint_set4_flag / constraint_set5_flagMichael Niedermayer2012-07-031-1/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/gradfun: fix compilation failure on open solarisMichael Niedermayer2012-07-021-6/+6
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Revert "alsdec: remove dead assignments"Michael Niedermayer2012-07-021-2/+2
| | | | | | | | | | | | This reverts commit 4ca6d206d1b5beea42c4290d2ee801aaf5cd31f0. The assignment is not dead, this should fix fate failures on BSD
* | has_decode_delay_been_guessed: tighten up the heuristic.Michael Niedermayer2012-07-021-1/+4
| | | | | | | | | | | | | | This adds the minimum delay needed with the current decoder to recognize the reorder buffer size for the reference bitstreams. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud