Justin Ruggles
27e3418844
Do not need to set coded_frame->key_frame = 1 because it is already set in
...
avcodec_alloc_frame().
Originally committed as revision 24600 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
7fe0c7c823
Move debug logging of compression options to a single function.
...
Originally committed as revision 24599 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
e08ec71480
Add 2 failed memory allocation checks
...
Originally committed as revision 24598 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
e35b689ebd
cosmetics: pretty-print flacenc.c
...
Originally committed as revision 24597 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
fc2db52e2f
Make avpicture_fill() directly call av_fill_image_linesizes() and
...
av_fill_image_pointers() rather than their wrappers ff_fill_linesize()
and ff_fill_pointer().
Improve performance.
Originally committed as revision 24587 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
e7bd48a6ae
Move fill_image_linesize() and fill_image_data_ptr() from
...
libavcodec/imgconvert.c and make them public in libavcore/imgutils.h,
with the names av_fill_image_linesizes() and av_fill_image_pointers().
Originally committed as revision 24583 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
740dfe7012
Fix compilation in x86_64. I broke it with r24580.
...
Originally committed as revision 24582 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
2c3dda6838
Translate libmpeg2 MMX IDCT to plain asm
...
Originally committed as revision 24580 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
James Zern
53cf47829a
Map rc_buffer_size to and c_initial_buffer_occupancy to their libvpx
...
counterparts.
Patch by James Zern, jzern at google
Originally committed as revision 24566 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
b6356d9726
10l: missed one reindent.
...
Originally committed as revision 24563 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
52fa20542b
Reindent after last commit.
...
Originally committed as revision 24562 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
d950497083
ff_prefix non static vp56 functions.
...
Originally committed as revision 24561 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
317167e7d9
nellymoserenc: Declare the supported sample format
...
Originally committed as revision 24560 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Pascal Massimino
a8ab0cccf7
b0rk3d FATE + black helicopters hissing -> rolling back to r24556 and sleeping
...
Originally committed as revision 24559 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Pascal Massimino
62d1f7864e
perform the clipping on luma_dc_qmul[1] and chroma_qmul[0] earlier
...
Originally committed as revision 24558 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Pascal Massimino
e7e81959d6
save some copies by moving some fields out of proba[2]
...
Originally committed as revision 24557 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Nick Brereton
df9844937f
DCA: fix multichannel -> 2 channel downmix.
...
Patch by Nick Brereton
Originally committed as revision 24555 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Nick Brereton
08634e7bda
Setup correct channel value when downmixing is required.
...
Patch by Nick Brereton
Originally committed as revision 24554 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
af0554e530
remove useless cast
...
Originally committed as revision 24553 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
6f2c05f307
Document how the ref_buf is used.
...
Originally committed as revision 24551 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
a20df85886
Fix doxy that refers to the wrong variable.
...
Originally committed as revision 24549 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alexander Kojevnikov
49d7ef282d
Show correct bitrate for VBR MP3 files.
...
Patch by Alexander Kojevnikov, alexander kojevnikov com
Originally committed as revision 24539 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefan Gehrer
de29597680
add Chinese AVS encoding via external library libxavs
...
Originally committed as revision 24533 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
126b638ea0
Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()
...
in favor of the newly added corresponding functions
av_parse_video_size() and av_parse_video_rate() defined in
libavcore/parseutils.h.
This change also adds a linking-time dependency of libavcodec and of
libavfilter on libavcore.
Originally committed as revision 24518 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
ab4d031889
Use pmaddubsw for the mbedge_filter (>=ssse3), 6-10 cycles faster.
...
Originally committed as revision 24514 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
e25dee602f
VP8: Much faster SSE2 MC
...
5-10% faster or more on Phenom, Athlon 64, and some others.
Helps some on pre-SSSE3 Intel chips as well, but not as much.
Originally committed as revision 24513 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
S.N. Hemanth Meenakshisundaram
9dd9d67bd0
Define static functions fill_image_linesize() and
...
fill_image_data_ptr(). ff_fill_linesize() and ff_fill_pointer() now wrap
these functions.
The new functions are more generic, and are going to be exported in a
future patch.
Patch by S.N. Hemanth Meenakshisundaram smeenaks # ucsd § edu.
Originally committed as revision 24512 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
48adb7e7a4
Enable no-loop memory/register saving for ssse3/sse4 also.
...
Originally committed as revision 24511 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
2a180c69ea
Save a register (or regsize of stackspace for x86-32) for the no-loop
...
mbedge loopfilter functions, by re-using space that holds a variable
that we no longer need.
Originally committed as revision 24510 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
bcd4aa6498
Use nested ifs instead of &&, which appears to not work with %ifidn (i.e. this
...
construct was always enabled, even for <ssse3 versions).
Originally committed as revision 24509 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Axel Holzinger
0b2c75cb68
Rename pow variable to pwr.
...
Patch by Axel Holzinger <aholzinger gmx de>.
Originally committed as revision 24508 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
2208053bd3
Split pextrw macro-spaghetti into several opt-specific macros, this will make
...
future new optimizations (imagine a sse5) much easier. Also fix a bug where
we used the direction (%2) rather than optimization (%1) to enable this, which
means it wasn't ever actually used...
Originally committed as revision 24507 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
fca05ea8a0
VP8: add missing free
...
Fixes a tiny memory leak.
Originally committed as revision 24504 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
28e241de5d
Fix r24445: Instead of needlessly initialising a variable, silence the warning.
...
Originally committed as revision 24498 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
b9542223a3
Only 4-bit ADPCM IMA WAV files are supported.
...
Originally committed as revision 24493 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
6de5b7c6b8
Fix obvious bug in assignment. Somehow, the test vectors don't test this...
...
Originally committed as revision 24489 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
ba2c508d0c
add SubRip muxer and demuxer
...
Originally committed as revision 24488 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
e3f7bf774c
Fix SPLATB_REG mess. Used to be a if/elseif/elseif/elseif spaghetti, so this
...
splits it into small optimization-specific macros which are selected for each
DSP function. The advantage of this approach is that the sse4 functions now
use the ssse3 codepath also without needing an explicit sse4 codepath.
Originally committed as revision 24487 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
63e1278d88
aacenc: TLS: Save maximum values for each swb in a table.
...
This gives an almost 20% speedup.
Originally committed as revision 24484 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
031d5cea04
10l: Remove some commented out code that slipped in.
...
Originally committed as revision 24483 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
fe461767e6
aacenc: TLS: Try to preserve some energy in each non-zero band.
...
Reduce scalefactors in non-zero bands that underflow by twice as much as those
in bands that just fail to hit psy targets.
Originally committed as revision 24482 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
edac49daf5
Use "const" qualifier for pointers that point to input data of
...
audio encoders.
This is purely for clarity/documentation purposes.
Originally committed as revision 24481 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
c226fc5bfb
aacenc: Prevent premature termination of the two loop search.
...
Originally committed as revision 24476 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
81824fe059
aacdec: Only load and write each predictor variable once.
...
This is slightly faster and opens the door for further optimization.
Originally committed as revision 24475 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
70c99adb48
aacdec: 4% faster main profile decoding.
...
Originally committed as revision 24474 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
51ffd3a62f
aacenc: Favor log2f() and sqrtf() over log2() and sqrt().
...
Originally committed as revision 24473 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
04d72abf17
aacenc: Factorize some scalefactor utilities.
...
Originally committed as revision 24472 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Eli Friedman
3611e7a309
Inline asm for VP56 arith coder
...
This is a lot more reliable to get cmov rather than trying to trick gcc into
generating it, useful since it's 2% faster overall.
Patch by Eli Friedman <eli.friedman at gmail>
Originally committed as revision 24471 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
ca18a478e3
VP8: Inline traversing vp8_small_mvtree
...
Much faster read_mv_component, slightly faster overall
Originally committed as revision 24470 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
7697cdcf95
VP8: Use vp56_rac_get_prob_branchy when the bit is only used by an if()
...
Originally committed as revision 24469 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago