summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* libopencore-amr: Cosmetics: Rewrap and alignMartin Storsjö2011-04-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrbwenc: Rename variables and functionsMartin Storsjö2011-04-13
| | | | | | Avoid camelCase names for functions and variables. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Convert commented out debug logging into av_dlogMartin Storsjö2011-04-13
| | | | | | Also add the avctx as logging context. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove an unused state variableMartin Storsjö2011-04-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libvo-amrwbenc: Don't explicitly store bitrate modes in the bitrate tableMartin Storsjö2011-04-13
| | | | | | The bitrate modes are equal to the array indices. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove a useless local variableMartin Storsjö2011-04-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrwbenc: Make the bitrate/mode mapping array static ↵Martin Storsjö2011-04-13
| | | | | | const Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrwbenc: Return proper error codes in most placesMartin Storsjö2011-04-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Don't print carriage returns in log messagesMartin Storsjö2011-04-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove an old workaround for libamr header weirdnessMartin Storsjö2011-04-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Make the opaque encoder pointer a void*Martin Storsjö2011-04-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove unused code fragmentsMartin Storsjö2011-04-13
| | | | | | | This parts are heritage from the encoder part from the old libamr code removed in SVN rev 19365. Signed-off-by: Martin Storsjö <martin@martin.st>
* applehttp: Only check the discard flags if v->ctx actually is initializedMartin Storsjö2011-04-13
| | | | | | | This code could be executed if the demuxer reads more than one segment before returning from av_open_input_stream. Signed-off-by: Martin Storsjö <martin@martin.st>
* doc: update developer guideLuca Barbato2011-04-13
| | | | | Refer to the current submission policy and refer to FATE in the Regression Test section.
* lavf: bump minor and add an APIChanges entry for the last avio changesAnton Khirnov2011-04-13
|
* avio: deprecate url_exist in favor of avio_check.Anton Khirnov2011-04-13
|
* file: implement url_check() callback in the file and pipe protocolsStefano Sabatini2011-04-13
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: add avio_check()Stefano Sabatini2011-04-13
| | | | | | | | The new function is more flexible than url_exist(), as it allows to specify which access flags to check, and does not require an explicit open of the checked resource. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: left-shift AVIO_ flags on next bumpAnton Khirnov2011-04-13
| | | | Now AVIO_RDONLY is defined as 0, so it's not usable as a flag.
* Check for successful h263 init in msmpeg4 initAlberto Delmas2011-04-12
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf/utils.c: Order packets with identical PTS by stream index.Vitor Sessak2011-04-12
| | | | | | This allows for more reproducible results when using multi-threading. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* flvdec: Allow parsing keyframes metadata without seeking in most casesMartin Storsjö2011-04-12
| | | | | | | | | | | | | Stop the avio input at a point where amf_parse_object can continue parsing the end of the object seamlessly, when all data is available. If unsupported data is encountered within the keyframes object, try seeking to the start of the keyframes object - if the seek back was successful, the caller can continue parsing the rest of the AMF data. Signed-off-by: Martin Storsjö <martin@martin.st>
* Error out if vaapi is not foundLuca Barbato2011-04-12
| | | | | | Make the behaviour consistent with the other external deps. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: undeprecate av_url_read_fseek/fpause under nicer namesAnton Khirnov2011-04-12
| | | | It seems their replacements won't be ready anytime soon.
* libvo-*: Don't use deprecated sample format names and enum namesMartin Storsjö2011-04-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: Fix support for flvtool2 "keyframes based" generated indexKharkov Alexander2011-04-12
| | | | | | | | | | | Current keyframes data parser unconditionally rewind metadata to the end at the end of function. As result ALL metadata located after keyframes index not parsed, and as metadata object can have ANY placement inside metadata it can lead to unpredictable result (bitrate can not be found, etc.). As result FLV movie will not play at all in such situation. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Use "const enum AVSampleFormat[]" in AVCodec initializationMartin Storsjö2011-04-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Fix the conversion of AV_SAMPLE_FMT_FLT and _DBL to AV_SAMPLE_FMT_S32.Alex Converse2011-04-11
| | | | | | | (1<<31) is undefined and seems to be evaluated by gcc to -2^31 when these formulae require 2^31. These conversions still need fate tests.
* Convert some undefined 1<<31 shifts into 1U<<31.Alex Converse2011-04-11
| | | | | | | | | | | According to ISO 9899:1999 S 6.5.7/4: The result of E1 << E2 is E1 left-shifted E2 bit positions; vacated bits are filled with zeros. If E1 has an unsigned type, the value of the result is E1× 2^E2, reduced modulo one more than the maximum value representable in the result type. If E1 has a signed type and nonnegative value, and E1× 2^E2 is representable in the result type, then that is the resulting value; otherwise, the behavior is undefined.
* Add unconditional return statement to yuva420_rgb32_MMX() / yuva420_bgr32_MMX().Diego Biurrun2011-04-11
| | | | | | | | | | | | When HAVE_7REGS was not defined these functions had an empty body causing the following warnings during compilation. In file included from libswscale/x86/yuv2rgb_mmx.c:58: libswscale/x86/yuv2rgb_template.c: In function ‘yuva420_rgb32_MMX’: libswscale/x86/yuv2rgb_template.c:412: warning: no return statement in function returning non-void libswscale/x86/yuv2rgb_template.c: In function ‘yuva420_bgr32_MMX’: libswscale/x86/yuv2rgb_template.c:457: warning: no return statement in function returning non-void Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Fix compilation of timefilter test program.Diego Biurrun2011-04-11
| | | | | | | The printf function is forbidden in library code, but not in test programs, so #undefine the printf macro that disables the system printf function. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Add support for AMR-WB encoding via libvo-amrwbencMartin Storsjö2011-04-11
| | | | | | The wrapper code is based on the libamr wrapper removed in SVN rev 19365. Signed-off-by: Martin Storsjö <martin@martin.st>
* Add an AAC encoder by using the libvo-aacenc libraryMartin Storsjö2011-04-11
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* g722: Return 8 bits per sample for g722 in av_get_bits_per_sampleMartin Storsjö2011-04-11
| | | | | | | | This fixes a failing assert in ff_raw_read_header (in fate-g722dec-1), where bits_per_coded_sample is set using this function and is required to have a positive value. Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: add more documentation for AVIOContext.Anton Khirnov2011-04-10
|
* Parse sprite data for WMVP and WVP2, and decode sprites for the latterAlberto Delmás2011-04-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace outdated info on the FAQLou Logan2011-04-10
| | | | | | | FAQ could use some work. This updates a few little details. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Redefine sameqLou Logan2011-04-10
| | | | | | | | I think the documentation of sameq is causing confusion and misuse of this option. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* pad: fix example explanationStefano Sabatini2011-04-10
| | | | | | | "row" and "column" term positions in the explanation were inverted. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* gradfun: add notice from the MPlayer manualStefano Sabatini2011-04-10
| | | | | | Add notice telling that the filter is designed for playback only. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* eval: add support for trunc, ceil, and floor functionsStefano Sabatini2011-04-10
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* documentation: add setdar and setsar description to filters.texiStefano Sabatini2011-04-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: document some members of AVIOContext.Anton Khirnov2011-04-10
|
* avio: document avio_close().Anton Khirnov2011-04-10
|
* avio: cosmetics, vertically align comments.Anton Khirnov2011-04-10
|
* avio: cosmetics, group the reading functions.Anton Khirnov2011-04-10
|
* avio: cosmetics, merge all the FF_API_OLD_AVIO blocks.Anton Khirnov2011-04-10
|
* avio: cosmetics, move AVIOContext to start of the file.Anton Khirnov2011-04-10
|
* avio: update file header.Anton Khirnov2011-04-10
|
* os: fix OpenBSD/PowerPC compilationBrad2011-04-10
| | | | | | | | When attempting to re-enable the AltiVec support it was noticed that we need to undefine _POSIX_C_SOURCE to appease the headers for ff_get_cpu_flags_ppc() to be able to compile. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>