1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-31 16:31:54 +02:00
Commit Graph

7016 Commits

Author SHA1 Message Date
Reimar Döffinger
36e1625396 Almost-cosmetics: split out coeff_count from all_fragments struct into
a separate array.
For the OGG version at http://www.bigbuckbunny.org/index.php/download/
this results in about 50% speedup of unpack_vlcs, resulting in ca. 20% faster
overall speed.

Originally committed as revision 13729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 16:26:28 +00:00
Baptiste Coudurier
8983aa337c enable global_header flag for audio and video encoding, was wrongly part of commit r13722
Originally committed as revision 13724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 01:21:57 +00:00
Baptiste Coudurier
02226bc8a5 revert wrong part of r13722 commit
Originally committed as revision 13723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 01:20:14 +00:00
Baptiste Coudurier
febea2f2e1 uniformize trellis quant option
Originally committed as revision 13722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 00:43:07 +00:00
Justin Ruggles
227322b837 move rematrixing band table to ac3dec_data.c
Originally committed as revision 13716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 21:09:02 +00:00
Justin Ruggles
7ed9a2ea50 add ac3dec_data.[c,h]
Originally committed as revision 13715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 21:08:57 +00:00
Justin Ruggles
bddadace8d add fields needed for E-AC-3 decoding to decode context
Originally committed as revision 13714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 21:08:53 +00:00
Bartlomiej Wolowiec
681f5c1271 Separating from nellymoserdec.c parts required by encoder
Originally committed as revision 13713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 20:45:18 +00:00
Benjamin Larsson
b339f0c6be Oma demuxer
Originally committed as revision 13712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 17:12:25 +00:00
Justin Ruggles
4397d95ce0 split up header parsing function
Originally committed as revision 13705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:51 +00:00
Justin Ruggles
da04be10a2 store exp_strategy for all blocks in decode context
Originally committed as revision 13704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:47 +00:00
Justin Ruggles
54624396fc store cpl_in_use for all blocks in decode context
Originally committed as revision 13703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:43 +00:00
Justin Ruggles
be594ae4b4 cosmetics: add and align references to spec variable names
Originally committed as revision 13702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:39 +00:00
Justin Ruggles
d7a0ae079c cosmetics: vertical align
Originally committed as revision 13701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:35 +00:00
Justin Ruggles
83ce7ff6ca use macro constants for array sizes in decode context
Originally committed as revision 13700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:31 +00:00
Justin Ruggles
2288596074 cosmetics: vertical align
Originally committed as revision 13699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:26 +00:00
Justin Ruggles
2c4c2afaca cosmetics: reorder decode context fields into logical groups
Originally committed as revision 13698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:22 +00:00
Justin Ruggles
58ce349f0a move the decode context and some macro constants to a new file, ac3dec.h
Originally committed as revision 13697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:16 +00:00
Justin Ruggles
30f71adc46 move mix level tables from parser to decoder. have parser read bitstream value instead of using an index to a table in the decoder.
Originally committed as revision 13696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:09 +00:00
Justin Ruggles
caf0fbc889 add more gain levels and adjust mix level tables accordingly.
Originally committed as revision 13695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:03 +00:00
Justin Ruggles
687671f03b pass bap table to ff_ac3_bit_alloc_calc_bap()
Originally committed as revision 13694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:29:54 +00:00
Justin Ruggles
30cc3ac20e set default mix levels regardless of bitstream id
Originally committed as revision 13693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:29:45 +00:00
Justin Ruggles
4921bbbae5 cosmetics: indent
Originally committed as revision 13692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:29:38 +00:00
Justin Ruggles
aa5d6be8df skip unsupported frame types and substream id's
Originally committed as revision 13691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:29:27 +00:00
Justin Ruggles
be5f17b96b read frame type from header info into decode context
Originally committed as revision 13690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:29:19 +00:00
Justin Ruggles
3596aa6fe6 get substreamid from ac3 parser
Originally committed as revision 13689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:29:11 +00:00
Justin Ruggles
6730e9f300 get the number of blocks from the ac3 parser and use in the ac3 decoder.
Originally committed as revision 13688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:29:03 +00:00
Roberto Togni
467ec3c120 Remove my old email address
Originally committed as revision 13687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 13:21:24 +00:00
Roberto Togni
0f6feb5f26 Remove my old email address.
This also fixes the "rtogni is not a valid tag" doxygen warning
Based on a patch by Stefano Sabatini, stefano sabatini lala poste it

Originally committed as revision 13686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 13:14:49 +00:00
Diego Biurrun
969f949300 Remove Fabrice's copyright from the Makefiles. They have been entirely
rewritten since they were originally created.

Originally committed as revision 13675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-06 17:50:32 +00:00
Diego Biurrun
890f6fd3ec minor spelling/grammar fixes
Originally committed as revision 13669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-06 07:00:42 +00:00
Michael Niedermayer
aee7cf8752 Fix reading an element after the array.
Fixes CID27 RUN2

Originally committed as revision 13668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-06 00:32:31 +00:00
Vitor Sessak
218e453a6f Remove *lpc_refl from the context. Only the value
calculated in rms() is actually needed. It also avoid
recalculating it later.

Originally committed as revision 13664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 16:15:44 +00:00
Vitor Sessak
11bb2eb003 Split function rms() in two (it does two unrelated things)
Originally committed as revision 13663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 16:11:51 +00:00
Loren Merritt
359bbdabf3 rename me=tesa
Originally committed as revision 13661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 02:20:15 +00:00
Baptiste Coudurier
89223ef698 add esa/dia compat me options and new tesa for libx264
Originally committed as revision 13660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 01:57:35 +00:00
Baptiste Coudurier
d9e5c9b718 x264 interlaced encoding option
Originally committed as revision 13656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-04 00:56:36 +00:00
Baptiste Coudurier
682a48a107 cleanup, remove useless parentheses
Originally committed as revision 13655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-04 00:44:43 +00:00
Justin Ruggles
7af26d14ac return error on frame sync error
Originally committed as revision 13654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-04 00:31:20 +00:00
Justin Ruggles
31bc6b4549 prevent crash when dba params are invalid
Originally committed as revision 13653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 23:34:26 +00:00
Benjamin Larsson
17125bd9da Sample tested and the code worked so the comment is removed
Originally committed as revision 13650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 16:46:38 +00:00
Diego Biurrun
e85754cc36 small spelling/wording fixes
Originally committed as revision 13645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 11:56:09 +00:00
Michael Niedermayer
ee3509d94e ff_fetch_timestamp() prototype
Originally committed as revision 13644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 03:12:56 +00:00
Michael Niedermayer
d59591fb02 In mpeg1/2 timestamps are associated with the access unit which
contains the first picture startcode that commences in the PES
packet, instead of the first access unit that commences in the
PES packet. Fix the parser to
handle that properly. This was a very long standing bug ...
The change to the seek regressions is because the mpeg ts muxer
stores too many invalid and randomized timestamps which overflow
the 4 entry buffer we use in the parser.

Originally committed as revision 13643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 02:43:17 +00:00
Aurelien Jacobs
9b85e378bf bump micro version after commit r13615
Originally committed as revision 13632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 23:00:04 +00:00
Baptiste Coudurier
ce8f4fb388 print correct mpeg-2 broken_link value, and print closed_gop
Originally committed as revision 13630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 19:04:14 +00:00
Vitor Sessak
27ee9bcf36 Remove warning that could never be triggered.
Thanks Mkhodor for pointing it out.

Originally committed as revision 13629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 18:29:04 +00:00
Michael Niedermayer
44b79c6022 indent
Originally committed as revision 13628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 14:54:19 +00:00
Michael Niedermayer
e4e3230ea5 Only store timestamps when there are timestamps.
Originally committed as revision 13627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 14:53:54 +00:00
Michael Niedermayer
05d1d160bc Our MPEG-TS demuxer does not send complete PES packets but sends them
piecewise, thus the end values cannot be used for associating timestamps.

Originally committed as revision 13626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 14:40:27 +00:00
Michael Niedermayer
5c027f8866 Move new field to the end to avoid ABI breakage, I thought this struct
is not used from the outside but after rethinking it of course has to be
used if someone wants to use a parser without a lavf demuxer.

Originally committed as revision 13625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 14:23:25 +00:00
Michael Niedermayer
ebdd73778c cosmetic
Originally committed as revision 13624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:14:01 +00:00
Michael Niedermayer
ec0c5d482e Allow matching timestamps to be removed by fetch_timestamp().
Originally committed as revision 13623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:12:54 +00:00
Michael Niedermayer
21e305891c Add off argument so that fetch_timestamp can search for timestamps
not associated with the first byte of access units.

Originally committed as revision 13622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:09:56 +00:00
Michael Niedermayer
cd6144948a Factorize fetch_timestamp() into its own function
Originally committed as revision 13621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:05:38 +00:00
Michael Niedermayer
4791778579 unused variable
Originally committed as revision 13620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:01:23 +00:00
Baptiste Coudurier
b73e868b4e cosmetics, remove table_ prefix
Originally committed as revision 13617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 03:12:43 +00:00
Michael Niedermayer
591569b596 indent
Originally committed as revision 13616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 03:10:40 +00:00
Michael Niedermayer
26f237254d Rename last_frame_offset to next_frame_offset.
(it was and is the next not the last)

Originally committed as revision 13615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 03:10:00 +00:00
Baptiste Coudurier
556eec43ef optimize, merge offset bits in vlc code
Originally committed as revision 13614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 03:07:32 +00:00
Michael Niedermayer
cb63a4b37c Simplify parser core.
Originally committed as revision 13613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 02:55:30 +00:00
Justin Ruggles
406113721f move some AC3HeaderInfo struct fields to the Coded elements group.
Originally committed as revision 13612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 02:54:46 +00:00
Baptiste Coudurier
892d226857 return if bitrate is not specified or too low
Originally committed as revision 13611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 21:29:45 +00:00
Baptiste Coudurier
778346e3da add context_to_name func for logging
Originally committed as revision 13610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 20:51:44 +00:00
Vitor Sessak
2d73e6c8d7 Replace comments by error messages.
Thanks to Mkhodor for the tip.

Originally committed as revision 13609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:51:33 +00:00
Vitor Sessak
c2a14bd72e Cosmetics
Originally committed as revision 13608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:36:54 +00:00
Vitor Sessak
a00dc25547 Rename dec2() function
Originally committed as revision 13607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:36:43 +00:00
Vitor Sessak
07aee1a1f9 Rename var
Originally committed as revision 13606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:35:04 +00:00
Vitor Sessak
aa3aaacb07 Rename dec1() to a more descriptive name
Originally committed as revision 13605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:33:17 +00:00
Vitor Sessak
50b8f2cf1c The function dec1() do two completly unrelated things. Split the rms calculation out of it.
Originally committed as revision 13604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:30:07 +00:00
Vitor Sessak
a94701d03c Yet more variable renaming
Originally committed as revision 13599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 13:30:15 +00:00
Vitor Sessak
d4f0cc1c9f More variable renaming
Originally committed as revision 13598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 13:28:41 +00:00
Vitor Sessak
907892ee19 Rename functions
Originally committed as revision 13597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 13:17:22 +00:00
Vitor Sessak
d981252c27 Rename variables
Originally committed as revision 13596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 13:16:13 +00:00
Baptiste Coudurier
1be97a218e memcpy considering output width, not src linesize, fix segv with av_picture_pad
Originally committed as revision 13594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 02:28:33 +00:00
Baptiste Coudurier
64e3e66175 give context to av_log
Originally committed as revision 13593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 02:21:53 +00:00
Michael Niedermayer
2453f40602 Prevent scalefactors from overflowing.
fixes issue351

Originally committed as revision 13591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 01:07:59 +00:00
Justin Ruggles
fb2b88a816 cosmetics: add a comment, remove a comment
Originally committed as revision 13590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 22:12:49 +00:00
Justin Ruggles
9b57545934 simplify
Originally committed as revision 13589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 22:12:01 +00:00
Justin Ruggles
6e74513a48 set lfe params at frame init instead of in every block
Originally committed as revision 13588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 21:57:45 +00:00
Justin Ruggles
b85a15fe73 only calculate number of exponent groups when exponents are not reused.
Originally committed as revision 13587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 21:53:31 +00:00
Justin Ruggles
aa148649a4 cosmetics: remove unneeded braces
Originally committed as revision 13586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 21:37:28 +00:00
Justin Ruggles
7e13b31c19 10l: cosmetics
Originally committed as revision 13585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 19:59:10 +00:00
Justin Ruggles
e25973a1fd new dba values requires running last 2 bit allocation stages
Originally committed as revision 13584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 19:56:54 +00:00
Justin Ruggles
ff5d419e2f get_transform_coeffs() never returns an error, so make the function and its children return void.
Originally committed as revision 13582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 16:04:41 +00:00
Vitor Sessak
2f7d6835b6 Add doxy comments to eq() and do_voice()
Originally committed as revision 13581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 15:37:41 +00:00
Justin Ruggles
fbe52e4188 use enum value for CRC error
Originally committed as revision 13580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 15:31:57 +00:00
Justin Ruggles
c78c6d6c58 move header error logging to after CRC check
Originally committed as revision 13579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 15:30:55 +00:00
Vitor Sessak
4dc471c30c Minor simplification
Originally committed as revision 13578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 14:38:34 +00:00
Vitor Sessak
9765b44c50 Rename variable
Originally committed as revision 13577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 14:36:46 +00:00
Vitor Sessak
208a2a60b9 Remove useless intermediate variable
Originally committed as revision 13576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 14:34:35 +00:00
Vitor Sessak
9d283aee83 Remove ra144.o dependency added in revision r13500, now reverted
Originally committed as revision 13575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 14:32:11 +00:00
Michael Niedermayer
b13ddb3bca unused
Originally committed as revision 13572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 23:27:21 +00:00
Michael Niedermayer
b9c8388710 As *_static are not deallocated anymore except on program termination
we do not need to keep track of them anymore.
Fixes CID117 RUN2 and various race conditions.

Originally committed as revision 13571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 23:26:09 +00:00
Michael Niedermayer
83422c1940 unused
Originally committed as revision 13570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:17:10 +00:00
Michael Niedermayer
65de23d1b6 Remove non C code.
Originally committed as revision 13569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:15:34 +00:00
Michael Niedermayer
09dafaeba1 Move *_static to bitstream.c which is the only file left which needs
them.

Originally committed as revision 13568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:12:33 +00:00
Michael Niedermayer
ceaaf78bb7 Change init_vlc_rl() so it does not use *alloc_static() anymore.
Originally committed as revision 13567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:08:41 +00:00
Michael Niedermayer
2d80ce2bdf Change init_2d_vlc_rl() to not use *alloc_static().
Originally committed as revision 13566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:06:40 +00:00
Michael Niedermayer
9ef3193df1 Remove constant argument.
Originally committed as revision 13564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 20:06:08 +00:00
Michael Niedermayer
f76605e880 Switch to INIT_VLC_USE_NEW_STATIC.
Note, if code you maintain still uses INIT_VLC_USE_STATIC please change
it as well! Iam not volunteering to clean all codecs up ...

Originally committed as revision 13563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 20:02:59 +00:00
Michael Niedermayer
d05b24ff89 Little helper macro to make the use of INIT_VLC_USE_NEW_STATIC easier.
Originally committed as revision 13562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 20:00:19 +00:00
Michael Niedermayer
ccc54864fe Make init_vlc* support proper static tables instead of this broken beyond
imagination alloc_static() trash.

Originally committed as revision 13561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 19:48:02 +00:00
Vitor Sessak
27f19ed501 Revert r13499, log:
Make lpc coefficients 16 bit wide

Only one of my samples didn't decode bit-exact after this change,
but better be safe than sorry.

Originally committed as revision 13560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 19:46:43 +00:00
Carl Eugen Hoyos
7e14f14584 Warn about unimplemented H264 feature.
Originally committed as revision 13542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 23:16:12 +00:00
Pascal Massimino
ae899d12ae in TRUNCATED mode, use residual fragments in ParseContext
for decoding the very last frame.

Originally committed as revision 13538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 20:09:45 +00:00
Stefano Sabatini
09d9087d26 Add ASUS V1/V2 decoder codec long names.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 11:04:42 +00:00
Baptiste Coudurier
390b25aeda set avctx time_base in dv decoder
Originally committed as revision 13515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 23:56:25 +00:00
Michael Niedermayer
161dab177f ILP64 fix
Originally committed as revision 13513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 22:36:08 +00:00
Vitor Sessak
659094cb6b Rename variable
Originally committed as revision 13510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 21:25:18 +00:00
Vitor Sessak
5e8782dddf More intermediate vars removal
Originally committed as revision 13508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 21:17:32 +00:00
Vitor Sessak
408f43cb36 Remove unused var
Originally committed as revision 13506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 21:04:42 +00:00
Vitor Sessak
7019f1a510 Remove useless intermediate var
Originally committed as revision 13505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 21:02:51 +00:00
Vitor Sessak
e05f96285e Remove dec1() function
Originally committed as revision 13504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 20:36:11 +00:00
Vitor Sessak
31e15894d5 Use ff_acelp_weighted_vector_sum() instead of reimplementing it
Originally committed as revision 13500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 19:04:34 +00:00
Vitor Sessak
594409a25c Make lpc coefficients 16 bit wide
Originally committed as revision 13499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 19:02:16 +00:00
Vitor Sessak
121ec9e55a Simplify implementation and use of dec2()
Originally committed as revision 13498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 18:59:09 +00:00
Michael Niedermayer
909a9ad08d Prevent 128*1<<trellis from becoming 0 and creating 0 sized arrays.
fixes CID84 RUN2
      CID85 RUN2
      CID86 RUN2
      CID87 RUN2
      CID88 RUN2
      CID89 RUN2
      CID90 RUN2
      CID91 RUN2
      CID92 RUN2
      CID93 RUN2
      CID94 RUN2
      CID95 RUN2
      CID96 RUN2
      CID97 RUN2
      CID98 RUN2
      CID99 RUN2
      CID100 RUN2
      CID101 RUN2
      CID102 RUN2
      CID103 RUN2
      CID104 RUN2
      CID105 RUN2
      CID106 RUN2

Originally committed as revision 13495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 11:59:41 +00:00
Michael Niedermayer
e2d09b65e8 set coded_frame
Originally committed as revision 13492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 11:33:28 +00:00
Diego Biurrun
9c852bcf58 cosmetics: spelling typo fixes
Originally committed as revision 13489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 09:20:59 +00:00
Michael Niedermayer
c192426fd8 Fix return type of ff_init_me().
Originally committed as revision 13487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 01:54:09 +00:00
Michael Niedermayer
dd72228e53 minor simplification
Originally committed as revision 13485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 01:34:46 +00:00
Michael Niedermayer
8403c543de redundant
Originally committed as revision 13484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 01:30:59 +00:00
Michael Niedermayer
540c5220ff Check dia size a little more. Fixes CID80.
Originally committed as revision 13481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 23:41:10 +00:00
Michael Niedermayer
6138ed777d Arrays where one element too small, fixes CID114.
this was possibly exploitable

Originally committed as revision 13475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 22:10:17 +00:00
Michael Niedermayer
c1815c3700 memleak / fixes CID118
Originally committed as revision 13473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 21:12:28 +00:00
Michael Niedermayer
8e6f8869ab Do not read from prior the array, fix CID 127.
Originally committed as revision 13471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 19:44:56 +00:00
Vitor Sessak
d26a180fd6 Add comment
Originally committed as revision 13469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 16:50:48 +00:00
Vitor Sessak
1fe50db3f2 Fix doxy comments
Originally committed as revision 13468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 16:14:31 +00:00
Diego Biurrun
842eabc5f9 cosmetics: XviD is now called Xvid.
Originally committed as revision 13465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 12:32:59 +00:00
Diego Biurrun
ae52bbe5de cosmetics: typo fixes
Originally committed as revision 13464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 10:51:23 +00:00
Justin Ruggles
bd98e9e230 zero the upper frequencies of the correct coefficients
Originally committed as revision 13452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 00:43:39 +00:00
Diego Biurrun
1384e27054 consistency cosmetics: indices --> indexes in variable names
Originally committed as revision 13446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:36:05 +00:00
Stefano Sabatini
5231f101d1 Clarify avcodec_encode_audio() vs. PCM audio.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:19:26 +00:00
Diego Biurrun
f4433de9ef consistency cosmetics: indices --> indexes
Originally committed as revision 13444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:14:25 +00:00
Diego Biurrun
30bd40f2f1 cosmetics: typo
Originally committed as revision 13443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:11:24 +00:00
Diego Biurrun
756a01f522 cosmetics: Use C-style comments in #endif directives.
Originally committed as revision 13442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:09:46 +00:00
Vitor Sessak
6286924461 Rename var: add read coefficients a decent name
Originally committed as revision 13435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 18:26:47 +00:00
Vitor Sessak
e9655b3dcd Update comment
Originally committed as revision 13434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 18:21:09 +00:00
Vitor Sessak
2a7b6f251c Rename var: val -> energy
Originally committed as revision 13433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 18:18:33 +00:00
Vitor Sessak
e037baf797 Rename var: swapbuf* are LPC related
Originally committed as revision 13432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 18:16:05 +00:00
Vitor Sessak
f000bfad3d Rename var: buffer_2 is an adaptive codebook
Originally committed as revision 13431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 17:10:00 +00:00
Vitor Sessak
17a7fc8ceb Context vars are not global vars. glob is a bad name for it.
Originally committed as revision 13430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 16:59:39 +00:00
Vitor Sessak
fc9fcbaed5 Rename context struct to be more consistent with the rest of ffmpeg
Originally committed as revision 13429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 16:55:22 +00:00
Michael Niedermayer
bc545029bf Warn about packed B-frames. (especially useful if the file in question is
not an avi ...)

Originally committed as revision 13428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 11:32:42 +00:00
Michael Niedermayer
87b6ea8458 indent
Originally committed as revision 13411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 02:00:18 +00:00
Michael Niedermayer
99c1c3887d allow av_parser_close(NULL)
fixes issue300

Originally committed as revision 13410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 01:58:47 +00:00
Michael Niedermayer
4806b9226c print direct_spatial_mv_pred
Originally committed as revision 13409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 01:06:15 +00:00
Justin Ruggles
eccba2bc4b safer solution for setting audio parameters
Originally committed as revision 13402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 20:02:24 +00:00
Vitor Sessak
5012cf88a3 Merge two if's
Originally committed as revision 13401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 19:48:03 +00:00