Stefano Sabatini
0093ac5b9f
Move internal scale context fields initialization from
...
sws_setColorspaceDetails() to ff_yuv2rgb_c_init_tables().
Allow to factorize duplicated code.
Originally committed as revision 31300 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-06-01 11:30:07 +00:00
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
Martin Storsjö
27241cbffe
Declare the url_write buffer parameter as const
...
Originally committed as revision 23401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 07:46:23 +00:00
Reinhard Tartler
3d9408f4a7
remove palette8torgb15 and palette8tobgr15
...
They contain exactly the same code as their 16bit variants, so this is
effectively code de-duplication.
Originally committed as revision 31298 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-06-01 06:53:56 +00:00
Janne Grunau
770e50ae80
ffmpeg: offer alternatives for experimental codecs if they exist
...
Originally committed as revision 23398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-31 22:35:14 +00:00
Janne Grunau
4e605bc3fd
ffmpeg: fail if user selected codec is experimental and strict_std_compliance > experimental
...
Originally committed as revision 23397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-31 22:31:51 +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
Diego Biurrun
879c9d1a63
Add a short note about libvpx.
...
Originally committed as revision 23394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-31 21:41:53 +00:00
Peter Ross
0a624147c3
Prevent au_read_packet() looping endlessly when .au file contains unsupported codec type.
...
Originally committed as revision 23392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-31 10:47:36 +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
Peter Ross
21ae67900e
automatically enable buffer_filter when compiling ffmpeg
...
Fixes issue 1949
Originally committed as revision 23388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-30 12:19:26 +00:00
Diego Biurrun
870a6f4044
Rename yuv2rgb_template2.c --> yuv2rgb_template.c now that the other is gone.
...
Originally committed as revision 31279 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-05-30 08:44:05 +00:00
Diego Biurrun
eb55f3da3d
The GPL-licensed optimizations in libswscale have been replaced.
...
Originally committed as revision 23387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-30 08:31:50 +00:00
Diego Biurrun
531f97b0c3
Remove GPL-licensed YUV to RGB MMX routines.
...
We now have an LGPL replacement that is at least equally fast.
Originally committed as revision 31278 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-05-30 08:31:23 +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
Diego Biurrun
2c780abfdb
Require --enable-nonfree flag for libvpx.
...
The license of libvpx is incompatible with the (L)GPL. As long as this is
the case, the only way to use it is by marking the result as nonfree.
Originally committed as revision 23371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-29 09:40:22 +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
Francesco Lavra
22a255842b
Reindent after r23361.
...
Patch by Francesco Lavra <francescolavra interfree it>.
Originally committed as revision 23362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-28 18:21:57 +00:00
Francesco Lavra
cff87f0404
Use ff_rm_codec_tags[] in RM muxer. This, incidentally, also allows muxing
...
other audio codecs rather than only AC-3, so add some code that makes
word byte-swapping only happen for AC-3, not for all audio codecs.
Patch by Francesco Lavra <francescolavra interfree it>.
Originally committed as revision 23361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-28 18:21:25 +00:00
Francesco Lavra
74e8ccad4c
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
...
Patch by Francesco Lavra <francescolavra interfree it>.
Originally committed as revision 23360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-28 18:18:33 +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
David Conrad
173bb37f82
On2 IVF demuxer
...
Originally committed as revision 23357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-27 21:23:04 +00:00
Michael Niedermayer
a5266a4789
Make sure that when the parser is feeded with frame==packet that the
...
packets are passed through and wont be marked as static which would
require them to be copied by av_dup_packet().
Originally committed as revision 23352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-27 17:11:37 +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
Michael Niedermayer
867ab7fb0a
Fix pts reordering code.
...
This fixes a regression introduced when libavfilter support was added to ffplay.
Originally committed as revision 23343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-27 00:31:45 +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