summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* aacdec: use float planar sample format for outputJustin Ruggles2012-11-25
|
* lavc: clarify get_buffer() documentationJustin Ruggles2012-11-25
| | | | | This is needed for the AAC decoder, which may need to call get_buffer() more than once if the channel configuration changes.
* mpegaudiodec: use planar sample format for output unless packed is requestedJustin Ruggles2012-11-25
|
* x86: h264 qpel: use the correct number of utilized xmm regs in cglobalJustin Ruggles2012-11-25
| | | | Fixes xmm register clobbering on win64.
* remove #defines to prevent use of discouraged external functionsJanne Grunau2012-11-25
| | | | | | | | | | | Preventing the use of discouraged or 'insecure' external functions through defines in an internal header is not a good solution. The header is not guaranteed to be included universally which makes overlooking bad use of said functions during review more likely. There are cases were those functions either are the most straight forward solution or even have to be used. Using malloc or free is required if the allocation or release is done by other libraries.
* x86: h264: Convert 8-bit QPEL inline assembly to YASMDaniel Kang2012-11-25
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: h264: Remove 3dnow QPEL codeDaniel Kang2012-11-25
| | | | | | | The only CPUs that have 3dnow and don't have mmxext are 12 years old. Moreover, AMD has dropped 3dnow extensions from newer CPUs. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: h264_chromamc: port to cpuflagsDiego Biurrun2012-11-25
|
* yop: fix typoPaul B Mahol2012-11-25
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* avconv: fix copying per-stream metadata.Anton Khirnov2012-11-25
| | | | | | | It is handled separately from other types because it uses stream specifiers and currently that triggers an assert in SET_DICT. CC:libav-stable@libav.org
* doc: avtools-common-opts: Fix terminology concerning metric prefixesMarcus Stollsteimer2012-11-25
| | | | | | | | | 'k', 'M', and 'G' are SI (unit) prefixes or metric prefixes, not 'number postfixes'. Also, the statement regarding binary prefixes ("powers of 2 are used instead of powers of 10") might be misinterpreted (1 kB = 10^3 B, but 1 KiB != 2^3 B). Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: suncc: Add compiler arch support for Nehalem & Sandy BridgeSean McGovern2012-11-25
| | | | | | | | GCC does not appear to have a -march= string for Westmere, which is a bit surprising as it has a few more instructions than a Nehalem, but a few less than a Sandy Bridge. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* riff: Make ff_riff_tags static and move under appropriate #ifdefDiego Biurrun2012-11-25
| | | | The table is not used outside the file.
* configure: sort cpuflags section by architectureMans Rullgard2012-11-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: properly support DEC/Compaq compilerMans Rullgard2012-11-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* av_memcpy_backptr: optimise some special casesMans Rullgard2012-11-23
| | | | | | | | | - Add special cases for offsets of 2, 3, or 4 bytes. This means the offset is always >4 in the generic case, allowing 32-bit copies to be used there. - Don't use memcpy() for sizes less than 16 bytes. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegvideo: simplify dxy calculation in hpel_motion()Mans Rullgard2012-11-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: add rules to generate preprocessed source filesMans Rullgard2012-11-23
| | | | | | | This is useful for debugging. Dependencies for these files are not generated due to limitations in many compilers. Signed-off-by: Mans Rullgard <mans@mansr.com>
* id3v2: fix reading unsynchronized frames.Anton Khirnov2012-11-22
| | | | | | | | | Current code would incorrectly process e.g. 'ff 00 ff 00 ff' to 'ff ff ff', while it should be 'ff ff 00 ff'. Fixes Bug 395. CC: libav-stable@libav.org
* cdgraphics: fix incorrect vertical offset mask in cdg_scroll()Xi Wang2012-11-21
| | | | | | | | | | | | The vertical offset mask 0x07 is suspicious. v_off = FFMIN(data[2] & 0x07, CDG_BORDER_HEIGHT - 1); Note that v_off is up to 11 (CDG_BORDER_HEIGHT - 1), the correct mask should be 0x0F. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* apetag: fix error handling in ff_ape_parse_tag()Xi Wang2012-11-21
| | | | | | | | | | | | | | | | | | | | The following error handling is broken due to signedness. int file_size; uint32_t tag_bytes; int64_t tag_start; ... tag_start = file_size - tag_bytes - APE_TAG_FOOTER_BYTES; if (tag_start < 0) { ... } Note that tag_bytes is unsigned, which makes the right-hand side of `tag_start = ...' unsigned, too. The 32-bit unsigned value is then zero-extended to 64 bits. Therefore, tag_start must be non-negative, and the check (tag_start < 0) is always false, which breaks the error handling. This patch fixes the check. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* flashsv: Drop unused function and struct parametersDiego Biurrun2012-11-21
|
* pcm: fix decoding of pcm_s16le_planar on big-endianJustin Ruggles2012-11-20
| | | | | | The sample count is decremented by the DECODE() macro and needs to be reset in each loop iteration. Also, DECODE() increments the src pointer so that does not need to be done separately.
* imgconvert: remove PixFmtInfoLuca Barbato2012-11-20
| | | | It is pleonastic and was used in stale functions pending replacement.
* avcodec: split avpicture from imgconvertLuca Barbato2012-11-20
| | | | All the non deprecated functions are in avpicture.c now.
* pixdesc: add PIX_FMT_ALPHA flagLuca Barbato2012-11-20
|
* FATE: add 24-bit ALAC testsJustin Ruggles2012-11-20
|
* FATE: rename ALAC tests from alac-* to alac-16-*Justin Ruggles2012-11-20
| | | | | This will distinguish ALAC 16-bit tests from ALAC tests with other bit depths.
* alacenc: support 24-bit encodingJustin Ruggles2012-11-20
|
* pcmdec: use planar sample format for pcm_s16le_planarJustin Ruggles2012-11-19
|
* vorbisdec: use float planar sample formatJustin Ruggles2012-11-19
|
* x86: h264_intrapred: Fix C function names in commentsDiego Biurrun2012-11-18
| | | | | Function names changed after switching to declaration with PRED4x4/8x8/8x8L/16x16 macros in the C code.
* x86: SPLATD: port to cpuflagsDiego Biurrun2012-11-18
|
* PGS subtitles: Set AVSubtitle pts valueJohn Stebbins2012-11-18
| | | | | | pts should be that of the packet containing the presentation segment. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: Refactor CPPFLAGS settings for glibc/uclibcDiego Biurrun2012-11-18
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: add basic support for ARM AArch64Mans Rullgard2012-11-18
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: set -U__STRICT_ANSI__ for newlibMans Rullgard2012-11-18
| | | | | | | This is (erroneously) required to enable various things in the newlib headers. As cygwin uses newlib, it is covered by this. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: lavr: fix stack allocation for 7 and 8 channel downmixing on x86-32Ronald S. Bultje2012-11-17
| | | | Fixes crashes on Win32 and stack overruns on x86-32 in general.
* lavr: fix the decision for writing directly to the output bufferJustin Ruggles2012-11-17
| | | | | | If there are any samples remaining in the output fifo from previous conversion calls, we have to output those samples first instead of doing direct output of the current samples.
* parisc: work around bug in gcc 4.3 and laterMans Rullgard2012-11-17
| | | | | | | | A bug in tail call optimisation in gcc 4.3 and later on parisc causes numerous tests to fail. Disabling this optimisation gives a working build. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55023 Signed-off-by: Mans Rullgard <mans@mansr.com>
* FATE: add a bink version 'b' testAnton Khirnov2012-11-17
|
* FATE: add a bink version 'i' testAnton Khirnov2012-11-17
|
* libswscale: remove unnecessary direct #if LIBSWSCALE_VERSION_MAJORJanne Grunau2012-11-16
| | | | | | SWS_CPU_CAPS are deprecated and slated to removed with libswscale major version 3. No need to provide a SWS_CPU_CAPS_MMX2 as backward compatibility define under the same explicit condition.
* cpu.h: define AV_CPU_FLAG_MMX2 for libavutil major 52Janne Grunau2012-11-16
|
* h264: Fix parameters to ff_er_add_slice() callJanne Grunau2012-11-16
| | | | | | | | | s->mb_x is reset to zero a couple of lines above. It does not make sense to call ff_er_add_slice() with 0 as endx when the end of the macroblock row was reached. Fixes unnecessary and counterproductive error resilience in https://bugzilla.libav.org/show_bug.cgi?id=394. CC: libav-stable@libav.org
* h264: always check ref_count for validityJanne Grunau2012-11-16
| | | | Fixes a crash with zuffed files.
* x86: dsputil: port to cpuflagsDiego Biurrun2012-11-16
|
* crc: av_crc() parameter names should match between .c, .h and doxygenDiego Biurrun2012-11-16
|
* avserver: replace av_read_packet with av_read_frameJanne Grunau2012-11-15
|
* avserver: fix constness casting warningsJanne Grunau2012-11-15
| | | | | | | | Use a different char* for extracting info string from the URL. The other pointer can be made const then which elimates the need for a cast and fixes the following warnings: warning: to be safe all intermediate pointers in cast from ‘char **’ to ‘const char **’ must be ‘const’ qualified [-Wcast-qual]