summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* ARM: libavresample: NEON optimised flat float to s16 conversionMans Rullgard2012-09-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* os_support: Choose between direct.h and io.h using a configure checkMartin Storsjö2012-09-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* os_support: Include io.h instead of direct.h on mingw32ceMartin Storsjö2012-09-13
| | | | | | | | Windows CE doesn't have neither mkdir nor _mkdir officially (only CreateDirectoryW), but mingw32ce has compat wrappers with these names (declared in io.h since direct.h is unavailable). Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: ac3dsp: Only refer to the ac3_downmix_sse symbol if it has been declaredMartin Storsjö2012-09-13
| | | | | | This fixes building without inline assembly. Signed-off-by: Martin Storsjö <martin@martin.st>
* swscale: Remove two bogus assertsDiego Biurrun2012-09-13
|
* ac3: move ac3_downmix() from dsputil to ac3dspMans Rullgard2012-09-12
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavr/audio_mix_matrix: acknowledge the existence of LFE2.Tim Walker2012-09-12
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* mlp_parser: avoid mapping multiple disctinct TrueHD channels to the same ↵Tim Walker2012-09-12
| | | | | | Libav channel. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* lavu/audioconvert: add a second low frequency channel.Tim Walker2012-09-12
| | | | | | Can be used by DTS-HD, TrueHD and E-AC-3, among others. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* mpegts: check substreams before discardingChristian Schmidt2012-09-12
| | | | | | Allow to extract the AC3 core from TrueHD with the "copy" codec. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Add a smooth streaming segmenter muxerMartin Storsjö2012-09-12
| | | | | | | | | | | | | | | | | This muxer splits the output from the ismv muxer into individual files, in realtime. The same can also be done by the standalone tool ismindex, but this muxer is needed for doing it in realtime (especially for live streams that need extra handling for updating the lookahead fields in the fragment headers). Using this muxer, one can deliver live smooth streaming from a normal static file web server. (Using ismindex, one can deliver premade smooth streaming files from a static file web server, or prepare files for serving with IIS.) Signed-off-by: Martin Storsjö <martin@martin.st>
* file: Add an avoption for disabling truncating existing files on openMartin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* img2dec: always close AVIOContextsTomas Härdin2012-09-12
| | | | | | Zero sized files would cause the contexts to leak away. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rtpdec_jpeg: Error out on other unsupported type values as wellMartin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Disallow using the reserved q valuesMartin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Fold the default qtables case into an existing if statementMartin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Store and reuse old qtables for q values 128-254Martin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Simplify the calculation of the number of qtablesMartin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Add more comments about the fields in the SOF0 sectionMartin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Clarify where the subsampling magic numbers come fromMartin Storsjö2012-09-12
| | | | | | | Write out the numbers the way they are constructed, not just the final values. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Don't use a bitstream writer for the EOI markerMartin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Don't needlessly use a bitstream writer for the headerMartin Storsjö2012-09-12
| | | | | | | | Everything written with this bitstream writer is 8/16 bit units (except for a pair of 4 bit values), so using a bitstream writer isn't necessary. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Simplify writing of the jpeg headerMartin Storsjö2012-09-12
| | | | | | | Generalize writing of any number of qtables. Don't manually write 16 bit values in two separate calls. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Merge two if statementsMartin Storsjö2012-09-12
| | | | | | This makes the code more readable and robust. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Write the DHT section properlyMartin Storsjö2012-09-12
| | | | | | | | | Currently the size header of the generated DHT section is incorrect, making the mjpeg decoder just skip it. Since the written huffman tables are the default ones, this failure had gone undetected. Signed-off-by: Martin Storsjö <martin@martin.st>
* utvideoenc: Add missing AV_ prefix to codec IDDiego Biurrun2012-09-11
|
* avserver: Add missing #include for av_gettime()Diego Biurrun2012-09-11
|
* configure: Only disable aligned stack on MSVC on 32 bitMartin Storsjö2012-09-11
| | | | | | On 64 bit, the stack seems to be aligned enough for our needs. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: indentation cosmeticsDiego Biurrun2012-09-11
|
* rtpdec_jpeg: Add support for default quantizersSamuel Pitoiset2012-09-11
| | | | | | | Generate quantization tables when they are not present in the first chunk. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: dsputil: Move specific optimization settings out of global init functionDiego Biurrun2012-09-11
| | | | They belong in the init functions specific to each CPU capability.
* avplay: get rid of ugly casts in the options tableAnton Khirnov2012-09-11
|
* avplay: fix prototypes for option callbacks.Anton Khirnov2012-09-11
| | | | They have been wrong since 11d957fbd81288e64408e79ed369446346000b29
* flvdec: always set AVFMTCTX_NOHEADER.Anton Khirnov2012-09-11
| | | | New streams may be created at any time, e.g. on codec change.
* file: Use a normal private context for storing the file descriptorMartin Storsjö2012-09-10
| | | | | | Previously the file descriptor was stored in the priv_data pointer. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Adjust the xgetbv instrinsic checkMartin Storsjö2012-09-10
| | | | | | | | | | | | The 64 bit cl.exe version 16.00.30319.01 crashes with an internal compiler error on the current check (and thus deduces it isn't supported, even if the actual usage in libavuil/x86/cpu.c works fine), but by assigning the value from the intrinsic to a variable, or returning it, it works fine. This error is fixed in cl.exe version 16.00.40219.01. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add --disable-inline-asm command line optionDiego Biurrun2012-09-10
| | | | This can come in handy for testing and possibly other purposes.
* configure: Don't try to enable the log2 function on msvcrtMartin Storsjö2012-09-10
| | | | | | | | | | | | Some msvcrt versions (the static 64 bit libc in MSVC 10) have a log2 function, but there is no declaration for it in the headers. Therefore, the normal configure check might find it, but it can fail during build or at runtime, depending on whether implicit function declarations are an error or not. Therefore simply ignore this function on this platform. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: dsputil: Only compile motion_est code when encoders are enabledDiego Biurrun2012-09-10
|
* mem: fix typo in check for __ICCMans Rullgard2012-09-10
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* fate: mp3: drop redundant CMP settingMans Rullgard2012-09-10
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtp: Depacketization of JPEG (RFC 2435)Samuel Pitoiset2012-09-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Rename ff_put_string to avpriv_put_stringMartin Storsjö2012-09-09
| | | | | | | This allows using it from libavformat as well. This will be used by the RTP/JPEG depacketizer. Signed-off-by: Martin Storsjö <martin@martin.st>
* mjpeg: Rename some symbols to avpriv_* instead of ff_*Samuel Pitoiset2012-09-09
| | | | | | These symbols will be used from the RTP/JPEG depacketizer. Signed-off-by: Martin Storsjö <martin@martin.st>
* yadif: cosmeticsLuca Barbato2012-09-09
|
* swscale: Provide the right alignment for external mmx asmMartin Storsjö2012-09-09
| | | | | | | | | | This reverts parts of e0c6cce4472. There is external mmx asm that requires this alignment. This fixes crashes when using swscale in builds with external mmx, without inline assembly. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: Replace checks for CPU extensions and flags by convenience macrosDiego Biurrun2012-09-08
| | | | | This separates code relying on inline from that relying on external assembly and fixes instances where the coalesced check was incorrect.
* configure: msvc: fix/simplify setting of flags for hostccMans Rullgard2012-09-08
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: mlpdsp: mlp_filter_channel_x86 requires inline asmHendrik Leppkes2012-09-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mov_chan: Only set the channel_layout if setting it to a nonzero valueMartin Storsjö2012-09-08
| | | | | | | | If regularly parsing new chan atoms (as in rtpdec_qt), but the chan atoms don't actually contain any channel layout, don't reset the value that the caller has filled in (by guessing). Signed-off-by: Martin Storsjö <martin@martin.st>