Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lavc: make avcodec_get_context_defaults3 "officially" public | Anton Khirnov | 2011-10-19 | 2 | -22/+34 |
| | | | | Deprecate avcodec_get_context_defaults/avcodec_get_context_defaults2 | ||||
* | Use correct scaling table for bwd-pred MVs in second B-field | Mashiat Sarker Shakkhar | 2011-10-19 | 1 | -9/+11 |
| | | | | | | | | | | | 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 decoder | Kostya Shishkov | 2011-10-19 | 5 | -2/+465 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | sunrast: Check for out of bounds reads | Laurent Aimar | 2011-10-18 | 1 | -1/+13 |
| | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net> | ||||
* | lavc: rename AV_ER_* options to AV_EF_* and rename AGGRESSIVE to BUFFER | Dustin Brody | 2011-10-18 | 1 | -4/+4 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | lavc: replace API-bump-triggered AVCodecContext field change with shorter, ↵ | Dustin Brody | 2011-10-18 | 1 | -5/+1 |
| | | | | | | non-conflicting name Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | w32threads: support for frame multithreading | Steven Walters | 2011-10-16 | 10 | -190/+230 |
| | | | | | | | | 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 comment | Mans Rullgard | 2011-10-16 | 1 | -2/+0 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | prores: get correct size for coded V plane if alpha is present | Mans Rullgard | 2011-10-15 | 1 | -2/+4 |
| | | | | | | | 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 init | Mans Rullgard | 2011-10-15 | 1 | -2/+0 |
| | | | | | | | | | 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_free | Ronald S. Bultje | 2011-10-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net> | ||||
* | pthread: copy coded frame dimensions in update_context_from_thread | Ronald S. Bultje | 2011-10-15 | 1 | -0/+3 |
| | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net> | ||||
* | vp8: prevent read from uninitialized memory in decode_mvs | Ronald S. Bultje | 2011-10-15 | 1 | -0/+1 |
| | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net> | ||||
* | vp8: force reallocation in update_thread_context after frame size change | Ronald S. Bultje | 2011-10-15 | 1 | -9/+19 |
| | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net> | ||||
* | vp8: fix return value if update_dimensions fails | Ronald S. Bultje | 2011-10-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net> | ||||
* | adpcmdec: calculate actual number of output samples for each decoder. | Justin Ruggles | 2011-10-14 | 1 | -120/+231 |
| | | | | | 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 the | Justin Ruggles | 2011-10-14 | 1 | -1/+1 |
| | | | | ADPCM IMA WAV decoder. | ||||
* | adpcmdec: do not terminate early in ADPCM IMA Duck DK3 decoder. | Justin Ruggles | 2011-10-14 | 1 | -1/+5 |
| | | | | | 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 Ruggles | 2011-10-14 | 1 | -3/+0 |
| | | | | This is already done by avcodec_decode_audio3() | ||||
* | adpcmdec: remove unneeded zeroing of *data_size | Justin Ruggles | 2011-10-14 | 1 | -1/+0 |
| | |||||
* | dnxhdenc: fixed signed multiplication overflow | Mans Rullgard | 2011-10-14 | 1 | -1/+1 |
| | | | | | | | | | 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. Bultje | 2011-10-14 | 1 | -3/+3 |
| | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net> | ||||
* | prores-idct: fix overflow in c code. | Ronald S. Bultje | 2011-10-14 | 2 | -20/+27 |
| | | | | | | | 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 alpha | Janne Grunau | 2011-10-14 | 1 | -0/+5 |
| | |||||
* | lavc: add a flag-based error_recognition field to AVCodecContext and ↵ | Dustin Brody | 2011-10-14 | 1 | -4/+17 |
| | | | | | | 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_ER | Dustin Brody | 2011-10-14 | 3 | -6/+6 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | shorten: remove the flush function. | Justin Ruggles | 2011-10-13 | 1 | -8/+0 |
| | | | | The shorten decoder does not support seeking. | ||||
* | truespeech: use sizeof() instead of hardcoded sizes | Justin Ruggles | 2011-10-13 | 1 | -3/+3 |
| | |||||
* | truespeech: remove unneeded variable, 'consumed' | Justin Ruggles | 2011-10-13 | 1 | -4/+3 |
| | | | | increment the 'buf' pointer instead, and consume the whole packet. | ||||
* | truespeech: simplify truespeech_read_frame() by using get_bits() | Justin Ruggles | 2011-10-13 | 1 | -87/+52 |
| | |||||
* | truespeech: decode directly to output buffer instead of a temp buffer | Justin Ruggles | 2011-10-13 | 1 | -10/+6 |
| | |||||
* | truespeech: check to make sure channels == 1 | Justin Ruggles | 2011-10-13 | 1 | -0/+5 |
| | |||||
* | truespeech: check for large enough output buffer rather than truncating output | Justin Ruggles | 2011-10-13 | 1 | -4/+12 |
| | |||||
* | truespeech: remove unneeded zero-size packet check. | Justin Ruggles | 2011-10-13 | 1 | -3/+0 |
| | | | | This is already checked in avcodec_decode_audio3() | ||||
* | mlpdec: return meaningful error codes instead of -1 | Justin Ruggles | 2011-10-13 | 2 | -57/+61 |
| | |||||
* | mlpdec: remove unnecessary wrapper function | Justin Ruggles | 2011-10-13 | 1 | -12/+3 |
| | |||||
* | mlpdec: only calculate output size once | Justin Ruggles | 2011-10-13 | 1 | -3/+7 |
| | |||||
* | mlpdec: validate that the reported channel count matches the actual output | Justin Ruggles | 2011-10-13 | 1 | -1/+6 |
| | | | | channel count | ||||
* | pcm: reduce pointer type casting | Mans Rullgard | 2011-10-13 | 1 | -40/+37 |
| | | | | | | | | | 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 Rullgard | 2011-10-13 | 1 | -1/+3 |
| | | | | | | | | 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 mode | Kostya Shishkov | 2011-10-13 | 1 | -2/+3 |
| | | | | | | | | 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 First | 2011-10-12 | 1 | -0/+1 |
| | |||||
* | vc1: more prettyprinting cosmetics | Kostya Shishkov | 2011-10-12 | 1 | -1276/+1389 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | vc1: prettyprint some tables | Kostya Shishkov | 2011-10-12 | 1 | -529/+676 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | vc1: K&R formatting cosmetics | Kostya Shishkov | 2011-10-12 | 1 | -56/+58 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_* | Anton Khirnov | 2011-10-12 | 18 | -538/+538 |
| | |||||
* | AVOptions: add new API for enumerating children. | Anton Khirnov | 2011-10-12 | 1 | -13/+19 |
| | | | | | | | | | This will allow the caller to enumerate child contexts in a generic way and since the API is recursive, it also allows for deeper nesting (e.g. AVFormatContext->AVIOContext->URLContext) This will also allow the new setting/reading API to transparently apply to children contexts. | ||||
* | rv34: move inverse transform functions to DSP context | Janne Grunau | 2011-10-12 | 6 | -81/+121 |
| | |||||
* | h264: change unsupported bit depth message to error level | Mans Rullgard | 2011-10-12 | 1 | -1/+1 |
| | | | | | | | Unsupported bit depth is certainly an error the user will want to know about. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | qdm2: fix signed multiplication overflow | Mans Rullgard | 2011-10-12 | 1 | -1/+1 |
| | | | | | | | | This code relies on the result wrapping as for unsigned values, and the sign is not used. Thus an unsigned type is proper here. Signed-off-by: Mans Rullgard <mans@mansr.com> |