Stefano Sabatini
e71f26086a
lavu: add av_get_pix_fmt_name() convenience function
...
Also deprecate avcodec_get_pix_fmt_name() in its favor.
14 years ago
Stefano Sabatini
34e9c9b111
iff: remove duplicated file description
14 years ago
Stefano Sabatini
eb8bc57240
cmdutils: remove OPT_FUNC2
...
Make ff* tools only accept opt_* functions taking two arguments.
The distinction between functions with one and two arguments is quite
pointless. Simplify parse_options() code.
14 years ago
Ronald S. Bultje
78046dadc3
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
fc72ec727e
swscale: reindent h[cy]scale_fast() and updateDitherTables().
14 years ago
Ronald S. Bultje
c3f07903ec
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
1dbf40c383
swscale: remove duplicate mmx/mmx2 functions if they are identical.
14 years ago
Ronald S. Bultje
264dcc63af
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
f2a3b23051
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
835ab9207e
swscale: remove if(accurate_rnd) branch from functions.
14 years ago
Anton Khirnov
2b04858a10
swscale: revive SWS_CPU_CAPS until next major bump.
14 years ago
Diego Biurrun
11f2eae2ae
swscale: Remove commented-out printf cruft.
14 years ago
Kieran Kunhya
5501afa6ee
Export PCR pid
14 years ago
Kieran Kunhya
24adef142f
Export more transport stream information.
...
with minor addition to the comment by michael
14 years ago
Kieran Kunhya
fa12fb3b00
Output MPEG-TS stream identifiers.
...
with changes by michael to simplify API
14 years ago
Michael Niedermayer
8381ab1437
Merge remote-tracking branch 'qatar/master'
...
* qatar/master: (29 commits)
ARM: disable ff_vector_fmul_vfp on VFPv3 systems
ARM: check for VFPv3
swscale: Remove unused variables in x86 code.
doc: Drop DJGPP section, Libav now compiles out-of-the-box on FreeDOS.
x86: Add appropriate ifdefs around certain AVX functions.
cmdutils: use sws_freeContext() instead of av_freep().
swscale: delay allocation of formatConvBuffer().
swscale: fix build with --disable-swscale-alpha.
movenc: Deprecate the global RTP hinting flag, use a private AVOption instead
movenc: Add an AVClass for setting muxer specific options
swscale: fix non-bitexact yuv2yuv[X2]() MMX/MMX2 functions.
configure: report yasm/nasm presence properly
tcp: make connect() timeout properly
rawdec: factor video demuxer definitions into a macro.
rtspdec: add initial_pause private option.
lavf: deprecate AVFormatParameters.width/height.
tty: add video_size private option.
rawdec: add video_size private option.
x11grab: add video_size private option.
x11grab: factorize returning error codes.
...
Merged-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
79aeade6f6
ARM: disable ff_vector_fmul_vfp on VFPv3 systems
...
This function uses old-style vector operations deprecated in VFPv3.
Some implementations, e.g. Cortex-A9, support them only through
slow software emulation. Cortex-A8 does have this functionality
in hardware, but as it also has NEON, this function is not used
there regardless.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
93eb8e4d7c
ARM: check for VFPv3
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
5a5a0f1613
swscale: Remove unused variables in x86 code.
...
libswscale/x86/swscale_template.c:2072: warning: unused variable ‘canMMX2BeUsed’
libswscale/x86/swscale_template.c:2145: warning: unused variable ‘canMMX2BeUsed’
libswscale/x86/swscale_template.c:2209: warning: unused variable ‘chrVPixBuf’
libswscale/x86/swscale_template.c:2237: warning: unused variable ‘chrVSrcPtr’
14 years ago
Diego Biurrun
7eae011002
doc: Drop DJGPP section, Libav now compiles out-of-the-box on FreeDOS.
14 years ago
Diego Biurrun
5e528cffcf
x86: Add appropriate ifdefs around certain AVX functions.
...
nasm versions prior to 2.09 have trouble assembling some of our AVX code.
Protect these sections by preprocessor macros to allow compilation to pass.
14 years ago
Ronald S. Bultje
faf8d3ddfa
cmdutils: use sws_freeContext() instead of av_freep().
...
av_freep(swsContext) will leak all memory potentially
allocated within the swsContext.
14 years ago
Ronald S. Bultje
389e2000eb
swscale: delay allocation of formatConvBuffer().
...
That means it won't be allocated when not needed. Alongside
this, it fixes valgrind/fate-detected memory leaks.
14 years ago
Ronald S. Bultje
f327bfa6dc
swscale: fix build with --disable-swscale-alpha.
14 years ago
Martin Storsjö
28734ac995
movenc: Deprecate the global RTP hinting flag, use a private AVOption instead
...
Instead of -fflags rtphint, set -movflags rtphint instead.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
91e3a25ef6
movenc: Add an AVClass for setting muxer specific options
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Lambers
b8773e44d5
libdc1394: choose best video mode and rate based on camera capabilities.
14 years ago
Martin Lambers
ea7e318fb2
Remove support for libdc1394 < 2.0.
...
Versions >= 2.0 have been around for a very long time now.
14 years ago
Michael Niedermayer
87ababd7c5
avopt: fix segfault
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Ronald S. Bultje
9f5d45025e
swscale: fix non-bitexact yuv2yuv[X2]() MMX/MMX2 functions.
14 years ago
Michael Niedermayer
041dbd3c14
swscale: dont loose precission on RGB/BGR48 input, that is dont drop half the bits.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
f642982c10
patch checklist: suggest --disable-yasm test.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Stefano Sabatini
6b899e16de
lavdev: prefer the inclusion of avdevice.h over that of libavformat/avformat.h
14 years ago
Stefano Sabatini
e48993e3cf
lavdev: include libavformat/avformat.h in avdevice.h
...
The header is always required for files which directly deal with
devices, since libavdevice uses the AVFormat* structures defined in
avformat.h.
Avoid the need to explicitely add libavformat/avformat.h.
14 years ago
Stefano Sabatini
ec76ef5ae2
fate.txt: replace FATE rsync command with a make command
...
Remove reference to the mplayerhq.hu rsync command, and replace it
with a reference to the make fate-rsync command.
rsync needs still to be enabled on mplayerhq.hu, and it is currently
not working. Also the fate-rsync Makefile target can be easily updated
without the need to keep the docs in synch.
14 years ago
Luca Barbato
6348a96c06
configure: report yasm/nasm presence properly
...
If the secondary assembler is in use report the proper name
14 years ago
Luca Barbato
ebb6b27ad9
tcp: make connect() timeout properly
...
The connect() timeout can take minutes, gets misreported as EIO and
isn't interruptible.
14 years ago
Anton Khirnov
fa4924a358
rawdec: factor video demuxer definitions into a macro.
14 years ago
Anton Khirnov
4779f59378
rtspdec: add initial_pause private option.
...
Deprecate corresponding AVFormatParameters field.
14 years ago
Anton Khirnov
89d1b7f406
lavf: deprecate AVFormatParameters.width/height.
14 years ago
Anton Khirnov
06d8c9e5f0
tty: add video_size private option.
14 years ago
Anton Khirnov
973f686a6c
rawdec: add video_size private option.
14 years ago
Anton Khirnov
724a900c45
x11grab: add video_size private option.
14 years ago
Anton Khirnov
3102fb0351
x11grab: factorize returning error codes.
14 years ago
Anton Khirnov
3e15ea2150
vfwcap: add video_size private option.
14 years ago
Anton Khirnov
8fe7b6443f
v4l2: add video_size private option.
14 years ago
Anton Khirnov
82b5aa0add
v4l2: factorize returning error codes.
...
This will be useful in the following commit.
14 years ago
Anton Khirnov
fd48620e3e
libdc1394: add video_size private option.
14 years ago
Anton Khirnov
284bac2e77
libdc1394: return meaninful error codes.
14 years ago
Anton Khirnov
33e0369672
bktr: add video_size private option.
14 years ago