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
2013-02-08dsputil: Move ff_block_permute to mpegvideo_encDiego Biurrun
2013-02-07mpegvideo: remove an unused function parameterAnton Khirnov
2013-02-06mpegvideo: initialize dummy reference frames.Anton Khirnov
Do not rely on get_buffer initializing them. Changes yadif tests (off by one in one border pixel), because yadif reads from those uninitialized lines.
2013-01-27hwaccel: do not offer unsupported pixel formatsRémi Denis-Courmont
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-01-23Drop DCTELEM typedefDiego Biurrun
It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2013-01-20mpegvideo: fix loop condition in draw_line()Xi Wang
The loop condition `x = ex' is incorrect. It should be `x <= ex'. This bug was introduced in commit c65dfac4 "mpegvideo.c: K&R formatting and cosmetics." CC:libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-01-13vdpau: Add MPEG-1/2 decoding via hwaccel infrastructureRémi Denis-Courmont
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-12-26mpegvideo: initialize videodsp with correct pixel depthJanne Grunau
Fixes decoding of 9/10 bit per pixel h264 videos as reported in https://bugzilla.libav.org/show_bug.cgi?id=404 .
2012-12-20lavc: introduce VideoDSPContextRonald S. Bultje
Move some functions from dsputil. The idea is that videodsp contains functions that are useful for a large and varied set of video decoders. Currently, it contains emulated_edge_mc() and prefetch(). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-12-19mpegvideo: increase edge_emu_buffer size for VC1Janne Grunau
The VC1 decoder uses edge_emu_buffer simultaneously for luma and chroma and needs more space. That was not a problem before f1d8763a02b5fce since the size for edge_emu_buffer was always calculated with 2 byte per pixel since the linesize was not known. Fixes occasionally fate errors in vc1_sa10143.
2012-12-18mpegvideo: allocate scratch buffers after linesize is knownJanne Grunau
Since we can't know which stride a custom get_buffer() implementation is going to use we have to allocate this scratch buffers after the linesize is known. It was pretty safe for 8 bit per pixel pixel formats since we always allocated memory for up to 16 bits per pixel. It broke hoever with cmdutis.c's alloc_buffer() and high pixel bit depth since it allocated larger edges than mpegvideo expected. Fixes fuzzed sample nasa-8s2.ts_s244342.
2012-12-14mpegvideo: treat delayed pictures as usedJanne Grunau
This requires to move the avcodec_default_free_buffers() call to ff_MPV_common_end() since otherwise delayed pictures would get freed during a size change.
2012-12-09cosmetics: Fix dropable --> droppable typoDiego Biurrun
2012-11-27h264: set Picture.owner2 to the current threadJanne Grunau
This does not seem to have an effect currently. Fate-h264 passes with THREADS=1..16 and both threading types as before. It fixes however a segfault during error resilience with my adaptive-frame-mt patchset. A picture in use during error resilience gets realloced in another thread in the fuzzed sample sample_varPAR.avi_s226019.
2012-11-13pixdesc: add av_pix_fmt_get_chroma_sub_sampleLuca Barbato
Deprecate avcodec_get_chroma_sub_sample.
2012-10-19mpeg4videodec: Disable frame multithreading for GMC, its not implemented at allMichael Niedermayer
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-13mpegvideo: remove write-only variableMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-12avcodec: Remove broken MMI optimizationsDiego Biurrun
The code fails to compile and is broken beyond repair.
2012-10-12lavc: do not use av_pix_fmt_descriptors directly.Anton Khirnov
2012-10-12mpegvideo: fix indentationAnton Khirnov
2012-10-11Move avutil tables only used in libavcodec to libavcodec.Diego Biurrun
2012-10-08Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov
2012-10-04mpegvideo: set extended_data in ff_update_duplicate_context()Janne Grunau
AVFrame.extended_data has to reset to the AVFrame.data of the current thread context after copying the frame contents. Fixes crashes with frame-threading after 2bc0de38584.
2012-10-01avcodec: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun
2012-10-01avcodec: Drop some silly commented-out av_log() invocationsDiego Biurrun
2012-09-19mpeg4: support frame parameter changes with frame-mtJanne Grunau
Adds a flag context_reinit to MpegEncContext to relieable keep track of frame parameter changes which require a context reinitialization. This is required for broken inputs which change the frame size but error out before the context can be reinitialized.
2012-09-19mpegvideo: check ff_find_unused_picture() return value for errorsJanne Grunau
2012-09-19mpegvideo: release frame buffers before freeing themJanne Grunau
Fixes triggering an assert in avcodec_default_release_buffer() introduced in 1b3439b30.
2012-09-19mpegvideo: add reinit function for frame parameter changesJanne Grunau
This is mainly required for frame parameter changes during frame based multithreading but single threaded usage profits too from avoiding ff_MPV_common_end()/ff_MPV_common_init() cycles.
2012-09-19mpegvideo: move frame size dependent memory management to separate functionsJanne Grunau
This is a preparation for supporting frame size changes during frame-based multithreading.
2012-09-06mpegvideo: set AVFrame fields to NULL after freeing the base memoryJanne Grunau
Prevents dangling pointers and makes access after free more obvious. Setting AVFrame.qscale_table to NULL is required for successfully allocating a previously freed Picture with ff_alloc_picture().
2012-09-04mpegvideo: remove last_picture_ptr / h264 assert.Michael Niedermayer
This assert is no longer true since h264 error concealment needs last_picture_ptr to be set. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-31MSS2 decoderAlberto Delmás
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-08-24x86: mpegvideo: more sensible names for optimization file and init functionDiego Biurrun
2012-08-09mpegvideo: convert mpegvideo_common.h to a .c fileMans Rullgard
This file defines a single, huge function, MPV_motion(), which although being declared inline is not actually inlined by the compiler (for good reason). There is thus no sense in defining this function in a header file, resulting in multiple copies of it in the final library. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-07Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov
2012-07-30mpegvideo: remove unnecessary inclusions of faandct.hMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-04mpegvideo: remove VLAsRonald S. Bultje
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-04-21Remove lowres video decodingMans Rullgard
This feature is complex, of questionable utility, and slows down normal decoding. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-03-23MPV: set reference frame pointers to NULL when allocation of dummy pictures ↵Janne Grunau
fails
2012-03-17MPV: always mark dummy frames as referenceJanne Grunau
If the dummy frame are not created from a reference frame they could be deleted untimely resulting in multithreaded decoder waiting on the current frame to finish. Noticed by Ronald S. Bultje in the RV34 decoder with a broken file.
2012-03-17mpeg4: report frame decoding completion at ff_MPV_frame_end().Ronald S. Bultje
Prevents hangs on corrupt input. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2012-03-02Replace AVFrame pointer casts by proper struct member accesses.Diego Biurrun
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-16vlc/rl: Add ff_ prefix to the nonstatic symbolsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-02-08Remove Sun medialib glue code.Diego Biurrun
It is obscure, most likely unused and not bit-exact compared to libavcodec due to a different IDCT transform algorithm.
2012-01-21mpegvideo: fix invalid memory access for small video dimensionsJohn Brooks
When either video dimension is only one macroblock, subtractions based on v_edge_pos and the macroblock size may be negative. In that situation, an unsigned comparison isn't sufficent to test for MV overruns, because a limit of (unsigned)-1 will let any other value pass. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-01-11mpegvideo: claim ownership of referenced picturesJanne Grunau
Under certain conditions pictures could be released before they were returned with frame-threading. Broken mv computation in the upcoming rv34 frame-threading patch was caused by this. To prevent contexts from running out of available pictures the loop releasing "unused" pictures has to be run for B frames too.
2012-01-08cosmetics: drop some pointless parenthesesDiego Biurrun