aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ffmpeg.c: implement -debug_ts optionStefano Sabatini2012-02-142-4/+35
| | | | Mostly useful for debugging purposes.
* Fix compilation with old yasm that does not support AVX.Carl Eugen Hoyos2012-02-142-3/+7
|
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-143-2/+7
|\ | | | | | | | | | | | | | | * qatar/master: swscale: fix crashes in yuv2yuvX on x86-32. sunrast: Add fate test for gray8. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: fix crashes in yuv2yuvX on x86-32.Ronald S. Bultje2012-02-131-2/+2
| | | | | | | | | | | | They were introduced in an earlier commit that introduced use of named arguments. One cause was a typo, a second cause appears to be a bug in x264asm that I work around by not using named arguments.
| * sunrast: Add fate test for gray8.Aneesh Dogra2012-02-132-0/+5
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* | lavc: add missing PIX_FMT_YUVA444PPaul B Mahol2012-02-141-0/+1
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-1427-192/+132
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rtpdec: Use 4 byte startcodes for H.264 matroskadec: Mark variable as av_unused. Move some conditionally used variables into the block where they are used. Drop some completely unnecessary av_unused attributes. swscale: Remove unused variable alpMmxFilter. Drop unnecessary av_uninit attributes from some variable declarations. movenc: Support muxing wmapro in ismv/isma mpegtsenc: Add an AVOption for forcing a new PAT/PMT/SDT to be written swscale: move YUV2PACKED16WRAPPER() macro down to where it is used. swscale: handle gray16 as a "planar" YUV format (Y-only, of course). swscale: use yuv2packed1() functions for unscaled chroma also. swscale: fix incorrect chroma bias in yuv2rgb48_1_c(). swscale: fix invalid memory accesses in yuvpacked1() functions. Move PS2 MMI code below the mips subdirectory, where it belongs. mips: Move MMI function declarations to a header. build: Set correct dependencies for rtmp* protocols implemented by librtmp. Conflicts: libavcodec/ac3enc_template.c libavformat/mpegtsenc.c libswscale/output.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtpdec: Use 4 byte startcodes for H.264Matthew Szatmary2012-02-131-2/+2
| | | | | | | | | | | | | | | | If muxing into mpegts, 4 byte startcodes for the first NAL of an access unit is required. Thus it is simplest for the RTP depacketizer to just use 4 byte startcodes everywhere. Signed-off-by: Martin Storsjö <martin@martin.st>
| * matroskadec: Mark variable as av_unused.Diego Biurrun2012-02-131-1/+1
| | | | | | | | This avoids unused variable warnings when zlib/bzlib are not available.
| * Move some conditionally used variables into the block where they are used.Diego Biurrun2012-02-133-3/+4
| | | | | | | | This allows dropping the av_unused argument from them.
| * Drop some completely unnecessary av_unused attributes.Diego Biurrun2012-02-134-7/+5
| |
| * swscale: Remove unused variable alpMmxFilter.Diego Biurrun2012-02-131-1/+0
| |
| * Drop unnecessary av_uninit attributes from some variable declarations.Diego Biurrun2012-02-136-10/+8
| | | | | | | | Recent versions of gcc (4.4+) no longer give false positive warnings.
| * movenc: Support muxing wmapro in ismv/ismaMartin Storsjö2012-02-131-2/+17
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * mpegtsenc: Add an AVOption for forcing a new PAT/PMT/SDT to be writtenMartin Storsjö2012-02-131-0/+10
| | | | | | | | | | | | | | | | When segmenting the output from the mpegts muxer, one can now set this option when cutting to a new segment, to make sure the next segment starts with PAT/PMT/SDT. Signed-off-by: Martin Storsjö <martin@martin.st>
| * swscale: move YUV2PACKED16WRAPPER() macro down to where it is used.Ronald S. Bultje2012-02-131-46/+46
| |
| * swscale: handle gray16 as a "planar" YUV format (Y-only, of course).Ronald S. Bultje2012-02-132-88/+1
| | | | | | | | | | This allows removing any gray16-specific code, which is essentially identical to the per-plane code in yuv2plane*().
| * swscale: use yuv2packed1() functions for unscaled chroma also.Ronald S. Bultje2012-02-131-2/+2
| |
| * swscale: fix incorrect chroma bias in yuv2rgb48_1_c().Ronald S. Bultje2012-02-131-2/+2
| |
| * swscale: fix invalid memory accesses in yuvpacked1() functions.Ronald S. Bultje2012-02-131-10/+10
| |
| * Move PS2 MMI code below the mips subdirectory, where it belongs.Diego Biurrun2012-02-138-10/+10
| | | | | | | | | | Also give a more suitable name to the MMI-optimized IDCT; it is not PS2-specific, as the name currently suggests.
| * mips: Move MMI function declarations to a header.Diego Biurrun2012-02-132-4/+8
| | | | | | | | This fixes compilation with -Werror=missing-prototypes.
| * build: Set correct dependencies for rtmp* protocols implemented by librtmp.Diego Biurrun2012-02-132-6/+8
| |
* | jpeglsdec: fix bpp & limit.Michael Niedermayer2012-02-141-4/+2
| | | | | | | | | | | | | | Fixes: Tikcet969 Thanks-to: ITU for the freely available spec. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | jpeglsdec: Prevent out of array write.Michael Niedermayer2012-02-141-0/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | iff: Fix decode_ham_plane32() buf_size.Michael Niedermayer2012-02-141-2/+2
| | | | | | | | | | | | | | | | The wrong variable was passed into decode_ham_plane32() Fixes: Ticket922 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: remove unneeded ost->picref check.Clément Bœsch2012-02-131-4/+2
| | | | | | | | | | If there ost->picref is NULL, it will likely crash anyway a few lines below by dereferencing it in order to access video attribute.
* | ffmpeg: remove pointless avcodec_get_frame_defaults().Clément Bœsch2012-02-131-1/+0
| | | | | | | | filtered_frame is overwritten just below anyway.
* | ffmpeg: raise ENOMEM on avfilter_graph_alloc() failure.Clément Bœsch2012-02-131-0/+2
| |
* | Update mkv seek tests.Reimar Döffinger2012-02-131-10/+5
| | | | | | | | | | | | | | | | | | Seek beyond the end will now directly return an error instead of claiming to succeed and then return EOF immediately on next read. This change is because before 47e015e6f1913f7da943898eb7716a954f947ff7 mkv seek incorrectly never failed. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | matroskadec: properly fall back to generic seek.Reimar Döffinger2012-02-131-7/+20
| | | | | | | | | | | | | | | | | | | | In particular, detect when the index is obviously broken. This fixes the worst symptoms of trac issue #958 and makes sense to allow seeking in files without index. However it is possible that there still is an index parsing bug with that file. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | matroskadec: reset num_levels on seek.Reimar Döffinger2012-02-131-0/+1
| | | | | | | | | | | | | | Otherwise when we run into levels beyond the max. allowed playback will be permanently broken. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-135-61/+81
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: swscale: convert yuv2yuvX() to using named arguments. swscale: rename "dstw" to "w" to prevent name collisions. swscale: use named registers in yuv2yuv1_plane() place. lavf: fix aspect ratio mismatch message. avconv: set AVFormatContext.duration from '-t' cljr: implement encode2. cljr: set the properties of the coded_frame, not input frame. dnxhdenc: switch to encode2. bmpenc: switch to encode2(). Conflicts: libavcodec/bmpenc.c libavcodec/cljr.c libavformat/utils.c tests/ref/vsynth1/cljr tests/ref/vsynth2/cljr Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: convert yuv2yuvX() to using named arguments.Ronald S. Bultje2012-02-121-11/+11
| |
| * swscale: rename "dstw" to "w" to prevent name collisions.Ronald S. Bultje2012-02-121-23/+23
| | | | | | | | | | "dstw" can collide with the word-version of the "dst" argument, causing all kind of weird stuff down the pipe.
| * swscale: use named registers in yuv2yuv1_plane() place.Ronald S. Bultje2012-02-121-1/+1
| | | | | | | | | | Most of the function had been converted before, but I forgot this particular location.
| * lavf: fix aspect ratio mismatch message.Andrey Utkin2012-02-121-2/+2
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * avconv: set AVFormatContext.duration from '-t'Andrey Utkin2012-02-121-0/+2
| | | | | | | | | | | | | | | | Set output files duration to recording_time option, if given. Rationale: to save duration into metadata for file that is written to non-seekable output, for formats like FLV (with metadata at beginning). Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * cljr: implement encode2.Anton Khirnov2012-02-121-7/+15
| |
| * cljr: set the properties of the coded_frame, not input frame.Anton Khirnov2012-02-123-4/+4
| |
| * dnxhdenc: switch to encode2.Anton Khirnov2012-02-121-7/+12
| |
| * bmpenc: switch to encode2().Anton Khirnov2012-02-121-11/+16
| |
* | Fix compilation without HAVE_AVX.Reimar Döffinger2012-02-126-13/+13
| | | | | | | | | | | | %ifdef HAVE_AVX must now be %if HAVE_AVX. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | threads: Perform the generic progress cleanup more carefully.Michael Niedermayer2012-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | The cleanup is only done now when a picture is returned (assuming that it has to be done when its returned) a error is returned (assuming that there will be no further progress on the frame) the codec is not h264 (this is still needed due to some deadlocks in realvideo) This fixes a decoding regression with 00017.MTS Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | threads: move state update after progress cleanup.Michael Niedermayer2012-02-121-2/+2
| | | | | | | | | | | | This order is more logic and might prevent a race. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264: Mark previous field as done before throwing it away.Michael Niedermayer2012-02-121-0/+2
| | | | | | | | | | | | This fixes some deadlock without the generic cleanup code. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix aspect ratio mismatch messageAndrey Utkin2012-02-121-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Simplify: use local variable with same contents directly.Reimar Döffinger2012-02-121-1/+1
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Fix Theora-in-ogg keyframe handling.Reimar Döffinger2012-02-121-2/+13
| | | | | | | | | | | | | | | | | | | | | | To make seeking work correctly, we must write a new granule for each keyframe. Unfortunately we currently have no regression tests due to no included Theora encoder. A test based on -vcodec copy from a Theora FATE sample should probably be added. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Detect and check for CMOV.Reimar Döffinger2012-02-124-2/+7
| | | | | | | | | | | | | | | | | | Some MMX-only CPUs do not have support for CMOV. All SSE/MMX2 CPUs should be fine, thus no check was added to those functions. See also https://sourceforge.net/tracker/?func=detail&aid=3358347&group_id=205275&atid=992986 Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>