- 12 Feb, 2011 2 commits
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Carl Eugen Hoyos authored
While 4 works for some samples, 3 is the correct value since 8x8 DCT is used by (m)jpeg.
-
- 11 Feb, 2011 35 commits
-
-
Nicolas George authored
Also: cosmetic: split this overly long line
-
Jason Garrett-Glaser authored
Merge find_near_mvs and mv bitstream decoding: don't do prediction steps until absolutely necessary. (cherry picked from commit f3d09d44)
-
Justin Ruggles authored
s->windowed_samples will always have a range of [-32767,32767] due to the window function, so the return value from log2_tab() will always be in the range [0,14]. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 626264b1)
-
Justin Ruggles authored
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d4582889)
-
Anton Khirnov authored
This code will be later split out into a function which takes a 'size' argument, so I'm keeping the name 'sizeX' here. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 0b1d291a)
-
Anton Khirnov authored
Only trivial splits are done here -- i.e. copy/paste + reindent + missing variable declarations. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit c1fea230)
-
Peter Ross authored
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 68137ba3)
-
Peter Ross authored
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 52091491)
-
Peter Ross authored
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 12c14cd4)
-
Mans Rullgard authored
This avoids double semicolons after macro expansion. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 44adbebe)
-
Ronen Mizrahi authored
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit df211c3a)
-
Janne Grunau authored
(cherry picked from commit 5c19f64c)
-
Janne Grunau authored
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 493aa30a)
-
Reimar Döffinger authored
Instead of returning an error when bytes are left over, just return the number of actually used bytes as other decoders do. Instead add a special case so an error will be returned when none of the data looks valid to avoid making debugging a pain. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 4a72765a)
-
Justin Ruggles authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit dda3f0ef)
-
Mans Rullgard authored
The function return type is void, so a return statement with an expression is forbidden (and pointless). Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit b4668274)
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit dbb09ec2)
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 628b16f4)
-
Anton Khirnov authored
Its contents aren't used for anything. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit d7a5106e)
-
Anton Khirnov authored
This will be useful for splitting asf_read_header() Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 7c725380)
-
Anton Khirnov authored
This will be useful for splitting asf_read_header() Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit d42b0972)
-
David Fries authored
Keep the original corner case behaviour, where reuse is enabled for the case where no argument is given to the reuse url option. Signed-off-by: Martin Storsjö <martin@martin.st> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 00952be4)
-
Anton Khirnov authored
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 569ff021)
-
Mans Rullgard authored
The avcodec_thread_free() compatibility wrapper calls ff_thread_free(), which is not defined when threading is disabled. Make this call conditional. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 9a77a92c)
-
Mans Rullgard authored
This should fix building with win32 threads. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit aef669cd)
-
Anton Khirnov authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 4bc328a2)
-
Reimar Döffinger authored
check AVCodecContext->sample_fmt against AVCodec->sample_fmts[] to ensure that the encoder supports the specified sample format. Error out if it doesn't. Previously, it would continue and output garbage. Fixes issue 2587. (cherry picked from commit 2cfa2d92)
-
Vladimir Pantelic authored
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit f4c79d1e)
-
Alexander Strange authored
Decode times for big_buck_bunny_720p_stereo: 1 thread: real 1m14.227s user 1m13.104s sys 0m1.108s 2 threads: (33% faster) real 0m49.329s user 1m33.735s sys 0m1.834s 3 threads: (44% faster) real 0m41.593s user 1m44.884s sys 0m1.967s (cherry picked from commit d23845f3)
-
Ronald S. Bultje authored
(cherry picked from commit f2146944)
-
Alexander Strange authored
As a side effect of the last commit, avcodec_open() now calls it automatically, so there is no longer any need for clients to call it. Instead they should set AVCodecContext.thread_count. avcodec_thread_free() is deprecated, and will be removed from avcodec.h at the next MAJOR libavcodec bump. Rename the functions to ff_thread_init/free, since they are now internal. Wrappers are provided to maintain API compatibility. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit c0b102ca)
-
Ronald S. Bultje authored
(cherry picked from commit 8e8cc52b)
-
Alexander Strange authored
See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
(cherry picked from commit c2bd7578)
-
Anton Khirnov authored
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit e4e234fa)
-
- 09 Feb, 2011 3 commits
-
-
Jason Garrett-Glaser authored
Also allow qmin/qmax to go up to 69 (the current max value for libx264). This will have to increase when we add 9/10-bit support. (cherry picked from commit c7ac200d)
-
Jason Garrett-Glaser authored
Due to being pants-on-head retarded, libavcodec defaults this to zero, which results in broken output. This didn't affect ffmpeg.c, which sets it itself, but caused problems for other calling apps using VBV. (cherry picked from commit f7f8120f)
-
Jason Garrett-Glaser authored
Currently uses AV_RL32 instead of AV_RL32A, as the latter doesn't exist yet. (cherry picked from commit 62457f90)
-