Diego Biurrun
e14574eb68
configure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2.
...
The flag is required for some C99 math functions to be declared.
14 years ago
Diego Biurrun
25101cf5bd
doc: Drop hint at --enable-memalign-hack for MinGW, it is now autodetected.
14 years ago
Diego Biurrun
6c6c976fa9
ffplay: Remove disabled code.
14 years ago
Diego Biurrun
e169428529
Mark parameterless function declarations as 'void'.
14 years ago
Ronald S. Bultje
48520772d9
swscale: use av_clip_uint8() in yuv2yuv1_c().
14 years ago
Ronald S. Bultje
0f4eb8b043
swscale: remove VOF/VOFW.
14 years ago
Ronald S. Bultje
b4a224c5e4
swscale: split chroma buffers into separate U/V planes.
...
Preparatory step to implement support for sizes > VOFW.
14 years ago
Ronald S. Bultje
69645c021a
swscale: replace formatConvBuffer[VOF] by allocated array.
...
This allows to convert between formats of arbitrary width,
regardless of the value of VOF/VOFW.
14 years ago
Ronald S. Bultje
522d65ba25
rgb2rgb: remove duplicate mmx/mmx2/3dnow/sse2 functions.
...
Many functions have such a prefix, but do not actually use any
instructions or features from that set, thus giving the false
impression that swscale is highly optimized for a particular
system, whereas in reality it is not.
14 years ago
Ronald S. Bultje
836b82e3c9
swscale: reindent h[cy]scale_fast() and updateDitherTables().
14 years ago
Ronald S. Bultje
e2bad983b5
swscale: reformat x86/swscale_template.c.
...
Interleave macros and code so that it's easier to find the
actual code that belongs to a function. Also reindent where
appropriate and remove dead code.
14 years ago
Ronald S. Bultje
71d9c33c86
swscale: remove duplicate mmx/mmx2 functions if they are identical.
14 years ago
Ronald S. Bultje
acb96bc268
swscale: remove if (c->dstFormat) branch from yuv2packed[12X]().
...
This allows cutting up the function in much smaller and easier-
to-maintain chunks.
14 years ago
Ronald S. Bultje
b6cac9b3bf
swscale: remove if(full_chr_int) from yuv2packed1().
...
If that flag is set, swScale() already proxies the call to
yuv2rgbXinC_full(). Therefore, this flag is never set when
yuv2packed1() is called.
14 years ago
Ronald S. Bultje
2159a24573
swscale: remove if(accurate_rnd) branch from functions.
14 years ago
Mike Williams
db3262b700
ffserver: Fix a null pointer dereference as a result of the FF_API_MAX_STREAMS cleanup.
...
Fixed another dereference in the RTSP code.
Removed a useless variable.
Changed an unnecessary looping assignment to a simple assignment suggested by
Maksym.
Added fixes and tweaks suggested by Maksym Veremeyenko [verem@m1stereo.tv ] and
Clément B.
14 years ago
Anton Khirnov
2341c97e8d
libdc1394: fix compilation.
...
Add a forgotten comma and move options/class definition outside of
HAVE_LIBDC1394_1.
14 years ago
Anton Khirnov
c7a973e44a
swscale: revive SWS_CPU_CAPS until next major bump.
14 years ago
Diego Biurrun
0093199184
swscale: Remove commented-out printf cruft.
14 years ago
Justin Ruggles
478455d66b
ac3enc: initialize all coefficients to zero.
...
Uninitialized coefficients were being used to generate exponents, some
of which actually ended up in the final stream. Even though, they were
just extra exponents that are not used by any decoder, it is still
better to have consistent output for testing. This also fixes valgrind
errors.
14 years ago
Stefano Sabatini
a2ee2843c0
doc: create separate section for audio encoders
...
Having a separate section for audio encoders simplifies navigation
and is slightly more consistent with the rest of the manual.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Diego Biurrun
6f7a280ead
swscale: Remove orphaned, commented-out function declaration.
14 years ago
Michael Niedermayer
7dc303a60e
swscale: Eliminate rgb24toyv12_c() duplication.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Alex Converse
8c51620f21
Remove h263_msmpeg4 from MpegEncContext.
...
It was long ago superseded by msmpeg4_version.
14 years ago
Alex Converse
19a686b8a3
APIchanges: Fill in git hash for fps_probe_size ( 30315a8
)
14 years ago
Alex Converse
30315a8d9c
avformat: Add fpsprobesize as an AVOption.
14 years ago
Martin Storsjö
80068da3a0
avoptions: Return explicitly NAN or {0,0} if the option isn't found
...
This actually matches what av_get_double did earlier, the
0.0/0.0 division was intentional, for producing NAN.
Still keeping the check for the return value from
av_get_number, for clarity.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
48b1fb1397
rtmp: Reindent
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
271c869cc3
rtmp: Don't try to do av_malloc(0)
...
Some received packets can have size 0. The return value from
av_malloc(0) may be NULL, which is ok if the size was 0. On
OS X, however, the returned pointer is non-null but leads to
crashes when trying to free it.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Anton Khirnov
67540af7ba
tty: replace AVFormatParameters.sample_rate abuse with a private option.
14 years ago
John Stebbins
656566d7a4
Fix end time of last chapter in compute_chapters_end
...
Parenthesis are misplaced in calculation of max_time.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
2cf8355f98
ffmpeg: get rid of useless AVInputStream.nb_streams.
...
It's a duplicate of AVFormatContext.nb_streams.
14 years ago
Anton Khirnov
07633154ad
ffmpeg: simplify managing input files and streams
...
Grow the file and stream list in opt_input_file() instead of creating it
all at once in transcode(). This is simpler and will be useful for
following commits.
14 years ago
Anton Khirnov
d2bc4da15b
ffmpeg: purge redundant AVInputStream.index.
...
AVStream.index stores the same thing.
14 years ago
Anton Khirnov
d20576d01b
lavf: deprecate AVFormatParameters.channel.
14 years ago
Anton Khirnov
79405e57dc
libdc1394: add a private option for channel.
14 years ago
Anton Khirnov
986f4f4918
dv1394: add a private option for channel.
14 years ago
Anton Khirnov
3d2a418605
v4l2: reindent.
14 years ago
Anton Khirnov
a02fd06ab7
v4l2: add a private option for channel.
14 years ago
Anton Khirnov
fc68a8f703
lavf: deprecate AVFormatParameters.standard.
14 years ago
Anton Khirnov
b3da269211
v4l2: add a private option for video standard.
14 years ago
Anton Khirnov
a861ffeffa
v4l: add a private option for video standard.
14 years ago
Anton Khirnov
eb040dbbd3
dv1394: add a private option for video standard.
14 years ago
Anton Khirnov
e199eb44fd
bktr: add a private option for video standard.
14 years ago
Anton Khirnov
bffd4dd1d3
lavf: deprecate AVFormatParameters.{channels,sample_rate}.
14 years ago
Anton Khirnov
5b3865fc5f
rawdec: add sample_rate/channels private options.
14 years ago
Anton Khirnov
2ea8faf39f
ALSA: add channels and sample_rate private options.
14 years ago
Anton Khirnov
003e63b6df
oss: add channels and sample_rate private options.
14 years ago
Anton Khirnov
a1a15a9993
sndio: add channels and sample_rate private options.
14 years ago
Anton Khirnov
fb37d57347
lavf: deprecate AVFormatParameters.mpeg2ts_raw.
...
It doesn't do anything except produce an error message when set.
14 years ago