summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-3121-180/+198
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mpc8: return more meaningful error codes. mpc: return more meaningful error codes. wv,mpc8: don't return apetag data in packets. rtmp: do not warn about receiving metadata packets x86: h264dsp: Adjust YASM #ifdefs x86: yadif: Mark mmxext optimizations as such h264: convert loop filter strength dsp function to yasm. Improve descriptiveness of a number of codec and container long names Conflicts: libavcodec/flvdec.c libavcodec/libopenjpegdec.c libavformat/apetag.c libavformat/mp3dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: h264dsp: Adjust YASM #ifdefsDiego Biurrun2012-07-311-3/+1
| | | | | | | | This fixes compilation with YASM disabled.
| * h264: convert loop filter strength dsp function to yasm.Ronald S. Bultje2012-07-302-155/+175
| | | | | | | | | | | | | | This completes the conversion of h264dsp to yasm; note that h264 also uses some dsputil functions, most notably qpel. Performance-wise, the yasm-version is ~10 cycles faster (182->172) on x86-64, and ~8 cycles faster (201->193) on x86-32.
| * Improve descriptiveness of a number of codec and container long namesDiego Biurrun2012-07-3020-24/+24
| |
* | loco: fix return value.Nicolas George2012-07-311-1/+1
| | | | | | | | | | The return value was the number of bytes left, it is supposed to be the number of bytes used.
* | loco: take decode overflow into account.Nicolas George2012-07-311-9/+14
| | | | | | | | | | | | Commit 2bf0982 introduced an overflow check in loco_decode_plane, but the error code is never taken into account, leading to completely idiotic return values.
* | sp5xdec: sanitize return value.Nicolas George2012-07-311-1/+1
| | | | | | | | | | | | i is the decoded size of a recoded packet, which is larger than the original packet. Assume that if decoding succeeded, all the packet was used.
* | 8svx: unify mono and stereo code paths.Nicolas George2012-07-311-8/+9
| |
* | 8svx: remove useless rounding code.Nicolas George2012-07-311-1/+3
| | | | | | | | | | | | samples_size and samples_idx are supposed to be multiple of channels at all time. If they are, the division is exact; if they are not, something is very wrong in the code.
* | 8svx: use a more direct condition.Nicolas George2012-07-311-3/+3
| | | | | | | | | | esc->table was inited based on codec->id: re-testing codec->id is code duplication and can lead to inconsistencies.
* | movtextdec: fix return value for too small packets.Nicolas George2012-07-311-1/+1
| |
* | mmvideo: count preamble size in return value.Nicolas George2012-07-311-2/+2
| | | | | | | | | | MM_PREAMBLE_SIZE is subtracted from buf_size almost immediately. The original size is still in avpkt->size.
* | vc1dec: count ENDOFSEQ code in return value.Nicolas George2012-07-311-1/+1
| |
* | lavc: add channels field to AVFrameStefano Sabatini2012-07-313-1/+16
| | | | | | | | | | | | This is required otherwise it is not always possible to guess the number of channels from the layout, for example if the channel layout is unknown.
* | vc1dec: fix handling of max_coded dimensionsMichael Niedermayer2012-07-312-7/+10
| | | | | | | | | | | | Fixes Ticket1502 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg4videoenc: ensure SAR is within the supported rangeMichael Niedermayer2012-07-311-0/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-3010-101/+106
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avformat: Drop pointless "format" from container long names swscale: bury one more piece of inline asm under HAVE_INLINE_ASM. wv: K&R formatting cosmetics configure: Add missing descriptions to help output h264_ps: declare array of colorspace strings on its own line. fate: amix: specify f32 sample format for comparison tiny_psnr: support 32-bit float samples eamad/eatgq/eatqi: call special EA IDCT directly eamad: remove use of MpegEncContext mpegvideo: remove unnecessary inclusions of faandct.h af_asyncts: avoid overflow in out_size with large delta values af_asyncts: add first_pts option Conflicts: configure libavcodec/eamad.c libavcodec/h264_ps.c libavformat/crcenc.c libavformat/ffmdec.c libavformat/ffmenc.c libavformat/framecrcenc.c libavformat/md5enc.c libavformat/nutdec.c libavformat/rawenc.c libavformat/yuv4mpeg.c tests/tiny_psnr.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264_ps: declare array of colorspace strings on its own line.Ronald S. Bultje2012-07-291-1/+2
| |
| * eamad/eatgq/eatqi: call special EA IDCT directlyMans Rullgard2012-07-297-51/+57
| | | | | | | | | | | | | | | | | | | | | | | | These decoders use a special non-MPEG2 IDCT. Call it directly instead of going through dsputil. There is never any reason to use a regular IDCT with these decoders or to use the EA IDCT with other codecs. This also fixes the bizarre situation of eamad and eatqi decoding incorrectly if eatgq is disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * eamad: remove use of MpegEncContextMans Rullgard2012-07-291-46/+46
| | | | | | | | | | | | | | | | There is no sense in pulling in this monster struct just for a handful of fields. The code does not call any functions expecting an MpegEncContext. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * mpegvideo: remove unnecessary inclusions of faandct.hMans Rullgard2012-07-292-2/+0
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | options: Fix warning about incompatible pointer typejamal2012-07-301-2/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aacenc: new default cutoffMichael Niedermayer2012-07-293-1/+6
| | | | | | | | | | | | | | Improves subjective quality Formula and testing by: kamedo2 <fujisakihir90@yahoo.co.jp> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libx264: list possible profiles.Nicolas George2012-07-291-0/+5
| | | | | | | | | | | | | | The values are listed if setting them fails. Using "-profile help" or "-profile list" have that effect. Similar to 3aba391. Suggested by "rogerdpack" in trac ticket #1529.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-2913-364/+376
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (35 commits) h264_idct_10bit: port x86 assembly to cpuflags. x86inc: clip num_args to 7 on x86-32. x86inc: sync to latest version from x264. fft: rename "z" to "zc" to prevent name collision. wv: return meaningful error codes. wv: return AVERROR_EOF on EOF, not EIO. mp3dec: forward errors for av_get_packet(). mp3dec: remove a pointless local variable. mp3dec: remove commented out cruft. lavfi: bump minor to mark stabilizing the ABI. FATE: add tests for yadif. FATE: add a test for delogo video filter. FATE: add a test for amix audio filter. audiogen: allow specifying random seed as a commandline parameter. vc1dec: Override invalid macroblock quantizer vc1: avoid reading beyond the last line in vc1_draw_sprites() vc1dec: check that coded slice positions and interlacing match. vc1dec: Do not ignore ff_vc1_parse_frame_header_adv return value configure: Move parts that should not be user-selectable to CONFIG_EXTRA lavf: remove commented out cruft in avformat_find_stream_info() ... Conflicts: Makefile configure libavcodec/vc1dec.c libavcodec/x86/h264_deblock.asm libavcodec/x86/h264_deblock_10bit.asm libavcodec/x86/h264dsp_mmx.c libavfilter/version.h libavformat/mp3dec.c libavformat/utils.c libavformat/wv.c libavutil/x86/x86inc.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264_idct_10bit: port x86 assembly to cpuflags.Ronald S. Bultje2012-07-281-127/+127
| |
| * fft: rename "z" to "zc" to prevent name collision.Ronald S. Bultje2012-07-281-9/+9
| | | | | | | | | | | | Without this, cglobal will expand "z" to "zh" to access the high byte in a register's word, which causes a name collision with the ZH(x) macro further up in this file.
| * vc1dec: Override invalid macroblock quantizerMichael Niedermayer2012-07-281-0/+5
| | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * vc1: avoid reading beyond the last line in vc1_draw_sprites()Michael Niedermayer2012-07-281-2/+6
| | | | | | | | | | | | | | | | Fixes overread Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * vc1dec: check that coded slice positions and interlacing match.Michael Niedermayer2012-07-281-0/+6
| | | | | | | | | | | | | | | | This fixes out of array writes Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * vc1dec: Do not ignore ff_vc1_parse_frame_header_adv return valueMichael Niedermayer2012-07-281-4/+10
| | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * vp3: don't compile mmx IDCT functions on x86-64.Ronald S. Bultje2012-07-272-0/+5
| | | | | | | | | | 64-bit CPUs always have SSE2, and a SSE2 version exists, thus the MMX version will never be used.
| * h264_loopfilter: port x86 simd to cpuflags.Ronald S. Bultje2012-07-273-121/+120
| |
| * h264_chromamc_10bit: port x86 simd to cpuflags.Ronald S. Bultje2012-07-272-28/+28
| |
| * vp3: port x86 SIMD to cpuflags.Ronald S. Bultje2012-07-271-47/+47
| |
| * rv34: port x86 SIMD to cpuflags.Ronald S. Bultje2012-07-271-5/+6
| |
| * vp56: only compile MMX SIMD on x86-32.Ronald S. Bultje2012-07-272-0/+4
| | | | | | | | | | All x86-64 CPUs have SSE2, so the MMX version will never be used. This leads to smaller binaries.
| * vp56: port x86 simd to cpuflags.Ronald S. Bultje2012-07-271-19/+15
| |
* | mpegaudiodec: switch to av_assertMichael Niedermayer2012-07-281-7/+8
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dxva2: Fix some warnings about incompatible pointer typejamal2012-07-283-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dvdsubenc: switch to av_assertMichael Niedermayer2012-07-281-3/+2
| | | | | | | | | | | | | | we use av_assert0() because the previous code unconditionally enabled the assert. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-277-52/+56
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: proresdsp: port x86 assembly to cpuflags. lavr: x86: improve non-SSE4 version of S16_TO_S32_SX macro lavfi: better channel layout negotiation alac: check for truncated packets alac: reverse lpc coeff order, simplify filter lavr: add x86-optimized mixing functions x86: add support for fmaddps fma4 instruction with abstraction to avx/sse tscc2: fix typo in array index build: use COMPILE template for HOSTOBJS build: do full flag handling for all compiler-type tools eval: fix printing of NaN in eval fate test. build: Rename aandct component to more descriptive aandcttables mpegaudio: bury inline asm under HAVE_INLINE_ASM. x86inc: automatically insert vzeroupper for YMM functions. rtmp: Check the buffer length of ping packets rtmp: Allow having more unknown data at the end of a chunk size packet without failing rtmp: Prevent reading outside of an allocate buffer when receiving server bandwidth packets Conflicts: Makefile configure libavcodec/x86/proresdsp.asm libavutil/eval.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * proresdsp: port x86 assembly to cpuflags.Ronald S. Bultje2012-07-271-21/+18
| |
| * alac: check for truncated packetsJustin Ruggles2012-07-271-4/+11
| | | | | | | | | | This will give a clearer error message when the error is caused by a truncated packet.
| * alac: reverse lpc coeff order, simplify filterJustin Ruggles2012-07-271-13/+12
| | | | | | | | Reversing the lpc coefficient order simplifies indexing in the filter.
| * tscc2: fix typo in array indexKostya Shishkov2012-07-271-2/+2
| |
| * build: Rename aandct component to more descriptive aandcttablesDiego Biurrun2012-07-261-1/+1
| |
| * mpegaudio: bury inline asm under HAVE_INLINE_ASM.Ronald S. Bultje2012-07-261-0/+5
| |
| * x86inc: automatically insert vzeroupper for YMM functions.Ronald S. Bultje2012-07-262-20/+0
| |
* | dwt: Fix several warnings about incompatible pointer typejamal2012-07-271-16/+16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud