summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-19
|\ | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Print full compiler identification, not only version number flacdec: reverse lpc coeff order, simplify filter x86: dsputil: drop some unused CPU flag debug code Conflicts: cmdutils.c configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * flacdec: reverse lpc coeff order, simplify filterMans Rullgard2012-07-19
| | | | | | | | | | | | | | Reversing the lpc coefficient order simplifies indexing in the filter. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: dsputil: drop some unused CPU flag debug codeDiego Biurrun2012-07-19
| |
* | threads: fix a potential race spotted by helgrind.Clément Bœsch2012-07-19
| |
* | Fix misspellings of FFmpegMichael Niedermayer2012-07-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ppc: fix build with altivec disabled vp3: move idct and loop filter pointers to new vp3dsp context build: add CONFIG_VP3DSP, reduce repetition in OBJS lists tscc2: do not add/subtract 128 bias during DCT tscc2: fix typo in DCT configure: clarify external library section of help output configure: mark libfdk-aac as nonfree configure: cosmetics: drop some unnecessary backslashes os_support: K&R formatting cosmetics Conflicts: configure libavcodec/vp3.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: fix build with altivec disabledMans Rullgard2012-07-18
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * vp3: move idct and loop filter pointers to new vp3dsp contextMans Rullgard2012-07-18
| | | | | | | | | | | | | | | | This moves all VP3-specific function pointers from dsputil to a new vp3dsp context. There is no reason to ever use the VP3 IDCT where an MPEG2 IDCT is expected or vice versa. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * build: add CONFIG_VP3DSP, reduce repetition in OBJS listsMans Rullgard2012-07-18
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * tscc2: do not add/subtract 128 bias during DCTKostya Shishkov2012-07-18
| | | | | | | | | | | | | | It turns out that the reference decoder subtracts 128 from DC during block decode but adds it back during reordering block with zigzag pattern. Transforming block with incorrect DC caused heavy visual artifacts for many quantisers.
| * tscc2: fix typo in DCTKostya Shishkov2012-07-18
| |
* | imgconvert: favor pixel formats without resolution lossMichael Niedermayer2012-07-18
| | | | | | | | | | | | Fixes Ticket1517 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mlpdec: switch to av_assertMichael Niedermayer2012-07-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: libopenjpeg: introduce encoding support libopenjpeg: rename decoder source file. RTMPTS protocol support RTMPS protocol support avconv: print an error message when demuxing fails. tscc2: DCT output should not be clipped rtmp: Rename rtmphttp to ffrtmphttp Conflicts: Changelog configure doc/general.texi libavcodec/libopenjpegenc.c libavcodec/version.h libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libopenjpeg: introduce encoding supportMichael Bradshaw2012-07-17
| | | | | | | | | | | | | | Based on FFmpeg version from commit 713a7854e06964abc8f7d015b94acbed27769d24 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * libopenjpeg: rename decoder source file.Michael Bradshaw2012-07-17
| | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * tscc2: DCT output should not be clippedKostya Shishkov2012-07-17
| | | | | | | | This fixes decoding some TSCC2 files with large quantisers.
* | ptx: correct decodingPaul B Mahol2012-07-17
| | | | | | | | | | | | The image data is in BGR and not in RGB. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Fix libilbc compilation.chinshou2012-07-17
| | | | | | | | Fixes ticket #1540
* | mpeg4videodec: Add two missing format specifiers for debug output.Carl Eugen Hoyos2012-07-17
| |
* | mpeg4videodec: Use format specifier PRId64 for int64_t.Carl Eugen Hoyos2012-07-17
| |
* | tiff: read more tags of type stringPaul B Mahol2012-07-17
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | tiff: add smarter checks if there is enough data leftPaul B Mahol2012-07-17
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | tiff: port to bytestream2Paul B Mahol2012-07-17
| | | | | | | | | | | | Prevents out of array reads. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-16
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rtmp: rtmp_parse_result() add case for video and audio packets to avoid undesired debug output. configure: Move the getaddrinfo function check into the network block configure: Remove an unused 'have' item mpeg: remove disabled code libfdk-aac: Check if cutoff value is valid network: Always use our version of gai_strerror on windows network: Undefine existing gai_strerror definitions network: Extend the fallback gai_strerror implementation to handle more error codes Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libfdk-aac: Check if cutoff value is validMohammad Alsaleh2012-07-15
| | | | | | | | | | | | | | | | Passing a cutoff value < sample_rate/256 will cause a crash. Also, values >20000 will have no effect and 20000 will be used anyway. Signed-off-by: Mohammad Alsaleh <msal@tormail.org> Signed-off-by: Martin Storsjö <martin@martin.st>
* | ffv1dec: fix error concealment for gop>1Michael Niedermayer2012-07-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix DCA-XXCH extension scaling for embedded downmixes.Nick Brereton2012-07-16
| | | | | | | | | | Reviewed-by: Benjamin Larsson <benjamin@southpole.se> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix ordering of XXCH downmix coefficients.Nick Brereton2012-07-16
| | | | | | | | | | Reviewed-by: Benjamin Larsson <benjamin@southpole.se> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1dec: detect errors in bytestream end mismatches for ECMichael Niedermayer2012-07-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1dec: set the first slices bytestream end correctlyMichael Niedermayer2012-07-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1dec: keep track of errors in slice headers for ECMichael Niedermayer2012-07-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1dec: add simple error concealment in case of CRC errors on slices.Michael Niedermayer2012-07-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: keep last_frame (to be used for error concealment)Michael Niedermayer2012-07-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | exr: check size of uncompressed buffer returned by uncompress()Paul B Mahol2012-07-16
| | | | | | | | | | | | | | The actual size of uncompressed buffer returned by uncompress() may be smaller than expected, so abort decoding in such cases. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-16
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: configure: Check for CommandLineToArgvW vc1dec: Do not use random pred_flag if motion vector data is skipped vp8: Enclose pthread function calls in ifdefs snow: refactor code to work around a compiler bug in MSVC. vp8: Include the thread headers before using the pthread types configure: Check for getaddrinfo in ws2tcpip.h, too vp8: implement sliced threading vp8: move data from VP8Context->VP8Macroblock vp8: refactor decoding a single mb_row doc: update api changes with the right commit hashes mem: introduce av_malloc_array and av_mallocz_array Conflicts: configure doc/APIchanges libavcodec/vp8.c libavutil/mem.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vc1dec: Do not use random pred_flag if motion vector data is skippedMashiat Sarker Shakkhar2012-07-15
| | | | | | | | | | | | | | This fixes SA10143.vc1 from test-suite. Also partially fixes MC-VC1.ts from videolan streams archive. Signed-off-by: Martin Storsjö <martin@martin.st>
| * vp8: Enclose pthread function calls in ifdefsMartin Storsjö2012-07-15
| | | | | | | | | | | | This fixes building with threads disabled. Signed-off-by: Martin Storsjö <martin@martin.st>
| * snow: refactor code to work around a compiler bug in MSVC.Ronald S. Bultje2012-07-14
| | | | | | | | | | This fixes the compiler error "cannot convert from 'BlockNode' to 'int16_t'".
| * vp8: Include the thread headers before using the pthread typesMartin Storsjö2012-07-14
| | | | | | | | | | | | | | This was unnoticed on linux, since stdlib.h apparently includes files declaring the pthread_mutex_t and pthread_cond_t types. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * vp8: implement sliced threadingDaniel Kang2012-07-14
| | | | | | | | | | | | | | | | | | | | | | | | Testing gives 25-30% gain on HD clips with two threads and up to 50% gain with eight threads. Sliced threading uses more memory than single or frame threading. Frame threading and single threading keep the previous memory layout. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * vp8: move data from VP8Context->VP8MacroblockDaniel Kang2012-07-14
| | | | | | | | | | | | In preparation for sliced threading. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * vp8: refactor decoding a single mb_rowDaniel Kang2012-07-14
| | | | | | | | | | | | This is in preperation for sliced threading. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Simplify ptx decoding on big-endian.Carl Eugen Hoyos2012-07-15
| | | | | | | | Reviewed-by: Reimar Döffinger
* | isom: add "NO16" FourCCPiotr Bandurski2012-07-15
| | | | | | | | | | | | | | | | samples: http://www.datafilehost.com/download-46d9a0fa.html Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: add seperate AVCodec for CODEC_ID_H263P so demuxers can use that id.Michael Niedermayer2012-07-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | exr: make channel_offsets int instead of int8_tPaul B Mahol2012-07-15
| | | | | | | | | | | | | | | | Prior to this change max number of channels for float data which was going to be correctly decoded was 32, which is rather small considering that exr allows multiple channel layers. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | cosmetics: reindent after d3abbb1d1Paul B Mahol2012-07-15
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | libfdk-aacenc: remove redundant log message if ff_alloc_packet2 failsPaul B Mahol2012-07-15
| | | | | | | | | | | | | | The whole point of ff_alloc_packet2 is to not bloat code with duplicated error messages. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | mss1: improve check if decoded pivot is invalidPaul B Mahol2012-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | The pivot has to lie between 0 and base. Check of ==base is insufficient. Thus replace it by a proper check. Fixes out of array write. Fixes bug #1531. Found-by: Piotr Bandurski <ami_stuff@o2.pl> Signed-off-by: Paul B Mahol <onemda@gmail.com>