summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* aacdec: fix signed overflows in lcg_random()Mans Rullgard2012-11-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* flashsv: check for keyframe before using differential codingJanne Grunau2012-11-26
| | | | | | Fixes a segfault in te fuzzed sample resolutionchange.flv_s211713. CC: libav-stable@libav.org
* h264: enable low delay only if no delayed frames were seenJanne Grunau2012-11-26
| | | | | | | | | | | Dropping frames is undesirable but that is the only way by which the decoder could return to low delay mode. Instead emit a warning and continue with delayed frames. Fixes a crash in fuzzed sample nasa-8s2.ts_s20033 caused by a larger than expected has_b_frames value. Low delay keeps getting re-enabled from a presumely broken SPS. CC: libav-stable@libav.org
* x86: fix build without inline asmDiego Biurrun2012-11-26
| | | | | | | | The qpel functions referenced here are not related to h264 and should thus never have been under CONFIG_H264QPEL. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* 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.
* 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
|
* mpegvideo: simplify dxy calculation in hpel_motion()Mans Rullgard2012-11-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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>
* 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.
* 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>
* 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
|
* bgmc: Fix av_malloc checks in ff_bgmc_init()Xi Wang2012-11-14
| | | | | Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: mmx2 ---> mmxext in asm constructsDiego Biurrun2012-11-14
|
* Drop broken and unused CABAC test program.Diego Biurrun2012-11-14
|
* x86: h264_weight_10bit: port to cpuflagsDiego Biurrun2012-11-13
|
* libtheoraenc: add missing pixdesc.h headerLuca Barbato2012-11-13
| | | | Was left out from c1a02e884ac785033baab356a5437adf057a4189.
* avcodec: remove ff_is_hwaccel_pix_fmtLuca Barbato2012-11-13
| | | | | It is used only in one place and is unlikely it would be needed elsewhere.
* pixdesc: add av_pix_fmt_get_chroma_sub_sampleLuca Barbato2012-11-13
| | | | Deprecate avcodec_get_chroma_sub_sample.
* ppc: replace pointer casting with AV_COPY32Mans Rullgard2012-11-12
| | | | | | This removes warnings about strict aliasing violations. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ppc: fix some unused variable warningsMans Rullgard2012-11-12
| | | | | | | The third argument of OP_U8_ALTIVEC is evaluated at most once so there is no need for a potentially unused temporary variable. Signed-off-by: Mans Rullgard <mans@mansr.com>
* binkaudio: set channel layoutJustin Ruggles2012-11-12
|
* build: Drop AVX assembly ifdefsDiego Biurrun2012-11-11
| | | | An assembler able to cope with AVX instructions is now required.
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-11
| | | | Also reorder some other #include when applicable.
* mss2: prevent potential uninitialized readsAlberto Delmás2012-11-11
| | | | | | | | The alternative to zeroing on init is setting the corrupted flag in all cases where pal_pic is not fully written, at the cost of added complexity. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* mss2: reindent after last commitKostya Shishkov2012-11-11
|
* mss2: fix handling of unmasked implicit WMV9 rectanglesAlberto Delmás2012-11-11
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* x86: h264_qpel_10bit: drop unused parameter from MC10/MC20/MC30 macrosDiego Biurrun2012-11-10
|
* x86: PALIGNR: port to cpuflagsDiego Biurrun2012-11-09
|
* x86: h264_qpel_10bit: port to cpuflagsDiego Biurrun2012-11-09
|
* flacenc: ensure the order is within the min/max range in LPC order searchJustin Ruggles2012-11-08
| | | | | | This fixes use of uninitialized values when the FLAC encoder uses the 2-level, 4-level, and 8-level search methods. Fixes failure of the fate-flac-24-comp-8 test when run using valgrind.
* x86: h264_intrapred: port to cpuflagsDiego Biurrun2012-11-08
|
* libvpxenc: Allow enabling constrained quality (CQ) modeJames Zern2012-11-08
| | | | | | The CQ mode was introduced in libvpx 0.9.6. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Check the return value of amr_decode_fix_avctxMartin Storsjö2012-11-07
| | | | | | | | | | | | | This allows getting rid of redundant checks later in the codec specific init functions. Move the check to before actually initializing the decoder lib, to simplify error handling. This fixes a case of returning a value from a void function, present since d40dab907. Signed-off-by: Martin Storsjö <martin@martin.st>
* flacenc: use RICE2 entropy coding mode for 24-bitJustin Ruggles2012-11-05
|
* flacenc: add 24-bit encodingJustin Ruggles2012-11-05
|