summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-07
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rtpdec_asf: Set the no_resync_search option for the chained asf demuxer asfdec: Add an option for not searching for the packet markers cosmetics: Clean up the tiffenc pix_fmts declaration to match the style of others cosmetics: Align codec declarations cosmetics: Convert mimic.c to utf-8 avconv: remove an unused function parameter. avconv: remove now pointless variables. avconv: drop support for building without libavfilter. nellymoserenc: fix crash due to memsetting the wrong area. libavformat: Only require first packet to be known for audio/video streams avplay: Don't try to scale timestamps if the tb isn't set Conflicts: Changelog configure ffmpeg.c libavcodec/aacenc.c libavcodec/bmpenc.c libavcodec/dnxhddec.c libavcodec/dnxhdenc.c libavcodec/ffv1.c libavcodec/flacenc.c libavcodec/fraps.c libavcodec/huffyuv.c libavcodec/libopenjpegdec.c libavcodec/mpeg12enc.c libavcodec/mpeg4videodec.c libavcodec/pamenc.c libavcodec/pgssubdec.c libavcodec/pngenc.c libavcodec/qtrleenc.c libavcodec/rawdec.c libavcodec/sgienc.c libavcodec/tiffenc.c libavcodec/v210dec.c libavcodec/wmv2dec.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: Clean up the tiffenc pix_fmts declaration to match the style of ↵Martin Storsjö2012-04-07
| | | | | | | | | | | | others Signed-off-by: Martin Storsjö <martin@martin.st>
| * cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | | | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
| * cosmetics: Convert mimic.c to utf-8Martin Storsjö2012-04-06
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * nellymoserenc: fix crash due to memsetting the wrong area.Reimar Döffinger2012-04-06
| | | | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Martin Storsjö <martin@martin.st>
* | Support detecting and demuxing EIA-608 subtitles in mov.Reimar Döffinger2012-04-07
| | | | | | | | | | | | | | | | | | | | | | | | The format is slightly proprietary. DVDs use a format of code byte (0x00, 0x01, 0xfe or 0xff), two data bytes MOV uses instead cdat/cdt2 atom, two data bytes Auto-detecting and supporting both in one decoder is trivial, so a single codec ID is used. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | mpeg4videodec: Force quant_precision to stay within the valid range.Michael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | wmalosslessdec: rawpcm_tile fixes to keep get_bits() values within defined ↵Michael Niedermayer2012-04-07
| | | | | | | | | | | | range. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | wmalosslessdec: channel residues can be 32 bit thus need _long bitreader.Michael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg12dec: Prevent f_code from becoming invalid.Michael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | alsdec: Check k used for rice decoder.Michael Niedermayer2012-04-07
| | | | | | | | | | | | Values that fail this check will cause failure of decode_rice() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264_ps: check log2_max_frame_num for validity.Michael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rv34: Fix check_slice_end() handling of 0 bits left caseMichael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg4videodec: make sure f/b_code are not invalid values.Michael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | get_bits: check the number of bits parameter through av_assert2()Michael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vc1: fix incorrect show_bits() usage.Michael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | put_bits: add av_assert2() to check out of array writes.Michael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dcaenc: Allow encoding without specifying a channel_layout.Reimar Döffinger2012-04-07
| | | | | | | | | | | | | | It will print a warning, making the behaviour consistent with the AC3 encoder. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | aacenc: Fix issues with huge values of bit_rate.Reimar Döffinger2012-04-07
| | | | | | | | | | | | | | | | | | Do not pointlessly call ff_alloc_packet2 multiple times, and fix an infinite loop by clamping the maximum number of bits to target in the algorithm that does not use lambda. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | proresenc_kostya: Mention likely ancestry in the license header.Michael Niedermayer2012-04-07
| | | | | | | | | | | | | | As the encoder contained the same bug and has similar structure to anatoliys encoder, it is possibly based on it. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | proresenc_kostya: fix encoded mantissa.Michael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | proresenc_anatoly: fix encoded mantissa.Michael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | adpcmenc: fix encoded s_0 value.Michael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | put_bits: switch assert to av_assert2()Michael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: cosmetics: Align muxer/demuxer declarations mpeg12: Do not change frame_pred_frame_dct flag and demote error into a warning avcodec: remove avcodec_guess_channel_layout() avutil: Add av_get_default_channel_layout() Conflicts: doc/APIchanges libavcodec/mpeg12.c libavformat/cdg.c libavformat/matroskaenc.c libavformat/mpegts.c libavformat/nuv.c libavformat/wav.c libavutil/audioconvert.c libavutil/audioconvert.h libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpeg12: Do not change frame_pred_frame_dct flag and demote error into a warningAnne Aaron2012-04-06
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * avcodec: remove avcodec_guess_channel_layout()Justin Ruggles2012-04-05
| | | | | | | | | | It is not public because the header is not installed, and its functionality has been replaced by av_get_default_channel_layout().
| * avutil: Add av_get_default_channel_layout()Justin Ruggles2012-04-05
| | | | | | | | Also, use the new function in the AC-3 encoder.
* | exr: fix mixed declaration and statements.Michael Niedermayer2012-04-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | nellymoserenc: fix crash due to memsetting the wrong area.Reimar Döffinger2012-04-06
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | s302m: Add Channle Layout for 6 channelsThierry Foucu2012-04-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | exr: various cleanup and security related fixesMichael Niedermayer2012-04-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | exr: fix av_logs()Michael Niedermayer2012-04-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: add a OpenEXR decoderJimmy Christensen2012-04-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Support yuva444p rawvideo in nut.Carl Eugen Hoyos2012-04-06
| | | | | | | | Fixes ticket #1058.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: h264: Factorize declaration of mb_sizes array. vsrc_buffer: when no frame is available, return an error instead of segfaulting. configure: add dl to frei0r extralibs. dsputil x86: use SSE float instruction instead of SSE2 integer equivalent dsputil x86: remove deprecated parameter from scalarproduct_int16 prototype vp8dsp x86: perform rounding shift with a single instruction fate: add BMP tests. swscale: handle complete dimensions for monoblack/white. aacenc: Mark deinterleave_input_samples argument as const. vf_unsharp: Mark readonly variable as const. h264: fix 4:2:2 PCM-macroblocks decoding Conflicts: configure libavcodec/h264.h libavcodec/x86/dsputil_mmx.c libavfilter/vf_unsharp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: Factorize declaration of mb_sizes array.Diego Biurrun2012-04-05
| |
| * dsputil x86: use SSE float instruction instead of SSE2 integer equivalentChristophe GISQUET2012-04-04
| | | | | | | | | | | | All the more required since the users are pure SSE functions. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * dsputil x86: remove deprecated parameter from scalarproduct_int16 prototypeChristophe GISQUET2012-04-04
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * vp8dsp x86: perform rounding shift with a single instructionChristophe GISQUET2012-04-04
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * aacenc: Mark deinterleave_input_samples argument as const.Diego Biurrun2012-04-04
| | | | | | | | | | This fixes the warning: libavcodec/aacenc.c:524: warning: passing argument 2 of ‘deinterleave_input_samples’ discards qualifiers from pointer target type
| * h264: fix 4:2:2 PCM-macroblocks decodingAnton Mitrofanov2012-04-04
| | | | | | | | | | | | Fixes bug 239. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: w32threads: Make pthread_cond_wait follow POSIX cosmetics: Consistently place static, inline and av_cold attributes/keywords. sbrdsp: Use standard multiple inclusion guards. pcm: K&R formatting cosmetics rawdec: Support fourccs YV16 and YV24 rtmp: implement bandwidth notification rtmp: update supported audio codecs value Conflicts: libavcodec/pcm.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * w32threads: Make pthread_cond_wait follow POSIXDerek Buitenhuis2012-04-04
| | | | | | | | | | | | | | | | pthread_cond_wait is supposed to return an integer, and indeed does sometimes. Fix its function declaration to match its behavior and POSIX. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * cosmetics: Consistently place static, inline and av_cold attributes/keywords.Diego Biurrun2012-04-04
| |
| * sbrdsp: Use standard multiple inclusion guards.Diego Biurrun2012-04-04
| |
| * pcm: K&R formatting cosmeticsAneesh Dogra2012-04-04
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * rawdec: Support fourccs YV16 and YV24Piotr Bandurski2012-04-03
| |
* | w32threads: Make pthread_cond_wait follow POSIXDerek Buitenhuis2012-04-04
| | | | | | | | | | | | | | | | pthread_cond_wait is supposed to return an integer, and indeed does sometimes. Fix its function declaration to match its behavior and POSIX. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | allcodecs: move libaacplus down.Michael Niedermayer2012-04-04
| | | | | | | | | | | | | | | | | | | | | | We choose the first encoder by default and libaccplus has a quite limited set of supported bitrates/sample rates. Thus leading to failure by default in many cases when it is enabled at compile time. Moving it down means that the other aac encoders are favored by default which avoids this issue. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>