Jason Garrett-Glaser
b7b61ff6a3
H.264: fix 4:4:4 + deblocking + 8x8dct + cavlc + MBAFF
(cherry picked from commit 2702a6f114 )
14 years ago
Jason Garrett-Glaser
7a6e47b99d
H.264: fix 4:4:4 + deblocking + MBAFF
(cherry picked from commit 7c9079ab4c )
14 years ago
Jason Garrett-Glaser
f84c349b3b
H.264: fix 4:4:4 cropping warning
(cherry picked from commit 932db25024 )
14 years ago
Jason Garrett-Glaser
26f732e21d
H.264: reference the correct SPS in decode_scaling_matrices
(cherry picked from commit 85a88f9c0c )
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
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
Mans Rullgard
f743595e87
x86: cabac: remove hardcoded esi in get_cabac_inline()
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
da3af4db61
x86: cabac: remove hardcoded edx in get_cabac_inline()
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
51f16a9bf2
x86: cabac: remove unused macro parameter
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
018c33838e
x86: cabac: remove hardcoded ebx in inline asm
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
6b712acc0e
x86: cabac: remove hardcoded struct offsets from inline asm
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
34ee43fc0f
cabac: remove inline asm under #if 0
A comment says it's not faster than the C code.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
8fcc0e7978
cabac: remove BRANCHLESS_CABAC_DECODER switch
The code does not compile without this set.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
eaa2d5a90a
cabac: remove #if 0 cascade under never-set #ifdef ARCH_X86_DISABLED
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ivan Kalvachev
093768c9a4
Fix bink audio playback outside of FFmpeg.
There are 2 known Bink audio codecs. Additionally they have
a different flavor if they are found inside Bink-b "BIKb" file.
In order to guess the correct flavor, the demuxer sets the audio
codec_tag to be the same as the file format tag.
This causes problem because same tag is used for both audio codecs.
The hack works in FFmpeg because audio codecs are identified by their
codec_id, but other players rely on standard behavior.
This fix removes the codec_tag hack and instead uses artificial
extradata format to signal the codec flavor. This would also
allow proper embedding of Bink audio in other containers.
Signed-off-by: Ivan Kalvachev <ikalvachev@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Ronald Bultje
20153fb8f6
error_resilience: skip last-MV predictor step if MVs are not available.
Fixes crashes when playing broken MPEG2-TS streams.
14 years ago
Ronald Bultje
d42aaa802e
error_resilience: actually add counter when adding a MV predictor.
Without, the predictor isn't actually used.
14 years ago
Michael Niedermayer
3a07f5a47a
qdm2: Fix alignment of local array.
Fixes ticket270
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Ronald S. Bultje
ea6331f8bb
h264-mt: fix deadlock in packets with multiple slices (e.g. MP4).
14 years ago
Michael Niedermayer
867b10679c
Attempt to fix ticket266
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Alex Converse
4b84d5114d
sipr: Drop unused DSPContext
14 years ago
Alex Converse
1e3d5eec8e
sipr: include string.h for mem*()
14 years ago
Alex Converse
cb372931ff
sipr: Use memmove() to copy overlapped buffers.
14 years ago
Alex Converse
0c17beba97
h264: drop some ugly casts
14 years ago
Michael Niedermayer
a4233d1f95
h264: print actual slice number in "Too many slices" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
9291faeb67
jpegdec: include mjpb_skiptosod in debug output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
a09a3e8213
jpegdec: fix CJPG decoding.
Fixes ticket133
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
0aed4f81fe
w32threads: with only 1 thread there cant be a active threading mode.
Fixes ticket284
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
7ba262527f
flacenc: mark as lossless codec
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
34dc7aa82b
libavcodec: add CODEC_CAP_LOSSLESS
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Ronald S. Bultje
ed63f527f2
Fix build if yasm is not available.
14 years ago
Daniel Kang
f188a1e0ca
H.264: Add x86 assembly for 10-bit MC Chroma H.264 functions.
Mainly ported from 8-bit H.264 MC Chroma.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Clément Bœsch
bde8055963
dcaenc: small quantization simplification.
14 years ago
Michael Niedermayer
44d1b4088f
qdm2: Fix alignment of local array.
Fixes ticket270
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anton Khirnov
78440c007c
lavc: add opt_find to AVCodecContext class.
Fixes encoder private options, which are broken now in ffmpeg, because
opt_default2() can't find them, thus making opt_default() to fail.
14 years ago
Carl Eugen Hoyos
5fb67d8039
Fix compilation with old yasm.
14 years ago
Alexander Strange
3803af22d8
h264: Complexify frame num gap shortening code
By observation it did not seem to handle prev_frame_num > frame_num.
This does not affect any files I have.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago