Displaying 11 results from an estimated 11 matches for "max_partition_order".
2012 Apr 05
2
[PATCH 2/2] V2: Use a single definition of MIN and MAX in sources
...t;private_->streaminfo;
const FLAC__uint64 samples = metadata->data.stream_info.total_samples;
const unsigned min_framesize = metadata->data.stream_info.min_framesize;
@@ -2926,9 +2917,9 @@ FLAC__bool process_subframes_(FLAC__StreamEncoder *encoder, FLAC__bool is_fracti
}
else {
max_partition_order = FLAC__format_get_max_rice_partition_order_from_blocksize(encoder->protected_->blocksize);
- max_partition_order = min(max_partition_order, encoder->protected_->max_residual_partition_order);
+ max_partition_order = flac_min(max_partition_order, encoder->protected_->max_residua...
2007 Apr 08
0
FLAC 24 bit test results
...flat array */
/*@@@ new_blocksize*2 is too pessimistic, but to fix, we need smarter logic because a smaller new_blocksize can actually increase the # of partitions; would require moving this out into a separate function, then checking its capacity against the need of the current blocksize&min/max_partition_order (and maybe predictor order) */
ok = ok && FLAC__memory_alloc_aligned_uint64_array(new_blocksize * 2, &encoder->private_->abs_residual_partition_sums_unaligned, &encoder->private_->abs_residual_partition_sums);
- if(encoder->protected_->do_escape_coding)
- ok = o...
2004 Sep 10
3
0.9 problems
...fixed_compute_residual (data=0x1202b9c54,
data_len=4607, order=1, residual=0x1202e6cc0) at fixed.c:165
#1 0x200000e1f44 in encoder_evaluate_fixed_subframe_ (signal=0x1202b9c50,
residual=0x1202e6cc0, abs_residual=0x1202fd510, blocksize=4608,
subframe_bps=8, order=1, rice_parameter=1, max_partition_order=4,
subframe=0x200002aa2b0) at encoder.c:1028
#2 0x200000e1764 in encoder_process_subframe_ (encoder=0x1202b9bf0,
max_partition_order=4, verbatim_only=0, frame_header=0x11ffff850,
subframe_bps=8, integer_signal=0x1202b9c50, real_signal=0x1202be460,
subframe=0x2000050b940, residu...
2007 Apr 05
2
FLAC 24 bit test results
On Thu, 2007-04-05 at 02:27 -0700, Brian Willoughby wrote:
> Josh (Green),
>
> Seems like the longest example in your list is a 15-second file. I
> would like to see the same problem exhibited in a file that is of a
> normal length. I have been recording full performances lasting
> hours, and flac always compresses the files below 70% of the original
> size.
>
2014 Dec 02
1
Modified metaflac add --output-json
...tream is subset
and "false" if stream is not "subset".
What parameters need to test/check for subset compliance?
If one or more of the following statements is true the stream is NOT subset.
sample size in bits = not (8 or 12 or 16 or 20 or 24)
or
min_partition_order > 8
or
max_partition_order > 8
or
min_prediction_order > 12 and samplerate <= 48000
or
max_prediction_order > 12 and samplerate <= 48000
or
frame_size > 4608 and samplerate <= 48000
or
frame_size > 16384
Thanks in advance!
2013 Jul 21
3
exhaustive-model-search issue results in multi-gigabyte FLAC file
Miroslav Lichvar wrote:
> On Wed, Jul 17, 2013 at 07:45:53PM +1000, Erik de Castro Lopo wrote:
> > The fix was changing one local variable from FLAC_uint32 to FLAC_uint64
> > in function precompute_partition_info_sums_().
> >
> > https://git.xiph.org/?p=flac.git;a=commit;h=6f7ec60c7e7f05f5ab0b1cf6b7b0945e44afcd4b
>
> I don't like this fix. It will
2004 Sep 10
5
0.9 problems
Problems in FLAC 0.9:
- On alpha, flac immediately dumps core for both encoding and
decoding (FreeBSD/alpha).
- The distribution Makefile.in files haven't been generated with
"automake --include-deps". The resulting Makefiles aren't fully
portable; in particular they break with BSD make. In the future,
care should be taken to use "--include-deps".
- What is
2014 Jun 19
7
[PATCH] stream_encoder : Improve selection of residual accumulator width
...average residual magnitude */
+ if(FLAC__bitmath_ilog2(default_partition_samples) + bps + FLAC__MAX_EXTRA_RESIDUAL_BPS < 32) {
FLAC__precompute_partition_info_sums_32bit_asm_ia32_(residual, abs_residual_partition_sums, residual_samples + predictor_order, predictor_order, min_partition_order, max_partition_order);
return;
}
@@ -3884,10 +3883,9 @@ void precompute_partition_info_sums_(
/* first do max_partition_order */
{
unsigned partition, residual_sample, end = (unsigned)(-(int)predictor_order);
- /* WATCHOUT: "+ bps" is an assumption that the average residual magnitude will not be...
2004 Sep 10
3
Re: 0.9 problems
...en > 0) ?
log(M_LN2 * (real)total_error_0 / (real) data_len) / M_LN2 : 0.0);
(gdb) bt
#0 0x1600692a8 in FLAC__fixed_compute_best_predictor (data=0x11fc,
data_len=1611182472, residual_bits_per_sample=0x0) at fixed.c:84
#1 0x160064808 in encoder_process_subframe_ (encoder=0x11ffb86f,
max_partition_order=301971032, verbatim_only=0, frame_header=0xc,
subframe_bps=1610859008, integer_signal=0x1c3ffa043, real_signal=
Cannot access memory at address 0x11ffd458.
) at encoder.c:881
#2 0x160063d08 in encoder_process_subframes_ (encoder=0x1202c0000,
is_last_frame=0) at encoder.c:727
#3 0x160063...
2014 Dec 02
2
Modified metaflac add --output-json
On Mon, Dec 1, 2014 at 10:40 PM, ???? ?????? <bart.gopnik at gmail.com> wrote:
> Please help me solve the following problem:
>
> FLAC tools have a lots of warnings about non-subset files during
> encoding, but unfortunately don't have easy way to check/test existing
> FLAC stream for subset compliance.
>
> "flac -a" generates the big text file that has
2014 Jun 18
1
Please help me understand what values of FFMPEG's "compression_level" preset generate subset FLAC stream and what not-subset?
...E...A...
cholesky E...A...
-lpc_passes <int> E...A... Number of passes to use for
Cholesky factorization during LPC analysis (from 1 to INT_MAX)
(default 2)
-min_partition_order <int> E...A... (from -1 to 8) (default -1)
-max_partition_order <int> E...A... (from -1 to 8) (default -1)
-prediction_order_method <int> E...A... Search method for
selecting prediction order (from -1 to 5) (default -1)
estimation E...A...
2level E...A...
4level...