On 05/03/2011 08:19 PM, Justin Ruggles wrote:
> ---
> This is an updated patch which removes some unrelated hunks and also makes it
> easier to add block switching support to the ac3_fixed encoder once we have
> a fixed-point iir filter.
>
> Still depends on the channel coupling patch.
>
> doc/encoders.texi | 7 +
> libavcodec/ac3enc.c | 297 +++++++++++++++++++++++++++++++++++++++++++-
> libavcodec/ac3enc_fixed.c | 4 +-
> libavcodec/ac3enc_float.c | 24 +++-
> libavcodec/iirfilter.c | 6 +
> libavcodec/iirfilter.h | 10 ++
> 6 files changed, 336 insertions(+), 12 deletions(-)
>
>
> @@ -628,6 +877,11 @@ static void apply_channel_coupling(AC3EncodeContext *s)
> new_coords = 1;
> last_coord_blk = blk;
> }
> + /* for stereo, encode coordinates more often */
> + if (s->fbw_channels == 2 && blk > 2 && last_coord_blk < (blk-2))
> {
> + new_coords = 1;
> + last_coord_blk = blk;
> + }
> }
> s->blocks[blk].new_cpl_coords = new_coords;
> }
*grumble* I don't know how that hunk slipped back into this patch...
it's supposed to be part of the coupling patch not this one.
-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel