Displaying 20 results from an estimated 5000 matches similar to: "[PATCH] Update documentation for new compression presets"
2014 Sep 22
2
Retuning compression levels
Erik de Castro Lopo wrote:
>> Currently, compression settings are as follows
>>
>> -6, -l 8 -b 4096 -m -r 6-A tukey(0.5)
>> -7, -l 8 -b 4096 -m -e -r 6-A tukey(0.5)
>> -8, -l 12 -b 4096 -m -e -r 6-A tukey(0.5)
>>
>> I suggest the following, in case my previous patch is accepted
>>
>> -6, -l 8 -b 4096 -m -r 6 -A tukey(0.5);partial_tukey(2)
2013 Mar 27
1
[PATCH] Fix option names in documentation and help messages.
---
doc/html/documentation_tools_flac.html | 8 +++++---
doc/html/ru/documentation.html | 2 +-
man/flac.1 | 6 ++++--
man/flac.sgml | 5 +++--
src/flac/main.c | 4 +++-
5 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/doc/html/documentation_tools_flac.html b/doc/html/documentation_tools_flac.html
2014 Aug 10
3
Retuning compression levels
Hi all,
With the patch I mailed earlier today, I found out a few
adjustments could be made to the compression level settings.This
retuning speeds up the encoding and improves compression, while
not changing anything decoding-wise.
Currently, compression settings are as follows
-5, -l 8 -b 4096 -m -r 5 -A tukey(0.5)
-6, -l 8 -b 4096 -m -r 6-A tukey(0.5)
-7, -l 8 -b 4096 -m -e -r 6-A
2014 Sep 22
0
Retuning compression levels
Martijn van Beurden wrote:
> With the patch I mailed earlier today, I found out a few
> adjustments could be made to the compression level settings.This
> retuning speeds up the encoding and improves compression, while
> not changing anything decoding-wise.
>
> Currently, compression settings are as follows
>
> -5, -l 8 -b 4096 -m -r 5 -A tukey(0.5)
> -6, -l 8 -b
2014 Aug 10
2
[PATCH] New apodization functions
Hi all,
This patch adds two new apodization functions that I developed.
From my own test results (on quite a diverse dataset) they
outperform the current best apodizations by 0.05% - 0.1%
(depending on the specifics) on compression.
Here's a selection of the test results
*Apodization functions* ,Compres, Speed
partial_tukey(2) tukey(0.5) , 56.50 , 37.2x
partial_tukey(3)
2014 Sep 22
4
[PATCH] apodization for struct CompressionLevels
Currently apodization function is hardcoded,
see commit <http://git.xiph.org/?p=flac.git;a=commitdiff;h=4e8fe85bceb245dfce07d1956b144e1cb6587c9f>
FLAC is locale-dependent so "tukey(0.5)" doesn't work for locales
with decimal comma.
But "tukey(5e-1)" should be locale-independent so it is possible to
re-add 'const char *apodization' member into
2014 Sep 20
0
[PATCH] New apodization functions
Martijn van Beurden wrote:
Hi Marijn,
Sorry for the lack of response on this. I didn't understand it
when it came in and I needed time to properly review it. Sunday
morning after a really good night's sleep seems like a good time
for that :-).
I've currently got this patch in an un-published branch.
> This patch adds two new apodization functions that I developed.
> From my
2014 Oct 22
2
Retuning compression levels
Op 20-10-14 om 16:36 schreef Martijn van Beurden:
> Op 20-10-14 om 16:31 schreef lvqcl:
>> But your patch changes only two last presets (-7 and -8) so
>> -6 stays unchanged. ( IIRC it should have
>> "tukey(5e-1);partial_tukey(2)" as its apodization string
>> instead of current "tukey(5e-1)" ).
>
> .... okay, I really don't know how it is
2014 Jul 28
0
[PATCH] Fix bug when using -p switch during compression
When using the -p switch during encoding, the encoder should try
different qlp predictor precision steps. However, some faulty code
was too severely restricting the possible steps. This patch lifts
the restriction to match a restriction coded a little further in
the process. This doesn't make using -p worth your while, but at
least it doesn't create larger files now
---
2014 Oct 20
2
Retuning compression levels
Martijn van Beurden wrote:
> This patch changes the settings associated with compression
> levels 6, 7 and 8. With this patch, -e is no longer used, but
> instead apodization functions are added. This should improve
> compression with at least 95% of all material. Independent tests
> show that this is probably the case.
But your patch changes only two last presets (-7 and -8)
so
2014 Nov 13
4
free() invalid pointer
Op 13-11-14 om 17:45 schreef lvqcl:
> FLAC__window_partial_tukey():
>
> Np = (FLAC__int32)(p / 2.0f * N) - 1;
>
> and Np can be equal to -1. So later in the code
>
> for (; n < (end_n-Np); n++)
> window[n] = 1.0f;
>
> libFLAC writes outside of window[] memory.
That does the trick indeed. I still wonder how it is possible
that this didn't trigger anything
2014 Nov 23
5
FLAC 1.3.1 changelog?
As we?re talking 1.3.1 release, I?ve been keeping track of a couple of changes that I feel should be included in the changelog and that I might as well share here. The things between brackets are just to refresh memories, I?d leave them out of the actual changelog.
* Improved efficiency of 24 bit decoding. (https://git.xiph.org/?p=flac.git;a=commit;h=ea0d5ddadc6902e873983c89f473130b3bb6625f)
*
2015 Apr 18
2
"keep qlp coeff precision such that only 32-bit math is required"
Ok, I just did a comparison of 1.2.1 with 1.3.2, and the change you're suggesting was already there before. So, now the question becomes: why was the code changed in the first place? Was there a bug that was fixed by changing 17 to 16, or did someone just get overzealous in a code review and thought that 17 was a bad choice? Perhaps 32 bits isn't actually large enough to handle the
2014 Nov 24
1
FLAC 1.3.1 changelog?
On 24 Nov 2014, at 10:13, Erik de Castro Lopo <mle+la at mega-nerd.com> wrote:
> MauritsVB wrote:
>
>> As we?re talking 1.3.1 release, I?ve been keeping track of a couple of
>> changes that I feel should be included in the changelog and that I might
>> as well share here. The things between brackets are just to refresh
>> memories, I?d leave them out of the
2014 Jul 28
1
Duplicate QLP coefficient restricting code
Hi all,
I was investigating the behaviour of the -p switch of flac. This
switch should enable exhaustive search for the optimal qlp
coefficient precision, but the resulting files are usually 0.5%
larger then when not using the switch. I stumbled upon this code
in stream_encoder
> if(encoder->protected_->do_qlp_coeff_prec_search) {
> min_qlp_coeff_precision =
2014 Sep 22
2
Retuning compression levels
Martijn van Beurden wrote:
>> And I also suggested to consider a different setting for -7 preset:
>> -7 == -l 12 -b 4096 -m -r 6 -A tukey(0.5);partial_tukey(2)
>> see <http://www.hydrogenaud.io/forums/index.php?s=&showtopic=106545&view=findpost&p=871797>
>>
>> But it will decrease decoding speed for this preset.
>
> Yes, that is another thing
2015 Apr 18
2
"keep qlp coeff precision such that only 32-bit math is required"
stream_encoder.c has the following code:
/* try to keep qlp coeff precision such that only 32-bit math is required for decode of <=16bps streams */
if(subframe_bps <= 16) {
...
But FLAC can convert 16-bit input to 17-bit if mid-side coding is used.
So, does it make sense to compare subframe_bps with 17?
(The patch is attached. What do you think about it?)
-------------- next part
2014 Apr 30
2
make fullcheck fails: strtod/atof and locale
make fullcheck fails on my computer: flac cannot recognize --skip option
that contains decimal point, e.g. "--skip=1.234".
System locale uses comma as a separator, so strtod/atof expect comma, not point,
and "make fullcheck" fails.
Here's what I can see in FLAC source code:
atof() function found in:
file: src/share/grabbag/seektable.c
function:
2014 Sep 22
0
Retuning compression levels
> And I also suggested to consider a different setting for -7 preset:
> -7 == -l 12 -b 4096 -m -r 6 -A tukey(0.5);partial_tukey(2)
> see <http://www.hydrogenaud.io/forums/index.php?s=&showtopic=106545&view=findpost&p=871797>
>
> But it will decrease decoding speed for this preset.
Yes, that is another thing to consider. My proposal keeps the
decoding speed for
2012 Jun 14
3
flac -- exhaustive model search vs. -A <*>?
"Linda A. Walsh" <flac at tlinx.org> wrote:
> what does the exhaustive model search do?
I am not an expert on the guts of FLAC, but
there is some information about this at:
http://flac.sourceforge.net/documentation_format_overview.html
and scroll down to "MODELING".
> Does it try all of the functions listed under "-A" to find the 'best',
>