Home
last modified time | relevance | path

Searched refs:total_samples (Results 1 – 25 of 27) sorted by relevance

12

/external/libvpx/libvpx/vpx_dsp/
Dpsnr.c213 uint32_t total_samples = 0; in vpx_calc_highbd_psnr() local
238 total_samples += samples; in vpx_calc_highbd_psnr()
242 psnr->samples[0] = total_samples; in vpx_calc_highbd_psnr()
244 vpx_sse_to_psnr((double)total_samples, peak, (double)total_sse); in vpx_calc_highbd_psnr()
261 uint32_t total_samples = 0; in vpx_calc_psnr() local
274 total_samples += samples; in vpx_calc_psnr()
278 psnr->samples[0] = total_samples; in vpx_calc_psnr()
280 vpx_sse_to_psnr((double)total_samples, peak, (double)total_sse); in vpx_calc_psnr()
/external/webrtc/webrtc/base/
Dratetracker.cc76 size_t total_samples = ((sample_buckets_[start_bucket] * in ComputeRateForInterval() local
84 total_samples += sample_buckets_[i]; in ComputeRateForInterval()
87 return static_cast<double>(total_samples * 1000u) / in ComputeRateForInterval()
/external/mesa3d/bin/
Dperf-annotate-jit156 total_samples = 0
166 total_samples += sample
168 print 'total:', total_samples
/external/skia/src/gpu/gl/
DGrGLRenderTarget.cpp241 int total_samples = this->msaaSamples(); in totalSamples() local
245 total_samples += 1; in totalSamples()
248 return total_samples; in totalSamples()
/external/skqp/src/gpu/gl/
DGrGLRenderTarget.cpp236 int total_samples = this->msaaSamples(); in totalSamples() local
240 total_samples += 1; in totalSamples()
243 return total_samples; in totalSamples()
/external/libhevc/common/arm/
Dihevc_intra_ref_substitution_a9q.c115 WORD32 total_samples = (4 * nt) + 1; in ihevc_intra_pred_chroma_ref_substitution_a9q() local
131 for(i = 0; i < (2 * total_samples); i++) in ihevc_intra_pred_chroma_ref_substitution_a9q()
409 WORD32 total_samples = (4 * nt) + 1; in ihevc_intra_pred_luma_ref_substitution_a9q() local
431 for(i = 0; i < total_samples; i++) in ihevc_intra_pred_luma_ref_substitution_a9q()
Dihevc_intra_pred_filters_neon_intr.c128 WORD32 total_samples = (4 * nt) + 1; in ihevc_intra_pred_luma_ref_substitution_neonintr() local
146 for(i = 0; i < total_samples; i++) in ihevc_intra_pred_luma_ref_substitution_neonintr()
/external/perf_data_converter/src/
Dperf_data_converter_test.cc258 uint64 total_samples = 0; in TEST_F() local
268 total_samples += sample.value(x); in TEST_F()
273 EXPECT_EQ(19989, total_samples); in TEST_F()
/external/flac/libFLAC/include/private/
Dlpc.h230 double FLAC__lpc_compute_expected_bits_per_residual_sample(double lpc_error, unsigned total_samples
246 …ute_best_order(const double lpc_error[], unsigned max_order, unsigned total_samples, unsigned over…
/external/flac/libFLAC/
Dmetadata_object.c711 if (block1->total_samples != block2->total_samples) in compare_block_data_streaminfo_()
1081 …mplate_append_spaced_points(FLAC__StreamMetadata *object, unsigned num, FLAC__uint64 total_samples) in FLAC__metadata_object_seektable_template_append_spaced_points() argument
1085 FLAC__ASSERT(total_samples > 0); in FLAC__metadata_object_seektable_template_append_spaced_points()
1087 if (num > 0 && total_samples > 0) { in FLAC__metadata_object_seektable_template_append_spaced_points()
1097 seek_table->points[i].sample_number = total_samples * (FLAC__uint64)j / (FLAC__uint64)num; in FLAC__metadata_object_seektable_template_append_spaced_points()
1106 …paced_points_by_samples(FLAC__StreamMetadata *object, unsigned samples, FLAC__uint64 total_samples) in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples() argument
1111 FLAC__ASSERT(total_samples > 0); in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples()
1113 if (samples > 0 && total_samples > 0) { in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples()
1118 num = 1 + total_samples / samples; /* 1+ for the first sample at 0 */ in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples()
1120 if (total_samples % samples == 0) in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples()
[all …]
Dlpc.c1305 double FLAC__lpc_compute_expected_bits_per_residual_sample(double lpc_error, unsigned total_samples) in FLAC__lpc_compute_expected_bits_per_residual_sample() argument
1309 FLAC__ASSERT(total_samples > 0); in FLAC__lpc_compute_expected_bits_per_residual_sample()
1311 error_scale = 0.5 / (double)total_samples; in FLAC__lpc_compute_expected_bits_per_residual_sample()
1333 …ute_best_order(const double lpc_error[], unsigned max_order, unsigned total_samples, unsigned over… in FLAC__lpc_compute_best_order() argument
1339 FLAC__ASSERT(total_samples > 0); in FLAC__lpc_compute_best_order()
1341 error_scale = 0.5 / (double)total_samples; in FLAC__lpc_compute_best_order()
1347 …dual_sample_with_error_scale(lpc_error[indx], error_scale) * (double)(total_samples - order) + (do… in FLAC__lpc_compute_best_order()
Dstream_encoder_framing.c99 …FLAC__ASSERT(metadata->data.stream_info.total_samples < (FLAC__U64L(1) << FLAC__STREAM_METADATA_ST… in FLAC__add_metadata_block()
100 …if(!FLAC__bitwriter_write_raw_uint64(bw, metadata->data.stream_info.total_samples, FLAC__STREAM_ME… in FLAC__add_metadata_block()
Dstream_decoder.c860 …oder->private_->has_stream_info? decoder->private_->stream_info.data.stream_info.total_samples : 0; in FLAC__stream_decoder_get_total_samples()
1625 …er->private_->input, &decoder->private_->stream_info.data.stream_info.total_samples, FLAC__STREAM_… in read_metadata_streaminfo_()
3000 const FLAC__uint64 total_samples = FLAC__stream_decoder_get_total_samples(decoder); in seek_to_absolute_sample_() local
3041 upper_bound_sample = total_samples > 0 ? total_samples : target_sample /*estimate it*/; in seek_to_absolute_sample_()
3062 …(total_samples <= 0 || seek_table->points[i].sample_number < total_samples) && /* defense against … in seek_to_absolute_sample_()
3077 …(total_samples <= 0 || seek_table->points[i].sample_number < total_samples) && /* defense against … in seek_to_absolute_sample_()
Dstream_encoder.c1178 …encoder->private_->streaminfo.data.stream_info.total_samples = encoder->protected_->total_samples_… in init_stream_internal_()
1197 encoder->private_->streaminfo.data.stream_info.total_samples = 0; in init_stream_internal_()
2707 const FLAC__uint64 samples = metadata->data.stream_info.total_samples; in update_metadata_()
2872 const FLAC__uint64 samples = metadata->data.stream_info.total_samples; in update_ogg_metadata_()
3102 …encoder->private_->streaminfo.data.stream_info.total_samples += (FLAC__uint64)encoder->protected_-… in process_frame_()
Dmetadata_iterators.c2197 block->total_samples = (((FLAC__uint64)(b[3] & 0x0f)) << 32) | unpack_uint64_(b+4, 4); in read_metadata_block_data_streaminfo_cb_()
2659 buffer[13] = (FLAC__byte)(((bps1 & 0x0f) << 4) | ((block->total_samples >> 32) & 0x0f)); in write_metadata_block_data_streaminfo_cb_()
2660 pack_uint32_((FLAC__uint32)block->total_samples, buffer+14, 4); in write_metadata_block_data_streaminfo_cb_()
/external/adhd/cras/src/server/
Dcras_dsp_pipeline.c144 int64_t total_samples; member
813 pipeline->total_samples += samples; in cras_dsp_pipeline_add_statistic()
945 dumpf(d, " processed samples: %" PRId64 "\n", pipeline->total_samples); in cras_dsp_pipeline_dump()
951 pipeline->total_samples / pipeline->total_blocks); in cras_dsp_pipeline_dump()
960 / pipeline->total_samples * pipeline->sample_rate * 100); in cras_dsp_pipeline_dump()
/external/tensorflow/tensorflow/core/lib/random/
Drandom_distributions_test.cc307 uint64 total_samples = 100; in SingleSampleAdapterSkipTest() local
336 for (; cur < total_samples; cur++) { in SingleSampleAdapterSkipTest()
/external/flac/include/FLAC/
Dmetadata.h1519 …plate_append_spaced_points(FLAC__StreamMetadata *object, unsigned num, FLAC__uint64 total_samples);
1547 …aced_points_by_samples(FLAC__StreamMetadata *object, unsigned samples, FLAC__uint64 total_samples);
Dformat.h535 FLAC__uint64 total_samples; member
/external/libxaac/test/
Dixheaacd_main.c805 WORD32 total_samples = 0; in ixheaacd_main_process() local
1527 if (eld_testing == 0) total_samples = get_play_time_in_samples(meta_info); in ixheaacd_main_process()
1726 if (total_samples != 0) // Usac stream in ixheaacd_main_process()
1754 if (samples_written > total_samples) { in ixheaacd_main_process()
1755 i_out_bytes = (total_samples - (samples_written - current_samples)) * in ixheaacd_main_process()
Dixheaacd_main_flush_csd.c854 WORD32 total_samples = 0; in ixheaacd_main_process() local
1459 total_samples = get_play_time_in_samples(meta_info); in ixheaacd_main_process()
1761 if (total_samples != 0) // Usac stream in ixheaacd_main_process()
1790 if (samples_written > total_samples) { in ixheaacd_main_process()
1791 i_out_bytes = (total_samples - (samples_written - current_samples)) * in ixheaacd_main_process()
/external/libhevc/common/
Dihevc_chroma_intra_pred_filters.c146 WORD32 total_samples = (4 * nt) + 1; in ihevc_intra_pred_chroma_ref_substitution() local
162 for(i = 0; i < (2 * total_samples); i++) in ihevc_intra_pred_chroma_ref_substitution()
Dihevc_intra_pred_filters.c212 WORD32 total_samples = (4 * nt) + 1; in ihevc_intra_pred_luma_ref_substitution() local
234 for(i = 0; i < total_samples; i++) in ihevc_intra_pred_luma_ref_substitution()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.h585 uint64_t total_samples; member
Dvp9_encoder.c2084 cpi->total_samples = 0; in vp9_create_compressor()
2337 (double)cpi->total_samples, peak, (double)cpi->total_sq_error); in vp9_remove_compressor()
5397 cpi->total_samples += psnr.samples[0];

12