summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Fix memleakEtienne Buira2011-05-27
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Fix typoEtienne Buira2011-05-27
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Remove specific note when not specificEtienne Buira2011-05-27
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Minor cleanup in libx264.cEtienne Buira2011-05-27
| | | | | | | Not needed as overwritten later on (look for "// update AVCodecContext with x264 parameters"), and not accessed inbetween. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-27
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (31 commits) ARM: add ARMv6 optimised av_clip_uintp2 ARM: remove volatile from asm statements in libavutil/intmath ARM: fix av_clipl_int32_arm() v4l: include avdevice.h ffserver: move close_connection() call to avoid a temporary string and copy. lavf: initialize demuxer private options. AVOptions: set string default values. lavdevice: mark v4l for removal on next major bump. swscale: fix compile on ppc. swscale: fix compile on x86-32. build: Remove generated .version file on distclean. configure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2. doc: Drop hint at --enable-memalign-hack for MinGW, it is now autodetected. ffplay: Remove disabled code. Mark parameterless function declarations as 'void'. swscale: use av_clip_uint8() in yuv2yuv1_c(). swscale: remove VOF/VOFW. swscale: split chroma buffers into separate U/V planes. swscale: replace formatConvBuffer[VOF] by allocated array. rgb2rgb: remove duplicate mmx/mmx2/3dnow/sse2 functions. ... Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Mark parameterless function declarations as 'void'.Diego Biurrun2011-05-26
| |
| * ac3enc: initialize all coefficients to zero.Justin Ruggles2011-05-25
| | | | | | | | | | | | | | | | Uninitialized coefficients were being used to generate exponents, some of which actually ended up in the final stream. Even though, they were just extra exponents that are not used by any decoder, it is still better to have consistent output for testing. This also fixes valgrind errors.
* | Fix 32bit rawvideo in avi on big-endian.Carl Eugen Hoyos2011-05-26
| |
* | webm: Additional options/presets for VP8 encodes under FFmpegJames Zern2011-05-26
| |
* | libx264: support aspect Ratio SwitchJULIAN GARDNER2011-05-26
| |
* | Fix compilation with YASM/NASM versions not supporting AVX.Reimar Döffinger2011-05-26
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-26
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (32 commits) doc: create separate section for audio encoders swscale: Remove orphaned, commented-out function declaration. swscale: Eliminate rgb24toyv12_c() duplication. Remove h263_msmpeg4 from MpegEncContext. APIchanges: Fill in git hash for fps_probe_size (30315a8) avformat: Add fpsprobesize as an AVOption. avoptions: Return explicitly NAN or {0,0} if the option isn't found rtmp: Reindent rtmp: Don't try to do av_malloc(0) tty: replace AVFormatParameters.sample_rate abuse with a private option. Fix end time of last chapter in compute_chapters_end ffmpeg: get rid of useless AVInputStream.nb_streams. ffmpeg: simplify managing input files and streams ffmpeg: purge redundant AVInputStream.index. lavf: deprecate AVFormatParameters.channel. libdc1394: add a private option for channel. dv1394: add a private option for channel. v4l2: reindent. v4l2: add a private option for channel. lavf: deprecate AVFormatParameters.standard. ... Conflicts: doc/APIchanges doc/encoders.texi ffmpeg.c libavdevice/alsa-audio.h libavformat/version.h libavutil/opt.c libswscale/rgb2rgb.h libswscale/rgb2rgb_template.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Remove h263_msmpeg4 from MpegEncContext.Alex Converse2011-05-25
| | | | | | | | It was long ago superseded by msmpeg4_version.
* | ffv1: fix 16bits multithreadingMichael Niedermayer2011-05-26
| | | | | | | | | | | | fixes ticket237 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpegvideo_enc: use AV_LOG_ERROR instead of AV_LOG_INFO for two error messagesami_stuff2011-05-25
| | | | | | | | | | | | use AV_LOG_ERROR instead of AV_LOG_INFO for two error messages Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fail when lowres value is lower than 0ami_stuff2011-05-25
| | | | | | | | | | | | | | | | The attached patch fixes the crash which happens when user passes lowres value lower than 0 to FFplay. ffplay -lowres -1 test.mpg Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | indeo3: add out-of-buffer write checkStefano Sabatini2011-05-25
| | | | | | | | | | Prevent out-of-buffer writes. In particular fix smclocki32.avi.1.1 crash, trac issue #114, roundup issue #1482.
* | Do not reset channel_layout to 0.Carl Eugen Hoyos2011-05-25
| | | | | | | | The channel_layout may have been set by the demuxer.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-25
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) configure: enable memalign_hack automatically when needed swscale: unbreak the build on non-x86 systems. swscale: remove if(bitexact) branch from functions. swscale: remove if(canMMX2BeUsed) conditional. swscale: remove swScale_{c,MMX,MMX2} duplication. swscale: use emms_c(). Move emms_c() from libavcodec to libavutil. tiff: set palette in the context when specified in TIFF_PAL tag rtsp: use strtoul to parse rtptime and seq values. pgssubdec: fix incorrect colors. dvdsubdec: fix incorrect colors. ape: Allow demuxing of files with metadata tags. swscale: remove dead macro WRITEBGR24OLD. swscale: remove AMD3DNOW "optimizations". swscale: remove duplicate code in ppc/ subdirectory. swscale: remove duplicated x86/ functions. swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*. vsrc_buffer.h: add file doxy vsrc_buffer: tweak error message in init() msmpeg4: reindent. ... Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Move emms_c() from libavcodec to libavutil.Ronald S. Bultje2011-05-24
| |
| * tiff: set palette in the context when specified in TIFF_PAL tagStefano Sabatini2011-05-24
| | | | | | | | | | | | | | | | | | | | | | Since image initialization was moved after tag parsing, the palette needs to be specified in the context and then copied to the allocated image in init_image(). Fixes a regression with TIFF images that have palette data, trac issue #230, file Test_Flate_8bpp.tif. Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * pgssubdec: fix incorrect colors.Alexandre Colucci2011-05-24
| | | | | | | | | | | | | | | | | | On Blu-ray colors are stored in the order YCrCb (and not YCbCr) as mentioned in the specifications: see System Description Blu-ray Disc Read-Only Format, 9.14.4.2.2.1 Palette Definition Segment When decoding a Blu-ray subtitle, the colors were incorrectly set. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * dvdsubdec: fix incorrect colors.Alexandre Colucci2011-05-24
| | | | | | | | | | | | | | | | | | | | | | | | On DVD and HD-DVD colors are stored in the order YCrCb (and not YCbCr) as mentioned in the specifications: see DVD Specifications for Read-Only Disc / Part 3, 4.3 Program Chain Information (7) PGC_SP_PLT see DVD Specifications for High Definition Disc, 5.2 Navigation for Standard Content (11) PGC_SDSP_PLT see DVD Specifications for High Definition Disc, 5.2 Navigation for Standard Content (12) PGC_HDSP_PLT see DVD Specifications for High Definition Disc, 5.5 Presentation Data (4) SET_COLOR2 When decoding a DVD or HD-DVD subtitle, the colors were incorrectly set. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * msmpeg4: reindent.Anton Khirnov2011-05-24
| |
| * lavc: remove msmpeg4v1 encoder.Anton Khirnov2011-05-24
| | | | | | | | | | | | The encoder has never produced files that could be decoded with any software and there should be no reason to create such files anyway.
| * ac3enc: add channel coupling supportJustin Ruggles2011-05-24
| | | | | | | | | | | | | | | | | | Channel coupling is an optional AC-3 feature that increases quality by combining high frequency information from multiple channels into a single channel. The per-channel high frequency information is sent with less accuracy in both the frequency and time domains. This allows more bits to be used for lower frequencies while preserving enough information to reconstruct the high frequencies.
* | rawdec: fix decoding of QT WRAW filesami_stuff2011-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix decoding of QT WRAW files. From some tests it results that: 1. all of the AVI/MOV WRAW files (at least from the link posted to the trac ticket #108) need to be flipped 2. mov WRAW files need to use AVI color modes 3. assigning PAL8 mode by default to WRAW codec is not correct Fix decoding of file CarltonMovie2.mov, fix trac issue #108.
* | Fix register types for LOAD_AB arguments, fixes compilation with NASM.Reimar Döffinger2011-05-24
| |
* | partial revert of 01d3ebaf219d83c0a70cdf9696ecb6b868e8a165Michael Niedermayer2011-05-24
| | | | | | | | | | | | Fixes ffplay Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-24
|\| | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: configure: Add -U__STRICT_ANSI__ to CPPFLAGS on Cygwin and DOS. aacdec: fix typo in scalefactor clipping check fate: fix fate-h264-conformance-frext-pph10i4-panasonic-a crcs. fate: update 9/10bit refs. h264: Properly set coded_{width, height} when parsing H.264. x86 asm: Add SECTION_TEXT to dct32_sse.asm. Fix 9/10 bit in swscale. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aacdec: fix typo in scalefactor clipping checkJustin Ruggles2011-05-23
| |
| * h264: Properly set coded_{width, height} when parsing H.264.Felipe Contreras2011-05-23
| | | | | | | | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * x86 asm: Add SECTION_TEXT to dct32_sse.asm.Dave Yeo2011-05-23
| | | | | | | | | | | | | | This fixes the following error on OS/2: error: segment name `.text align=16' not recognized Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | avcodec_find_decoder: prefer non experimental decoders.Michael Niedermayer2011-05-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | j2kdec: mark as CODEC_CAP_EXPERIMENTALMichael Niedermayer2011-05-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | j2k[c/h] j2kdec.c: Implement 2 code block stylesRukhsana Ruby2011-05-24
| |
* | j2k: Add void as the parameter of function ff_j2k_init_tier1_lutsRukhsana Ruby2011-05-24
| |
* | Add Kamil Nowosads j2k code.Kamil Nowosad2011-05-24
| | | | | | | | This needs work but it should not rot in soc svn.
* | mpegaudio: Correct license headerMichael Niedermayer2011-05-23
| | | | | | | | | | To the best of my knowledge the author has not agreed to the change from ffmpeg->libav thus i revert it.
* | add 5.1 to stereo downmix to resample.cjan gerber2011-05-23
| | | | | | | | | | this is based on previous 6to2channel-resample.patch from ffmpeg2theora but updated to work with trunk and using av_clip_int16.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-23
|\| | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ffmpeg: Don't trigger url_interrupt_cb on the first signal avoptions: Check the return value from av_get_number dct32_sse: eliminate some spills Fix dct32() compilation with --disable-yasm Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dct32_sse: eliminate some spillsLoren Merritt2011-05-22
| | | | | | | | 125->104 cycles on penryn (x86_64 only)
| * Fix dct32() compilation with --disable-yasmVitor Sessak2011-05-22
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | Do not ask for samples if a specific channel layout was requested.Carl Eugen Hoyos2011-05-23
| |
* | libx264: specify field for default union values in optionsStefano Sabatini2011-05-22
| | | | | | | | Fix warnings.
* | Fix ticket127Michael Niedermayer2011-05-22
| | | | | | | | | | | | This fixes detectiion of slightly too big dummy frames. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dct32: Replacing libav by ffmpeg in the license header with the authors ↵Michael Niedermayer2011-05-22
| | | | | | | | | | | | permission. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix compilation with --disable-yasm.Vitor Sessak2011-05-22
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ffmpeg: get rid of the -vglobal option. dct32: Add AVX implementation of 32-point DCT dct32: Change pass 6 permutation to allow for AVX implementation dct32: port SSE 32-point DCT to YASM multiple inclusion guard cleanup avio: document buffer must created with av_malloc() and friends avio: check AVIOContext malloc failure swscale: point out an alternative to sws_getContext svq3: Do initialization after parsing the extradata add changelog entries for 0.7_beta2 mp3lame: add #include required for AV_RB32 macro. Conflicts: Changelog libavcodec/svq3.c libavcodec/x86/dct32_sse.c libavfilter/vsrc_buffer.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dct32: Add AVX implementation of 32-point DCTVitor Sessak2011-05-21
| |