aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* dca: favor native over ffmpeg in table nameMichael Niedermayer2012-06-291-3/+3
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* dca: fix project reference in table nameMichael Niedermayer2012-06-291-3/+3
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Replace Libav with FFmpeg in license headers for files created by mePaul B Mahol2012-06-295-20/+20
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Generate channel layout, reordering for DTS-XXCH extension and, undo ↵Nick Brereton2012-06-282-57/+309
| | | | | | | embedded downmixes Reviewed-by: Benjamin Larsson <benjamin@southpole.se> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Parse & decode DTS XXCH framesNick Brereton2012-06-281-7/+101
| | | | | Reviewed-by: Benjamin Larsson <benjamin@southpole.se> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* h264: Fix maximum reference count check for non-b framesJeff Downs2012-06-281-3/+7
| | | | | | | | | | | | | | | | | | | Below fixes the maximum reference count check for second reference list in non-B frames. There is nothing to prohibit full (field sized) reference list in this case as far as I can tell, and this fixes several syntax-test files here (this is a regression caused when this check was made more stringent by http://git.videolan.org/?p=ffmpeg.git;a=commit;h=dc9ce40069bde3d28f8d0b3e5bd733ae255fecb5) Probably a silly corner case seldom seen irl, but thought I'd pass along in case there was interest in correcting the check. --------------- h264: Fix maximum reference count check for non-b frames; full range is technically ok Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-283-28/+24
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mss1: validate number of changeable palette entries mss1: report palette changed when some additional colours were decoded x86: fft: replace call to memcpy by a loop udp: Support IGMPv3 source specific multicast and source blocking dxva2: include dxva.h if found libm: Provide fallback definitions for isnan() and isinf() tcp: Pass NULL as hostname to getaddrinfo if the string is empty tcp: Set AI_PASSIVE when the socket will be used for listening Conflicts: configure libavcodec/mss1.c libavformat/udp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mss1: validate number of changeable palette entriesKostya Shishkov2012-06-271-0/+6
| |
| * mss1: report palette changed when some additional colours were decodedKostya Shishkov2012-06-271-1/+1
| |
| * x86: fft: replace call to memcpy by a loopChristophe Gisquet2012-06-271-25/+12
| | | | | | | | | | | | | | | | | | The function call was a mess to handle, and memcpy cannot make the assumptions we do in the new code. Tested on an IMC sample: 430c -> 370c. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * dxva2: include dxva.h if foundRonald S. Bultje2012-06-271-0/+7
| | | | | | | | | | | | | | | | Apparently, some build environments require dxva.h even for dxva2, while others lack this header entirely. Including it conditionally allows building in both cases. Signed-off-by: Martin Storsjö <martin@martin.st>
| * dxva2_h264: fix signaling of mbaff framesHendrik Leppkes2012-06-261-1/+2
| | | | | | | | | | | | | | The MBAFF flag may only be signaled if we're actually dealing with a full frame, and not singular fields, as it can happen in mixed content. Signed-off-by: Martin Storsjö <martin@martin.st>
| * x86: fft: elf64: fix PIC buildMans Rullgard2012-06-251-0/+4
| | | | | | | | | | | | | | In a 64-bit PIC build, external functions must be called through the PLT. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | lsp: use av_assertMichael Niedermayer2012-06-281-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lpc: use av_assertMichael Niedermayer2012-06-281-2/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: clarify docs for avpkt->destructMichael Bradshaw2012-06-271-5/+6
| | | | | | | | | | | | | | | | avcodec_encode_audio2 docs are ambiguous about avpkt->destruct and imply it gets reset. Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: fft: elf64: fix PIC buildMans Rullgard2012-06-261-0/+4
| | | | | | | | | | | | | | In a 64-bit PIC build, external functions must be called through the PLT. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Revert "Revert "x86: fft: win64: fix stack alignment for memcpy() call""Nicolas George2012-06-261-7/+9
| | | | | | | | | | | | This reverts commit f767658414fc85dea4006cb82969b6a925fdd380. The bug it introduces has been fixed.
* | Revert "Revert "x86: fft: convert sse inline asm to yasm""Nicolas George2012-06-263-121/+129
| | | | | | | | | | | | This reverts commit fd91a3ec44de38251b2c15e03e26d14e983c4e44. The bug it introduced has been fixed.
* | lavu/imgutils: create misc functions for dealing with buffersStefano Sabatini2012-06-263-86/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | Move the lavc/imgconvert functions and rename them as follows: avpicture_get_size -> av_image_get_buffer_size() avpicture_fill -> av_image_fill_arrays() avpicture_layout -> av_image_copy_to_buffer() The new functions have an align parameter, which allows to define the linesize alignment assumed in the buffer (which is set or read). The names of the functions are consistent with the lavu/samples API (av_samples_get_buffer_size(), av_samples_fill_arrays()).
* | Revert "x86: fft: convert sse inline asm to yasm"Nicolas George2012-06-263-129/+121
| | | | | | | | | | | | This reverts commit 82992604706144910f4a2f875d48cfc66c1b70d7. It breaks shared builds on x86_64.
* | Revert "x86: fft: win64: fix stack alignment for memcpy() call"Nicolas George2012-06-261-9/+7
| | | | | | | | | | | | This reverts commit 8725da49a2090de05b4b2d05e33727f45cb9d970. Necerrary to revert 82992604706144910f4a2f875d48cfc66c1b70d7.
* | Make LucasArts Smush SANM palette opaque.Carl Eugen Hoyos2012-06-261-4/+4
| | | | | | | | Reviewed-by: Paul B Mahol
* | Signal MSS1 palette change.Carl Eugen Hoyos2012-06-261-1/+1
| | | | | | | | Reviewed-by: Paul B Mahol
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-261-7/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: log: Include io.h on windows lavr: x86: merge some branches x86: cpu: whitespace (mostly) cosmetics x86: fft: win64: fix stack alignment for memcpy() call Conflicts: libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: fft: win64: fix stack alignment for memcpy() callMans Rullgard2012-06-251-7/+9
| |
* | mss1: check number of free coloursPaul B Mahol2012-06-251-0/+4
| | | | | | | | | | | | Prevents out of array write. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | sonic: fix FPEMichael Niedermayer2012-06-261-0/+5
| | | | | | | | | | | | | | Fixes Ticket1397 Found-by: Piotr Bandurski <ami_stuff@o2.pl> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264_parser: use av_assertMichael Niedermayer2012-06-251-3/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264_loopfilter: use av_assertMichael Niedermayer2012-06-251-4/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Make MSS1 palette opaque.Carl Eugen Hoyos2012-06-251-2/+2
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-2511-121/+168
|\| | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: wtv: Check the return value from gmtime x86: fft: convert sse inline asm to yasm x86: place some inline asm under #if HAVE_INLINE_ASM Conflicts: libavcodec/x86/fft_sse.c libavformat/wtv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: fft: convert sse inline asm to yasmMans Rullgard2012-06-253-121/+129
| |
| * x86: place some inline asm under #if HAVE_INLINE_ASMRonald S. Bultje2012-06-258-0/+39
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | xwdenc: support 8bpp grayscalePaul B Mahol2012-06-241-0/+6
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | xwddec: support 8bpp grayscalePiotr Bandurski2012-06-241-2/+5
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-242-3/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: log: Only include unistd.h if configure found it ape: create audio stream before reading tags. mov: make a length variable larger. image2: Add "start_number" private option to the demuxer image2: Add "start_number" private option to the muxer avconv: remove a forgotten debugging printf. avconv: use more descriptive names for hardcoded filters. avconv: remove redundant handling of async. doc/filters: fix typo. h264: use asm cabac reader under a generic condition Conflicts: ffmpeg.c libavformat/img2dec.c libavformat/img2enc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: use asm cabac reader under a generic conditionMans Rullgard2012-06-232-3/+5
| | | | | | | | | | | | | | | | This removes a dependency on implementation details from generic code and allows easy addition of the equivalent optimisation for other architectures than x86. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | mlp_parser: use av_assertMichael Niedermayer2012-06-241-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rangecoder.h: use av_assertMichael Niedermayer2012-06-241-4/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dxva2_h264: fix signaling of mbaff framesHendrik Leppkes2012-06-241-1/+2
| | | | | | | | | | | | | | | | The MBAFF flag may only be signaled if we're actually dealing with a full frame, and not singular fields, as it can happen in mixed content. Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-244-104/+37
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: x86: Only use optimizations with cmov if the CPU supports the instruction x86: Add CPU flag for the i686 cmov instruction x86: remove unused inline asm macros from dsputil_mmx.h x86: move some inline asm macros to the only places they are used lavfi: Add the af_channelmap audio channel mapping filter. lavfi: add join audio filter. lavfi: allow audio filters to request a given number of samples. lavfi: support automatically inserting the fifo filter when needed. lavfi/audio: eliminate ff_default_filter_samples(). Conflicts: Changelog libavcodec/x86/h264dsp_mmx.c libavfilter/Makefile libavfilter/allfilters.c libavfilter/avfilter.h libavfilter/avfiltergraph.c libavfilter/version.h libavutil/x86/cpu.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: Only use optimizations with cmov if the CPU supports the instructionDiego Biurrun2012-06-233-3/+6
| |
| * x86: remove unused inline asm macros from dsputil_mmx.hMans Rullgard2012-06-231-68/+0
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: move some inline asm macros to the only places they are usedMans Rullgard2012-06-233-34/+34
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | snow.h: use av_assertMichael Niedermayer2012-06-231-5/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | snow.c: use av_assertMichael Niedermayer2012-06-231-8/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: use designated initializers for AVClassesPaul B Mahol2012-06-236-10/+38
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | libschroedingerdec: remove unused headerPaul B Mahol2012-06-231-4/+0
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | mjpegenc: enable frame multithreading encoderMichael Niedermayer2012-06-231-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>