Ramiro Polla
d9d14dc607
Use int instead of long to pass width parameters in non-public functions.
...
long was being incorrectly used as an x86-sized register, both for 32 and 64
bits, but this is not the case in win64.
Originally committed as revision 31153 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-05-11 00:36:34 +00:00
Michael Niedermayer
22cb6fb60f
Adding missing () to mathops.h.
...
Originally committed as revision 23083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 00:22:50 +00:00
Reimar Döffinger
1c71b5c89a
Replace more "m" constraints with MANGLE to fix compilation issues
...
with x86_32 gcc 4.4.4 and -fPIC.
Originally committed as revision 23082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-10 21:16:08 +00:00
Sebastian Vater
dce2f7d36b
Optimize decodeplane32().
...
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-10 17:18:09 +00:00
Sebastian Vater
59cca5040e
Ensure that width and height are > 0. avcodec_open() itself only checks that
...
they are >= 0.
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-10 17:00:56 +00:00
Måns Rullgård
666d7d18e1
FATE: print friendly error for individual tests when SAMPLES unset
...
Originally committed as revision 23079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-10 09:32:59 +00:00
Thomas Devanneaux
52486603b5
Check NAL unit size to avoid reading past the buffer.
...
This fixes issue1907
Patch by Thomas Devanneaux gmail(thomdev)
Originally committed as revision 23078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-10 07:08:57 +00:00
Vitor Sessak
8ad802e610
Alloc 16 extra bytes in libavfilter frames. Needed for MMX-optimized swscale.
...
Fix issue 1924.
Originally committed as revision 23077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-10 00:28:18 +00:00
Francesco Lavra
f10d3d343e
Add FourCC MJPG for CODEC_ID_JPEGLS.
...
Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 23076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 23:19:19 +00:00
Stefano Sabatini
658e7576fc
Reorder nut specific codec tags and add a comment for marking them as
...
such.
Also put the [3][0][0][0] codec tag, mapped to rgb565le, in a special
section. It needs to be specified *after* the nut RGB[16] codec tag,
otherwise it will be used by default when encoding normal non-flipped
rgb565le, and will be decoded like a flipped format (see
rawdec.c:raw_init_decoder()).
Originally committed as revision 23075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 23:04:06 +00:00
Stefano Sabatini
43451ec247
Add missing nut-specific codec tags for rawvideo pixel formats.
...
Add codec tags for the formats:
[15]BGR Packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), big-endian [NOT in AVI]
[15]RGB Packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), big-endian [NOT in AVI]
[16]BGR Packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), big-endian [NOT in AVI]
[16]RGB Packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), big-endian [NOT in AVI]
RGBA Packed RGBA 8:8:8:8, 32bpp, RGBA [NOT in AVI]
BGRA Packed RGBA 8:8:8:8, 32bpp, BGRA [NOT in AVI]
ABGR Packed RGBA 8:8:8:8, 32bpp, ABGR [NOT in AVI]
ARGB Packed RGBA 8:8:8:8, 32bpp, ARGB [NOT in AVI]
RGB[24] Packed RGB 8:8:8, 24bpp RGB [NOT in AVI]
BGR[24] Packed RGB 8:8:8, 24bpp BGR [NOT in AVI]
which are listed in the nut4cc.txt spec.
Originally committed as revision 23074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 23:04:03 +00:00
Stefano Sabatini
934edecdb8
Make the codec tags for the yuvjXXX pixel formats the same as the
...
corresponding ones for the yuvXXX pixel formats.
Originally committed as revision 23073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 23:04:01 +00:00
Stefano Sabatini
b43f432c8c
Add support to the Y411 codec tag, corresponding to the rawvideo pixel
...
format uyyvyy411.
The codec tag is referenced in fourcc.org.
Originally committed as revision 23072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 22:56:04 +00:00
Stefano Sabatini
8e89cd1fee
Make the nut demuxer issue a more meaningful error message if it
...
cannot recognize the provided codec tag.
Originally committed as revision 23071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 22:56:02 +00:00
Måns Rullgård
cc6849ae50
bswap: 10L add missing parens around macro args
...
Originally committed as revision 23070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 20:32:35 +00:00
Sebastian Vater
0613ece542
Replace usage of s->streams[0]->* with st->*, which is shorter.
...
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 20:10:48 +00:00
Sebastian Vater
9d45a32ba8
Remove "bps" parameter to decodeplane8/32(), it's unused.
...
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 20:08:13 +00:00
Stefano Sabatini
fc25c04960
Add entry for AVFilterPicRef interlaced and top_field_first fields
...
addition.
Originally committed as revision 23067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 20:07:29 +00:00
Stefano Sabatini
b6bc205155
Bump lavfi minor after the addition of the fields interlaced and
...
top_field_first in AVFilterPicRef, done in r23044.
Originally committed as revision 23066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 20:02:40 +00:00
Martin Storsjö
6ad533b7cb
qt-faststart: Avoid leaking memory if encountering a file with double ftyp atoms
...
Originally committed as revision 23065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 17:46:42 +00:00
Måns Rullgård
17be16a336
FATE: update idroq-video-encode command
...
Originally committed as revision 23064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 17:05:35 +00:00
Måns Rullgård
79a9672d45
IFF: decode last 8 pixels per line
...
The decodeplane8() function processes one byte of input less than
it should. Also, the for loop has an unusual style with side-effects
in the controlling expression; replaced with a more intuitive while
loop.
10l to Basty.
Originally committed as revision 23063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 16:24:20 +00:00
Måns Rullgård
e24db3e391
Fix build with swscale disabled
...
Originally committed as revision 23062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 12:04:48 +00:00
Sebastian Vater
0a9cb385ad
Optimize decodeplane8(), patch by Sebastian Vater <cdgs basty googlemail com>.
...
Originally committed as revision 23061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-08 21:48:44 +00:00
Stefano Sabatini
3f073fa22c
Fix auto-scaling.
...
Use the numeric value assigned to sws_flags for the sws_flags set in
the graph, rather than the string "bilinear", which is not even
parsable by the scale filter.
Originally committed as revision 23060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-08 21:39:57 +00:00
Michael Niedermayer
3fe1ec39c6
Add means to adjust the log level per context.
...
Originally committed as revision 23059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-08 20:41:20 +00:00
Reimar Döffinger
c12caa32b2
Remove hardcoded-tables hack for IA-64: with latest binutils that now actually
...
causes linking errors instead of avoiding them.
Originally committed as revision 23058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-08 16:32:05 +00:00
Reimar Döffinger
7f20cb2df0
Another try for fixing/improving decode_video documentation.
...
Originally committed as revision 23057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-08 16:24:33 +00:00
Stefano Sabatini
d760a316e9
Make config_props() show conversion information before to create the
...
swscale context.
This makes eventual warnings issued in case of swscale context
creation failure to be shown after the conversion information rather
than before, which is slightly less confusing.
Originally committed as revision 23056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 22:12:13 +00:00
Stefano Sabatini
38efdb2c6b
Log input size, input format and swscale flags used for conversion in
...
config_props().
Useful for debugging.
Originally committed as revision 23055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 22:12:10 +00:00
Ronaldo Moura
447a5b1996
blackfin: fix yuv422 to yuv420 conversion
...
The old code is correct only when stride = 2*width.
Patch by Ronaldo Moura <ronaldo d moura monity com br>
Originally committed as revision 31142 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-05-07 21:59:18 +00:00
Måns Rullgård
f66b390582
vf_pad: fix mixed code and declarations
...
Originally committed as revision 23054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 17:53:29 +00:00
Michael Niedermayer
a0aa73544c
c99 sucks. Replacing scanf("%i") by strtoul()
...
Originally committed as revision 23053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 13:00:56 +00:00
Stefano Sabatini
06e1db056d
Document the pad filter.
...
Originally committed as revision 23052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 12:52:46 +00:00
Stefano Sabatini
8d787f8e52
Document cmdutils.c:print_error().
...
Originally committed as revision 23051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 12:42:26 +00:00
Michael Niedermayer
0c22311b56
Remove messy pading hack in ffmpeg.c.
...
Use avfilters if you want padding!
Originally committed as revision 23050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 12:16:23 +00:00
Michael Niedermayer
bdab692f48
Make sure get_filtered_video_pic() doesnt loose interlacedframe/tff.
...
Originally committed as revision 23049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 12:05:24 +00:00
Michael Niedermayer
cccc039f71
Enable libavfilter by default and fix pading for mxf-d10
...
Originally committed as revision 23048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 11:52:05 +00:00
Michael Kostylev
87ddc38bdb
configure: update suncc SPARC CPU name mapping
...
Patch by Michael Kostylev <michael kostylev gmail>
Originally committed as revision 23047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 11:50:55 +00:00
Michael Niedermayer
3c940173c0
Add pad filter.
...
Originally committed as revision 23046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 11:47:13 +00:00
Michael Kostylev
26b7199e12
SPARC: disable VIS for Niagara CPU
...
The Niagara/T1 supports only a subset of VIS, and even this is very slow.
Patch by Michael Kostylev <michael kostylev gmail>
Originally committed as revision 23045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 10:17:25 +00:00
Michael Niedermayer
efdc74ef19
Try to keep track of interlaced and top field first.
...
Originally committed as revision 23044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 10:02:59 +00:00
Michael Niedermayer
46847a336e
avfilter support for ffmpeg
...
Originally committed as revision 23043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 09:43:21 +00:00
Michael Niedermayer
3b9900c1c3
Enable vsrc_buffer
...
Originally committed as revision 23042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 09:22:32 +00:00
Michael Niedermayer
8155bbc944
Support setting flags for sws.
...
Originally committed as revision 23041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 09:20:45 +00:00
Michael Niedermayer
cb0061d453
Favor chunk size over hitting the correct position after reading the chunk size in asf.
...
Fixes issue1923
Originally committed as revision 23040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 08:08:09 +00:00
Michael Niedermayer
cf13f204cc
Add "Memory buffer source filter" from SOC.
...
This is needed by the current SOC-ffmpeg.c code.
Originally committed as revision 23039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 01:25:00 +00:00
Jason Garrett-Glaser
e8c7fca90c
Add intra refresh and crf-max support to the libavcodec libx264 wrapper.
...
Minor version bump.
Originally committed as revision 23038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-06 22:38:18 +00:00
Alex Converse
46174079c9
10l: store the result of clipping added in r23035
...
Originally committed as revision 23037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-06 20:38:42 +00:00
Alex Converse
217b44ddc3
Error out when too many bits per frame are requested.
...
Originally committed as revision 23036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-06 20:35:10 +00:00