Searched refs:total_samples (Results 1 - 11 of 11) sorted by relevance

/external/flac/libFLAC/include/private/
H A Dlpc.h191 * IN total_samples > 0 # of samples in residual signal
194 FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample(FLAC__double lpc_error, unsigned total_samples);
205 * IN total_samples > 0 # of samples in residual signal
210 unsigned FLAC__lpc_compute_best_order(const FLAC__double lpc_error[], unsigned max_order, unsigned total_samples, unsigned overhead_bits_per_order);
/external/linux-tools-perf/util/
H A Dhist.c374 u64 total_samples, u64 hits,
389 percent = hits * 100.0 / total_samples;
418 u64 total_samples, int depth,
434 new_total = total_samples;
497 u64 total_samples, int left_margin)
529 ret += __callchain__fprintf_graph(fp, self, total_samples, 1, 1, left_margin);
535 u64 total_samples)
543 ret += callchain__fprintf_flat(fp, self->parent, total_samples);
560 u64 total_samples, int left_margin)
572 percent = chain->hit * 100.0 / total_samples;
372 ipchain__fprintf_graph(FILE *fp, struct callchain_list *chain, int depth, int depth_mask, int period, u64 total_samples, u64 hits, int left_margin) argument
417 __callchain__fprintf_graph(FILE *fp, struct callchain_node *self, u64 total_samples, int depth, int depth_mask, int left_margin) argument
496 callchain__fprintf_graph(FILE *fp, struct callchain_node *self, u64 total_samples, int left_margin) argument
534 callchain__fprintf_flat(FILE *fp, struct callchain_node *self, u64 total_samples) argument
559 hist_entry_callchain__fprintf(FILE *fp, struct hist_entry *self, u64 total_samples, int left_margin) argument
[all...]
/external/qemu/audio/
H A Dwavaudio.c42 int total_samples; member in struct:WAVVoiceOut
92 wav->total_samples += convert_samples;
182 uint32_t datalen = wav->total_samples << hw->info.shift;
229 int total_samples; member in struct:WAVVoiceIn
385 wav->total_samples += convert_samples;
/external/flac/include/FLAC/
H A Dmetadata.h1508 * \param total_samples The total number of samples to be encoded;
1510 * \a total_samples / \a num samples apart.
1514 * \code total_samples > 0 \endcode
1518 FLAC_API FLAC__bool FLAC__metadata_object_seektable_template_append_spaced_points(FLAC__StreamMetadata *object, unsigned num, FLAC__uint64 total_samples);
1532 * so on. As long as \a samples and \a total_samples
1535 * \param total_samples The total number of samples to be encoded;
1542 * \code total_samples > 0 \endcode
1546 FLAC_API FLAC__bool FLAC__metadata_object_seektable_template_append_spaced_points_by_samples(FLAC__StreamMetadata *object, unsigned samples, FLAC__uint64 total_samples);
H A Dformat.h532 FLAC__uint64 total_samples; member in struct:__anon6013
605 * total_samples in the stream_info block.
/external/flac/libFLAC/
H A Dmetadata_object.c712 if(block1->total_samples != block2->total_samples)
1083 FLAC_API FLAC__bool FLAC__metadata_object_seektable_template_append_spaced_points(FLAC__StreamMetadata *object, unsigned num, FLAC__uint64 total_samples) argument
1087 FLAC__ASSERT(total_samples > 0);
1089 if(num > 0 && total_samples > 0) {
1099 seek_table->points[i].sample_number = total_samples * (FLAC__uint64)j / (FLAC__uint64)num;
1108 FLAC_API FLAC__bool FLAC__metadata_object_seektable_template_append_spaced_points_by_samples(FLAC__StreamMetadata *object, unsigned samples, FLAC__uint64 total_samples) argument
1113 FLAC__ASSERT(total_samples > 0);
1115 if(samples > 0 && total_samples > 0) {
1120 num = 1 + total_samples / sample
[all...]
H A Dlpc.c1331 FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample(FLAC__double lpc_error, unsigned total_samples) argument
1335 FLAC__ASSERT(total_samples > 0);
1337 error_scale = 0.5 * M_LN2 * M_LN2 / (FLAC__double)total_samples;
1359 unsigned FLAC__lpc_compute_best_order(const FLAC__double lpc_error[], unsigned max_order, unsigned total_samples, unsigned overhead_bits_per_order) argument
1365 FLAC__ASSERT(total_samples > 0);
1367 error_scale = 0.5 * M_LN2 * M_LN2 / (FLAC__double)total_samples;
1373 bits = FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale(lpc_error[index], error_scale) * (FLAC__double)(total_samples - order) + (FLAC__double)(order * overhead_bits_per_order);
H A Dstream_decoder.c899 return decoder->private_->has_stream_info? decoder->private_->stream_info.data.stream_info.total_samples : 0;
1220 /* check this again in case we didn't know total_samples the first time */
1657 if(!FLAC__bitreader_read_raw_uint64(decoder->private_->input, &decoder->private_->stream_info.data.stream_info.total_samples, FLAC__STREAM_METADATA_STREAMINFO_TOTAL_SAMPLES_LEN))
2987 const FLAC__uint64 total_samples = FLAC__stream_decoder_get_total_samples(decoder); local
3028 upper_bound_sample = total_samples > 0 ? total_samples : target_sample /*estimate it*/;
3036 * that have frame_samples==0 or sample_number>=total_samples
3049 (total_samples <= 0 || seek_table->points[i].sample_number < total_samples) && /* defense against bad seekpoints */
3064 (total_samples <
[all...]
H A Dstream_encoder_framing.c99 if(!FLAC__bitwriter_write_raw_uint64(bw, metadata->data.stream_info.total_samples, FLAC__STREAM_METADATA_STREAMINFO_TOTAL_SAMPLES_LEN))
H A Dstream_encoder.c1064 encoder->private_->streaminfo.data.stream_info.total_samples = encoder->protected_->total_samples_estimate; /* we will replace this later with the real total */
1083 encoder->private_->streaminfo.data.stream_info.total_samples = 0;
2529 const FLAC__uint64 samples = metadata->data.stream_info.total_samples;
2694 const FLAC__uint64 samples = metadata->data.stream_info.total_samples;
2924 encoder->private_->streaminfo.data.stream_info.total_samples += (FLAC__uint64)encoder->protected_->blocksize;
H A Dmetadata_iterators.c2140 block->total_samples = (((FLAC__uint64)(b[3] & 0x0f)) << 32) | unpack_uint64_(b+4, 4);
2569 buffer[13] = (FLAC__byte)(((bps1 & 0x0f) << 4) | ((block->total_samples >> 32) & 0x0f));
2570 pack_uint32_((FLAC__uint32)block->total_samples, buffer+14, 4);

Completed in 182 milliseconds