[Ffmpeg-cvslog] r7518 - in trunk/libavcodec: avcodec.h flac.c pcm.c utils.c
Michael Niedermayer
michaelni
Mon Jan 15 02:53:03 CET 2007
Hi
On Mon, Jan 15, 2007 at 01:51:14AM +0100, Baptiste Coudurier wrote:
> Hi
>
> michael wrote:
> > Author: michael
> > Date: Mon Jan 15 00:50:06 2007
> > New Revision: 7518
> >
> > Modified:
> > trunk/libavcodec/avcodec.h
> > trunk/libavcodec/flac.c
> > trunk/libavcodec/pcm.c
> > trunk/libavcodec/utils.c
> >
> > Log:
> > avcodec_decode_audio2()
> > difference to avcodec_decode_audio() is that the user can pass the allocated size of the output buffer to the decoder and the decoder can check if theres enough space
> >
> >
> >
> > [...]
> >
> > Modified: trunk/libavcodec/utils.c
> > ==============================================================================
> > --- trunk/libavcodec/utils.c (original)
> > +++ trunk/libavcodec/utils.c Mon Jan 15 00:50:06 2007
> > @@ -918,22 +918,44 @@
> > *number of bytes used. If no frame could be decompressed,
> > *frame_size_ptr is zero. Otherwise, it is the decompressed frame
> > *size in BYTES. */
> > -int avcodec_decode_audio(AVCodecContext *avctx, int16_t *samples,
> > +int avcodec_decode_audio2(AVCodecContext *avctx, int16_t *samples,
> > int *frame_size_ptr,
> > uint8_t *buf, int buf_size)
> > {
>
> What's the plan for 0.52 about audio decoding ?
plan? since when do we have something like that ...
> Is something similar to avctx->get_buffer for audio wanted ?
maybe (depends on complexity vs. _practical_ speed gain)
> AVFrame instead of int16_t * ?
yes or AudioFrame, iam more leaning toward AVFrame though but maybe a
AudioFrame would be better ..
> Support 24/32 integer/float ?
definitly welcome ...
> Audio conversion interface using SAMPLE_FMT ?
no objections
> CODEC_ID_RAWAUDIO (endianness) ?
?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20070115/448b4239/attachment.pgp>
More information about the ffmpeg-cvslog
mailing list