Stefano Sabatini
79513857ba
Fix eval-test compilation.
...
Originally committed as revision 23406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 08:07:21 +00:00
Stefano Sabatini
b851dd9e9b
Cosmetics: reindent and break some overly long line.
...
Originally committed as revision 23405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 08:07:17 +00:00
Stefano Sabatini
0cd28d9494
Cosmetics: consistently apply K&R style.
...
Make me and Diego happy.
Originally committed as revision 23404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 08:07:15 +00:00
Stefano Sabatini
9711439b44
Cosmetics: rename ff_parse_expr() and ff_parse_and_eval_expr() parameters:
...
const_name -> const_names
const_value -> const_values
func[12]_name -> func[12]_names
func[12] -> funcs[12]
All these parameters contain a list of values, using plural names for
them help understanding a little.
Originally committed as revision 23403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 08:07:12 +00:00
Stefano Sabatini
9ace13b416
Make ff_parse_expr() and ff_parse_and_eval_expr() return an int
...
containing an error code.
Allow these functions to convey the reason of the failure to the
calling function, failure which is not always due to a parsing error
but it may depend for example on a memory problem.
Also fix several potential memleaks.
Originally committed as revision 23402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 08:07:07 +00:00
Baptiste Coudurier
9ad7dfc110
Pass codec pixel format list to get_format, if present, fix vdpau decoding
...
Originally committed as revision 23396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-31 22:01:31 +00:00
Maxim Poliakovski
274793de6e
Make dequantization equation use less registers on some CPUs.
...
Originally committed as revision 23391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-30 23:57:51 +00:00
Maxim Poliakovski
25e20240b1
Remove unused variables.
...
Originally committed as revision 23389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-30 17:12:50 +00:00
Måns Rullgård
41331b65f2
ARM: NEON optimised dct_unquantize_h263_{intra,inter}
...
Originally committed as revision 23386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-29 15:29:40 +00:00
Kostya Shishkov
1c100b1367
321l: do not use shifted s->linesize instead of correct s->uvlinesize.
...
This should fix chroma issues in WMV3/VC-1 decoder with avfilter enabled.
Originally committed as revision 23370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-29 07:28:24 +00:00
Baptiste Coudurier
0435fb16d7
In h264 decoder, use jpeg yuv pixel format when full range is set in vui
...
Originally committed as revision 23369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-28 23:15:30 +00:00
Alex Converse
c91dce994d
aacenc: Remove an unnecessary division from the TLS.
...
Originally committed as revision 23368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-28 21:29:56 +00:00
Alex Converse
911fbc452b
Cosmetics: whitespace
...
Originally committed as revision 23367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-28 20:45:35 +00:00
Alex Converse
04d6a54e13
aacenc: Remove unnecessary variables and scopes in the TLS.
...
Originally committed as revision 23366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-28 20:42:01 +00:00
Howard Chu
82f1ffc7ba
Cleanup prev commit, flag variable should start with 0
...
Originally committed as revision 23364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-28 20:14:14 +00:00
Howard Chu
23584bec87
Parse avctx->extradata if available.
...
Fixes many "non-existing PPS referenced" error messages
Originally committed as revision 23363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-28 18:50:39 +00:00
David Conrad
c0fda017d1
vp3: 10l Fix DC-only IDCT for C and ARM too
...
Originally committed as revision 23359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-28 07:22:04 +00:00
David Conrad
179655b6c6
vp3: The DC-only IDCT is surprisingly not supposed to be bitexact to the
...
full IDCT. Fix this.
Originally committed as revision 23358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-28 07:01:34 +00:00
Cyril Russo
5d55bb9f11
aacdec: Clarify a channel mapping comment.
...
Patch by Cyril Russo >stage nexvision laposte net<
Originally committed as revision 23351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-27 14:50:19 +00:00
Alex Converse
e84c276f31
Mark AAC encoder as experimental.
...
Originally committed as revision 23350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-27 14:46:31 +00:00
David Conrad
4717f87259
VP8 parser
...
Originally committed as revision 23349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-27 04:39:31 +00:00
David Conrad
910b9f30c8
Add const to ff_emulated_edge_mc
...
Originally committed as revision 23348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-27 04:39:27 +00:00
David Conrad
94b303ba08
Add more const to _l4 pixel functions
...
Originally committed as revision 23347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-27 04:39:23 +00:00
David Conrad
a4501a45db
vp3: Skip the loop filter when strength is 0 or when requested
...
Originally committed as revision 23346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-27 04:39:12 +00:00
Jai Menon
3491a9b266
Cosmetics : Fix typo.
...
Originally committed as revision 23345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-27 04:25:50 +00:00
Jean-Daniel Dupas
71dab7be91
Some fields were incorrectly reset (to NULL) when calling avcodec_copy_context().
...
Patch by Jean-Daniel Dupas, devlists shadowlab org
Originally committed as revision 23344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-27 01:29:09 +00:00
Stefano Sabatini
ab8f600902
Add support for the newly added Nut codec tags (added in Nut r669):
...
Y1[00][16], [16][00]1Y, Y3[11][16], [16][11]3Y, Y3[10][16],
[16][10]3Y, Y3[00][16], [16][00]3Y, Y4[11][ 8], Y2[00][ 8].
Originally committed as revision 23342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-26 22:26:19 +00:00
Maxim Poliakovski
9c6b3b97d7
Add the forgotten ff_ prefix to the shareable scan patterns.
...
Originally committed as revision 23341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-26 20:22:29 +00:00
Howard Chu
05e953193d
Factorize ff_h264_decode_extradata().
...
Patch by Howard Chu, hyc highlandsun com
Originally committed as revision 23340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-26 19:00:59 +00:00
Carl Eugen Hoyos
35f7c39a5d
Mark vorbis encoder as experimental.
...
Originally committed as revision 23339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-26 18:54:59 +00:00
Stefano Sabatini
fe9c200774
Bump minor version bump and add an APIchanges entry after addition of
...
CODEC_CAP_EXPERIMENTAL.
Originally committed as revision 23338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-26 18:45:13 +00:00
Carl Eugen Hoyos
31cd5a9aad
Bump minor version and add Changelog entry after r23334.
...
Originally committed as revision 23337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-26 18:34:48 +00:00
Michael Niedermayer
d3752b15d8
Treat SIPP like xvid, fixed issue1966
...
Originally committed as revision 23336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-26 17:23:36 +00:00
Maxim Poliakovski
220f2bd9c5
move indeo5 scan patterns into ivi_common.c
...
so those can be shared by indeo4.
Originally committed as revision 23335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-26 13:25:16 +00:00
Janne Grunau
93ebfeea90
Add CODEC_CAP_EXPERIMENTAL and prefer encoders without it.
...
Patch by Janne Grunau, janne-ffmpeg jannau net
Originally committed as revision 23334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-26 10:38:48 +00:00
Alex Converse
74a6df59e3
Add an AVSTREAM_PARSE_FULL_ONCE parsing mode to parse headers and combine packets once and only once.
...
Originally committed as revision 23332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-26 04:20:32 +00:00
Alex Converse
9069b7d35f
Fix declaration after statement
...
Originally committed as revision 23331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 23:25:29 +00:00
Frank Barchard
344f5c9fb3
Do not invert samples when encoding Vorbis.
...
Patch by Frank Barchard, fbarchard google
Originally committed as revision 23329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 22:53:22 +00:00
Michael Niedermayer
f4348e6cce
Check for VUI overeading and reset num_reoder_frames.
...
This helps the video from issue1831
Originally committed as revision 23328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 21:51:27 +00:00
Martin Storsjö
8ac942d8f5
Cosmetics: reindent after the previous commit
...
Originally committed as revision 23324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 19:16:15 +00:00
Martin Storsjö
11f6181af1
api-example: Try to avoid decoding incomplete frames
...
Use a larger input audio buffer, refill it when it has less than 4 KB data
left.
Originally committed as revision 23323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 19:13:28 +00:00
Alex Converse
0ecfa7b7c7
aacenc: Split find_max_val() from find_min_book() to eliminate duplicate searches.
...
Originally committed as revision 23322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 18:35:01 +00:00
Alex Converse
af2ee6fc49
Remove useless costly inf checks from the trellis scalefactor search.
...
Originally committed as revision 23319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 18:32:59 +00:00
Alex Converse
acc9f51fe1
aacenc: Trellis over scalefactors using an estimated codebook rather than every codebook.
...
The minimal codebook to encode the band without clipping is used (as is done in the TLS).
Originally committed as revision 23318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 18:31:55 +00:00
Alex Converse
144c5e3dd2
aacenc: Only trellis over a column of 61 scalefactors (reduced from 256).
...
This still provides plenty of dynamic range, makes every move legal, and greatly reduces the search space.
Originally committed as revision 23317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 18:28:18 +00:00
Alex Converse
05e659ef83
aacenc: Factor out find_min_book so it can be used by multiple coefficient coders.
...
Originally committed as revision 23316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 18:24:16 +00:00
Michael Niedermayer
31a7a6eb5e
Correct golomb vlc decoding tables.
...
Fixes issue 1930
Originally committed as revision 23311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 14:23:48 +00:00
Carl Eugen Hoyos
a7890f4474
Headers for libvpx are installed into vpx subdirectory.
...
Originally committed as revision 23307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 08:58:14 +00:00
David Conrad
cc46005f50
theora: Don't read an excess bit for maximum length long bit runs if the run
...
exactly ends the remaining blocks.
Originally committed as revision 23304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 03:19:54 +00:00
James Zern
8299a7f819
VP8 decoding via libvpx.
...
Patch by James Zern for Google, Inc., jzern google com
Originally committed as revision 23303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 01:19:08 +00:00