Ronald S. Bultje
13a099799e
swscale: change prototypes of scaled YUV output functions.
...
Remove unused variables "flags" and "dstFormat" in yuv2packed1,
merge source rows per plane for yuv2packed[12], and make every
source argument int16_t (some where invalidly set to uint16_t).
This prevents stack pollution and is part of the Great Evil Plan
to simplify swscale.
14 years ago
Michael Niedermayer
94e59cb84b
random_seed: more elaborate doxy.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
c029ea39bd
AVDictionary: warn about its shortcommings and mention available replacements.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Ronald S. Bultje
dff5a83532
swscale: re-add support for non-native endianness.
...
This works through some non-obvious hacks in utils.c.
14 years ago
Ronald S. Bultje
3d3c814937
swscale: disentangle yuv2rgbX_c_full() into small functions.
...
This is part of the Great Evil Plan to simplify swscale.
14 years ago
Ronald Bultje
6fba14eecb
swscale: split yuv2packed[12X]_c() remainders into small functions.
...
This is part of the Great Evil Plan to simplify swscale.
14 years ago
Ronald S. Bultje
dc179ec819
swscale: split yuv2packedX_altivec in smaller functions.
...
This will likely lead to a considerable performance boost,
since it removes a branch from the inner loop. Part of the
Great Evil Plan to simplify swscale.
14 years ago
Michael Niedermayer
7b7c47c8f7
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
ac3enc: move ff_ac3_encode_frame() to ac3enc_template.c
ac3enc: merge log2_tab() into normalize_samples()
ac3enc: Remove bit allocation fallbacks.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Ronald S. Bultje
0d994b2f45
swscale: don't use planar output functions to write to NV12/21.
...
This prevents a crash when converting to NV12/21 without the bitexact
flags enabled.
14 years ago
Justin Ruggles
8683c6a638
ac3enc: move ff_ac3_encode_frame() to ac3enc_template.c
...
This avoids using function pointers for quite a few small functions, most of
which just call DSP functions.
14 years ago
Justin Ruggles
668afae438
ac3enc: merge log2_tab() into normalize_samples()
14 years ago
Justin Ruggles
7dcdf974d0
ac3enc: Remove bit allocation fallbacks.
...
They introduce too much complexity for very little benefit. The result is that
encoding will be more likely to fail at extremely low bitrates where quality
would be awful anyway.
14 years ago
Jonathan Baldwin
65eae2a7a2
lavdev: add openal input device
14 years ago
Stefano Sabatini
cdeb803e2f
vf_lut: fix draw_slice() in case of non packed image data for packed RGB
...
The previous code was erroneously assuming that the linesize was
equivalent to width*pixel_step, which is not always true.
14 years ago
ami_stuff
9df1d329a5
Support fourcc Y8 (ticket 308).
14 years ago
ami_stuff
90d475a9e7
Support fourcc YV16 (ticket 307).
14 years ago
Carl Eugen Hoyos
e747b091cb
Fix VDPAU decoding for some H264 samples.
14 years ago
Michael Niedermayer
f211d9d839
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
build: improve rules for test programs
build: factor out the .c and .S compile commands as a macro
swscale: remove unused xInc/srcW arguments from hScale().
H.264: disable 2tap qpel with CODEC_FLAG2_FAST and >8-bit
H.264: make filter_mb_fast support 4:4:4
mpeg4videoenc: Remove disabled variant of mpeg4_encode_block().
configure: allow post-fixed cpu strings for athlon64, k8, and opteron when setting the -march flag.
Move some variable declarations below the proper #ifdefs.
Conflicts:
Makefile
ffplay.c
libswscale/swscale.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
659aa20e56
build: improve rules for test programs
...
This generates dependencies for the *-test.o files ensuring
rebuilds when necessary.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
bc877faf7f
build: factor out the .c and .S compile commands as a macro
...
These commands have the same form, and using a common macro allows
it to be used elsewhere without further duplication.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
97535ffb97
swscale: remove unused xInc/srcW arguments from hScale().
14 years ago
Jason Garrett-Glaser
9a0dda8b3a
H.264: disable 2tap qpel with CODEC_FLAG2_FAST and >8-bit
...
2tap qpel isn't implemented yet for high bit depth, so it just breaks decoding.
14 years ago
Jason Garrett-Glaser
84153d1883
H.264: make filter_mb_fast support 4:4:4
14 years ago
Baptiste Coudurier
721719dd0c
dnxhddec: handle cid change in bitstream.
14 years ago
Baptiste Coudurier
90a40b226a
ffmpeg: fix prototypes of functions after the removal of OPT_FUNC2.
14 years ago
Diego Biurrun
3fbc9bbb88
mpeg4videoenc: Remove disabled variant of mpeg4_encode_block().
...
As a nice sideeffect this fixes the following warning:
libavcodec/mpeg4videoenc.c:302:20: warning: variable ‘rl’ set but not used [-Wunused-but-set-variable]
14 years ago
Stefano Sabatini
2f222b9550
lavfi: add testsrc source
14 years ago
Alexis Ballier
9ddf1b1ae4
configure: allow post-fixed cpu strings for athlon64, k8, and opteron
...
when setting the -march flag.
This is to match gcc's {athlon64,k8,opteron}-sse3 -march flags.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
14 years ago
Diego Biurrun
f3876ea485
Move some variable declarations below the proper #ifdefs.
...
This avoids warnings about set-but-unused variables.
14 years ago
Reimar Döffinger
5c13b5bb39
Add operand size to add instructions.
...
In these cases it can't be guessed from the operands (at least
not necessarily), and it seems some clang versions refuse to
compiler it.
Fixes ticket #303 .
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Reimar Döffinger
ebc64dc818
Revert "build: Remove multiple inclusion guards from config.mak."
...
This reverts commit 89b5829d0a
.
Conflicts:
configure
14 years ago
Reimar Döffinger
1109680434
Revert "build: Remove redundant config.mak includes from subdirectory Makefiles."
...
This reverts commit a6213f3dce
.
14 years ago
Reimar Döffinger
b3ca11f07f
Revert "build: Add DEP_LIBS dependency directly to the shared library build rule."
...
This reverts commit 729f953fb5
.
14 years ago
Michael Niedermayer
4ccb7911ba
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
ARM: silence some annoying armcc warnings
ffplay: Remove unused-but-set channels variable from update_sample_display().
build: Add DEP_LIBS dependency directly to the shared library build rule.
build: Remove multiple inclusion guards from config.mak.
build: Remove redundant config.mak includes from subdirectory Makefiles.
aacenc: Mark psy_3gpp_window() as av_unused.
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Stefano Sabatini
5fba761f6e
samplefmt: remove deprecated use of av_get_bits_per_sample_fmt()
...
Use av_get_bytes_per_sample() instead.
Fix deprecation warning:
samplefmt.c: In function ‘av_samples_fill_arrays’:
samplefmt.c:88: warning: ‘av_get_bits_per_sample_fmt’ is deprecated (declared at samplefmt.c:76)
14 years ago
Stefano Sabatini
5aca97e247
vsink_buffer: add missing description
14 years ago
Stefano Sabatini
d7686b3e0f
configure: select buffersink_filter when ffplay is enabled
...
buffersink_filter is a strong requirement for compiling ffplay.
Fixes ffplay compilation with --disable-everything --disable-ffmpeg.
14 years ago
Mans Rullgard
d0ce090ec5
ARM: silence some annoying armcc warnings
...
This silences warnings about pointer target sign mismatches as
already done for gcc with -Wno-pointer-sign.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reimar Döffinger
c5cf0f7a76
Fix compilation in subdir with NASM.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Reimar Döffinger
fe343286ec
Restore some more rules to common.mak to improve building in subdirs.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Diego Biurrun
c713620b4c
ffplay: Remove unused-but-set channels variable from update_sample_display().
14 years ago
Diego Biurrun
729f953fb5
build: Add DEP_LIBS dependency directly to the shared library build rule.
...
The dependency was added conditional to a variable that is always defined,
so it is safe to add it directly.
14 years ago
Diego Biurrun
89b5829d0a
build: Remove multiple inclusion guards from config.mak.
...
config.mak is no longer included multiple times; the guards are pointless.
14 years ago
Diego Biurrun
a6213f3dce
build: Remove redundant config.mak includes from subdirectory Makefiles.
...
Calling Make from subdirectories is not supported and config.mak has
multiple inclusion guards anyway, so the top-level include is enough.
14 years ago
Diego Biurrun
3a0d0ff5e6
aacenc: Mark psy_3gpp_window() as av_unused.
...
It is intentionally left in to allow adding 3GPP-style windowing in the future.
Marking it av_unused silences an annoying unused function warning.
14 years ago
Nicolas George
392aa6e444
ogg_read_packet: forward error code.
14 years ago
Michael Niedermayer
dca3542d35
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
configure: Add -Wno-format-zero-length to CFLAGS.
udp: Receive on the remote port number, if no local port is set
Merged-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Stefano Sabatini
e65d6e22e3
configure: select buffersink_filter when ffmpeg is enabled
...
buffersink_filter is a strong requirement for compiling ffmpeg.
Fixes ffmpeg compilation with --disable-everything.
14 years ago
Diego Biurrun
b36518dcf4
configure: Add -Wno-format-zero-length to CFLAGS.
...
The C standard specifies that zero-length format strings are allowed.
14 years ago
Reimar Döffinger
5aa8b270db
Restore accidentally removed parts of "BRIEF" list.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago