- 27 Oct, 2012 1 commit
-
-
Mans Rullgard authored
Indexing across array boundaries is not allowed by C99. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 13 Oct, 2012 1 commit
-
-
Sami Pietilä authored
while testing a VP8 encoder I found a mismatch between FFMPEG and libvpx VP8 decoders. The reason for this mismatch is that FFMPEG doesn't reset loopfilter delta values at keyframes. Patch that fixes the issue is below. I've verified that the output of ffmpeg after this patch matches libvpx. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 12 Oct, 2012 1 commit
-
-
Sami Pietila authored
Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 08 Oct, 2012 1 commit
-
-
Anton Khirnov authored
-
- 09 Aug, 2012 1 commit
-
-
Diego Biurrun authored
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 25 Jul, 2012 1 commit
-
-
Ronald S. Bultje authored
Idea stolen from webp (by Pascal Massimino) - because it's Cool. Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 15 Jul, 2012 2 commits
-
-
Martin Storsjö authored
This fixes building with threads disabled. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This was unnoticed on linux, since stdlib.h apparently includes files declaring the pthread_mutex_t and pthread_cond_t types. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 14 Jul, 2012 3 commits
-
-
Daniel Kang authored
Testing gives 25-30% gain on HD clips with two threads and up to 50% gain with eight threads. Sliced threading uses more memory than single or frame threading. Frame threading and single threading keep the previous memory layout. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
Daniel Kang authored
In preparation for sliced threading. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
Daniel Kang authored
This is in preperation for sliced threading. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 30 May, 2012 1 commit
-
-
Ronald S. Bultje authored
This prevents gcc from assuming that contents of it may have changed between calls to vp56_range_get_prob(), thus preventing countless (and unnecessary) movs. Decoding of sintel trailer goes from (avg+SG) 9.796 +/- 0.003 to 9.635 +/- 0.010.
-
- 02 May, 2012 1 commit
-
-
Ronald S. Bultje authored
This properly synchronizes frame size changes between threads if subsequent threads abort decoding before frame size is initialized, i.e. it prevents the thread after that from ping-ponging back to the original value. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
- 23 Apr, 2012 1 commit
-
-
Michael Niedermayer authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 06 Apr, 2012 1 commit
-
-
Martin Storsjö authored
Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 24 Mar, 2012 1 commit
-
-
Janne Salonen authored
lf_delta.ref[i] and lf_delta.mode[i] were incorrectly reset to 0 if specific delta value was not updated. Fixed to keep the previous value if flag indicates that element in question is not updated. Signed-off-by:
Janne Salonen <jsalonen@google.com> Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 19 Mar, 2012 1 commit
-
-
Aaron Colwell authored
This change avoids accessing the segment map of the previous frame if segmentation is not enabled for the current frame. The caller of decode_mb_mode() only calls ff_thread_await_progress() on the reference segmentation index array if segmentation is enabled, so Chromium's TSAN will report a race when accessing this data while segmentation is not enabled. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 15 Feb, 2012 1 commit
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 07 Feb, 2012 1 commit
-
-
Ronald S. Bultje authored
Also slightly move around code not allocate a new frame if we won't decode it. This prevents us from putting undecoded frames in frame pointers, which (in mt decoding) other threads will use and wait on as references, causing a deadlock (if we skipped decoding) or a crash (if we didn't initialized next_framep[] at all). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
- 06 Feb, 2012 1 commit
-
-
Diego Biurrun authored
-
- 16 Jan, 2012 1 commit
-
-
Reimar Döffinger authored
This reworks the frame skipping code such that the reference buffers are still updated according to the header. However it also ensures that the current frame will not end up in any reference buffer. Also fixes a hang with frame-multithreading, probably because get_buffer was already called and would have reset the progress, however the frame could remain in framep due to the missing update (or it could be assigned to next_framep and a skip_frame skip would then write it into framep - there might be even more failure modes). Sample might become available at samples/nsv/vp8.nsv Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
- 02 Dec, 2011 1 commit
-
-
Aaron Colwell authored
-
- 19 Nov, 2011 1 commit
-
-
Justin Ruggles authored
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.
-
- 29 Oct, 2011 1 commit
-
-
Ronald S. Bultje authored
-
- 26 Oct, 2011 1 commit
-
-
David Conrad authored
-
- 21 Oct, 2011 2 commits
-
-
Baptiste Coudurier authored
Signed-off-by:
Diego Biurrun <diego@biurrun.de> Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
Associate segmentation_map[] with reference frame, rather than decoding instance. This fixes cases where the map would be free()'ed on e.g. a size change in one thread, whereas the other thread was still accessing it. Also, it fixes cases where threads overwrite data that is still being referenced by the previous thread, who thinks that it's part of the frame previously decoded by the next thread.
-
- 14 Oct, 2011 3 commits
-
-
Ronald S. Bultje authored
Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Ronald S. Bultje authored
Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
Ronald S. Bultje authored
Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
- 08 Oct, 2011 1 commit
-
-
Mans Rullgard authored
In addition to avoiding undefined behaviour, an unsigned type makes more sense for packing multiple 8-bit values. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 14 Aug, 2011 1 commit
-
-
Baptiste Coudurier authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 29 Jul, 2011 1 commit
-
-
Anton Khirnov authored
It's more readable and less prone to breakage.
-
- 04 Jul, 2011 1 commit
-
-
Diego Biurrun authored
-
- 03 Jul, 2011 1 commit
-
-
Diego Biurrun authored
-
- 31 May, 2011 1 commit
-
-
Ronald S. Bultje authored
Fixes occasional failure of make fate-vp8-test-vector-010 with frame-multithreading enabled.
-
- 29 May, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 13 May, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 10 May, 2011 1 commit
-
-
Oskar Arvidsson authored
This patch lets e.g. dsputil_init chose dsp functions with respect to the bit depth to decode. The naming scheme of bit depth dependent functions is <base name>_<bit depth>[_<prefix>] (i.e. the old clear_blocks_c is now named clear_blocks_8_c). Note: Some of the functions for high bit depth is not dependent on the bit depth, but only on the pixel size. This leaves some room for optimizing binary size. Preparatory patch for high bit depth h264 decoding support. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-