Ivo van Poorten
896873b564
avoid possibly uninitialized return value
...
(found by clang static analyzer)
Originally committed as revision 18669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-23 18:44:03 +00:00
Ivo van Poorten
d1928ac129
add some missing formats: lmlm4, pva, pcx and sun rasterfile.
...
Originally committed as revision 12497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 23:50:55 +00:00
Ivo van Poorten
77c1d04dfe
LMLM4 demuxer
...
Originally committed as revision 11457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:53:57 +00:00
Ivo van Poorten
670c78479d
Linux Media Labs MPEG-4 (LMLM4) demuxer
...
Originally committed as revision 11456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:52:51 +00:00
Ivo van Poorten
e03caf2efd
Implement read_timestamp and enable seeking in PVA files.
...
Originally committed as revision 11455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:42:52 +00:00
Ivo van Poorten
ffc2934112
cosmetics
...
Originally committed as revision 11454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:40:04 +00:00
Ivo van Poorten
e661f76051
remove unnecessary check
...
Originally committed as revision 11453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:39:47 +00:00
Ivo van Poorten
9ae092036b
use ff_parse_pes_pts for parsing an MPEG-PES timestamp
...
Originally committed as revision 11452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:38:12 +00:00
Ivo van Poorten
66e9e30239
Move parsing of MPEG-PES timestamp to mpeg.h (as an inline function) so it
...
can easily be reused by other demuxers for formats that encapsulate MPEG-PES.
Originally committed as revision 11451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:32:57 +00:00
Ivo van Poorten
5e40d0e898
cosmetics, superfluous space
...
Originally committed as revision 11430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:33:27 +00:00
Ivo van Poorten
71e1080e28
proper check for valid pva_pts
...
Originally committed as revision 11429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:28:42 +00:00
Ivo van Poorten
dba13944f0
do not return an error, but warn and recover when encountering an audio packet
...
that should countain a signaled mpeg-pes packet.
Originally committed as revision 11428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:27:49 +00:00
Ivo van Poorten
7705cf7e15
validate streamid before use
...
Originally committed as revision 11427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:18:44 +00:00
Ivo van Poorten
fe332ad66e
change audio codec id to mp2
...
Originally committed as revision 11426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:15:19 +00:00
Ivo van Poorten
0e8a207ff8
proper type and initialization of pva_pts
...
Originally committed as revision 11425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:13:27 +00:00
Ivo van Poorten
6a5ef2934c
remove unnecessary shift
...
Originally committed as revision 11424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:10:00 +00:00
Ivo van Poorten
3d94e3ba93
use one shift less in get_pts()
...
Originally committed as revision 11383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-03 10:02:46 +00:00
Ivo van Poorten
920d360973
TechnoTrend PVA Demuxer
...
Originally committed as revision 11372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 10:46:37 +00:00
Ivo van Poorten
3feb44a9be
TechnoTrend PVA Demuxer
...
Originally committed as revision 11371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 10:45:28 +00:00
Ivo van Poorten
18be65dd79
add myself as maintainer for pcx.c and sunrast.c
...
Originally committed as revision 11346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 13:46:52 +00:00
Ivo van Poorten
540945ebfb
add PCX and Sun Rasterfile decoders
...
Originally committed as revision 11345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 13:42:49 +00:00
Ivo van Poorten
29e35482e7
remove forgotten debug statement
...
Originally committed as revision 11344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 13:12:47 +00:00
Ivo van Poorten
3c808d8cc4
Sort properly
...
Originally committed as revision 11343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 13:09:57 +00:00
Ivo van Poorten
d43df959d7
Sun Rasterfile decoder
...
Originally committed as revision 11342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 13:07:43 +00:00
Ivo van Poorten
91be76a662
remove useless cast
...
Originally committed as revision 11328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 11:49:28 +00:00
Ivo van Poorten
b4abe1d198
PC Paintbrush PCX image decoder
...
Originally committed as revision 11321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-26 22:17:46 +00:00
Ivo van Poorten
d6bb52acdc
remove useless assignment
...
Originally committed as revision 11319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-26 16:24:49 +00:00
Ivo van Poorten
0fd0cae082
remove useless assignment
...
Originally committed as revision 11318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-26 16:24:04 +00:00
Ivo van Poorten
9a8d731832
remove useless casts
...
Originally committed as revision 11317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-26 16:23:25 +00:00
Ivo van Poorten
91fd7398f4
typo ;)
...
Originally committed as revision 11287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 00:22:40 +00:00
Ivo van Poorten
82e605410a
-sws_flags command line option to set swscaler flags
...
Originally committed as revision 9110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 18:38:08 +00:00
Ivo van Poorten
3592648940
-sws_flags command line option to set swscaler flags
...
Originally committed as revision 9109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 18:35:45 +00:00
Ivo van Poorten
d61845e8ae
ffmpeg -sws_flags command line option to set swscaler flags
...
Originally committed as revision 23379 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-23 18:35:24 +00:00
Ivo van Poorten
9d9de37d81
cosmetics; one test per line for all isXXX(x) macros
...
Originally committed as revision 23296 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-11 11:24:06 +00:00
Ivo van Poorten
fa88429489
remove the need of one extra shift in rgb16ToUV
...
Originally committed as revision 23281 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-09 21:34:05 +00:00
Ivo van Poorten
f96829d2d0
Fix rgb15ToUV. Correct order of components and use one shift less.
...
Originally committed as revision 23279 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-09 17:29:20 +00:00
Ivo van Poorten
8d2fb33320
autodetect ptx files
...
Originally committed as revision 8938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 11:57:49 +00:00
Ivo van Poorten
28ba53ff3c
add myself for txd and s3tc files
...
Originally committed as revision 8937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 11:03:00 +00:00
Ivo van Poorten
12b6d7c007
add Renderware TXD format
...
Originally committed as revision 8936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 11:01:14 +00:00
Ivo van Poorten
d58bbf8154
add V.Flash PTX image format
...
Originally committed as revision 8935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 11:00:33 +00:00
Ivo van Poorten
ad39f1a7c7
Renderware TXD decoder and demuxer
...
Originally committed as revision 8931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 20:10:35 +00:00
Ivo van Poorten
929baad070
add doxygen comments
...
Originally committed as revision 8930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 20:07:35 +00:00
Ivo van Poorten
cb63173785
Renderware TXD demuxer
...
Originally committed as revision 8927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 13:30:08 +00:00
Ivo van Poorten
1ca779e7eb
Renderware TXD decoder
...
Originally committed as revision 8926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 13:29:02 +00:00
Ivo van Poorten
c67b89c534
generic S3TC DXT1 and DXT3 decoding functions
...
Originally committed as revision 8925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 13:15:24 +00:00
Ivo van Poorten
9e010b41e6
add AV_[RW][BL]64 support
...
Originally committed as revision 8924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 13:12:33 +00:00
Ivo van Poorten
b46d68c634
add V.Flash PTX decoder
...
Originally committed as revision 8856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-29 09:37:07 +00:00
Ivo van Poorten
3052ddb2a8
preserve alpha channel when converting rgb32 to bgr32 in plain C
...
Originally committed as revision 23022 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-18 16:40:58 +00:00
Ivo van Poorten
19b202f9d1
fix red_15mask and green_15mask. the previous values were wrong and caused
...
some SIMD functions to output wrong data.
Originally committed as revision 23021 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-18 16:40:07 +00:00
Ivo van Poorten
0c4c70e5ef
test widths all down to one. this tests whether the scalers correctly switch
...
to plain C when width < unit size of assembly code.
Originally committed as revision 23018 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-18 14:22:42 +00:00
Ivo van Poorten
35a9994977
skip MMX code in rgb24tobgr24 if the size of the input is smaller than the
...
size of the units the MMX code processes
Originally committed as revision 23015 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-18 09:27:59 +00:00
Ivo van Poorten
3983057065
skip MMX code in rgb32to16 if the size of the input is smaller than the
...
size of the units the MMX code processes
Originally committed as revision 23014 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-18 09:26:22 +00:00
Ivo van Poorten
b2117ceed0
skip MMX code in rgb32to15 if the size of the input is smaller than the
...
size of the units the MMX code processes
Originally committed as revision 23013 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-18 09:24:49 +00:00
Ivo van Poorten
935f50c82c
slightly faster rgb32tobgr32; avoid one add and one cmp
...
Originally committed as revision 23012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-17 20:38:17 +00:00
Ivo van Poorten
b38d487466
New implementation of rgb32tobgr32
...
The previous implementation segfaulted with MMX enabled when fed an image
smaller than the size of the units the MMX code processed. The new code:
- is faster for MMX, MMX2 and plain C
- processes small images correctly
- is LGPL
Originally committed as revision 23009 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-16 21:41:03 +00:00
Ivo van Poorten
3a74415d59
cosmetics, expand all tabs to four spaces.
...
Originally committed as revision 22983 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-12 19:31:35 +00:00
Ivo van Poorten
2a80b21d38
Replace huge switch statement by a lookup table.
...
Add newline to final report.
Originally committed as revision 22982 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-12 19:25:36 +00:00
Ivo van Poorten
ea70817379
cosmetics after last commit; remove superfluous braces
...
Originally committed as revision 22979 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-11 22:17:58 +00:00
Ivo van Poorten
df170b81d9
Remove code duplication in sws_rgb2rgb_init.
...
The lists of assignments of all rgbxtoy variants are removed from
sws_rgb2rgb_init and replaced by a single list inside the template file.
This way, multiple lists are generated by the preprocessor and each list
gets its own initialization function. Those are called from the main
sws_rgb2rgb_init function, if applicable.
Originally committed as revision 22978 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-11 21:00:25 +00:00
Ivo van Poorten
6db140ddb4
cosmetics after last commit
...
Originally committed as revision 8705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 09:16:35 +00:00
Ivo van Poorten
201df5a19f
Add support for grayscale images with arbitrary maxvals.
...
The image data is rescaled to the nearest pix_fmt it will fit in (gray8 or
gray16). Conversion is done inside the codec in order to avoid the need
for 14 (or 65534) new pix_fmt's.
Originally committed as revision 8704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 09:15:54 +00:00
Ivo van Poorten
e5b5149603
Fix segmentation fault for gray16le to gray conversion.
...
Originally committed as revision 8648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 19:24:27 +00:00
Ivo van Poorten
fb9cc9e7aa
compile md5 and include in libavutil.a
...
Originally committed as revision 5584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 19:01:52 +00:00
Ivo van Poorten
93d6aeb0a4
add missing declaration for av_md5_sum
...
Originally committed as revision 5583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 19:01:09 +00:00
Ivo van Poorten
f28660eb3f
cast pointers to make compiler happy
...
remove test define
Originally committed as revision 5582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 19:00:15 +00:00