summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Clarify that pts_correction* fields are internal to libavcodecMichael Niedermayer2011-02-131-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Set maximum lowres value for the MJPEG decoder to 3.Carl Eugen Hoyos2011-02-121-1/+1
| | | | | While 4 works for some samples, 3 is the correct value since 8x8 DCT is used by (m)jpeg.
* ffplay: stats: do not dereference NULL videoNicolas George2011-02-111-1/+8
| | | | Also: cosmetic: split this overly long line
* VP8: optimized mv prediction and decodingJason Garrett-Glaser2011-02-111-91/+91
| | | | | | Merge find_near_mvs and mv bitstream decoding: don't do prediction steps until absolutely necessary. (cherry picked from commit f3d09d44b70492022964e2ead5f439bb7c96eaa2)
* ac3enc: Remove unneeded clipping of shift amount.Justin Ruggles2011-02-111-1/+0
| | | | | | | | | s->windowed_samples will always have a range of [-32767,32767] due to the window function, so the return value from log2_tab() will always be in the range [0,14]. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 626264b11b5406c0c78c4056cabb63cb650e9bf2)
* ac3enc: remove right shifting from lshift_tab() and make lshift unsigned.Justin Ruggles2011-02-111-6/+2
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d4582889eefeee4dd23face9e74b2829dbaaeae5)
* asfdec: deobfuscate reading video properties sizeAnton Khirnov2011-02-111-5/+4
| | | | | | | | This code will be later split out into a function which takes a 'size' argument, so I'm keeping the name 'sizeX' here. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 0b1d291a716dd79ca6862a95baf9ac574feba885)
* asfdec: split asf_read_header()Anton Khirnov2011-02-111-151/+214
| | | | | | | | Only trivial splits are done here -- i.e. copy/paste + reindent + missing variable declarations. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit c1fea2307011ac7a7bb98af98010f81abc789732)
* wtv: mark streams intended for hearing or visual impaired personsPeter Ross2011-02-111-1/+18
| | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 68137ba386933243a84fc65f0deb3ad0ce5ff0ea)
* make av_find_best_stream() ignore streams marked with AV_DISPOSITION_*_IMPAIREDPeter Ross2011-02-111-0/+2
| | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 52091491575f015c09a32a745de4f7f7592fe6d4)
* add AV_DISPOSITION_HEARING_IMPAIRED and AV_DISPOSITION_VISUAL_IMPAIREDPeter Ross2011-02-112-1/+3
| | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 12c14cd4a8bf844f6f3d16ae18999bdb47999324)
* Remove final semicolon from some macrosMans Rullgard2011-02-116-10/+10
| | | | | | | This avoids double semicolons after macro expansion. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 44adbebe1744c68d66d7f811c38270fdcc89665a)
* dvbsubenc: Fix placement of the object versionRonen Mizrahi2011-02-111-1/+1
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit df211c3ab73b36208ac4511a9cd7feb817f551fa)
* document passing the fate samples location via make variableJanne Grunau2011-02-111-1/+4
| | | | (cherry picked from commit 5c19f64c600ece050a1deb27f53963e4416beb31)
* dvbsubdec: check against buffer overreadsJanne Grunau2011-02-111-2/+9
| | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 493aa30adf88baf5bc734072592a22db586f0cfb)
* Do not fail DVB sub decoding because of a few padding bytesReimar Döffinger2011-02-111-7/+2
| | | | | | | | | | Instead of returning an error when bytes are left over, just return the number of actually used bytes as other decoders do. Instead add a special case so an error will be returned when none of the data looks valid to avoid making debugging a pain. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 4a72765a1c94b05bd3053b1f34f8457a3b71d714)
* Add x86-optimized versions of exponent_min().Justin Ruggles2011-02-118-29/+230
| | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit dda3f0ef48aa5c3b03566b60b6bf63211e1fe579)
* Remove incorrect return statement from avcodec_thread_free()Mans Rullgard2011-02-111-1/+1
| | | | | | | | The function return type is void, so a return statement with an expression is forbidden (and pointless). Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit b4668274b944abae61759e796c5cc36ade510f24)
* ivi_dsp: remove semicolons after function definitionsMans Rullgard2011-02-111-4/+4
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit dbb09ec23f16cb5e4ec3d4e0911dae0beb95869b)
* mov: remove stray semicolonMans Rullgard2011-02-111-1/+1
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 628b16f45f79aa5eb7514f11026d85e8aa34387f)
* asfdec: skip the stream bitrate listAnton Khirnov2011-02-111-15/+0
| | | | | | | Its contents aren't used for anything. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit d7a5106eb2dad33765b0e5f11fd8b1a87e5a9b4b)
* asfdec: use an ASFContext array for storing stream bitratesAnton Khirnov2011-02-111-5/+2
| | | | | | | This will be useful for splitting asf_read_header() Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 7c7253802bbb4f7330ff9b32358bf05f9880cbdf)
* asfdec: move DAR list to ASFContextAnton Khirnov2011-02-111-10/+9
| | | | | | | This will be useful for splitting asf_read_header() Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit d42b09723ed154d5269b95efcc20cb1874f60816)
* udp: Enable address reuse by default for multicastDavid Fries2011-02-111-2/+15
| | | | | | | | | Keep the original corner case behaviour, where reuse is enabled for the case where no argument is given to the reuse url option. Signed-off-by: Martin Storsjö <martin@martin.st> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 00952be424ba7403d71c338933354d2172df8e67)
* asfdec: remove some write-only values from the contextAnton Khirnov2011-02-111-4/+1
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 569ff02168dfe618599db5d5a327caf8b3051dd5)
* Fix build with threading disabledMans Rullgard2011-02-111-0/+2
| | | | | | | | | The avcodec_thread_free() compatibility wrapper calls ff_thread_free(), which is not defined when threading is disabled. Make this call conditional. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 9a77a92c2b6855781d2a4cfab14c67ae4025760c)
* w32thread: add missing #include thread.hMans Rullgard2011-02-111-0/+1
| | | | | | | This should fix building with win32 threads. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit aef669cdfd984a737ad876b33ee1b160f87f5f9a)
* asf: split ASFContext into muxer and demuxer parts.Anton Khirnov2011-02-113-58/+66
| | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 4bc328a2bdf96d01afd3cf4532efb9db41f00985)
* check sample_fmt in avcodec_openReimar Döffinger2011-02-111-0/+10
| | | | | | | check AVCodecContext->sample_fmt against AVCodec->sample_fmts[] to ensure that the encoder supports the specified sample format. Error out if it doesn't. Previously, it would continue and output garbage. Fixes issue 2587. (cherry picked from commit 2cfa2d925808e6cc6fb7a7c133b7cb7622afd37e)
* mpegts: remove unused macro MAX_SCAN_PACKETSVladimir Pantelic2011-02-111-3/+0
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit f4c79d1e0b2e797012304db57903e4091b0c2d7c)
* vp3: Frame-based multithreading supportAlexander Strange2011-02-111-23/+131
| | | | | | | | | | | | | | | | | | | | Decode times for big_buck_bunny_720p_stereo: 1 thread: real 1m14.227s user 1m13.104s sys 0m1.108s 2 threads: (33% faster) real 0m49.329s user 1m33.735s sys 0m1.834s 3 threads: (44% faster) real 0m41.593s user 1m44.884s sys 0m1.967s (cherry picked from commit d23845f311f04e98777612cae1b55e28923ccdc6)
* Add missing git rev hash.Ronald S. Bultje2011-02-111-1/+1
| | | | (cherry picked from commit f2146944fcd00a0a7918931c6f0f5c3f88cd6f1d)
* Deprecate avcodec_thread_init()Alexander Strange2011-02-118-20/+42
| | | | | | | | | | | | | | | As a side effect of the last commit, avcodec_open() now calls it automatically, so there is no longer any need for clients to call it. Instead they should set AVCodecContext.thread_count. avcodec_thread_free() is deprecated, and will be removed from avcodec.h at the next MAJOR libavcodec bump. Rename the functions to ff_thread_init/free, since they are now internal. Wrappers are provided to maintain API compatibility. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit c0b102ca03fe92250f1ce620aec3836f529fc1d6)
* Add missing git rev hash.Ronald S. Bultje2011-02-111-1/+1
| | | | (cherry picked from commit 8e8cc52be3b515bc91cd9452daca7a65feaea5ad)
* Frame-based multithreading framework using pthreadsAlexander Strange2011-02-1111-10/+1068
| | | | | | See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add missing git revision hask.Ronald S. Bultje2011-02-111-1/+1
| | | | (cherry picked from commit c2bd7578af069206831a9c25fa68c9bbd5004619)
* asf: make ff_guidcmp inline and move it to asf.hAnton Khirnov2011-02-112-6/+6
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit e4e234fad77daa8628fc56155563248165d51ab4)
* Update qmin/qmax values for libx264 presetsJason Garrett-Glaser2011-02-0927-54/+54
| | | | | | Also allow qmin/qmax to go up to 69 (the current max value for libx264). This will have to increase when we add 9/10-bit support. (cherry picked from commit c7ac200d15e3240972d269df768068f0e3bb9c2f)
* Fix broken vbv_buffer_init handling in libx264.cJason Garrett-Glaser2011-02-091-3/+2
| | | | | | | Due to being pants-on-head retarded, libavcodec defaults this to zero, which results in broken output. This didn't affect ffmpeg.c, which sets it itself, but caused problems for other calling apps using VBV. (cherry picked from commit f7f8120fb9a06b5d7fbf5add48a0d8464319a332)
* VP8: idct_mb optimizationsJason Garrett-Glaser2011-02-091-16/+16
| | | | | Currently uses AV_RL32 instead of AV_RL32A, as the latter doesn't exist yet. (cherry picked from commit 62457f9052ea15123688455aad866cb070634f13)
* Fix ff_emu_edge_core_sse() on Win64.Ronald S. Bultje2011-02-091-5/+15
| | | | | | | | Fix emu_edge_v_extend_15 to be <128 bytes on Win64, by being more strict on the size of registers and which registers are being used for operations where multiple are available. This fixes segfaults in emulated_edge() function calls on Win64. (cherry picked from commit 17cf7c68ed26a4cb3c7adf7488a38c2e19118918)
* lavf: rename ff_probe_input_buffer to make it publicAnssi Hannula2011-02-095-22/+26
| | | | | | | | It is useful for applications that hand input data directly to lavf via a ByteIOContext. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 3940caad02fbc4f075e77bc605849b1d84ba1b8e)
* lavf: simplify pb parameter of ff_probe_input_bufferAnssi Hannula2011-02-092-5/+5
| | | | | | | | There is no need to pass the ByteIOContext via a pointer to a pointer anymore. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit aad216fd7e3209fe0a865d8751e680925f6654d3)
* lavf: update ff_probe_input_buffer documentationAnssi Hannula2011-02-091-1/+1
| | | | | | | It never reopens the bytestream anymore. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 4d016dd4e5b288b3c0c7396935326cb07a289ac2)
* oggdec: Fix incorrect assumption about header/data interleavingReimar Döffinger2011-02-091-7/+7
| | | | | | | | | | | | | Currently (since the data_offset fix) the ogg demuxer assumes that after the first non-header packets in any stream no more header packets will follow. This is not guaranteed, so change the code back again to wait until it has finished the headers for all streams before returning from ogg_get_headers. This fixes issue 2428. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 6bd69e6adadf645fd07e909bebc150eab4b9c3c8)
* Fix HOSTLIBS on HaikuFrançois Revol2011-02-091-0/+1
| | | | | | | | Haiku does not have a separate libm, so do not try to link to it. Signed-off-by: François Revol <revol@free.fr> Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit f59c4bd625839dbe1e099c6a8b38988108883623)
* Documentation updates for the git migrationReinhard Tartler2011-02-094-8/+8
| | | | | | This cleanup patch updates the developer documentation with respect to the migration to the git scm. (cherry picked from commit 87800dc2bf8f2724a99e51bb079ad7fb4b9dfd3b)
* logging: downgrade recoverable errors to warningsStefan Kost2011-02-092-3/+3
| | | | | | | | | In all 3 cases, the decoding continues and thus a warning would be sufficient. Helps application that catch them with own log handers to handle them accordingly. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit ae2104791ffa8466d3f6972ed0793b2a165daabe)
* add APIChanges entry for fe9a3fbJanne Grunau2011-02-091-0/+3
| | | | (cherry picked from commit 7ab8758baf743b3d525c07a770e13038b0885461)
* h264: define FF_PROFILE_H264_HIGH_444 to the correct valueJanne Grunau2011-02-092-0/+2
| | | | | | It was removed in fe9a3fb since it had the wrong value. Add profile name for it. (cherry picked from commit 440b61691db2166abac3f58e01da1d4722f1f1e4)
OpenPOWER on IntegriCloud