Age | Commit message (Collapse) | Author |
|
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
Deprecate avcodec_decode_audio3().
Implement audio support in avcodec_default_get_buffer().
Implement the new audio decoder API in all audio decoders.
|
|
|
|
It makes more sense for a bit mask to use an unsigned type.
The change should be source and binary compatible on all
supported systems, hence micro version bump.
Fixes a few invalid shifts.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
This is a hand-tuned version of the code with impossible parts of
the FASTDIV function ommitted.
2-5% faster overall on Cortex-A8.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Return error if core block decoding fails.
Do not enable XCh if XCh extension block decoding fails.
|
|
|
|
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Writing zeros to the high entries in the array need only be
done once as the cutoff position is constant throughout the
loop.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Set the frame size when decoding DTS audio.
This has the side effect of fixing the computation of timestamps for DTS-HD in compute_pkt_fields. Since frame_size is
not currently set, the duration of a frame is being guessed based on the streams bitrate. But for DTS-HD, the bitrate
currently used is the rate of the DTS core which is much different than the whole DTS-HD stream and leads to a wildly
inaccurate frame duration estimate.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
|
|
av_get_bits_per_sample_fmt() is deprecated.
|
|
|
|
decoders.
Based on patches by clsid2 in ffdshow-tryout.
|
|
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
|
|
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
This avoids the core substream extensions scan when the EXT_AUDIO_ID
field indicates no extensions or only unsupported extensions. The scan
is done only if the value of EXT_AUDIO_ID is unknown or indicates a
present XCh extension which we can decode.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
|
|
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
This will be beneficial for use with the audio conversion API without
requiring it to depend on all of dsputil.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
DSPContext.vector_fmul_window()
DCADSPContext.lfe_fir()
SynthFilterContext.synth_filter_float()
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
|
|
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
DTS-HD HRA streams do not always have an XBR extension in the extension
substream. Instead they can have only XXCh and X96 extensions in
there and still be considered DTS-HD HRA.
This is also confirmed with Onkyo TX-SR607 receiver which recognizes
such a stream as HiRes Audio.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
Fixes issue 2505.
|
|
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26291 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Patch by Anssi Hannula anssi d hannula a iki d fi
Originally committed as revision 26250 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26249 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
This also allows to remove a linking dependency of libavfilter on
libavcodec.
Originally committed as revision 25789 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
that flag to the dca codec. This capability when set
will make sure the codec will initialize the channel
configuration instead of trusting the container. This
fixes issue 2137 and issue 850.
Originally committed as revision 25320 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Patch by Nick Brereton
Originally committed as revision 24637 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Patch by Nick Brereton
Originally committed as revision 24555 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Patch by Nick Brereton
Originally committed as revision 24554 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Patch by Christophe.Gisquet (gmail)
Originally committed as revision 24213 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Patch by Nick Brereton $name AT n$surname DOT net
Originally committed as revision 24210 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Patch by Nick Brereton $name AT n$surname DOT net
Originally committed as revision 24209 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
to verify the sync word the extension fsize field should be compared to
the core data length field.
Patch by nick.nbrereton@net
Originally committed as revision 24054 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
parsing
Originally committed as revision 24051 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Patch by Nick Brereton, nick at nbrereton dot net
Originally committed as revision 23698 to svn://svn.ffmpeg.org/ffmpeg/trunk
|