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
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
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
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
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
1109680434
Revert "build: Remove redundant config.mak includes from subdirectory Makefiles."
This reverts commit a6213f3dce .
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
Diego Biurrun
adbfc605f6
doxygen: Consistently use '@' instead of '\' for Doxygen markup.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Martin Storsjö
9abbe8cc13
Use av_printf_format to check the usage of printf style functions
This helps catching cases where the format string doesn't
match what is passed in, or injection bugs where user data
is passed in as format string.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Mans Rullgard
8986fddc2b
ARM: allow building in Thumb2 mode
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Carl Eugen Hoyos
81ef892ca8
Use HAVE_TEN_OPERANDS for new decode_significance* functions.
14 years ago
Justin Ruggles
684f4abfac
ac3enc: remove unneeded local variable in asym_quant()
14 years ago
Justin Ruggles
f21fb76b1b
ac3enc: remove a branch in asym_quant() by doing 2 shifts
14 years ago
Justin Ruggles
0e4dbe2996
ac3enc: avoid masking output in asym_quant() by using signed values for
quantized mantissas.
14 years ago
Jason Garrett-Glaser
2702a6f114
H.264: fix 4:4:4 + deblocking + 8x8dct + cavlc + MBAFF
14 years ago
Jason Garrett-Glaser
7c9079ab4c
H.264: fix 4:4:4 + deblocking + MBAFF
14 years ago
Jason Garrett-Glaser
932db25024
H.264: fix 4:4:4 cropping warning
14 years ago
Jason Garrett-Glaser
85a88f9c0c
H.264: reference the correct SPS in decode_scaling_matrices
14 years ago
Jason Garrett-Glaser
3b79f2e2e9
H.264: fix bug in lossless 4:4:4 decoding
Coefficient test for i16x16 add_pixels4 assumed luma plane.
14 years ago
Philip Langdale
b2ad33dead
CrystalHD: Always identify H.264 streams as Annex B.
Now that we're converting all streams to Annex B format, we
can identify them as such to the hardware.
Signed-off-by: Philip Langdale <philipl@overt.org>
14 years ago
Philip Langdale
63e0697294
CrystalHD: Always send filtered H.264 stream to hardware.
As we're now always running mp4 format streams through the annex b
filter, it makes sense to pass the filtered stream down, as
libcrystalhd would be doing the conversion internally anyway.
Signed-off-by: Philip Langdale <philipl@overt.org>
14 years ago
Philip Langdale
edf5fbd5b2
CrystalHD: Simplfy extradata handling for non-Annex B content.
Originally, we needed to restore the original extradata after
initialising the mp4toannexb filter because mplayer would end up
taking two passes through the init sequence for the same stream
and end up miscategorising the stream. This doesn't seem to happen
anymore, making the backup/restore process unnecessary.
Signed-off-by: Philip Langdale <philipl@overt.org>
14 years ago
ami_stuff
67e7dc5404
rawdec: Fix decoding of QT WRAW files.
From some tests it results that:
1. All of the AVI/MOV WRAW files need to be flipped.
2. MOV WRAW files need to use AVI color modes.
3. Assigning PAL8 mode by default to WRAW codec is not correct.
14 years ago
Reimar Döffinger
5f654897e3
A cmp instruction with two constants is invalid, thus "g" constraint
is not correct but must be "rm" instead.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
53d5cd2c82
mov: Support Digital Voodoo SD 8 Bit and DTS codec identifiers.
14 years ago
ami_stuff
d352df0931
rawvideo: Support auv2 fourcc.
15 years ago
Diego Biurrun
6371ce4b0f
h264: Fix assert that failed to compile with -DDEBUG.
The assert referenced a variable that no longer exists since 4:4:4 support.
14 years ago
Daniel Kang
84e70ef004
h264: Add x86 assembly for 10-bit weight/biweight H.264 functions.
Mainly ported from 8-bit H.264 weight/biweight.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Michael Niedermayer
3cb64e327a
wma: fix infinite loop
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Jason Garrett-Glaser
da0dadb936
Fix H.264 4:4:4 lossless decoding.
The coefficient test for i16x16 add_pixels4 assumed luma plane.
14 years ago
Michael Niedermayer
d39b33c63b
libx264: fix open gop default.
Please use -x264opts to force open gop
This fixes Ticket268
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
b37dfe181c
mpegaudio_parser: be less picky on the start position
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Kim Nguyen
2d16394f97
ppc32: Fix movrel
Fixes ticket272
14 years ago
Justin Ruggles
e6c52cee54
Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().
av_get_bits_per_sample_fmt() is deprecated.
14 years ago
Mans Rullgard
c5ee740745
x86: cabac: fix register constraints for 32-bit mode
Some operands need to be accessed in byte mode, which restricts the
available registers in 32-bit mode. Using the 'q' constraint selects
a suitable register.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
2143d69bdd
cabac: move x86 asm to libavcodec/x86/cabac.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
d075e7d540
x86: h264: cast pointers to intptr_t rather than int
Only the low-order bits are used here so the type is not important,
but this avoids a compiler warning.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
3a4edb76d6
x86: h264: remove hardcoded edi in decode_significance_8x8_x86()
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
b92c1a6d26
x86: h264: remove hardcoded esi in decode_significance[_8x8]_x86()
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
3fc4e36c78
x86: h264: remove hardcoded edx in decode_significance[_8x8]_x86()
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
e4b5a204aa
x86: h264: remove hardcoded eax in decode_significance[_8x8]_x86()
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
3146a30e61
x86: cabac: change 'a' constraint to 'r' in get_cabac_inline()
Nothing requires this value in %eax.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago