OSDN Git Service
Justin Ruggles [Thu, 16 Dec 2010 21:09:22 +0000 (21:09 +0000)]
Use a LUT for number of exponent groups. This avoids recalculating it for
every block and channel for every frame.
Originally committed as revision 26037 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Thu, 16 Dec 2010 21:09:16 +0000 (21:09 +0000)]
Speed up group minimum and group output calculations for EXP_D25 and EXP_D45
in encode_exponents_blk_ch() by removing the inner loops. This is about 30-40%
faster for the modified sections.
Originally committed as revision 26036 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Thu, 16 Dec 2010 21:09:08 +0000 (21:09 +0000)]
Convert a for() loop into a while() loop for the downward part of the exponent
delta limiting.
Originally committed as revision 26035 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Thu, 16 Dec 2010 21:09:02 +0000 (21:09 +0000)]
Redesign encode_exponents_blk_ch() so that duplicate exponent sets are no
longer required. This gets rid of the temp buffer as well as encoded_exp in
AC3EncodeContext. It also allows for skipping the exponent grouping for
EXP_D15. 56% faster in encode_exponents_blk_ch().
Originally committed as revision 26034 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Thu, 16 Dec 2010 15:06:28 +0000 (15:06 +0000)]
Use optimized function DSPContext.sad[0]() instead of calc_exp_diff().
90% faster compute_exp_strategy().
Originally committed as revision 26033 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Thu, 16 Dec 2010 08:41:17 +0000 (08:41 +0000)]
configure: Avoid warnings if av_always_inline is disabled
This macro is disabled if --enable-small or --disable-optimizations are set.
Currently, this leads to warnings about functions being defined but not used,
for functions in header files.
By defining av_always_inline as inline or as av_unused, we avoid these
warnings.
This doesn't make a normal build with --enable-small any larger,
since the compiler probably chooses not to inline these functions even
if they're marked as inline.
Originally committed as revision 26032 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Thu, 16 Dec 2010 03:44:35 +0000 (03:44 +0000)]
cosmetics: pretty-printing after last commit
Originally committed as revision 26031 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Thu, 16 Dec 2010 03:44:32 +0000 (03:44 +0000)]
Add a goto for init failure instead of duplicate calls to ac3_encode_close().
Originally committed as revision 26030 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Thu, 16 Dec 2010 03:44:29 +0000 (03:44 +0000)]
Use pre-allocated temp buffers in mdct512().
5% faster in function.
Originally committed as revision 26029 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Thu, 16 Dec 2010 03:13:45 +0000 (03:13 +0000)]
Write results of post-rotation complex multiply directly to output.
2% faster in function mdct512().
Originally committed as revision 26028 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Thu, 16 Dec 2010 03:13:41 +0000 (03:13 +0000)]
Use memcpy() instead of a for loop in mdct512().
8% faster in function.
Originally committed as revision 26027 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Thu, 16 Dec 2010 02:33:02 +0000 (02:33 +0000)]
Allocate all large per-channel arrays using av_malloc().
Decreases memory usage for less than 6 channels.
Originally committed as revision 26026 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Thu, 16 Dec 2010 02:32:59 +0000 (02:32 +0000)]
Make windowed_samples 16-byte aligned.
This will allow future SIMD optimization of the window function.
Originally committed as revision 26025 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Thu, 16 Dec 2010 02:32:55 +0000 (02:32 +0000)]
Allocate planar_samples using av_mallocz().
Lowers memory usage when encoding less than 6 channels.
Originally committed as revision 26024 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Wed, 15 Dec 2010 21:12:28 +0000 (21:12 +0000)]
Allocate bap and bap1 buffers using av_malloc().
This reduces the memory footprint when using less than 6 channels.
Modify bit allocation to swap the 2 buffers instead of using memcpy() and use
per-block pointers for bap. This is slightly faster (0.3%) in function
cbr_bit_allocation().
Originally committed as revision 26023 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Wed, 15 Dec 2010 21:06:25 +0000 (21:06 +0000)]
rtsp: Don't set the RTP time base from the sample rate if no sample rate is set
This also reverts SVN rev 26016, which incorrectly overwrote the time base
with 90 kHz for all streams, regardless of what was set by the SDP parsing.
The stream that triggered the fix in 26016 still works after this commit.
Originally committed as revision 26022 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Wed, 15 Dec 2010 17:28:52 +0000 (17:28 +0000)]
Remove last_samples[] and copy directly from planar_samples[].
Avoids memcpy that was used to store last samples for next frame.
Approx. 3% faster in function deinterleave_input_samples() and reduces memory
usage by 3kB.
Originally committed as revision 26021 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Wed, 15 Dec 2010 17:28:49 +0000 (17:28 +0000)]
Remove unneeded line. key_frame is already set to 1 in avcodec_alloc_frame().
Originally committed as revision 26020 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Wed, 15 Dec 2010 17:28:44 +0000 (17:28 +0000)]
cosmetics: comment clean-up and misc cosmetics
Originally committed as revision 26019 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Wed, 15 Dec 2010 17:28:41 +0000 (17:28 +0000)]
Separate most of the per-block arrays into a separate per-block struct.
Originally committed as revision 26018 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Wed, 15 Dec 2010 17:28:38 +0000 (17:28 +0000)]
Split bit allocation search into a separate function.
Originally committed as revision 26017 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Barbato [Wed, 15 Dec 2010 17:16:37 +0000 (17:16 +0000)]
Reinstate default time_base for rtp streams
The generic default is 0/0 and that obviously triggers once the value is used.
Originally committed as revision 26016 to svn://svn.ffmpeg.org/ffmpeg/trunk
Alexander Strange [Wed, 15 Dec 2010 00:22:47 +0000 (00:22 +0000)]
SVQ3: Allow decoding if thread_count is > 1
svq3 still doesn't support multithreading, but it's simpler for clients if
they can enable threading for all codecs by default.
Originally committed as revision 26015 to svn://svn.ffmpeg.org/ffmpeg/trunk
Thomas Guillem [Tue, 14 Dec 2010 23:03:05 +0000 (23:03 +0000)]
tcp: Check url_interrupt_cb if connect was interrupted by a signal
This makes it possible to abort a blocking connect call.
Patch by Thomas Guillem, thomas dot guillem at gmail
Originally committed as revision 26014 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 22:45:35 +0000 (22:45 +0000)]
10l: fix typo in compute_exp_strategy()
Originally committed as revision 26013 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 22:45:31 +0000 (22:45 +0000)]
Move large arrays to AC3EncodeContext rather than passing them around.
Originally committed as revision 26012 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 22:45:28 +0000 (22:45 +0000)]
cosmetics: line wrap and spacing
Originally committed as revision 26011 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 22:45:22 +0000 (22:45 +0000)]
Use a single value for SNR offset in the bit allocation search rather than
the separate coarse and fine values.
Originally committed as revision 26010 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 22:45:19 +0000 (22:45 +0000)]
Change bit_alloc() to return the mantissa bit count.
Originally committed as revision 26009 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 22:45:15 +0000 (22:45 +0000)]
cosmetics: alignment and line wrap after last commit
Originally committed as revision 26008 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 22:45:12 +0000 (22:45 +0000)]
Move bit counts to AC3EncodeContext.
Originally committed as revision 26007 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Tue, 14 Dec 2010 18:38:37 +0000 (18:38 +0000)]
Simplify texi files naming: ff*-doc.texi -> ff*.texi.
Originally committed as revision 26006 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 17:14:40 +0000 (17:14 +0000)]
Add missing dependency for matroska muxer.
Originally committed as revision 26005 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 16:14:52 +0000 (16:14 +0000)]
Update the test references for lavf-rm and seek-ac3_rm.
The references changed due to r25956.
Originally committed as revision 26004 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:53:43 +0000 (14:53 +0000)]
Split out setting of bit allocation parameters to a separate function.
Th new function only needs to be called at initialization because bit
allocation parameters currently do not change during encoding.
Originally committed as revision 26003 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:53:40 +0000 (14:53 +0000)]
Split out counting of frame bits into a separate function.
Originally committed as revision 26002 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:53:36 +0000 (14:53 +0000)]
cosmetics: vertical alignment
Originally committed as revision 26001 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:53:33 +0000 (14:53 +0000)]
Only calculate num_exp_groups once.
Originally committed as revision 26000 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:53:30 +0000 (14:53 +0000)]
Check for bit allocation error in ac3_encode_frame().
Move error log printout to ac3_encode_frame().
Originally committed as revision 25999 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:53:26 +0000 (14:53 +0000)]
Split out grouping of exponents into a separate function.
Originally committed as revision 25998 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:53:23 +0000 (14:53 +0000)]
Split out mantissa quantization into separate functions.
Originally committed as revision 25997 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:53:20 +0000 (14:53 +0000)]
cosmetics: rearrange some functions
Originally committed as revision 25996 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:53:17 +0000 (14:53 +0000)]
Reverse the exponent & exponent strategy array arrangement to simplify the
per-channel exponent strategy decision. This will also make it easier to
plug-in other exponent strategy algorithms.
Originally committed as revision 25995 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:53:13 +0000 (14:53 +0000)]
Move writing of frame to the output bitstream to a separate function.
Originally committed as revision 25994 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:53:10 +0000 (14:53 +0000)]
cosmetics: remove a comment and just spacing
Originally committed as revision 25993 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:53:06 +0000 (14:53 +0000)]
Split frame size adjustment into a separate function.
Originally committed as revision 25992 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:53:02 +0000 (14:53 +0000)]
Split exponent processing into separate functions.
Originally committed as revision 25991 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:59 +0000 (14:52 +0000)]
Split applying of MDCT into several separate functions.
Originally committed as revision 25990 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:56 +0000 (14:52 +0000)]
Split input sample deinterleaving into a separate function.
Originally committed as revision 25989 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:53 +0000 (14:52 +0000)]
Separate functionally different calculations in ac3_encode_frame().
Originally committed as revision 25988 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:49 +0000 (14:52 +0000)]
cosmetics: rename 2 variables
Originally committed as revision 25987 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:46 +0000 (14:52 +0000)]
Deinterleave whole frame at once instead of per-block.
This reduces the amount of memcpy() by using pointers to overlap samples for
successive blocks rather than copying.
Originally committed as revision 25986 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:43 +0000 (14:52 +0000)]
cosmetics: add & alter some comments
Originally committed as revision 25985 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:40 +0000 (14:52 +0000)]
Split setting of bandwidth into a separate function.
Originally committed as revision 25984 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:37 +0000 (14:52 +0000)]
Move setting of bitstream_id and bitstream_mode to ac3_encode_init().
Originally committed as revision 25983 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:34 +0000 (14:52 +0000)]
Improve ac3_encode_init() error reporting.
Return AVERROR(EINVAL) instead of -1. Propogate errors from called functions.
Add some error log printouts.
Originally committed as revision 25982 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:30 +0000 (14:52 +0000)]
cosmetics: indent after last commit
Originally committed as revision 25981 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:25 +0000 (14:52 +0000)]
Don't use nested loops to iterate valid sample rates.
Eliminates a goto and mirrors the bitrate validation.
Originally committed as revision 25980 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:21 +0000 (14:52 +0000)]
Remove some duplicate local copies of avctx fields.
This is an av_cold function, and we don't need to duplicate variables just to
save a few characters.
Originally committed as revision 25979 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:18 +0000 (14:52 +0000)]
Split validation of initial user options into a separate function.
Originally committed as revision 25978 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:14 +0000 (14:52 +0000)]
Use bytes instead of 16-bit words for frame size.
Originally committed as revision 25977 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:12 +0000 (14:52 +0000)]
cosmetics: rename variable 'n' to 'pad_bytes'
Originally committed as revision 25976 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:08 +0000 (14:52 +0000)]
Change output_frame_end() to return void. The frame size is already known.
Originally committed as revision 25975 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:04 +0000 (14:52 +0000)]
cosmetics: pretty-printing
Originally committed as revision 25974 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:52:00 +0000 (14:52 +0000)]
cosmetics: rename some iterator variables to match what they represent
Originally committed as revision 25973 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:56 +0000 (14:51 +0000)]
cosmetics: rename a variable for consistency
Originally committed as revision 25972 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:53 +0000 (14:51 +0000)]
cosmetics: rename exp_samples and global_exp to exp_shift.
Originally committed as revision 25971 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:50 +0000 (14:51 +0000)]
cosmetics: rename 2 functions
Originally committed as revision 25970 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:47 +0000 (14:51 +0000)]
cosmetics: use some size macros in ac3tab.c/h
Originally committed as revision 25969 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:43 +0000 (14:51 +0000)]
Use AC3_MAX_COEFS instead of 256 in a couple places in ac3.c
Originally committed as revision 25968 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:40 +0000 (14:51 +0000)]
define AC3_CRITICAL_BANDS and use it in the AC-3 encoder and decoder.
Originally committed as revision 25967 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:36 +0000 (14:51 +0000)]
Use sizeof(array value) instead of sizeof(int16_t).
Originally committed as revision 25966 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:33 +0000 (14:51 +0000)]
cosmetics: use lowercase letters for function names
Originally committed as revision 25965 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:30 +0000 (14:51 +0000)]
cosmetics: add new function documentation and clean up existing documentation
Originally committed as revision 25964 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:26 +0000 (14:51 +0000)]
cosmetics: add more space between functions
Originally committed as revision 25963 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:23 +0000 (14:51 +0000)]
cosmetics: rearrange some functions/typedefs/macros
Originally committed as revision 25962 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:20 +0000 (14:51 +0000)]
Simplify group size calculation in 2 places.
Originally committed as revision 25961 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:17 +0000 (14:51 +0000)]
cosmetics: make a switch/case more compact
Originally committed as revision 25960 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:12 +0000 (14:51 +0000)]
Clean up fft_init() and mdct_init()
Originally committed as revision 25959 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:09 +0000 (14:51 +0000)]
cosmetics: pretty-printing, alignment, etc...
Originally committed as revision 25958 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:05 +0000 (14:51 +0000)]
Remove unneeded #include
Originally committed as revision 25957 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:51:02 +0000 (14:51 +0000)]
Simplify fix15().
Turn it into 2 macros, and use av_clip_int16() and lrintf().
This matches the int16 to float sample conversion in audioconvert.c.
The regression test output is different due to lrintf() rounding.
Originally committed as revision 25956 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:50:58 +0000 (14:50 +0000)]
Fix the fixed-point MDCT and FFT tests so that they actually compile and work.
Also, use LFG from libavutil instead of random().
Originally committed as revision 25955 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:50:54 +0000 (14:50 +0000)]
Split out initialization of MDCT tables into a separate function.
Originally committed as revision 25954 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:50:49 +0000 (14:50 +0000)]
cosmetics: Document AC3EncodeContext fields.
Originally committed as revision 25953 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:50:45 +0000 (14:50 +0000)]
Remove unneeded debugging messages.
Originally committed as revision 25952 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:50:40 +0000 (14:50 +0000)]
cosmetics: Define AC3_WINDOW_SIZE and use it instead of AC3_BLOCK_SIZE*2.
Originally committed as revision 25951 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:50:34 +0000 (14:50 +0000)]
cosmetics: use better (and shared) macro names for some constant values
Originally committed as revision 25950 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:50:30 +0000 (14:50 +0000)]
Remove duplicate AC3EncodeContext fields, sr_shift and sr_code.
Originally committed as revision 25949 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:50:27 +0000 (14:50 +0000)]
cosmetics: rename some fields in AC3EncodeContext
Originally committed as revision 25948 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:50:23 +0000 (14:50 +0000)]
cosmetics: change all short to int16_t
Originally committed as revision 25947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:50:20 +0000 (14:50 +0000)]
Change some unsigned types to signed types in AC3EncodeContext
Originally committed as revision 25946 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 14 Dec 2010 14:50:15 +0000 (14:50 +0000)]
cosmetics: rearrange AC3EncodeContext fields
Originally committed as revision 25945 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Tue, 14 Dec 2010 08:34:57 +0000 (08:34 +0000)]
configure: Allow disabling symbol versioning via --disable-symver
Originally committed as revision 25944 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Mon, 13 Dec 2010 17:54:00 +0000 (17:54 +0000)]
Return the amount of input data actually used in the qdm2 decoder,
allows playback of files where multiple qdm2 packets have been merged.
Originally committed as revision 25943 to svn://svn.ffmpeg.org/ffmpeg/trunk
Nolan L [Sun, 12 Dec 2010 17:59:10 +0000 (17:59 +0000)]
Add gradfun filter, ported from MPlayer.
Patch by Nolan L nol888 <=> gmail >=< com.
See thread:
Subject: [FFmpeg-devel] [PATCH] Port gradfun to libavfilter (GCI)
Date: Mon, 29 Nov 2010 07:18:14 -0500
Originally committed as revision 25942 to svn://svn.ffmpeg.org/ffmpeg/trunk
James Zern [Sun, 12 Dec 2010 16:27:32 +0000 (16:27 +0000)]
Avoid rollover in settings conversion.
Patch by James Zern, jzern google
Originally committed as revision 25941 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 12 Dec 2010 16:19:40 +0000 (16:19 +0000)]
Reindent.
Originally committed as revision 25940 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 12 Dec 2010 16:18:50 +0000 (16:18 +0000)]
Fix encoding when the input audio format/rate/channels changes during
transcoding.
Fix issue #2292.
Patch sponsored by KIM Keep In Mind GmbH, srl.
Originally committed as revision 25939 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 12 Dec 2010 15:31:49 +0000 (15:31 +0000)]
Fix avpicture_alloc(), which was aligning the linesizes with 0 and thus
causing a wrong allocation.
Originally committed as revision 25938 to svn://svn.ffmpeg.org/ffmpeg/trunk