Reimar Döffinger
49baf44c24
Make ff_mba_* arrays const.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Reimar Döffinger
db076a2c48
Make fdct_r_row_sse2 const.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Reimar Döffinger
b883c879aa
Make AMR tables of lookup filter tables const.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Reimar Döffinger
9663b8da9a
Make tab_frw_01234567_sse2 const.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Ronald S. Bultje
717401aff2
h264_weight: remove duplication functions.
14 years ago
Ronald S. Bultje
ea2bb12e3e
h264: improve calculation of codec delay.
Fixes the following conformance suite samples:
HCBP1_HHI_A.264, HCBP2_HHI_A.264, HCMP1_HHI_A.264 (main)
HCHP1_HHI_B.264, HCHP2_HHI_A.264, HCHP3_HHI_A.264 (frext)
14 years ago
Clément Bœsch
454f165728
j2kdec: fix a bunch of const compiler warnings.
14 years ago
Martin Storsjö
8148631269
w32threads: Wrap the mutex functions in inline functions returning int
This allows using these wrappers in the gcrypt mutex callbacks.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
2d1b6fb72b
avcodec: Allow locking and unlocking an avformat specific mutex
This extends the lock manager in avcodec to manage two separate
mutexes via the user-specified lock functions.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Jordi Ortiz
8b1032c923
dwt: Code make up, removed gotos
(cherry picked from commit 14880406e1 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Jordi Ortiz
db3463e9c3
Dirac: Added endif comments
(cherry picked from commit c023d4db36 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Jordi Ortiz
fca712df09
Dirac: Specific struct initializers in AVCodec initialization
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Jordi Ortiz
aae7a5e36d
Dirac: Removed goto + some code make up
(cherry picked from commit 8db434f8a6 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Jordi Ortiz
4bb2b5afc9
dwt: removed some warnings in make checkheaders
(cherry picked from commit 1124056ac0 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Jordi Ortiz
1b95b52c0a
Dirac: Solved problem with make checkheaders
(cherry picked from commit d611ea0a44 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Derek Buitenhuis
682e0eaf14
Fix libutvideo wrapper name
Change the libutvideo wrapper name to "libutvideo", as
it currently conflicts with the native utvideo decoder's
name of "utvideo".
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Justin Ruggles
add7b1140f
binkaudio: expand quant_table to accommodate all possible values
14 years ago
Martin Storsjö
c38404ee1a
libx264: Set the default of the rc_lookahead option to -1
This allows it to use the defaults specified by preset/tune,
without overwriting it with the default value from the
AVCodecContext field.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
adc85ce20b
avcodec: Set flags2 default value depending on availability
This makes the code compile when FF_API_X264_GLOBAL_OPTS or
FF_API_LAME_GLOBAL_OPTS is 0.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Alex Converse
2a6eb06254
vp6: Fix illegal read.
14 years ago
Michael Niedermayer
23acfcd9e5
h264: favor coded_width in resolution chnaged checks
Suggested-by: Joakim Plate <elupus@ecce.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
475fb67d0b
lavc: Init AVFrame->opaque to AVCodecContext.opaque in avcodec_default_get_buffer()
this should allow some simplifications in some applications.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Martin Storsjö
cae4f4b77e
avcodec: Make sure codec_type is set by avcodec_get_context_defaults2
This function used to set codec_type. With the current fallback
implementation based on avcodec_get_context_defaults3, codec_type
won't be set to the value passed in, but will be set to
AVMEDIA_TYPE_UNKNOWN. Legacy callers of this function might expect
this field to be set to the value passed in.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
1b6da627d4
avcodec: Remove a misplaced and useless attribute_deprecated
If attribute_deprecated is used in an enum declaration, it
should follow the 'enum' keyword, otherwise it's ignored
silently. This is the only case of attribute_deprecated for
enum declarations currently.
Currently, this attribute_deprecated doesn't have any effect.
If moved to the right place, it emits a warning every single
time avcodec.h is included, like this:
avcodec.h:2827: warning: ‘AVLPCType’ is deprecated (declared at avcodec.h:543)
There is already a working attribute_deprecated for the
corresponding field in AVCodecContext, so therefore this
one shouldn't be needed.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Justin Ruggles
5463e83dbc
fmtconvert: fix int32_to_float_fmul_scalar() for windows x86_64
The calling convention only allows 4 non-stack parameter, with each
float or int register being skipped if not used.
fixes Bug 64
14 years ago
Maxim Poliakovski
594b54b51e
replacement Indeo 3 decoder
The new decoder is much smaller and has better code quality.
Cleanup and fixes courtesy of Kostya Shishkov.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Justin Ruggles
c2d9a65bc0
ac3enc: doxygen update.
Add some parameters to existing function documentation.
Remove some unneeded documentation.
Convert some static function documentation to non-doxygen style.
14 years ago
Justin Ruggles
a4998e448f
imc: return error codes instead of 0 for error conditions.
This fixes a bug where the whole buffer was returned as decoded audio due to
*data_size not being set to zero and the return value being >= 0.
14 years ago
Justin Ruggles
08e5cd3810
imc: return meaningful error codes instead of -1
14 years ago
Justin Ruggles
0473f29b60
imc: do not set channel layout for stereo
we only support decoding of mono imc
14 years ago
Justin Ruggles
7b7f47e733
imc: validate channel count
ask for a sample if not mono
14 years ago
Justin Ruggles
95fee70d67
imc: check for ff_fft_init() failure
14 years ago
Justin Ruggles
86962b13f6
imc: check output buffer size before decoding
14 years ago
Justin Ruggles
e9362aaedf
imc: use DSPContext.bswap16_buf() to byte-swap packet data
14 years ago
Mean
d1590a0a2b
vc1dec: Fix CODEC_FLAG_LOW_DELAY
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
f51e5015ad
mpeg4videodec: export quarter_sample & divx_packed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Justin Ruggles
20e081dddc
libgsm: add flush function to reset the decoder state when seeking
14 years ago
Justin Ruggles
480324e7ca
libgsm: simplify decoding by using a loop
14 years ago
Justin Ruggles
9d52f0a711
gsm: log error message when packet is too small
14 years ago
Justin Ruggles
9671db8245
libgsmdec: do not needlessly set *data_size to 0
14 years ago
Justin Ruggles
a2e255783e
gsmdec: do not needlessly set *data_size to 0
14 years ago
Justin Ruggles
fc43fc9faa
gsmdec: add flush function to reset the decoder state when seeking
14 years ago
Justin Ruggles
b03761b130
libgsmdec: check output buffer size before decoding
14 years ago
Justin Ruggles
bac2597a32
gsmdec: log error message when output buffer is too small.
also return AVERROR(EINVAL) instead of -1
14 years ago
Justin Ruggles
d9c6eece21
gsm: use av_get_bytes_per_sample() in frame_bytes calculation
14 years ago
Michael Niedermayer
146f99cfec
h264: add nal_length_size and is_avc to the publically readable fields
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
913bc7996e
lavc: fix avcodec_get_type()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Sebastien Zwickert
d66ee6ac48
HWAccel: adds Video Decoder Acceleration (VDA) module for Mac OS X.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
f36b390275
Replace some forgotten FFmpeg references by Libav.
14 years ago
Diego Biurrun
2f5df0b12c
Replace ffmpeg references with more accurate libav* references.
14 years ago