summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avformat: split out common SMJPEG codePaul B Mahol2012-01-16
| | | | | | This is a preparation for adding SMJPEG muxer. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* pictordec: Use bytestream2 functionsLaurentiu Ion2012-01-15
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* avconv: use avcodec_encode_audio2()Justin Ruggles2012-01-15
|
* pcmenc: use AVCodec.encode2()Justin Ruggles2012-01-15
|
* avcodec: bump minor version and add APIChanges for the new audio encoding APIJustin Ruggles2012-01-15
|
* avcodec: Add avcodec_encode_audio2() as replacement for avcodec_encode_audio()Justin Ruggles2012-01-15
| | | | | | | | This allows audio encoders to optionally take an AVFrame as input and write encoded output to an AVPacket. This also adds AVCodec.encode2() which will also be usable by video and subtitle encoders once support is implemented in the public functions.
* avcodec: add a public function, avcodec_fill_audio_frame().Justin Ruggles2012-01-15
| | | | This is a convenience function for the user to fill audio AVFrame information.
* rv34: Intra 16x16 handlingChristophe GISQUET2012-01-16
| | | | | | | Extract processing of intra 16x16 blocks from intra macroblock processing. Also implement a function performing inverse transform and block reconstruction for DC-only blocks in 1 pass instead of 2.
* rv34: Inter/intra MB code splitChristophe GISQUET2012-01-16
| | | | | | | | Split inter/intra macroblock handling code. This will allow further optimizations such as performing inverse transform and block reconstruction in a single pass as well as specialize code. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* fate: split ADPCM and DPCM test references into separate files.Diego Biurrun2012-01-15
|
* mov, mxfdec: Employ more meaningful return values.Daniel Huang2012-01-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: Relax API strictness in avcodec_decode_audio3 with a custom get_buffer()Reinhard Tartler2012-01-15
| | | | | | | | | | | | | Do not fail audio decoding with avcodec_decode_audio3 if user has set a custom get_buffer. Strictly speaking, this was never allowed by the API, but it seems that some software packages did so anyways. In order to unbreak applications (cf. http://bugs.debian.org/655890), this change clarifies the API and overrides the custom get_buffer() with the defaults. This change is inspired by a similar commit (c3846e3ebab610be691adb8b40d376dc2f675dc4) in FFmpeg. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* wavpack: fix clipping for 32-bit lossy modeKostya Shishkov2012-01-15
| | | | | | Reference decoder clips data before shifting it to final range and also forces 32-bit lossy mode to be actually 24-bit lossy mode in order to be able to perform proper clipping.
* vb: Use bytestream2 functionsLaurentiu Ion2012-01-14
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* sgidec: Use bytestream2 functions to prevent buffer overreads.Aneesh Dogra2012-01-14
| | | | | | The patch also adds several bytestream macros to deal with native endian. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* cosmetics: Move static and inline attributes to more standard places.Diego Biurrun2012-01-14
| | | | Fixes several "‘static’ is not at beginning of declaration" warnings.
* configure: provide libavfilter/version.h header to get_version()Stefano Sabatini2012-01-14
| | | | | | | Fix libavfilter library version numbers generation, which was broken in 3167dc9515810bbdd86d99d773bcf84657d2e72a. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* swscale: change yuv2yuvX code to use cpuflag().Ronald S. Bultje2012-01-13
|
* libx264: Don't leave max_b_frames as -1 if the user didn't set itMartin Storsjö2012-01-14
| | | | | | | | | | | | | | | max_b_frames is initialized to -1 for libx264, to allow distinguishing between an explicit user set 0 and a default not touched 0 (see bb73cda2). If max_b_frames is left as -1, this affects dts generation (where expressions like max_b_frames != 0 are used), so make sure it is left at the default 0 after the libx264 init function returns. This avoids unnecessarily producing dts != pts when using profile=baseline. Signed-off-by: Martin Storsjö <martin@martin.st>
* FATE: convert output to rgba for the targa tests which currently output pal8Justin Ruggles2012-01-13
| | | | fixes the tests on big-endian systems
* fate: add missing reference files for targa tests in 9c2f9b0e2Janne Grunau2012-01-13
| | | | Fixes fate-targa-conformance-CCM8 and fate-targa-conformance-UCM8.
* FATE: enable the 2 remaining targa conformance suite testsJustin Ruggles2012-01-13
|
* targa: add support for rgb555 paletteJustin Ruggles2012-01-13
|
* FATE: fix targa tests on big-endian systemsJustin Ruggles2012-01-13
|
* FATE: add tests for targaJustin Ruggles2012-01-13
| | | | Based on a patch by Oana Stratulat <oanaandreeastratulat@gmail.com>
* ARM: fix Thumb-mode simple_idct_armMans Rullgard2012-01-13
| | | | | | | | The alignment directive must obviously precede the label. This was never noticed in ARM mode since the location is already aligned there. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: 4-byte align start of all asm functionsMans Rullgard2012-01-13
| | | | | | | | | | | Due to apprent bugs in the GNU assembler and/or linker, relocations can be incorrectly processed if the alignment of a Thumb instruction is changed in the output file compared to the input object. This fixes crashes in h264 decoding with Thumb enabled. No effect in ARM mode since everything is 4-byte aligned there. Signed-off-by: Mans Rullgard <mans@mansr.com>
* rgb2rgb: rgb12to15()Paul B Mahol2012-01-12
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale-test: fix stack overread.Ronald S. Bultje2012-01-12
| | | | | Fixes problems in swscale-test where it gives a 3-member array to a function expecting a 4-member array.
* swscale: fix invalid conversions and memory problems.Ronald S. Bultje2012-01-12
| | | | | | | | | | Fixes problems where rgbToRgbWrapper() is called even though it doesn't support this particular conversion (e.g. converting from RGB444 to anything). Thirdly, fixes issues where rgbToRgbWrapper() is called for non-native endiannness conversions (e.g. RGB555BE on a LE system). Fourthly, fixes crashes when converting from e.g. monowhite to monowhite, which calls planarCopyWrapper() and overwrites/reads because n_bytes != n_pixels.
* cabac: split cabac.h into declarations and function definitionsDiego Biurrun2012-01-12
| | | | | | | | | | | This fixes standalone compilation of some decoders with --disable-optimizations. cabac.h defines some inline functions that use symbols from cabac.c. Without optimizations these inline functions are not eliminated and linking fails with references to non-existing symbols. Splitting the inline functions off into their own header and only #including it in the places where the inline functions are used allows #including cabac.h from anywhere without ill effects.
* cabac: Mark ff_h264_mps_state array as static, it is only used within cabac.c.Diego Biurrun2012-01-12
|
* cabac: Remove ff_h264_lps_state array.Diego Biurrun2012-01-12
| | | | It was only ever used in the cabac test program, but never initialized.
* utils: Check for extradata size overflows.Alex Converse2012-01-12
|
* ARM: rv34: fix asm syntax in dc transform functionsMans Rullgard2012-01-12
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* avio: Fix the value of the deprecated URL_FLAG_NONBLOCKMartin Storsjö2012-01-12
| | | | | | | | | | This isn't used in practice anywhere within libav at the moment, but change it for consistency until it is removed. URL_RDONLY/WRONLY were fixed in commit 5b81e295931 (after the values that actually were used were changed at the major bump, in commit cbea3ac8), but this flag was unintentionally left unfixed. Signed-off-by: Martin Storsjö <martin@martin.st>
* rv34: fix and optimise frame dependency checkingJanne Grunau2012-01-12
| | | | | | | | The sporadic threading errors during fate-rv30 were caused by calling ff_thread_await_progress with mb row -1 as argument. That returns immediately since progress is initialized to -1. Not yet computed motion vectors from the reference could be used for the first macroblocks.
* rv34: NEON optimised dc only inverse transformJanne Grunau2012-01-12
| | | | | 30-50% faster than the C implementation, 0.5% overall speedup on bourne.rmvb.
* avprobe: use avio_size() instead of deprecated AVFormatContext.file_size.Anton Khirnov2012-01-12
|
* ffmenc: remove references to deprecated AVFormatContext.timestamp.Anton Khirnov2012-01-12
|
* lavf: undeprecate read_seek().Anton Khirnov2012-01-12
| | | | The "new seeking API" was never finished and nobody is working on it.
* avserver: remove code using deprecated CODEC_CAP_PARSE_ONLY.Anton Khirnov2012-01-12
|
* lavc: replace some remaining FF_I_TYPE with AV_PICTURE_TYPE_IAnton Khirnov2012-01-12
|
* lavc: ifdef out parse_only AVOptionAnton Khirnov2012-01-12
|
* nellymoserdec: SAMPLE_FMT -> AV_SAMPLE_FMTAnton Khirnov2012-01-12
|
* mpegvideo_enc: ifdef out/replace references to deprecated codec flags.Anton Khirnov2012-01-12
|
* riff: remove references to sonic codec idsAnton Khirnov2012-01-12
| | | | They are deprecated and will be purged on next major bump.
* indeo4: add some missing static and const qualifiersKostya Shishkov2012-01-12
| | | | From the patch by Reimar Döffinger.
* rv34: DC-only inverse transformChristophe GISQUET2012-01-12
| | | | | | | | | | | | | | | When decoding coefficients, detect whether the block is DC-only, and take advantage of this knowledge to perform DC-only inverse transform. This is achieved by: - first, changing the 108x4 element modulo_three_table into a 108 element table (kind of base4), and accessing each value using mask and shifts. - then, checking low bits for 0 (as they represent the presence of higher frequency coefficients) Also provide x86 SIMD code for the DC-only inverse transform. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* avconv: use AVFrame.width/height/format instead of corresponding ↵Anton Khirnov2012-01-12
| | | | AVCodecContext fields