Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-02-16mpegvideo: Add ff_ prefix to nonstatic functionsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-02-16dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-02-10h264: disallow constrained intra prediction modes for luma.Ronald S. Bultje
Conversion of the luma intra prediction mode to one of the constrained ("alzheimer") ones can happen by crafting special bitstreams, causing a crash because we'll call a NULL function pointer for 16x16 block intra prediction, since constrained intra prediction functions are only implemented for chroma (8x8 blocks). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2012-01-31h264: Split h264-test off into a separate file - golomb-test.c.Diego Biurrun
The new name is more appropriate as only golomb functions are tested.
2012-01-31h264-test: cleanup: drop timer invocations, commented out code and other cruftDiego Biurrun
2012-01-31h264-test: Remove unused DSP and AVCodec contexts and related init calls.Diego Biurrun
This also avoids a segfault on startup.
2012-01-13cabac: split cabac.h into declarations and function definitionsDiego Biurrun
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.
2012-01-08h264-test: Initialize AVCodecContext.av_class.Diego Biurrun
This fixes a segfault on startup. Also remove a commented-out and completely unused variable.
2012-01-06h264: Only use symbols from the SVQ3 decoder under proper conditionals.Diego Biurrun
Fixes --disable-everything --enable-decoder=h264 --disable-optimizations.
2012-01-04h264: return index in buffer on end-of-sequence.Ronald S. Bultje
Fixes hangs if the last packet contains an end-of-sequence NAL unit, bug 158.
2012-01-04Merge some declarations and initializations.Diego Biurrun
This fixes compilation failures related to START_TIMER/STOP_TIMER macros and -Werror=declaration-after-statement. START_TIMER declares variables and thus may not be placed after statements outside of a new block.
2012-01-02mpegenc: use avctx->slices as number of slicesJanne Grunau
Adds a new member to MpegEncContext to hold the number of used slice contexts. Fixes segfaults with '-threads 17 -thread_type slice' and fate-vsynth{1,2}-mpeg{2,4}thread{,_ilace} with --disable-pthreads.
2011-12-23h264: Fix a possible overread in decode_nal_units()Alexander Strange
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-12-20h264: clear trailing bits in partially parsed NAL unitsJanne Grunau
Trailing bits are likely to be non-zero if the NAL unit is truncated. Clearing the bits make overreads of the bitstream less likely in this case. Fixes playback of http://streams.videolan.org/streams/mp4/Mr_MrsSmith-h264_aac.mp4 which has a forbidden byte sequence of 0x00 0x00 0x00 in it SPS.
2011-12-19Revert "h264: skip start code search if the size of the nal unit is known"Janne Grunau
This reverts commit 87eebb3454ff0cd6af6ebf9e1d31bdfd1c3b601b.
2011-12-19h264: skip start code search if the size of the nal unit is knownJanne Grunau
Start code emulation prevention is only required in Annex B bytestream packed NAL units. For other coding formats the size is already known. Looking for a start code prefix can result in false positives like in http://streams.videolan.org/streams/mp4/Mr_MrsSmith-h264_aac.mp4 which has a false positive in the SPS.
2011-12-16h264: don't drop B-frames after next keyframe on POC reset.Ronald S. Bultje
The keyframe after a POC reset may not be the first to be returned to the user. Therefore, don't reset the expected next POC once we return a keyframe to the user, but once we know that the next frame in the return-queue is a keyframe.
2011-12-13lavc: introduce ER_MB_END and ER_MB_ERRORLuca Barbato
Simplify a little error resilience calls Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-12-13error_resilience: use the ER_ namespaceLuca Barbato
Add the namespace to {AC_,DC_,MV_}{END,ERROR} macros Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-12-13doxygen: misc consistency, spelling and wording fixesDiego Biurrun
2011-12-12lavc: convert error_recognition to err_recognition.Dustin Brody
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-12-12h264: remove useless castMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-11Remove extraneous semicolonsMans Rullgard
These semicolons cause invalid empty top-level declarations. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-11Fix a bunch of common typos.Diego Biurrun
2011-12-03h264: fix frame reordering code.Ronald S. Bultje
Fixes fate-h264-conformance-{mr2_tandberg_e,mr3_tandberg_b} without requiring -strict 1.
2011-12-02h264: cap max has_b_frames at MAX_DELAYED_PIC_COUNT - 1.Ronald S. Bultje
This prevents frame allocation overflows, and fixed fate-h264-conformance-mr3_tandberg_b with 2 threads.
2011-11-24h264: add support for decoding planar RGB images.Ronald S. Bultje
2011-11-19avcodec: move some AVCodecContext fields to an internal struct.Justin Ruggles
A new field, AVCodecContext.internal is used to hold a new struct AVCodecInternal, which has private fields that are not codec-specific and are used by general libavcodec functions. Moved internal_buffer, internal_buffer_count, and is_copy.
2011-11-14hwaccel: OS X Video Decoder Acceleration (VDA) support.Sebastien Zwickert
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-11-05h264: improve calculation of codec delay.Ronald S. Bultje
Fixes the following conformance suite samples: HCBP1_HHI_A.264, HCBP2_HHI_A.264, HCMP1_HHI_A.264 (main) HCHP1_HHI_B.264, HCHP2_HHI_A.264, HCHP3_HHI_A.264 (frext)
2011-10-29Fix decoding of lossless 4:2:2 H.264Anton Mitrofanov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-10-29Fix decoding of lossless 10-bit 4:4:4 H.264Anton Mitrofanov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-10-23mpegvideo: remove some unused variables from MpegEncContext.Anton Khirnov
2011-10-22lavc: replace references to deprecated AVCodecContext.error_recognition to ↵Dustin Brody
use AVCodecContext.err_recognition Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-21h264: mark some MC functions with av_always_inline instead of inline.Ronald S. Bultje
This actually causes them to be inlined, leading to a significant speedup (1-1.5% in my measurements).
2011-10-21H264: have hl_motion() and its callees take a chroma_idc argument.Ronald S. Bultje
2011-10-21H264: change weight/biweight functions to take a height argument.Ronald S. Bultje
Neon parts by Mans Rullgard <mans@mansr.com>.
2011-10-21Support for lossless and inter H264 4:2:2.Ronald S. Bultje
2011-10-21h264: 4:2:2 intra decoding supportBaptiste Coudurier
Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-10-16w32threads: support for frame multithreadingSteven Walters
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>
2011-10-12h264: change unsupported bit depth message to error levelMans Rullgard
Unsupported bit depth is certainly an error the user will want to know about. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-10-10h264: reset h->ref_count in case of errors in ↵Laurent Aimar
ff_h264_decode_ref_pic_list_reordering() Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-10-09h264: fix signed overflows in x*0x01010101 expressionsMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-10-07H264: Only wait before triggering ff_thread_setup_complete() until the next ↵Michael Niedermayer
slice that contains a start-of-field/frame macroblock This allows concurrent decoding of the last field/frame, rather than only the last slice, of data packets with multiple NAL units packed together. This will fix the slowdown reported in e.g. bug 52. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-05h264: correct implicit_weight for field-interlaced pictures.Ronald S. Bultje
2011-09-25h264: check for out of bounds reads in ff_h264_decode_extradata().Laurent Aimar
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-09-21Fix assert() calls that need updates after FF_COMMON_FRAME macro elimination.Diego Biurrun
This fixes build failures with -DDEBUG in CPPFLAGS.
2011-08-29Revert "h264: Properly set coded_{width, height} when parsing H.264."Luca Barbato
This reverts commit b47904d158709bdec1a9d40e83d1abadf50081dc. coded_{width, height} overwrites width and height in avcodec_open and it currently just report the non-lowres size.
2011-08-19h264: fix PCM intra-coded blocks in monochrome caseJeff Downs
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-08-19h264: correct implicit weight table computation for long ref picsJeff Downs
Correct computation of implicit weight tables when referencing pictures that are marked for long reference. Signed-off-by: Diego Biurrun <diego@biurrun.de>