[FFmpeg-devel] [PATCH] AAC: [PATCH] AAC: Add support for 7350Hz sampling rates

Michael Niedermayer michaelni at gmx.at
Mon Mar 9 16:51:39 CET 2015


On Sun, Mar 08, 2015 at 11:07:33PM -0300, Claudio Freire wrote:
> On Sun, Mar 8, 2015 at 11:06 PM, Claudio Freire <klaussfreire at gmail.com> wrote:
> > On Sun, Mar 8, 2015 at 8:23 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> >> i think its better to leave fuzz at a small value otherwise we
> >> would forget to update the target when it improves and then
> >> subsequent worsenings could be missed
> >
> > An updated version with that fixed.
> >
> > It's a bit tricky to squash commits with git format-patch, so if
> > there's an issue with the patch just apply it with patch -p1, works
> > that way (tried)
> 
> 
> Dang, forgot to attach the patch.
> 
> Now truly attached.

>  fate-run.sh  |    6 ++++++
>  fate/aac.mak |   29 +++++++++++++++++++++++++++++
>  2 files changed, 35 insertions(+)
> 94ffe372679351a8d3ec19bcebaf77349f2ef46d  s7350test.patch
> From 9ebb5b6d0085a547938afb32c7d203686f7fcf11 Mon Sep 17 00:00:00 2001
> From: Claudio Freire <klaussfreire at gmail.com>
> Date: Sun, 8 Mar 2015 03:53:22 -0300
> Subject: [PATCH] Add AAC tests for 7350hz sampling rates and M/S
> 
> Also tweak fuzz factor to not error out on too little distortion (ie: codec improvement)
> ---
>  tests/fate-run.sh  |  6 ++++++
>  tests/fate/aac.mak | 33 +++++++++++++++++++++++++++++++--
>  2 files changed, 37 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/fate-run.sh b/tests/fate-run.sh
> index 824d5f4..feac731 100755
> --- a/tests/fate-run.sh
> +++ b/tests/fate-run.sh
> @@ -50,6 +50,12 @@ do_tiny_psnr(){
>      size_cmp=$(compare $size1 $size2 $size_tolerance)
>      if [ "$val_cmp" != 0 ] || [ "$size_cmp" != 0 ]; then
>          echo "$psnr"
> +        if [ "$val_cmp" != 0 ]; then
> +            echo "$3: |$val - $cmp_target| >= $fuzz"
> +        fi
> +        if [ "$size_cmp" != 0 ]; then
> +            echo "size: |$size1 - $size2| >= $size_tolerance"
> +        fi
>          return 1
>      fi
>  }

applied above hunk


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150309/b33d4019/attachment.asc>


More information about the ffmpeg-devel mailing list