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
Diego Biurrun
20566eb0f0
Replace outdated references to ffmpeg tool with avconv.
14 years ago
Diego Biurrun
124e28847b
Remove some stray unnecessary ffmpeg references.
14 years ago
Diego Biurrun
d1dfcb0829
vp3: remove some pointless comments
14 years ago
Anton Khirnov
5511ad14fe
lavc: use designated initialisers for parsers.
14 years ago
Clément Bœsch
971e710438
dsputil: fix typo (referece -> reference).
14 years ago
Michael Niedermayer
c36edf3899
jpeg: rgb support
Fixes Ticket297
Based on a patch by Carl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Justin Ruggles
da24963725
g726dec: add flush() function to reset state when seeking
14 years ago
Justin Ruggles
97f5dd1d84
g726: don't pass index to g726_reset()
calculate it from c->code_size instead.
14 years ago
Justin Ruggles
615b2a2cf5
g726enc: add private option for setting code size directly.
This is an easy alternative to setting bit_rate. This patch also selects the
closest bit_rate to the requested one rather than requiring an exact value.
14 years ago
Justin Ruggles
7abb73d4ba
g726: wrap the decoder functions with a CONFIG_ADPCM_G726_DECODER check
14 years ago
Justin Ruggles
437c11ca16
g726: group the g726_encoder AVCodec with the other encoding functions
14 years ago
Justin Ruggles
50969c0f46
g726: return AVERROR(EINVAL) instead of -1 for invalid channel count
14 years ago
Justin Ruggles
50c466d609
g726enc: use av_assert0() for sample_rate validation
This should never happen, but the check avoids a divide-by-zero.
14 years ago
Justin Ruggles
9e78d8cfdf
g726: treat sample rates other than 8kHz as unofficial.
14 years ago
Justin Ruggles
6e8d4a7afb
g726dec: remove the sample_rate validation
14 years ago
Justin Ruggles
6ac34eed54
g726: use bits_per_coded_sample instead of bitrate to determine mode
This requires some workarounds in the WAV muxer and demuxer. We need to write
the correct bits_per_coded_sample and block_align in the muxer. In the
demuxer, we cannot rely on the bits_per_coded_sample value, so we use the bit
rate and sample rate to determine the value.
This avoids having the decoder rely on AVCodecContext.bit_rate, which is not
required to be set by the user for decoding according to our API.
14 years ago
Justin Ruggles
d405237bae
g726: split the init function for the encoder and decoder
This also allows for not having a decoder close function.
14 years ago
Justin Ruggles
c8d36d254e
g726: pre-calculate the number of output samples.
Allows for checking output buffer size and simplification of decoding loop.
14 years ago
Justin Ruggles
e61a670b53
g726: use int16_t instead of short
14 years ago
Michael Niedermayer
bd2bcf97fa
dirac: drop unused END_HORIZONTAL
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
e985d71926
dirac: fix horizontal_compose_dd97i_ssse3
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
754539a409
dirac: Fix mmx/sse haar wavelet compose
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
ee93363f8f
Fix compilation of dct-test on ia32.
14 years ago
Vladimir Voroshilov
f0506a8993
Two extra samples are required before top of the in buffer rather than out
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
3e5ea9e471
dirac: disable ff_horizontal_compose_haar0i_sse2() the function is not bitexact
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
d2ea38ddb7
dirac: alignment for dirac_hpel_filter_v has been fixed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
18f2ae3b77
dirac: alignment for add_dirac_obmc has been fixed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
4debdee6ce
dirac: alignment for add_rect_clamped has been fixed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
66b6d7bcd7
dirac: alignment for put_signed_rect_clamped has been fixed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
2eecf63086
dirac: alignment for dirac_hpel_filter_v() has been fixed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
08bef053a0
dirac: fix stride alignment
This code was already added by Yuvi in c82cbea682
It was subsequently lost somehow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
a14a0d7c2c
dirac: fix segfault in horizontal_compose_haar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
c0dbab964d
dirac: ff_diracdsp_init_mmx() is only compiled when yasm is available
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
171727d530
Bump libavcodec minor version for the Dirac decoder.
14 years ago
Michael Niedermayer
0bc5677e98
dirac: enable ff_spatial_idwt_init_mmx()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
e8b891b7f0
dirac: enable diracdsp_mmx
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
3cb0686eea
dirac: ff_horizontal_compose_dd97i_ssse3 does not work yet, thus disable it
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
a1f3b18bf5
dirac: put_dirac_pixels8_mmx() does not work yet, thus disable it.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
22fe93ea39
dirac: add_rect_clamped does currently not receive aligned data, thus use unaligned accesses.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
d532e9223e
dirac: put_signed_rect_clamped does currently not receive aligned data, thus use unaligned accesses.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
5f34092b13
dirac; dirac_hpel_filter_h does currently not receive aligned data thus use unaligned accesses.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
f0d616e76f
dirac: dirac_hpel_filter_v does currently not receive aligned data, thus use unaligned accesses.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Jordi Ortiz
49aa397414
Dirac: More formating
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Jordi Ortiz
ca239e1c37
Dirac: Doxygen comments and some formatting enhancements
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago