summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* libspeexenc: add libspeex encoderJustin Ruggles2011-10-20
|
* x86: Move some variable declarations below the appropriat #ifdef.Diego Biurrun2011-10-20
| | | | This avoids some unused variable warnings with YASM disabled.
* x86: Fix linking of ProRes DSP ASM with YASM disabled.Diego Biurrun2011-10-20
|
* avcodec.h: Move G.729/G.723 CODEC_IDs to the correct section.Diego Biurrun2011-10-20
| | | | This is done conditional to the libavcodec version to avoid ABI breaks.
* Only test-compile w32pthreads.h if W32THREADS are available.Diego Biurrun2011-10-20
| | | | This fixes 'make checkheaders' on non-W32THREADS systems.
* lavc: make avcodec_get_context_defaults3 "officially" publicAnton Khirnov2011-10-19
| | | | Deprecate avcodec_get_context_defaults/avcodec_get_context_defaults2
* Use correct scaling table for bwd-pred MVs in second B-fieldMashiat Sarker Shakkhar2011-10-19
| | | | | | | | | | | When scaling backward predicted MVs in second B-field, the scaling table is opposite of that for P field pictures; i.e. first field P table will be used as second field B table and second field P table will be used as first field B table. This is not documented in the spec, but exists in the ref. decoder. This fixes SA10139. Signed-off-by: Martin Storsjö <martin@martin.st>
* Ut Video decoderKostya Shishkov2011-10-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* sunrast: Check for out of bounds readsLaurent Aimar2011-10-18
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* lavc: rename AV_ER_* options to AV_EF_* and rename AGGRESSIVE to BUFFERDustin Brody2011-10-18
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: replace API-bump-triggered AVCodecContext field change with shorter, ↵Dustin Brody2011-10-18
| | | | | | non-conflicting name Signed-off-by: Anton Khirnov <anton@khirnov.net>
* w32threads: support for frame multithreadingSteven Walters2011-10-16
| | | | | | | | Replace our incomplete w32threads implementation with x264's pthreads w32threads wrapper. Relicensed to LGPL with kind permission by Pegasys Inc. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* avcodec: remove stray @deprecated commentMans Rullgard2011-10-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* prores: get correct size for coded V plane if alpha is presentMans Rullgard2011-10-15
| | | | | | | The size check must be updated to take into account both manners in which v_data_size might be set. Signed-off-by: Mans Rullgard <mans@mansr.com>
* prores: do not set pixel format on codec initMans Rullgard2011-10-15
| | | | | | | | | The pixel format is not known until the frame header is parsed. Guessing it here only causes trouble for the caller if the guess turns out to be wrong (and actually causes very wrong output by avconv/avplay). Signed-off-by: Mans Rullgard <mans@mansr.com>
* pthread: prevent updating AVCodecContext from itself in frame_thread_freeRonald S. Bultje2011-10-15
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* pthread: copy coded frame dimensions in update_context_from_threadRonald S. Bultje2011-10-15
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* vp8: prevent read from uninitialized memory in decode_mvsRonald S. Bultje2011-10-15
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* vp8: force reallocation in update_thread_context after frame size changeRonald S. Bultje2011-10-15
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* vp8: fix return value if update_dimensions failsRonald S. Bultje2011-10-15
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* adpcmdec: calculate actual number of output samples for each decoder.Justin Ruggles2011-10-14
| | | | | This also allows for removing some of the buf_size checks and using the sample count for some of the decoding loops.
* adpcmdec: check remaining buffer size before decoding next block in theJustin Ruggles2011-10-14
| | | | ADPCM IMA WAV decoder.
* adpcmdec: do not terminate early in ADPCM IMA Duck DK3 decoder.Justin Ruggles2011-10-14
| | | | | There are still 2 nibbles to decode once the last byte in the packet has been read. Updated FATE reference.
* adpcmdec: remove unneeded buf_size==0 check.Justin Ruggles2011-10-14
| | | | This is already done by avcodec_decode_audio3()
* adpcmdec: remove unneeded zeroing of *data_sizeJustin Ruggles2011-10-14
|
* dnxhdenc: fixed signed multiplication overflowMans Rullgard2011-10-14
| | | | | | | | | The low 32 bits of a multiplication are the same for signed and unsigned operands. Casting to unsigned before multiplying is thus equivalent while avoiding signed overflow, which is undefined by the C99 standard. Signed-off-by: Mans Rullgard <mans@mansr.com>
* proresdsp: fix function prototypes.Ronald S. Bultje2011-10-14
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* prores-idct: fix overflow in c code.Ronald S. Bultje2011-10-14
| | | | | | | Fix the fate ref for prores-422_proxy by reverting the changes to it in commit f492df0927c42da174edb674857670fc50abc5dc Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* prores: add missing feature warning for alphaJanne Grunau2011-10-14
|
* lavc: add a flag-based error_recognition field to AVCodecContext and ↵Dustin Brody2011-10-14
| | | | | | deprecate non-flag-based ER field Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: rename deprecation symbol FF_API_VERY_AGGRESSIVE to FF_API_ERDustin Brody2011-10-14
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* shorten: remove the flush function.Justin Ruggles2011-10-13
| | | | The shorten decoder does not support seeking.
* truespeech: use sizeof() instead of hardcoded sizesJustin Ruggles2011-10-13
|
* truespeech: remove unneeded variable, 'consumed'Justin Ruggles2011-10-13
| | | | increment the 'buf' pointer instead, and consume the whole packet.
* truespeech: simplify truespeech_read_frame() by using get_bits()Justin Ruggles2011-10-13
|
* truespeech: decode directly to output buffer instead of a temp bufferJustin Ruggles2011-10-13
|
* truespeech: check to make sure channels == 1Justin Ruggles2011-10-13
|
* truespeech: check for large enough output buffer rather than truncating outputJustin Ruggles2011-10-13
|
* truespeech: remove unneeded zero-size packet check.Justin Ruggles2011-10-13
| | | | This is already checked in avcodec_decode_audio3()
* mlpdec: return meaningful error codes instead of -1Justin Ruggles2011-10-13
|
* mlpdec: remove unnecessary wrapper functionJustin Ruggles2011-10-13
|
* mlpdec: only calculate output size onceJustin Ruggles2011-10-13
|
* mlpdec: validate that the reported channel count matches the actual outputJustin Ruggles2011-10-13
| | | | channel count
* pcm: reduce pointer type castingMans Rullgard2011-10-13
| | | | | | | | | Making 'samples' a pointer to uint8_t simplifies the DECODE macro and reduces the amount of type casting overall. This also fixes some signed overflows on left shift. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mathops: remove undefined behaviour from sign_extend()Mans Rullgard2011-10-13
| | | | | | | | This function intentionally overflows the signed range on the left shift. Using this type-punning avoids errors from the overflow checker without disabling this test globally. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vc1: explicitly zero interlaced mode coding variables for progressive modeKostya Shishkov2011-10-13
| | | | | | | | Both v->fcm and v->field_mode are used in common code, now they won't be reset for progressive frame after interlaced one causing writing past the frame end for example. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* tiffenc: initialize forgotten avctx.Jean First2011-10-12
|
* vc1: more prettyprinting cosmeticsKostya Shishkov2011-10-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vc1: prettyprint some tablesKostya Shishkov2011-10-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vc1: K&R formatting cosmeticsKostya Shishkov2011-10-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>