summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Return AVERROR(EINVAL) rather than -1 in case of invalid values.Stefano Sabatini2010-09-301-1/+1
| | | | Originally committed as revision 25274 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_API_SUBTITLE_OLD define to disable the deprecated decode_subtitle APIAurelien Jacobs2010-09-302-2/+5
| | | | Originally committed as revision 25273 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_API_VIDEO_OLD define to disable the deprecated decode_video APIAurelien Jacobs2010-09-302-2/+5
| | | | Originally committed as revision 25272 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct tag is m2v1Baptiste Coudurier2010-09-301-1/+1
| | | | Originally committed as revision 25271 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_API_AUDIO_OLD define to disable the deprecated decode_audio APIAurelien Jacobs2010-09-303-4/+7
| | | | Originally committed as revision 25270 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a yuv420p sample that was incorrectly detected as yuv411pNiobos2010-09-301-1/+1
| | | | | | | | | (576i50 25Mbps 4:1:1 special case was wrong). Fixes issue2211 Patch by Niobos, niobos dest-unreach be Originally committed as revision 25269 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Document url_filesize().Stefano Sabatini2010-09-301-0/+5
| | | | Originally committed as revision 25268 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make register_protocol() use the function av_register_protocol2()Stefano Sabatini2010-09-301-1/+1
| | | | | | | | | rather than av_register_protocol(), which is deprecated. Fix the GCC warning: avio.c: In function ‘register_protocol’: avio.c:93: warning: ‘av_register_protocol’ is deprecated (declared at avio.c:86) Originally committed as revision 25267 to svn://svn.ffmpeg.org/ffmpeg/trunk
* User application side of Codec specific parameters.Michael Niedermayer2010-09-295-46/+77
| | | | Originally committed as revision 25266 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set default values for the scale context in sws_alloc_context().Stefano Sabatini2010-09-291-3/+2
| | | | Originally committed as revision 32415 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Set the default value of param0 and param1 to SWS_PARAM_DEFAULT.Stefano Sabatini2010-09-291-2/+2
| | | | Originally committed as revision 32414 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Set valid default values for the srcw, srch, dstw, dsth options in theStefano Sabatini2010-09-291-4/+4
| | | | | | | | scale context. Prevent pointless warnings when using av_opt_set_defaults() for setting the default values, as in a pending patch. Originally committed as revision 32413 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add missing case for FF_OPT_TYPE_DOUBLE in av_opt_set_defaults2().Stefano Sabatini2010-09-291-0/+1
| | | | Originally committed as revision 25265 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove duplicate entriesBaptiste Coudurier2010-09-291-2/+0
| | | | Originally committed as revision 25264 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use new apple fourcc for mpeg-1 and mpeg-2 in mov, works natively on osxBaptiste Coudurier2010-09-291-0/+2
| | | | Originally committed as revision 25263 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move static inline function to a macro, so that constant propagation inRonald S. Bultje2010-09-291-117/+113
| | | | | | | inline asm works for gcc-3.x also (hopefully). Should fix gcc-3.x FATE breakage after r25254. Originally committed as revision 25262 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: put "if (...)" and "av_log(...)" in the same line forStefano Sabatini2010-09-291-10/+5
| | | | | | improving vertical alignment and readability. Originally committed as revision 32405 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* rawdec: Properly pass reordered_opaque through the decoderAlexander Strange2010-09-291-0/+1
| | | | Originally committed as revision 25261 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check return value of get_chunk_header(). Since enum can be unsigned, theRonald S. Bultje2010-09-291-3/+3
| | | | | | | | current code wouldn't always error out on errors. Based on patch by Stephen d'Angelo <sdangelo evertz com>. Originally committed as revision 25260 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use sse2 variant of put_pixels16() for no_rnd also. Provides a minor speedEli Friedman2010-09-291-0/+1
| | | | | | | | increase to e.g. vc1, snow and mpeg decoding. Patch by Eli Friedman <eli dot friedman gmail com>. Originally committed as revision 25259 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow setting the impulse block bias for libvorbis through a private codec ↵Michael Niedermayer2010-09-291-0/+15
| | | | | | | | parameter. First example and test of private codec parameters. Originally committed as revision 25258 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move allocation and init to defaults of the private codec contexts to ↵Michael Niedermayer2010-09-293-0/+44
| | | | | | | | | avcodec_get_context_defaults3(). That way the user app can set codec specific parameters in the private context before opening it. Originally committed as revision 25257 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge b_idx and edge variables, and optimize the ASM to directly load variablesRonald S. Bultje2010-09-291-46/+54
| | | | | | | | from memory locations/offsets depending on b_idx plus constants, rather than having gcc do this. This saves several lea calls and together saves about 10 cycles in h264_loop_filter_strength_mmx2(). Originally committed as revision 25256 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove mv_mask variable. Replace the related pand -1/0 instructions by eitherRonald S. Bultje2010-09-291-6/+7
| | | | | | | a pxor, or remove the instruction alltogether. Altogether, this saves 1 instruction. Originally committed as revision 25255 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove d_idx as a variable, and instead load it as a constant in the asm.Ronald S. Bultje2010-09-291-32/+38
| | | | | | | This has no measurable speed effect because the surrounding code doesn't take advantage of this yet. Originally committed as revision 25254 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Unroll inner bidir loop in h264_loop_filter_strength_mmx2(), which gets ridRonald S. Bultje2010-09-291-5/+19
| | | | | | | of the d_idx variable and therefore allows for future optimizations. No speed difference by this commit itself. Originally committed as revision 25253 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Unloop the outer loop in h264_loop_filter_strength_mmx2(), which allowsRonald S. Bultje2010-09-291-25/+29
| | | | | | | inlining various constants within the loop code. 20 cycles faster on cathedral sample. Originally committed as revision 25252 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Put if (...) av_log() in the same line, more compact and increaseStefano Sabatini2010-09-291-24/+12
| | | | | | readibility. Originally committed as revision 32404 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Amend constraints for the src_format and dst_format options in theStefano Sabatini2010-09-291-2/+3
| | | | | | SWScale context. Originally committed as revision 32403 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix compile on Darwin (FATE). Compile error:Alexander Strange2010-09-291-7/+6
| | | | | | | | | yadif.c:226: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' yadif.c:220: error: 'asm' operand has impossible constraints Patch by Alexander Strange <astrange ithinksw com>. Originally committed as revision 25251 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AVClass for the private context, this will be used for codec specific ↵Michael Niedermayer2010-09-291-0/+1
| | | | | | options. Originally committed as revision 25250 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: fix braces placement.Stefano Sabatini2010-09-291-2/+4
| | | | Originally committed as revision 32402 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Deprecate sws_getContext(), use sws_alloc_context() andStefano Sabatini2010-09-282-3/+26
| | | | | | sws_init_context() instead. Originally committed as revision 32401 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add documentation for the returned value of sws_init_context().Stefano Sabatini2010-09-281-0/+3
| | | | Originally committed as revision 32400 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add APIchanges entry for lsws change of r32368.Stefano Sabatini2010-09-281-0/+3
| | | | Originally committed as revision 25249 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump minor version after the addition of sws_alloc_context() andStefano Sabatini2010-09-281-1/+1
| | | | | | sws_init_context() of r32368. Originally committed as revision 32396 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make init() return sensible error code rather than -1 in case ofStefano Sabatini2010-09-281-1/+1
| | | | | | invalid values. Originally committed as revision 25248 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: apply nits.Stefano Sabatini2010-09-281-3/+3
| | | | Originally committed as revision 25247 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make new doxy follows the agreed upon style and grammaticalStefano Sabatini2010-09-281-5/+5
| | | | | | conventions, for consistency with the rest of the documentation. Originally committed as revision 25246 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Group togheter filter dependency specifications.Stefano Sabatini2010-09-281-3/+1
| | | | Originally committed as revision 25245 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add the drawbox filter from the soc libavfilter repo.Stefano Sabatini2010-09-285-2/+179
| | | | | | Pedagogically useful. Originally committed as revision 25244 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to fix crashes introduced by r25218Jason Garrett-Glaser2010-09-281-5/+10
| | | | | | | r25218 made assumptions about the existence of past reference frames that weren't necessarily true. Originally committed as revision 25243 to svn://svn.ffmpeg.org/ffmpeg/trunk
* All else being equal, prefer PTS over DTS in timestamp correctionAlexander Strange2010-09-281-1/+1
| | | | | | | | | | | | | | Because DTS values aren't passed through decoders, they tend to be inaccurate if decoder delay doesn't match what was expected by the encoder. In particular this improves timestamps for H.264 without num_reorder_frames set and with -strict 1, which causes DTS to be up to 16 frames ahead of the picture. Note that this doesn't really improve any file with very broken PTS/DTS, since PTS isn't much more accurate in these. Originally committed as revision 25242 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extract timestamp correction code from ffplay.c to cmdutils.cAlexander Strange2010-09-283-23/+63
| | | | Originally committed as revision 25241 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In mov demuxer, check that nb_streams is valid before using it in read_dac3Baptiste Coudurier2010-09-281-0/+2
| | | | Originally committed as revision 25240 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l fix if conditionBaptiste Coudurier2010-09-271-1/+1
| | | | Originally committed as revision 32395 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Y400A (gray alpha) input support in libswscaleBaptiste Coudurier2010-09-274-3/+49
| | | | Originally committed as revision 32394 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix index_entries pos:Michael Chinen2010-09-273-4/+8
| | | | | | | | It was being set wrong for files with data_offset > 0 Patch by Michael Chinen, mchinen gmail Originally committed as revision 25239 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update APIchanges after r25236.Stefano Sabatini2010-09-271-0/+4
| | | | Originally committed as revision 25238 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix out of tree builds with vf_yadif and mmxMåns Rullgård2010-09-271-0/+1
| | | | Originally committed as revision 25237 to svn://svn.ffmpeg.org/ffmpeg/trunk