Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | pcmdec: move DVD PCM bits_per_coded_sample check near to the code that sets | Justin Ruggles | 2011-10-26 |
| | | | | the sample size. | ||
* | pcmdec: do not needlessly set *data_size to 0 | Justin Ruggles | 2011-10-26 |
| | |||
* | alacdec: remove unneeded NULL or zero-size packet checks. | Justin Ruggles | 2011-10-26 |
| | | | | This is already done in avcodec_decode_audio3() | ||
* | alacdec: simplify buffer allocation by using FF_ALLOC_OR_GOTO() | Justin Ruggles | 2011-10-26 |
| | |||
* | alacdec: ask for a sample for unsupported sample depths. | Justin Ruggles | 2011-10-26 |
| | | | | Also return AVERROR_PATCHWELCOME. | ||
* | alacdec: cosmetics: use 'ch' instead of 'chan' to iterate channels | Justin Ruggles | 2011-10-26 |
| | |||
* | alacdec: move some declarations to the top of the function | Justin Ruggles | 2011-10-26 |
| | |||
* | alacdec: always use get_sbits_long() for uncompressed samples | Justin Ruggles | 2011-10-26 |
| | |||
* | alacdec: remove unneeded local variable | Justin Ruggles | 2011-10-26 |
| | |||
* | alacdec: remove the numchannels parameter from several functions. | Justin Ruggles | 2011-10-26 |
| | | | | | They only operate on stereo content, so the extra param is not necessary and also allows for simplifying the code. | ||
* | alacdec: rename 2 functions. | Justin Ruggles | 2011-10-26 |
| | | | | Now they only do stereo interleaving. | ||
* | alacdec: move appending of extra_bits to a separate function. | Justin Ruggles | 2011-10-26 |
| | | | | This should also fix decoding of mono 24-bit. | ||
* | alacdec: split stereo decorrelation into a separate function. | Justin Ruggles | 2011-10-26 |
| | | | | | It is identical for 16-bit and 24-bit, so there is no need to have duplicate code. | ||
* | alacdec: cosmetics: rename 'wasted_bits' to 'extra_bits'. | Justin Ruggles | 2011-10-26 |
| | | | | | The bits are not wasted, they are additional low bits that are added to the 16-bit decompressed samples to increase the output sample depth. | ||
* | alacdec: remove unneeded numsamples checks | Justin Ruggles | 2011-10-26 |
| | |||
* | alacdec: check for buffer allocation failure. | Justin Ruggles | 2011-10-26 |
| | | | | Also rearranges some functions for easier cleanup on failure. | ||
* | alacdec: allocate per-channel buffers based on channel count. | Justin Ruggles | 2011-10-26 |
| | | | | reduces memory usage when the stream has fewer than MAX_CHANNELS | ||
* | alacdec: read/validate number of channels from the extradata. | Justin Ruggles | 2011-10-26 |
| | | | | check frame header channel count against header/container channel count. | ||
* | alacdec: remove unneeded validation of setinfo_sample_size. | Justin Ruggles | 2011-10-26 |
| | | | | It is already done when using it to set sample_fmt. | ||
* | alacdec: set sample_fmt in alac_decode_init() | Justin Ruggles | 2011-10-26 |
| | |||
* | alacdec: set bytespersample using av_get_bytes_per_sample() | Justin Ruggles | 2011-10-26 |
| | |||
* | threads: restore has_b_frames in frame_thread_free | Janne Grunau | 2011-10-26 |
| | | | | | | Otherwise the delay expressed in has_b_frames increases with every avcodec_close/avcodec_open. Fixes fate-ea-dct with more than 1 thread. | ||
* | H.264: Cometics to dsputil_mmx.c | Daniel Kang | 2011-10-26 |
| | | | | | | Add whitespace. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | ||
* | g722dec: check output buffer size before decoding | Justin Ruggles | 2011-10-25 |
| | |||
* | g722dec: cosmetics: reindent/linewrap | Justin Ruggles | 2011-10-25 |
| | |||
* | g722dec: remove the use of lowres for half-rate decoding. | Justin Ruggles | 2011-10-25 |
| | | | | | | | It is broken because an AVCodecContext can be opened/closed multiple times, and sample_rate is getting divided by 2 each time that happens. This removes the only use of lowres for audio. | ||
* | tta: check for extradata allocation failure in tta demuxer | Justin Ruggles | 2011-10-25 |
| | |||
* | tta: check for allocation failure of decode_buffer | Justin Ruggles | 2011-10-25 |
| | |||
* | tta: use correct frame_length calculation. | Justin Ruggles | 2011-10-25 |
| | | | | using a floating-point calculation is not necessary. | ||
* | tta: add support for decoding 24-bit sample format | Justin Ruggles | 2011-10-25 |
| | | | | | | Note that this will not work in most cases with avconv and avplay due to the AVCODEC_MAX_AUDIO_FRAME_SIZE limit, but it will decode correctly if given a large enough output buffer. | ||
* | cosmetics: indentation | Justin Ruggles | 2011-10-25 |
| | |||
* | tta: remove pointless braces | Justin Ruggles | 2011-10-25 |
| | |||
* | tta: check output buffer size after adjusting frame length for last frame | Justin Ruggles | 2011-10-25 |
| | |||
* | tta: fix reading of format in TTA header. | Justin Ruggles | 2011-10-25 |
| | | | | TTA does not support float at all, and format 2 is encrypted TTA. | ||
* | tta: remove useless commented-out lines | Justin Ruggles | 2011-10-25 |
| | |||
* | tta: check remaining bitstream size while reading unary value | Justin Ruggles | 2011-10-25 |
| | |||
* | lavf: deprecate AVStream.stream_copy | Anton Khirnov | 2011-10-25 |
| | | | | | It's only used in avconv, so it properly belongs to OutputStream struct there. | ||
* | avconc: split choose_codec() to choose_decoder/choose_encoder. | Anton Khirnov | 2011-10-25 |
| | | | | | Prevents -c copy from working for input streams and allows to move stream_copy variable from AVStream to OutputStream. | ||
* | lavf: simplify by using FFMAX/FFMIN. | Anton Khirnov | 2011-10-25 |
| | |||
* | mpegenc: add preload private option. | Anton Khirnov | 2011-10-25 |
| | | | | Deprecate AVFormatContext.preload. | ||
* | cosmetics: simplify latm_decode_init | Janne Grunau | 2011-10-25 |
| | |||
* | latm: avoid unnecessary reinit of the aac decoder | Janne Grunau | 2011-10-25 |
| | |||
* | aacdec: initialize sbr context only in new channel elements | Janne Grunau | 2011-10-25 |
| | |||
* | resample: reject unhandled conversions | Janne Grunau | 2011-10-25 |
| | | | | audio_resample can not reduce the number of channels | ||
* | resample: remove unused #define | Janne Grunau | 2011-10-25 |
| | |||
* | adpcm: use sign_extend() | Mans Rullgard | 2011-10-24 |
| | | | | | | This avoids warnings from the overflow checker and simplifies the code. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||
* | mpeg12: fix mpeg_decode_slice context parameter type | Janne Grunau | 2011-10-24 |
| | | | | | | During slice threading only MpegEncContext is passed to mpeg_decode_slice, remove a wrong cast and change the function definition to take MpegEncContext pointer. | ||
* | Revert "mpeg12: move full_pel from MpegEncContext to Mpeg1Context" | Janne Grunau | 2011-10-24 |
| | | | | | | | | This reverts commit da22ba7df461c13bf0b0eabc953303803a285d91 since it broke slice threading. Slice threading just duplicates MpegEncContext so every value used during mpeg_decode_slice has to be in it. A second patch will fix the illusion that Mpeg1Context is available in mpeg_decode_slice. | ||
* | Move id3v2 tag writing to a separate file. | Michael Karcher | 2011-10-23 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||
* | swscale: add missing colons to x86 assembly yuv2planeX. | Ronald S. Bultje | 2011-10-23 |
| | | | | This fixes assembling using "nasm". |