[FFmpeg-devel] [PATCH] change AVCodecContext.use_lpc to lpc_type and lpc_passes
Justin Ruggles
justin.ruggles
Thu Jul 8 04:01:43 CEST 2010
Hi,
This patch adds 2 new fields to AVCodecContext, lpc_type and lpc_passes,
and deprecates use_lpc. Separating the 2 makes more sense logically and
allows for adding of other LPC algorithms. It also gives the user an
explicit option to not use LPC prediction.
The generic LPC code and the FLAC and ALAC encoders are modified to use
the new fields. FLAC currently uses the use_lpc field, so I've added
some backwards compatibility code. The ALAC encoder does not, so it
adds functionality in addition to using the new fields. I can separate
that into its own patch if desired.
Cheers,
Justin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lpc_type_and_passes.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100707/29742348/attachment.txt>
More information about the ffmpeg-devel
mailing list