summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* dca: ARMv6 optimised decode_blockcode()Mans Rullgard2011-11-25
| | | | | | | | | This is a hand-tuned version of the code with impossible parts of the FASTDIV function ommitted. 2-5% faster overall on Cortex-A8. Signed-off-by: Mans Rullgard <mans@mansr.com>
* nullenc: drop AVFMT_RAWPICTURE from the flagsLuca Barbato2011-11-25
| | | | | This makes the two pass encoding with x264 working with -f null - as first pass.
* frame-mt: return consumed packet size in ff_thread_decode_frameJanne Grunau2011-11-25
| | | | | This is required to fulfill avcodec_decode_video2() promise to return the number of consumed bytes on success.
* aacdec: add more fate tests covering SBR and PSJanne Grunau2011-11-25
| | | | | | Add all seven test bitstreams of Coding Technologies "aacPlus Decoder Check Package". The streams cover different ways to signal SBR and PS in different formats.
* MK(BE)TAG: avoid undefined shiftsMans Rullgard2011-11-25
| | | | | | | | Casting the left-most byte to unsigned avoids an undefined result of the shift by 24 if bit 7 is set. This affects the rm demuxer. Signed-off-by: Mans Rullgard <mans@mansr.com>
* snow: split snow in snowdec and snowencLuca Barbato2011-11-24
| | | | | The common non inlined code goes in snow.c, the common inlined code in snow.h, tables move in snowdata.h (included only by snow.c)
* tiffenc: deprecate using compression_levelAnton Khirnov2011-11-24
|
* swscale: fix failing fate tests.Ronald S. Bultje2011-11-24
| | | | isGray() is left as a FIXME for later.
* swscale: add support for planar RGB input.Ronald S. Bultje2011-11-24
|
* h264: add support for decoding planar RGB images.Ronald S. Bultje2011-11-24
|
* Clean up swscale pixfmt macros using av_pix_fmt_descriptors[].Ronald S. Bultje2011-11-24
|
* pixfmt: add planar RGB formats.Ronald S. Bultje2011-11-24
|
* libavutil: add utility functions to simplify allocation of audio buffers.Justin Ruggles2011-11-23
| | | | Based on code by Stefano Sabatini.
* libavutil: add planar sample formats and av_sample_fmt_is_planar()Justin Ruggles2011-11-23
|
* avconv: fix segfault at EOF with delayed picturesJanne Grunau2011-11-24
| | | | | | At EOF it makes no sense to modify avpkt.{data,size} in output_packet since no data is consumed. Frame threading with more than 1 threads hits the segfault.
* pcmdec: remove unneeded resetting of samples pointerJustin Ruggles2011-11-23
|
* avconv: remove a now unused parameter from output_packet().Anton Khirnov2011-11-23
|
* avconv: formatting fixes in output_packet()Anton Khirnov2011-11-23
|
* avconv: declare some variables in blocks where they are usedAnton Khirnov2011-11-23
|
* avconv: use the same behavior when decoding audio/video/subsAnton Khirnov2011-11-23
| | | | | | | I.e. if the packet was only partially consumed, pass the rest of it into the decoder again. Also simplify the code so it's the same for video/audio/subs.
* bethsoftvideo: return proper consumed size for palette packets.Anton Khirnov2011-11-23
| | | | Also check for sufficient packet size.
* cdg: skip packets that don't contain a cdg command.Justin Ruggles2011-11-23
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* crcenc: add flagsAnton Khirnov2011-11-23
| | | | | | | | | | AVFMT_NOTIMESTAMPS for crc, as it ignores the timestamps. AVFMT_VARIABLE_FPS for framecrc, as it prints dts. Many FATE changes, because avconv is no longer duplicating frames in those tests. Also added -vsync 0 for some tests to prevent avconv from dropping frames until it can be fixed more properly.
* avconv: use vsync 0 for AVFMT_NOTIMESTAMPS formats.Anton Khirnov2011-11-23
| | | | | Prevent avconv from duplicating or dropping frames for formats where it makes even less sense than usual, e.g. image2.
* tiffenc: add a private option for selecting compression algorithmAnton Khirnov2011-11-23
|
* md5enc: add flagsAnton Khirnov2011-11-23
| | | | | | | | | AVFMT_NOTIMESTAMPS for md5, as it ignores the timestamps. AVFMT_VARIABLE_FPS for framemd5, as it prints dts. -vsync 0 for the vp8 test is needed because with vsync 2 the timestamp guessing code gets confused by an altref frame that is never displayed and drops a frame later.
* ARM: remove needless .text/.align directivesMans Rullgard2011-11-23
| | | | | | | The 'function' macro already includes the appropriate directives. Signed-off-by: Mans Rullgard <mans@mansr.com>
* aacdec: Fix PS in ADTS.Alex Converse2011-11-22
| | | | Fixes File1.aac and Bug 80.
* avconv: Consistently use PIX_FMT_NONE.Alex Converse2011-11-22
| | | | Use PIX_FMT_NONE instead of -1 when dealing with PixelFormat variables.
* dsputil: use cpuflags in x86 emu_edge_coreJustin Ruggles2011-11-22
| | | | avoids passing around the extra argument among all the macros it uses
* dsputil: use movups instead of movdqu in ff_emu_edge_core_sse()Justin Ruggles2011-11-22
| | | | | This allows emulated_edge_mc_sse() and gmc_sse() to be used under AV_CPU_FLAG_SSE.
* wma: initialize prev_block_len_bits, next_block_len_bits, and block_len_bits.Justin Ruggles2011-11-22
| | | | | | | | The initial values are not checked against the number of block sizes. Initializing them to frame_len_bits will result in a block size index of 0 in these cases instead of something that might be out-of-range. Fixes Bug 81.
* mov: Remove some redundant and obsolete comments.Alex Converse2011-11-22
|
* Add libavutil/mathematics.h #includes for INFINITYMans Rullgard2011-11-22
| | | | | | This fixes build errors in some environments. Signed-off-by: Mans Rullgard <mans@mansr.com>
* doxy: structure libavformat groupsLuca Barbato2011-11-22
|
* doxy: introduce an empty structure in libavcodecLuca Barbato2011-11-22
|
* doxy: provide a start page and document libavutilLuca Barbato2011-11-22
| | | | | | Introduce a basic layout, the subpages are currently left empty. Split libavutil in multiple groups as example of the structure
* doxy: cleanup pixfmt.hLuca Barbato2011-11-22
| | | | | Remove the dubious warning about the header being private and add some formatting
* regtest: split video encode/decode tests into individual targetsMans Rullgard2011-11-22
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: add explicit .arch and .fpu directives to asm.SMans Rullgard2011-11-22
| | | | | | | | | | | | | This prevents build errors when compiler and assembler default targets differ. Ideally each file would declare the highest level it requires. This is however not easily possible as it complicates assembling pre-armv6t2 code in Thumb-2 mode. HAVE_NEON is used as indicator for ARMv7-A since no other symbol exists for this and NEON is only available in this variant. Signed-off-by: Mans Rullgard <mans@mansr.com>
* pthread: do not touch has_b_framesJanne Grunau2011-11-22
| | | | | | | | | | | | | | | | | | Adding the thread count in frame level multithreading to has_b_frames as an additional delay causes more problems than it solves. For example inconsistent behaviour during timestamp calculation in libavformat. Thread count and frame level multithreading are both set by the user. If the additional delay caused by frame level multithreading needs to be considered in the calling code it has all information to take it into account. Should it become necessary to calculate a maximum delay inside libavcodec it should be exported as its own field and not reusing an existing field. Based on a patch by Michael Niedermayer. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* avconv: cleanup the transcoding loop in output_packet().Anton Khirnov2011-11-21
|
* avconv: split subtitle transcoding out of output_packet().Anton Khirnov2011-11-21
|
* avconv: split video transcoding out of output_packet().Anton Khirnov2011-11-21
|
* avconv: split audio transcoding out of output_packet().Anton Khirnov2011-11-21
|
* avconv: reindent.Anton Khirnov2011-11-21
|
* avconv: move streamcopy-only code out of decoding loop.Anton Khirnov2011-11-21
|
* avconv: remove an always true condition and reindent.Anton Khirnov2011-11-21
|
* avconv: split off streamcopy handling into a separate loop.Anton Khirnov2011-11-21
| | | | | This is easier to understand and is less likely to break horribly when a stream is to be both decoded and copied.
* pthread: add some malloc failure checksJustin Ruggles2011-11-21
|