summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* aaccoder: Change FFMAX for allzero flag to OR bit operationYoung Han Lee2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Remove occurrences of my old email addressRamiro Polla2011-03-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: add bswap16_buf()Mans Rullgard2011-03-16
| | | | | | | | There are several places where a buffer is byte-swapped in 16-bit units. This allows them to share code which can be optimised for various architectures. Signed-off-by: Mans Rullgard <mans@mansr.com>
* use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*Janne Grunau2011-03-16
|
* replace FFMPEG with LIBAV in FFMPEG_CONFIGURATIONJanne Grunau2011-03-16
| | | | also update the multiple inclusion guards in config.h|mak
* mathops: fix MULL() when the compiler does not inline the function.Justin Ruggles2011-03-15
| | | | | | | If the function is not inlined, an immmediate cannot be used for the shift parameter, so the %cl register must be used instead in that case. This fixes compilation for x86-32 using gcc with --disable-optimizations.
* mathops: change "g" constraint to "rm" in x86-32 version of MUL64().Justin Ruggles2011-03-15
| | | | | The 1-arg imul instruction cannot take an immediate argument, only a register or memory argument.
* mathops: convert MULL/MULH/MUL64 to inline functions rather than macros.Justin Ruggles2011-03-15
| | | | | | This fixes unexpected name collisions that were occurring with variables declared within the macros. It also fixes the fate-acodec-ac3_fixed regression test on x86-32.
* h264_mp4toannexb_bsf: Fix spurious warning when stream has SPS and PPS units.Philip Langdale2011-03-15
| | | | | Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ac3enc: add SIMD-optimized shifting functions for use with the fixed-point ↵Justin Ruggles2011-03-14
| | | | AC3 encoder.
* ac3enc: do not right-shift fixed-point coefficients in the final MDCT stage.Justin2011-03-14
| | | | | | | | | This increases the accuracy of coefficients, leading to improved quality. Rescaling of the coefficients to full 25-bit accuracy is done rather than offsetting the exponent values. This requires coefficient scaling to be done before determining the rematrixing strategy. Also, the rematrixing strategy calculation must use 64-bit math to prevent overflow due to the higher precision coefficients.
* mm decoder: move buffer allocation from decode_init() to decode_frame()Peter Ross2011-03-14
| | | | | | This permits playback in ffplay when libavfilter is enabled. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Bitmap Brothers JV video decoderPeter Ross2011-03-14
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Update the url to the site website and change ffmpeg-devel to libav-develJohan Andersson2011-03-13
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* VP8: fix other function declarationJason Garrett-Glaser2011-03-12
| | | | Was missed in 3efbe137.
* VC1: Export profile/levelHendrik Leppkes2011-03-12
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* VP8: optimize VP8Context struct orderingJason Garrett-Glaser2011-03-12
| | | | | Shaves at least 3KB off code size on x86, should improve cache utilization. This would probably be useful to do for other decoders/encoders as well.
* VP8: fix function declarationJason Garrett-Glaser2011-03-12
|
* VP8: token probs doesn't need paddingJason Garrett-Glaser2011-03-12
| | | | | prob[0] is the only prob array ever accessed, so prob[1] can serve as padding for prob[0].
* VP8: use a goto to break out of two loopsJason Garrett-Glaser2011-03-12
| | | | | A break statement was supposed to break out of two loops, but only broke out of one. Didn't affect output, just could have been marginally slower.
* Add CONFIG_AC3DSP symbol to simplify makefilesMans Rullgard2011-03-12
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Export profiles from the mpeg2 video decoderBenjamin Larsson2011-03-10
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* aacenc: Fix a segfault in search_for_quantizersNathan Caldwell2011-03-08
| | | | | | | | This reverts the removal of scoefs from AACEncContext. It resulted in scoefs being a NULL pointer when search_for_quantizers() is called. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* reindent.Ronald S. Bultje2011-03-07
|
* aacenc: remove the data arraysYoung Han Lee2011-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* aac_latm_dec: use aac context and aac m4acThadeu Lima de Souza Cascardo2011-03-07
| | | | | | | | | | | When decoding latm config, use the corresponding aac context and its m4ac instead of using NULL and a local variable. This fixes decoding of audio in MPEG TS from SBTVD (the Brazillian Digital TV Sytem), when there is no extradata. This is the case when using the decoder with gst-ffmpeg and a GStreamer mpegts demuxer. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ac3enc: add some assertionsJustin Ruggles2011-03-07
|
* ac3enc: use av_assert2() instead of assert() to make debugging easier.Justin Ruggles2011-03-07
|
* cosmetics: rename ff_fmt_convert_init_ppc() to ff_fmt_convert_init_altivec().Justin Ruggles2011-03-07
| | | | It only has Altivec functions and is not compiled if Altivec is disabled.
* Fix compilation on powerpc with --disable-altivec.Carl Eugen Hoyos2011-03-07
|
* h264_mp3toannexb_bsg: don't crash, but warn, if PPS/SPS not found.Sean McGovern2011-03-07
| | | | | | | | | | Should an AVC-1 in MP4 stream not contain SPS or PPS NAL units, this BSF is then unable to allocate an output buffer for the modified stream. Warn that the resulting stream may be unplayable. Fix roundup issue #2386. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ac3enc: add num_rematrixing_bands to AC3EncodeContext and use it instead of ↵Justin Ruggles2011-03-04
| | | | | | | | the hardcoded value. Currently it is always 4, but this change will allow it to be adjusted when bandwidth-related features are added such as channel coupling, enhanced channel coupling, and spectral extension.
* ac3: define AC3_MAX_CPL_BANDS and use it in ac3dec.hJustin Ruggles2011-03-04
|
* vp3-mt: fix deadlock when first frame is not a keyframe.Ronald S. Bultje2011-03-02
|
* threads: allow thread count of zeroMans Rullgard2011-03-02
| | | | | | | | | This moves setting the thread count to a minimum of 1 to frame_thread_init(), allowing a value of zero to propagate through to the codec if frame threading is not used. This makes auto-threads work in libx264. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vc1: fix decoding when end sequence is presentBaptiste Coudurier2011-03-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dnxhd: allow encoding with Avid Nitris compatibility.Baptiste Coudurier2011-03-01
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* huffyuv: Add multithreading supportAlexander Strange2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* pthreads: Fix bug introduced with thread_safe_callbacksAlexander Strange2011-03-01
| | | | | | | | | For intra codecs, ff_thread_finish_setup() is called before decoding starts automatically. However, get_buffer can only be used before it's called, so adding this requirement broke frame threading for them. Fixed by moving the call until after get_buffer is finished. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ARM: VP8: fix build on systems with global symbol prefixMans Rullgard2011-02-27
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: fix vp8 neon with pic enabledMans Rullgard2011-02-27
| | | | | | | The assembler emits literal pools too far from the load instructions, so we must do it explicitly at a suitable location. Signed-off-by: Mans Rullgard <mans@mansr.com>
* bink: prevent overflows within binkidct by using int-sized intermediate arrayPeter Ross2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Bink version 'b' audio decoderPeter Ross2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* binkaudio: simplify frame_len_bits and frame_len calculationPeter Ross2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* binkaudio: remove unnecessary loopPeter Ross2011-02-25
| | | | | | | decode_init sets bands[0] == 2, so this loop always sets the band table index (k) to zero. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* binkaudio: perform band table scaling in decode_initPeter Ross2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* bink: use LOCAL_ALIGNED for aligned stack dataMans Rullgard2011-02-25
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dxva2: define required feature selection macrosKyle2011-02-25
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dca: use EXT_AUDIO_ID field to determine core extensionsAnssi Hannula2011-02-24
| | | | | | | | | This avoids the core substream extensions scan when the EXT_AUDIO_ID field indicates no extensions or only unsupported extensions. The scan is done only if the value of EXT_AUDIO_ID is unknown or indicates a present XCh extension which we can decode. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vmdaudio: output 8-bit audio as AV_SAMPLE_FMT_U8.Justin Ruggles2011-02-23
| | | | | | There is no need to expand to 16-bits. Just use memcpy() to copy the raw data. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>