Ronald S. Bultje
5e3578893a
mt: proper locking around release_buffer calls.
This fixes a crash when seeking in some webm files with many
threads (e.g. 8).
(cherry picked from commit 5eafc8b466 )
14 years ago
Ronald S. Bultje
dc1b670a2c
vp8/mt: flush worker thread, not application thread context, on seek.
This prevents a crash when seeking.
(cherry picked from commit d1cf459119 )
14 years ago
Diego Biurrun
683df9bf54
Add LGPL license boilerplate to files lacking it.
(cherry picked from commit e3759c567d )
14 years ago
Diego Biurrun
64e2656f7c
doxygen: Fix documentation for some VP8 functions.
(cherry picked from commit 3c432e1186 )
14 years ago
Christian Schmidt
8e3d264fb2
libxvid: add missing include of libavutil/mathematics.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 6c374bc0b4 )
14 years ago
Robert Swain
46a2dc9175
vorbis: vpxenc: Add missing include for av_rescale*
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 954a653216 )
14 years ago
Carl Eugen Hoyos
b9e126fbe2
ffmpeg: Fix VDPAU decoding for some H264 samples.
(cherry picked from commit a4ab70f92e )
14 years ago
Reinhard Tartler
f95e5225fe
doxygen: Drop array size declarations from Doxygen parameter names.
Adding [] to a Doxygen parameter name clashes with Doxygen syntax.
(cherry picked from commit ff993cd7fc )
14 years ago
Diego Biurrun
8f536408d1
doxygen: Remove spurious documentation for non-existing function parameters.
(cherry picked from commit 01c17c88ed )
14 years ago
Stefano Sabatini
d734d4ce6a
suggest to use av_get_bytes_per_sample() in av_get_bits_per_sample_format() doxy
The previously suggested replacement - av_get_bits_per_sample_fmt() -
was also deprecated.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ccfa626db8 )
14 years ago
Reinhard Tartler
2fe47b21c8
doxygen: Prefer member groups over grouping into modules
Before this, almost all module groups have been used for grouping functions
and fields in structures semantically. This causes them to not appear
properly in the file documentation and needlessly clutters up the "Modules"
index.
Additionally, this commit streamlines some spelling and appearances.
(cherry picked from commit 21a19b7912 )
14 years ago
Reimar Döffinger
b6fe44b9db
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
compile it.
Fixes ticket #303 .
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
(cherry picked from commit 5c13b5bb39 )
14 years ago
Carl Eugen Hoyos
376dfd07ab
Fix possible double free when encoding using xvid.
(cherry picked from commit 315f0e3fd8 )
14 years ago
Jason Garrett-Glaser
87eedf6943
Add new yuv444 pixfmts to avcodec_align_dimensions2
Fixes draw_edges crashes with high-bit-depth 4:4:4 decoding.
(cherry picked from commit da55ee6ccc )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Carl Eugen Hoyos
f239b91596
Fix VDPAU decoding for some H264 samples.
(cherry picked from commit e747b091cb )
14 years ago
Jason Garrett-Glaser
e54fd33848
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.
(cherry picked from commit 9a0dda8b3a )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Jason Garrett-Glaser
180faac637
H.264: fix 4:4:4 + deblocking + 8x8dct + cavlc + MBAFF
(cherry picked from commit 2702a6f114 )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Jason Garrett-Glaser
13c943ffb1
H.264: fix 4:4:4 + deblocking + MBAFF
(cherry picked from commit 7c9079ab4c )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Jason Garrett-Glaser
18052f1df9
H.264: fix 4:4:4 cropping warning
(cherry picked from commit 932db25024 )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Jason Garrett-Glaser
4c8b14c37f
H.264: reference the correct SPS in decode_scaling_matrices
(cherry picked from commit 85a88f9c0c )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Jason Garrett-Glaser
e4071fa04c
H.264: fix bug in lossless 4:4:4 decoding
Coefficient test for i16x16 add_pixels4 assumed luma plane.
(cherry picked from commit 3b79f2e2e9 )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
ami_stuff
fcd26ebc8f
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.
(cherry picked from commit 67e7dc5404 )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Carl Eugen Hoyos
26f48752fb
mov: Support Digital Voodoo SD 8 Bit and DTS codec identifiers.
(cherry picked from commit 53d5cd2c82 )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
ami_stuff
6cef3ddbdc
rawvideo: Support auv2 fourcc.
(cherry picked from commit d352df0931 )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
15 years ago
Diego Biurrun
403eee165c
h264: Fix assert that failed to compile with -DDEBUG.
The assert referenced a variable that no longer exists since 4:4:4 support.
(cherry picked from commit 6371ce4b0f )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Jason Garrett-Glaser
523b57b331
H.264: fix 4:4:4 + deblocking + 8x8dct + cavlc + MBAFF
(cherry picked from commit 2702a6f114 )
14 years ago
Jason Garrett-Glaser
a3589cce81
H.264: fix 4:4:4 + deblocking + MBAFF
(cherry picked from commit 7c9079ab4c )
14 years ago
Jason Garrett-Glaser
0820593e64
H.264: fix 4:4:4 cropping warning
(cherry picked from commit 932db25024 )
14 years ago
Jason Garrett-Glaser
4db2b966be
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