Re: [FFmpeg-devel] [PATCH v2] avcodec: add Mediacodec audio decoders support

2024-08-26 Thread Matthieu Bouron
On Mon, Aug 26, 2024 at 01:59:32PM +0200, Anton Khirnov wrote: > Quoting Zhao Zhili (2024-08-26 13:52:41) > > > > > > > On Aug 24, 2024, at 22:40, Matthieu Bouron > > > wrote: > > > > > > --- > > > > > > Diff with the v1: > > > - dropped support of ENCODING_PCM_24BIT_PACKED as it uses 3 conse

Re: [FFmpeg-devel] [PATCH v2] avcodec: add Mediacodec audio decoders support

2024-08-26 Thread Anton Khirnov
Quoting Zhao Zhili (2024-08-26 13:52:41) > > > > On Aug 24, 2024, at 22:40, Matthieu Bouron > > wrote: > > > > --- > > > > Diff with the v1: > > - dropped support of ENCODING_PCM_24BIT_PACKED as it uses 3 consecutive > > bytes > > for one sample and there is no direct AVSampleFormat equival

Re: [FFmpeg-devel] [PATCH v2] avcodec: add Mediacodec audio decoders support

2024-08-26 Thread Zhao Zhili
> On Aug 24, 2024, at 22:40, Matthieu Bouron wrote: > > --- > > Diff with the v1: > - dropped support of ENCODING_PCM_24BIT_PACKED as it uses 3 consecutive bytes > for one sample and there is no direct AVSampleFormat equivalent (that would > require a dedicated copy routine to copy the 3 by

[FFmpeg-devel] [PATCH v2] avcodec: add Mediacodec audio decoders support

2024-08-24 Thread Matthieu Bouron
--- Diff with the v1: - dropped support of ENCODING_PCM_24BIT_PACKED as it uses 3 consecutive bytes for one sample and there is no direct AVSampleFormat equivalent (that would require a dedicated copy routine to copy the 3 bytes into the 4 bytes provided by AV_SAMPLE_FMT_S32). I believe this