aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-127-207/+250
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: FATE: update reference for seek-alac_mp4 sunrast: Return AVERROR values instead of -1. sunrast: Add support for gray8 decoding. swscale: enforce a minimum filtersize. alacenc: use AVCodec.encode2() alacenc: cosmetics: indentation alacenc: consolidate bitstream writing into a single function. alacenc: only encode frame size in header for a final smaller frame alacenc: store current frame size in AlacEncodeContext. alacenc: return AVERROR codes in alac_encode_frame() alacenc: calculate a new max frame size for the final small frame alacenc: pretty-printing and other cosmetics alacenc: fix error handling and potential memleaks in alac_encode_init() alacenc: do not set coded_frame->key_frame alacenc: do not set bits_per_coded_sample alacenc: remove unneeded frame_size check in alac_encode_frame() tta: error out if samplerate is zero. ttadec: fix invalid free when an error occurs while decoding 24-bit tta wavpack: add needed braces for 2 statements inside an if block Conflicts: tests/ref/acodec/alac Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | FATE: update reference for seek-alac_mp4Justin Ruggles2012-02-111-27/+27
| | | | | | | | | | | | This should have been updated in b590f3a7bf9103ac7a7a61c48568676201d6824b.
| * | sunrast: Return AVERROR values instead of -1.Aneesh Dogra2012-02-111-8/+9
| | | | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * | sunrast: Add support for gray8 decoding.Aneesh Dogra2012-02-111-6/+2
| | | | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * | swscale: enforce a minimum filtersize.Ronald S. Bultje2012-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At very small dimensions, this calculation could lead to zero-sized filters, which leads to uninitialized output, zero-sized allocations, loop overflows in SIMD that uses do{..}while(i++<filtersize); instead of for(i=0;i<filtersize;i++){..} and several other similar failures. Therefore, require a minimum filtersize of 1. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | alacenc: use AVCodec.encode2()Justin Ruggles2012-02-111-13/+17
| | |
| * | alacenc: cosmetics: indentationJustin Ruggles2012-02-111-27/+27
| | |
| * | alacenc: consolidate bitstream writing into a single function.Justin Ruggles2012-02-111-38/+33
| | | | | | | | | | | | Simplifies use of verbatim mode.
| * | alacenc: only encode frame size in header for a final smaller frameJustin Ruggles2012-02-112-5/+12
| | | | | | | | | | | | | | | Otherwise it is not needed because it matches the frame size as encoded in the extradata.
| * | alacenc: store current frame size in AlacEncodeContext.Justin Ruggles2012-02-111-13/+16
| | | | | | | | | | | | This avoids an indirection and will simplify implementation of encode2()
| * | alacenc: return AVERROR codes in alac_encode_frame()Justin Ruggles2012-02-111-2/+2
| | |
| * | alacenc: calculate a new max frame size for the final small frameJustin Ruggles2012-02-111-4/+17
| | | | | | | | | | | | | | | Gives a better estimate of buffer requirements and a better decision of whether or not to use verbatim mode.
| * | alacenc: pretty-printing and other cosmeticsJustin Ruggles2012-02-111-71/+64
| | |
| * | alacenc: fix error handling and potential memleaks in alac_encode_init()Justin Ruggles2012-02-111-19/+38
| | |
| * | alacenc: do not set coded_frame->key_frameJustin Ruggles2012-02-111-1/+0
| | | | | | | | | | | | It is already set in avcodec_alloc_frame()