Michael Niedermayer
04b502fa36
exchange if() and for() in the MT_FIELD case
...
18 cpu cycles faster for matrixbench
Originally committed as revision 9863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 21:17:26 +00:00
Michael Niedermayer
f4fbcd33d9
exchange for() and if() order in the MT_FRAME case
...
safes 24 cpu cycles
Originally committed as revision 9862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 21:05:58 +00:00
Marc Hoffman
dc1ecb6a4a
making reference models have the same API
...
Originally committed as revision 9861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 20:44:08 +00:00
Michael Niedermayer
356ab1dace
change
...
for(){
if(){
switch(){
to
switch(){
for(){
if(){
this halfs the number of times the switch is executed in bidir blocks, in
other blocks the number is the same
25 cpu cycles less with matrixbench on duron
Originally committed as revision 9860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 20:37:41 +00:00
Måns Rullgård
93b3c0834d
replace some "disabled" calls with "! enabled"
...
Originally committed as revision 9859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 20:23:29 +00:00
Michael Niedermayer
2952d13ad5
merge another 2 if() to save a few cpu cycles
...
Originally committed as revision 9858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 20:04:12 +00:00
Michael Niedermayer
09d1bee89e
reorder if() so that the condition can be simplified
...
saves another 4 cpu cycles
Originally committed as revision 9857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:37:28 +00:00
Michael Niedermayer
0ac6b5a301
merge/simplify 2 if()
...
~4 cpu cylces faster for the matrixbench video
Originally committed as revision 9856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:26:24 +00:00
Michael Niedermayer
fecc146b28
merge 2 if()
...
this safes 1-2 cpu cycles
Originally committed as revision 9855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:17:36 +00:00
Diego Biurrun
af88ae54f4
alphabetical order
...
Originally committed as revision 9854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:10:54 +00:00
Diego Biurrun
e555e7b29e
Remove redundant variable declarations.
...
Originally committed as revision 9853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:06:19 +00:00
Baptiste Coudurier
81752d0c2b
use buf_ptr to correctly decode second field
...
Originally committed as revision 9852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 13:18:23 +00:00
Michael Niedermayer
d8d0d0b282
move gray so as to not introduce further misordering
...
Originally committed as revision 9851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 13:02:31 +00:00
Michael Niedermayer
9d92cce1ff
remove unneeded gray="no"
...
Originally committed as revision 9850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 13:00:01 +00:00
Marc Hoffman
8dd16fe049
adding myself to the CREDITS
...
Originally committed as revision 9849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 02:16:08 +00:00
Justin Ruggles
dfd57c366f
align array used in mdct. fixes segfault.
...
Originally committed as revision 9848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 01:13:58 +00:00
Michael Niedermayer
873525491e
use ENABLE_GRAY
...
Originally committed as revision 9847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 01:01:03 +00:00
Michael Niedermayer
cde9e78001
make grayscale only decoding checks in inner loops compiletime killable
...
Originally committed as revision 9846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 00:39:39 +00:00
Michael Niedermayer
01e795aba3
move some code which was executed for every skipped MB so it is only executed
...
for the first skipped mb in a run
Originally committed as revision 9845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 21:39:09 +00:00
Michael Niedermayer
4152c5ce14
get rid of a useless variable
...
Originally committed as revision 9844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 21:00:17 +00:00
Michael Niedermayer
7ceab4af35
avoid 2 additions (1 cpu cycle) per MB
...
Originally committed as revision 9843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 20:52:49 +00:00
Michael Niedermayer
5bfbf0a54f
chroma_qscale seems not used anywhere for mpeg1/2 so do not waste cpu time setting it
...
Originally committed as revision 9842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 20:44:48 +00:00
Panagiotis Issaris
b9ca204284
Fix typo
...
Originally committed as revision 9841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 16:22:57 +00:00
Benoit Fouet
d2ace376b0
fill title, author, copyright and comment fields by parsing udta atom
...
Originally committed as revision 9840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 15:20:36 +00:00
Michael Niedermayer
10a7571b09
deal with the case where one of pts,dts has wrapped but the other has not
...
Originally committed as revision 9839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 15:06:27 +00:00
Daniel Kristjansson
29d2dc59f9
fix mem leak
...
patch by Daniel Kristjansson: [danielk cuymedia net]
Original thread: [FFmpeg-devel] [PATCH] alloc_picture needs to free buffer when
it's not going to use it
Date: 07/20/2007 07:27 PM
Originally committed as revision 9838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 14:51:21 +00:00
Diego Biurrun
c7bf7a8267
Identifiers starting with underscores are reserved.
...
Originally committed as revision 9837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 06:55:48 +00:00
Andreas Öman
d4a688d029
fix cabac decoding with some Blue-Ray sources
...
Patch by Andreas Öman %andreas A olebyn P nu%
Original thread:
Date: Jul 7, 2007 1:23 AM
Subject: [FFmpeg-devel] Corrupted blocks and seeking issues in H264 disc sources
Originally committed as revision 9836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 21:19:36 +00:00
Michael Niedermayer
90f66438a5
kill antiwrapping code, i do not think this did anything good
...
fixes decoding of rete4.ps
closes issue44
Originally committed as revision 9835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 18:57:47 +00:00
Roman Shaposhnik
f49f6e8889
replacing the use of deprecated unaligned*() routines by LD64 and AV_RB32
...
Originally committed as revision 9834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 18:05:46 +00:00
Panagiotis Issaris
6654296c30
Handle malloc failure
...
Originally committed as revision 9833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 13:58:17 +00:00
Baptiste Coudurier
bffcf2ebbf
treat NONE as U8 to fix qtNONE/000_0032.MOV, this should not any have side effect since if bps is 16 in stsd, codec will be changed to s16be, just yell if this breaks any sample
...
Originally committed as revision 9832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 10:00:42 +00:00
Michael Niedermayer
a11c2a2c66
support silly PCM variant used by zork nemesis
...
fixes audio decoding of T000A11C.AVI
Originally committed as revision 9831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 02:05:16 +00:00
Michael Niedermayer
2711cb28f4
prevent assert failure with negative quant_offset
...
Originally committed as revision 9830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 21:34:31 +00:00
Michael Niedermayer
3dd2a1c53f
warn user if max=bitrate && max > min
...
Originally committed as revision 9829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 19:21:56 +00:00
Michael Niedermayer
611e7bc41b
support raw 4bpp avi
...
fixes dance1.avi
closes issue40
Originally committed as revision 9828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 13:32:53 +00:00
Michael Niedermayer
3bdc2fcea6
make the reference code use double instead of float where it is easy
...
Originally committed as revision 9827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 10:11:12 +00:00
Michael Niedermayer
86c624af1b
print max and mse
...
Originally committed as revision 9826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 09:58:36 +00:00
Christophe Gisquet
7919d10c61
Make bicubic interpolation standard compliant
...
Patch by Christophe GISQUET
(echo -e "christophe\056gisquet\100 (antonym to malloc()) \056fr")
Thread [PATCH] Binary identicity for ffvc1 (was Re: [PATCH] VC-1 MMX DSP functions)
Originally committed as revision 9825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 04:04:21 +00:00
Justin Ruggles
8b60bbbf5b
simplify stereo rematrixing
...
Originally committed as revision 9824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 00:58:32 +00:00
Justin Ruggles
b6acc57f88
change 2 fields from context to local variables
...
Originally committed as revision 9823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 00:35:30 +00:00
Justin Ruggles
8fbb368d2c
BLOCK_SIZE is not used properly, just use numbers instead to avoid confusion
...
Originally committed as revision 9822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 20:50:25 +00:00
Justin Ruggles
7bfd22f25a
remove broken downmixing. will add new implementation later.
...
Originally committed as revision 9821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 19:33:19 +00:00
Panagiotis Issaris
edecaff8c2
Take care of some renames (Doxygen and function name) after the previous pure rename patch.
...
Originally committed as revision 9820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 18:26:43 +00:00
Panagiotis Issaris
bd38efffe8
Rename h264dsp.c to h264dspenc.c
...
Originally committed as revision 9819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 18:23:35 +00:00
Ronald S. Bultje
36cf20f5a6
Merge get_str() and get_str8() functions.
...
patch by Ronald S. Bultje, rsbultje gmail com
Originally committed as revision 9818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 18:05:11 +00:00
Ronald S. Bultje
28263f5f15
Fix get_str/get_str8() to also work if the target string is not long enough to
...
fit all data from the container string, and allow NULL as a string also to
simply skip the string altogether.
patch by Ronald S. Bultje, rsbultje gmail com
Originally committed as revision 9817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 18:02:19 +00:00
Diego Biurrun
bd7c6fd50c
typo
...
Originally committed as revision 23889 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-07-28 14:17:25 +00:00
Diego Biurrun
1903245071
Ahem, fix typos overlooked in last commit.
...
Originally committed as revision 9816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 12:50:28 +00:00
Diego Biurrun
df3a80b50a
cosmetics: misc typo fixes
...
Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 12:46:26 +00:00