Vitor Sessak
f2b7ce8ae6
Use doubles in ff_set_min_dist_lsf(). After this patch, AMR can use this
...
function with no change in output.
Originally committed as revision 20511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-11 11:00:50 +00:00
Alex Converse
4312b9367a
Add Low Delay MPEG Surround to the enum of MPEG-4 Audio Object Types.
...
Originally committed as revision 20510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-11 01:04:08 +00:00
Justin Ruggles
3155716677
Add CH_LAYOUT_NATIVE channel mask value to allow user to request native codec
...
channel order from the decoder rather than the default FFmpeg channel order.
Originally committed as revision 20508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 21:53:22 +00:00
Michael Niedermayer
67e362ca45
indent
...
Originally committed as revision 20507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 21:00:46 +00:00
Carl Eugen Hoyos
de9bc64df4
Cosmetics: Fix indentation after r20505.
...
Originally committed as revision 20506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 20:55:45 +00:00
Carl Eugen Hoyos
602dd2d359
Add .pix_fmts to H264 VDPAU decoder declaration and remove obsolete test
...
for codec->capabilities.
Originally committed as revision 20505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 20:55:00 +00:00
Michael Niedermayer
44be1d6478
Try to fix has_b_frame calculation for open gop files.
...
Fixes issue1523
Originally committed as revision 20504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 20:24:41 +00:00
Vitor Sessak
51ae2142d5
Fix palette copying in av_picture_copy(). Previous code worked only if
...
linesize[1] == 1, which does not make sense.
Originally committed as revision 20503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 19:36:58 +00:00
NVIDIA Corporation
70e0c871eb
Add VDPAU hardware accelerated decoding for MPEG-4 ASP which can be used
...
by video players.
Original patch by NVIDIA corporation.
Originally committed as revision 20502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 18:52:39 +00:00
Jai Menon
09bad7e3ca
Handle JPEG2000 frames stored in the Quicktime container.
...
Fixes issue 1525.
Originally committed as revision 20500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 14:48:32 +00:00
Jai Menon
b70b158833
cosmetics : fix indentation.
...
Originally committed as revision 20499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 14:37:42 +00:00
Vitor Sessak
00fa73f052
Avoid variable-length array use in ff_acelp_lspd2lpc()
...
Originally committed as revision 20496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 04:17:18 +00:00
Michael Niedermayer
dccda293a0
Add a NULL pointer check to avcodec_close() this should prevent a segfault
...
when closing without open.
Originally committed as revision 20495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 02:51:47 +00:00
Ronald S. Bultje
c47ca25e74
Make get_bits_left() available for use in libavcodec (was previously held
...
private in dv.c for some reason). See "[PATCH] get_bits_left()" thread.
Originally committed as revision 20490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 22:10:43 +00:00
Ronald S. Bultje
b1ade3d182
And on the sixth day, God gave us the <= operand, which makes the loop
...
"for (i = 1; i < num + 1; i++)" look like "for (i = 1; i <= num; i++)".
Programmers worldwide rejoiced and used the operand, e.g. in the thread
"[PATCH] remove ugliness in cel_filters.c", and He saw that it was good.
Originally committed as revision 20489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 22:04:03 +00:00
Vitor Sessak
e26d131845
Do not hardcode filter order in ff_acelp_lspd2lpc()
...
Originally committed as revision 20485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 12:06:19 +00:00
Francesco Lavra
91cc5d3767
Move ff_reverse in libavcodec to av_reverse in libavutil.
...
Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 20484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 09:11:35 +00:00
Carl Eugen Hoyos
adadf26bb9
Use enum FrameType as parameter to construct_perm_table().
...
Originally committed as revision 20480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 23:37:59 +00:00
Michael Niedermayer
a16f80f392
Remove unused variable.
...
1l for me if it wherent sunday and i could buy cola.
Originally committed as revision 20477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 14:54:43 +00:00
Justin Ruggles
187bc061e4
ac3dec: revert r20089. The change was just wrong. 10l for me.
...
Originally committed as revision 20473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 03:06:05 +00:00
Michael Niedermayer
f3001e0dee
Simpliy exp*table init, based on patch by reimar.
...
Originally committed as revision 20470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-07 20:10:02 +00:00
Reimar Döffinger
1ffc6e8327
Add ff_init_ff_cos_tabs function and use it in rdft.c to ensure that the
...
necessary ff_cos_tabs tables are initialized.
Fixes issue 1507 (QDM2 broken since r20237 without hardcoded tables).
Originally committed as revision 20464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 18:29:06 +00:00
Reynaldo H. Verdejo Pinochet
136086523f
Correct double include introduced by r20450
...
Originally committed as revision 20452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 01:10:27 +00:00
Vitor Sessak
c902340599
Reduce stack memory allocation in MP3 decoder
...
Originally committed as revision 20451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-04 23:33:08 +00:00
Reynaldo H. Verdejo Pinochet
0c50f8e6cc
Implement ff_scale_vector_to_given_sum_of_squares()
...
to aid generic gain control routines. Changes
for qcelp are included. Patch Collin McQuillan.
Originally committed as revision 20450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-04 19:29:29 +00:00
Reimar Döffinger
223217746c
Pad ff_cos_tabs and ff_sin_tabs so that index n points to the table for n bits.
...
While this "wastes" up to 2x32 bytes it makes the code slightly simpler and
less confusing.
Originally committed as revision 20449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-04 17:30:23 +00:00
Alex Converse
981b8fd777
Don't lock the channel output configuration based on the first value seen for
...
non extradata formats. Instead lock it only after the successful decoding of a
frame. This fixes issue 999.
Originally committed as revision 20448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 22:50:02 +00:00
Andrew Wason
42022e0362
add yuvs fourcc to raw.c and isom.c, fixes samples/mov/yuvs.mov
...
patch by Andrew Wason
Originally committed as revision 20439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 16:17:21 +00:00
Justin Ruggles
31f8c10983
Simplify AC-3 critical band end calculation (correctly this time).
...
Originally committed as revision 20438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 03:26:26 +00:00
Justin Ruggles
94593c9b52
Revert r20050, which caused decoding errors with at least one valid AC-3 file.
...
Originally committed as revision 20437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 02:59:18 +00:00
Michael Niedermayer
ad9feac9fb
Avoid huge array for rgb ljpeg on the stack.
...
Code tested with an ljpeg i had laying around.
Originally committed as revision 20433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-02 14:12:25 +00:00
Ben Littler
e47ca4f798
map VYUY fourcc to rawcodec
...
fixes http://samples.mplayerhq.hu/V-codecs/ATI-VCR12/ATI/y422test.avi
Originally committed as revision 20432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-02 00:10:10 +00:00
Justin Ruggles
4c1645a458
Set sample format in flac_decode_init() rather than in
...
ff_flac_parse_streaminfo() since the latter is shared with the raw FLAC
demuxer, which should not be setting the sample format.
Originally committed as revision 20430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-01 16:48:05 +00:00
Justin Ruggles
dee34af4d6
Set the sample format for Smacker audio in the decoder rather than in the
...
demuxer.
Originally committed as revision 20429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-01 15:08:49 +00:00
Vitor Sessak
083c5a48ec
Implement AMR gain function that is used by both AMR and SIPR.
...
Based on AMR SoC code by Robert Swain and Colin McQuillan.
Originally committed as revision 20421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 02:02:30 +00:00
Michael Niedermayer
8a08175f3f
Change whitespace placement a little to improve readabiliy slightly.
...
Thats not an attempt to emulate indent -kr behavior down to the finest
fineprint, first it would not be worth the work, second it would be less
readable, third it would not be K&R but indent -kr then.
Originally committed as revision 20416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-29 10:58:59 +00:00
Michael Niedermayer
f92e769666
Multiple inclusion guards for synth_filter.h.
...
Originally committed as revision 20415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-29 10:46:29 +00:00
Francesco Lavra
e58992e41f
Support demuxing teletext in DVB streams.
...
Original patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 20414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-29 10:46:16 +00:00
Michael Niedermayer
d886e4df10
Vertically align function arguments.
...
Originally committed as revision 20413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-29 10:43:56 +00:00
Måns Rullgård
de4070b520
Add generic rules for building helpers with HOSTCC
...
Originally committed as revision 20412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-29 00:55:35 +00:00
Reimar Döffinger
7a41027cc4
vorbis_dec: factor out duplicated code for index reading, bounds checking and
...
error message into a shared macro.
Originally committed as revision 20411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 22:41:45 +00:00
Reimar Döffinger
3db0208c42
Change format string from "x" to PRIx32 to hopefully fix a warning with Cygwin gcc 4.2.4.
...
Originally committed as revision 20407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 20:02:40 +00:00
Måns Rullgård
785d3c97b2
Makefile cosmetics
...
Originally committed as revision 20406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 19:49:19 +00:00
Måns Rullgård
df4fe41df4
Generate mpegaudio tables only when CONFIG_HARDCODED_TABLES is set
...
Having mpegaudiodec.o unconditionally depend on mpegaudio_tables.h
forces the latter to be generated even when it will not be used.
Originally committed as revision 20405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 19:49:16 +00:00
Reimar Döffinger
52a4a07778
Fix out-of-tree builds with --enable-hardcoded-tables
...
Originally committed as revision 20404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 19:38:31 +00:00
Reimar Döffinger
2300b120dd
Fix dependency: generated table is needed to create the mpegaudiodec.o file, not the .c one.
...
Originally committed as revision 20403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 19:15:42 +00:00
Reimar Döffinger
9e8fecf7ea
Better formatting for 2D tables in tableprint code.
...
Originally committed as revision 20402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 19:05:45 +00:00
Reimar Döffinger
8abe97be92
10l, fix incorrect endif comment.
...
Originally committed as revision 20401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 18:52:39 +00:00
Reimar Döffinger
eadaa00c6f
Add support for hardcoding the mpegaudiodec tables.
...
Reduces .bss size by about 194 kB.
Originally committed as revision 20400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 18:42:52 +00:00
Michael Niedermayer
d49dded591
Remove unused variable j.
...
Originally committed as revision 20398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 14:40:05 +00:00