Michael Niedermayer
3a1fa44759
multithreaded spatial complexity calculation for i frames
...
Originally committed as revision 2778 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
b6335c9f5b
ff_copy_bits() optimization
...
Originally committed as revision 2777 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
a734250db6
activate the memcpy special case for the byte aligned case in ff_copy_bits(), wasnt working before because of a incorrectly used pbBufPtr()
...
Originally committed as revision 2775 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
cfbd16df75
replace a few pbBufPtr() by put_bits_count(), one of them was actually wrong
...
Originally committed as revision 2774 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
80ee9fc0e3
simplify MV availability check / dont use below last row MV which is always zero
...
Originally committed as revision 2773 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
9c3d33d67f
multithreaded/SMP motion estimation
...
multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263
all pthread specific code is in pthread.c
to try it, run configure --enable-pthreads and ffmpeg ... -threads <num>
the internal thread API is a simple AVCodecContext.execute() callback which executes a given function pointer with different arguments and returns after finishing all, that way no mutexes or other thread-mess is needed outside pthread.c
Originally committed as revision 2772 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
7984082a08
ppc chroma mess workaround (real bug is that the motion compensation code assumes that 2*uvlinesize == linesize and fixing this would mean a slowdown)
...
Originally committed as revision 2771 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Roman Shaposhnik
826ca10408
* gotta setup coded_frame for encoding. avcodec.h says that for decoding
...
lavc is supposed to set it up as well and I don't think I see any
reason not to.
Originally committed as revision 2769 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
8a36717afc
rv10/obmc fixes
...
Originally committed as revision 2768 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
99683a3077
2 byte shorter userdata for mpeg4
...
in the past it was startcode,string,00,7F,startcode
now it is startcode,string,stratcode
both are mpeg4 compliant, as according to the standard the userdata lasts until the next 00 00 01 (startcode prefix) but some very primitive decoders which simply skip until the first 00 byte and then expect the next valid startcode might fail with the old variant, just a theory though (didnt test if quicktime can decode it now)
Originally committed as revision 2767 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
6cf9d5ebd3
M$ ADPCM encoding & some simplifications
...
Originally committed as revision 2765 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
fc374fe299
segfault fix
...
Originally committed as revision 2764 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
eb5b0422b5
use clip() from common.h
...
ignore sample_rate==8000 limit if strict_std_compliance < 0
Originally committed as revision 2762 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Roman Shaposhnik
e5966052ee
* Initial implementation of the G.726 ADPCM audio codec.
...
Originally committed as revision 2759 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Tinic Uro
747a0554ea
- made --extra-cflags option work on darwin
...
- allow INTER4V macroblocks for FLV1 codec
- fixed issue in flv file format saving 8 mp3 frames per packet instead of 1
- fixed crasher in flv file format involving mp3 buffer handling
- added FLV1 codec support for swf file format (FlashPlayer6 or above
required) and made it default
- fixed broken mp3 support in swf file format
patch by (Tinic Uro <turo at macromedia dot com>)
cleanup by me
Originally committed as revision 2756 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
8cb5d4c060
h263 4mv encoding fix
...
Originally committed as revision 2755 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
04a59bfb8d
segfault fix
...
Originally committed as revision 2754 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Alex Beregszaszi
b46243ed1c
get_bit_count -> put_bits_count
...
Originally committed as revision 2753 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Alex Beregszaszi
fe455f3328
get_bit_count -> put_bits_count
...
Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
de7ff1f774
analyze the gradient of the error surface to avoid a few checks in the quantizing noise shaper
...
Originally committed as revision 2751 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
364a179749
quantizer noise shaping optimization
...
Originally committed as revision 2750 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Mike Melanson
070ed1bc43
initial commit for Quicktime Animation (RLE) video decoder; bit depths
...
32, 24, and 16 are working; 8bpp is partially working; 4, 2, and 1 bpp
are not supported yet
Originally committed as revision 2748 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
a412a03bee
remove incorect motion estimation table
...
Originally committed as revision 2747 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
8a1f657b28
cleanup ugly code (also appearently works around a bug gcc 3.4 which fails compiling it) by (mru at kth dot se (Måns Rullgård))
...
Originally committed as revision 2746 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
2caa92d935
fixes by Gildas Bazin <gbazin at altern dot org>
...
Originally committed as revision 2745 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Mike Melanson
7d8379f2b7
added support for EA ADPCM and SMJPEG IMA ADPCM
...
Originally committed as revision 2744 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
deb7a6cdaf
simplify
...
Originally committed as revision 2743 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
77ea0d4bdd
quantizer noise shaping
...
Originally committed as revision 2742 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Falk Hüffner
95ba2c8f43
tiny warning fix
...
Originally committed as revision 2741 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Alex Beregszaszi
0a87c409cc
changed includes
...
Originally committed as revision 2739 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Alex Beregszaszi
fc929feebd
not needed anymore
...
Originally committed as revision 2738 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
a62d75da98
segfault fix
...
Originally committed as revision 2737 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Mike Melanson
fb85b027f6
vsad16_mmx2 only applies if encoders are turned on
...
Originally committed as revision 2736 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Mike Melanson
7bf3261289
these functions (get_bit_count and align_put_bits) are referenced even
...
when CONFIG_ENCODERS is not defined
Originally committed as revision 2735 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Mike Melanson
18a508c527
handle invalid buffer sizes
...
Originally committed as revision 2734 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Mike Melanson
155aa4174d
watch those hard tabs
...
Originally committed as revision 2733 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Mike Melanson
df72754d03
handle 0-length buffers
...
Originally committed as revision 2732 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Mike Melanson
c89c1d2542
handle 0-length buffers
...
Originally committed as revision 2731 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
2c8b796fa9
b frames + cbr fix
...
Originally committed as revision 2730 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
8fd19ab286
SSE2 fdct by (Balatoni Denes <pnis at coder dot hu>)
...
Originally committed as revision 2729 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
5a60360712
4mv + b frame encoding segfault fix
...
Originally committed as revision 2728 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
6ff6cff203
first coded vs. first displayed pts (segfault & pts fix if b frames are used)
...
Originally committed as revision 2727 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
ac806113fe
10l
...
Originally committed as revision 2726 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
9ff5f17543
int64max fix by (Michel Bardiaux <mbardiaux at peaktime dot be>)
...
Originally committed as revision 2725 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
11a8a71d4e
mpeg4 pts fix
...
Originally committed as revision 2724 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Roberto Togni
e40f5d3c6f
Use reget buffer instead of copying from prev frame
...
Added buffer hints, replaced printf with av_log
Originally committed as revision 2723 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Alex Beregszaszi
e0c53ac889
freebsd fix for mpeg12.c (moving INT64_MAX to common.h)
...
Originally committed as revision 2722 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
65a24d0b39
optimization & bugfix extracted from the 4k line diff between ffmpeg 0.4.7 and http://www.alicestreet.com/ffh263.html
...
the other parts of the diff where
1. spelling fixes (rejected as only a small part of it could be applied automatically)
2. cosmetics (reindention, function reordering, var renaming, ...) with bugs (rejected)
3. rtp related stuff (rejetced as it breaks several codecs)
4. some changes to the intra/inter decission & scene change detection (quality tests needed first)
Originally committed as revision 2721 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
7a62e94a26
optimization
...
Originally committed as revision 2720 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
83f8c0c3c8
segfault fix
...
Originally committed as revision 2719 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago