Home
last modified time | relevance | path

Searched refs:stream_info (Results 1 – 25 of 46) sorted by relevance

12

/external/flac/src/metaflac/
Doperations_shorthand_streaminfo.c55 printf("%02x", block->data.stream_info.md5sum[i]); in do_shorthand_operation__streaminfo()
59 printf("%u\n", block->data.stream_info.min_blocksize); in do_shorthand_operation__streaminfo()
62 printf("%u\n", block->data.stream_info.max_blocksize); in do_shorthand_operation__streaminfo()
65 printf("%u\n", block->data.stream_info.min_framesize); in do_shorthand_operation__streaminfo()
68 printf("%u\n", block->data.stream_info.max_framesize); in do_shorthand_operation__streaminfo()
71 printf("%u\n", block->data.stream_info.sample_rate); in do_shorthand_operation__streaminfo()
74 printf("%u\n", block->data.stream_info.channels); in do_shorthand_operation__streaminfo()
77 printf("%u\n", block->data.stream_info.bits_per_sample); in do_shorthand_operation__streaminfo()
80 printf("%" PRIu64 "\n", block->data.stream_info.total_samples); in do_shorthand_operation__streaminfo()
83 memcpy(block->data.stream_info.md5sum, operation->argument.streaminfo_md5.value, 16); in do_shorthand_operation__streaminfo()
[all …]
Doperations.c420 sample_rate = streaminfo.data.stream_info.sample_rate; in do_shorthand_operation__add_replay_gain()
421 bits_per_sample = streaminfo.data.stream_info.bits_per_sample; in do_shorthand_operation__add_replay_gain()
422 channels = streaminfo.data.stream_info.channels; in do_shorthand_operation__add_replay_gain()
425 if(sample_rate != streaminfo.data.stream_info.sample_rate) { in do_shorthand_operation__add_replay_gain()
426 …does not match previous files' %u Hz\n", filenames[i], streaminfo.data.stream_info.sample_rate, sa… in do_shorthand_operation__add_replay_gain()
429 if(bits_per_sample != streaminfo.data.stream_info.bits_per_sample) { in do_shorthand_operation__add_replay_gain()
430 …oes not match previous files' %u bps\n", filenames[i], streaminfo.data.stream_info.bits_per_sample… in do_shorthand_operation__add_replay_gain()
433 if(channels != streaminfo.data.stream_info.channels) { in do_shorthand_operation__add_replay_gain()
434 … does not match previous files' (%u)\n", filenames[i], streaminfo.data.stream_info.channels, chann… in do_shorthand_operation__add_replay_gain()
572 PPR; printf(" minimum blocksize: %u samples\n", block->data.stream_info.min_blocksize); in write_metadata()
[all …]
Doperations_shorthand_cuesheet.c53 lead_out_offset = block->data.stream_info.total_samples; in do_shorthand_operation__cuesheet()
59 sample_rate = block->data.stream_info.sample_rate; in do_shorthand_operation__cuesheet()
60 …is_cdda = (block->data.stream_info.channels == 1 || block->data.stream_info.channels == 2) && (blo… in do_shorthand_operation__cuesheet()
Doperations_shorthand_seektable.c49 sample_rate = block->data.stream_info.sample_rate; in do_shorthand_operation__add_seekpoints()
50 total_samples = block->data.stream_info.total_samples; in do_shorthand_operation__add_seekpoints()
/external/ImageMagick/coders/
Ddcm.c2747 static int ReadDCMByte(DCMStreamInfo *stream_info,Image *image) in ReadDCMByte() argument
2751 if (stream_info->count == 0) in ReadDCMByte()
2759 if (stream_info->remaining <= 2) in ReadDCMByte()
2760 stream_info->remaining=0; in ReadDCMByte()
2762 stream_info->remaining-=2; in ReadDCMByte()
2773 stream_info->count=count; in ReadDCMByte()
2774 stream_info->byte=(-1); in ReadDCMByte()
2782 stream_info->count=256-count; in ReadDCMByte()
2783 stream_info->byte=byte; in ReadDCMByte()
2787 stream_info->count--; in ReadDCMByte()
[all …]
/external/ImageMagick/MagickCore/
Dstream.c163 *stream_info; in AcquireStreamInfo() local
165 stream_info=(StreamInfo *) AcquireCriticalMemory(sizeof(*stream_info)); in AcquireStreamInfo()
166 (void) memset(stream_info,0,sizeof(*stream_info)); in AcquireStreamInfo()
167 stream_info->pixels=(unsigned char *) MagickAssumeAligned( in AcquireStreamInfo()
168 AcquireAlignedMemory(1,sizeof(*stream_info->pixels))); in AcquireStreamInfo()
169 if (stream_info->pixels == (unsigned char *) NULL) in AcquireStreamInfo()
171 stream_info->map=ConstantString("RGB"); in AcquireStreamInfo()
172 stream_info->storage_type=CharPixel; in AcquireStreamInfo()
173 stream_info->stream=AcquireImage(image_info,exception); in AcquireStreamInfo()
174 stream_info->signature=MagickCoreSignature; in AcquireStreamInfo()
[all …]
/external/flac/src/test_libFLAC/
Dencoders.c194 if(!FLAC__stream_encoder_set_channels(encoder, streaminfo_.data.stream_info.channels)) in test_stream_encoder()
199 …if(!FLAC__stream_encoder_set_bits_per_sample(encoder, streaminfo_.data.stream_info.bits_per_sample… in test_stream_encoder()
204 if(!FLAC__stream_encoder_set_sample_rate(encoder, streaminfo_.data.stream_info.sample_rate)) in test_stream_encoder()
214 if(!FLAC__stream_encoder_set_blocksize(encoder, streaminfo_.data.stream_info.min_blocksize)) in test_stream_encoder()
269 …if(!FLAC__stream_encoder_set_total_samples_estimate(encoder, streaminfo_.data.stream_info.total_sa… in test_stream_encoder()
371 if(FLAC__stream_encoder_get_channels(encoder) != streaminfo_.data.stream_info.channels) { in test_stream_encoder()
372 …printf("FAILED, expected %u, got %u\n", streaminfo_.data.stream_info.channels, FLAC__stream_encode… in test_stream_encoder()
378 …if(FLAC__stream_encoder_get_bits_per_sample(encoder) != streaminfo_.data.stream_info.bits_per_samp… in test_stream_encoder()
379 …printf("FAILED, expected %u, got %u\n", streaminfo_.data.stream_info.bits_per_sample, FLAC__stream… in test_stream_encoder()
385 if(FLAC__stream_encoder_get_sample_rate(encoder) != streaminfo_.data.stream_info.sample_rate) { in test_stream_encoder()
[all …]
Dmetadata_manip.c531 streaminfo.data.stream_info.min_blocksize = 576; in generate_file_()
532 streaminfo.data.stream_info.max_blocksize = 576; in generate_file_()
533 streaminfo.data.stream_info.min_framesize = 0; in generate_file_()
534 streaminfo.data.stream_info.max_framesize = 0; in generate_file_()
535 streaminfo.data.stream_info.sample_rate = 44100; in generate_file_()
536 streaminfo.data.stream_info.channels = 1; in generate_file_()
537 streaminfo.data.stream_info.bits_per_sample = 8; in generate_file_()
538 streaminfo.data.stream_info.total_samples = 0; in generate_file_()
539 memset(streaminfo.data.stream_info.md5sum, 0, 16); in generate_file_()
717 if(streaminfo.data.stream_info.channels != 1) in test_level_0_()
[all …]
Ddecoders.c589 if(channels != streaminfo_.data.stream_info.channels) { in test_stream_decoder()
590 printf("FAILED, returned %u, expected %u\n", channels, streaminfo_.data.stream_info.channels); in test_stream_decoder()
599 if(bits_per_sample != streaminfo_.data.stream_info.bits_per_sample) { in test_stream_decoder()
600 …printf("FAILED, returned %u, expected %u\n", bits_per_sample, streaminfo_.data.stream_info.bits_pe… in test_stream_decoder()
609 if(sample_rate != streaminfo_.data.stream_info.sample_rate) { in test_stream_decoder()
610 …printf("FAILED, returned %u, expected %u\n", sample_rate, streaminfo_.data.stream_info.sample_rate… in test_stream_decoder()
/external/flac/src/libFLAC/
Dstream_encoder_framing.c76 …FLAC__ASSERT(metadata->data.stream_info.min_blocksize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MI… in FLAC__add_metadata_block()
77 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.min_blocksize, FLAC__STREAM_ME… in FLAC__add_metadata_block()
79 …FLAC__ASSERT(metadata->data.stream_info.max_blocksize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MA… in FLAC__add_metadata_block()
80 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.max_blocksize, FLAC__STREAM_ME… in FLAC__add_metadata_block()
82 …FLAC__ASSERT(metadata->data.stream_info.min_framesize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MI… in FLAC__add_metadata_block()
83 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.min_framesize, FLAC__STREAM_ME… in FLAC__add_metadata_block()
85 …FLAC__ASSERT(metadata->data.stream_info.max_framesize < (1u << FLAC__STREAM_METADATA_STREAMINFO_MA… in FLAC__add_metadata_block()
86 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.max_framesize, FLAC__STREAM_ME… in FLAC__add_metadata_block()
88 FLAC__ASSERT(FLAC__format_sample_rate_is_valid(metadata->data.stream_info.sample_rate)); in FLAC__add_metadata_block()
89 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.sample_rate, FLAC__STREAM_META… in FLAC__add_metadata_block()
[all …]
Dstream_decoder.c147 FLAC__StreamMetadata stream_info; member
681 …if(memcmp(decoder->private_->stream_info.data.stream_info.md5sum, decoder->private_->computed_md5s… in FLAC__stream_decoder_finish()
859 …return decoder->private_->has_stream_info? decoder->private_->stream_info.data.stream_info.total_s… in FLAC__stream_decoder_get_total_samples()
1411 …if(0 == memcmp(decoder->private_->stream_info.data.stream_info.md5sum, "\0\0\0\0\0\0\0\0\0\0\0\0\0… in read_metadata_()
1414 …decoder->private_->metadata_callback(decoder, &decoder->private_->stream_info, decoder->private_->… in read_metadata_()
1574 decoder->private_->stream_info.type = FLAC__METADATA_TYPE_STREAMINFO; in read_metadata_streaminfo_()
1575 decoder->private_->stream_info.is_last = is_last; in read_metadata_streaminfo_()
1576 decoder->private_->stream_info.length = length; in read_metadata_streaminfo_()
1581 decoder->private_->stream_info.data.stream_info.min_blocksize = x; in read_metadata_streaminfo_()
1587 decoder->private_->stream_info.data.stream_info.max_blocksize = x; in read_metadata_streaminfo_()
[all …]
/external/flac/src/test_libFLAC++/
Dencoders.cpp241 if(!encoder->set_channels(streaminfo_.data.stream_info.channels)) in test_stream_encoder()
246 if(!encoder->set_bits_per_sample(streaminfo_.data.stream_info.bits_per_sample)) in test_stream_encoder()
251 if(!encoder->set_sample_rate(streaminfo_.data.stream_info.sample_rate)) in test_stream_encoder()
261 if(!encoder->set_blocksize(streaminfo_.data.stream_info.min_blocksize)) in test_stream_encoder()
316 if(!encoder->set_total_samples_estimate(streaminfo_.data.stream_info.total_samples)) in test_stream_encoder()
413 if(encoder->get_channels() != streaminfo_.data.stream_info.channels) { in test_stream_encoder()
414 …printf("FAILED, expected %u, got %u\n", streaminfo_.data.stream_info.channels, encoder->get_channe… in test_stream_encoder()
420 if(encoder->get_bits_per_sample() != streaminfo_.data.stream_info.bits_per_sample) { in test_stream_encoder()
421 …printf("FAILED, expected %u, got %u\n", streaminfo_.data.stream_info.bits_per_sample, encoder->get… in test_stream_encoder()
427 if(encoder->get_sample_rate() != streaminfo_.data.stream_info.sample_rate) { in test_stream_encoder()
[all …]
Dmetadata_object.cpp102 streaminfo_.data.stream_info.min_blocksize = 576; in init_metadata_blocks_()
103 streaminfo_.data.stream_info.max_blocksize = 576; in init_metadata_blocks_()
104 streaminfo_.data.stream_info.min_framesize = 0; in init_metadata_blocks_()
105 streaminfo_.data.stream_info.max_framesize = 0; in init_metadata_blocks_()
106 streaminfo_.data.stream_info.sample_rate = 44100; in init_metadata_blocks_()
107 streaminfo_.data.stream_info.channels = 1; in init_metadata_blocks_()
108 streaminfo_.data.stream_info.bits_per_sample = 8; in init_metadata_blocks_()
109 streaminfo_.data.stream_info.total_samples = 0; in init_metadata_blocks_()
110 memset(streaminfo_.data.stream_info.md5sum, 0, 16); in init_metadata_blocks_()
123 seektable_.data.seek_table.points[0].frame_samples = streaminfo_.data.stream_info.min_blocksize; in init_metadata_blocks_()
[all …]
/external/libvpx/libvpx/test/
Ddecode_test_driver.cc23 vpx_codec_stream_info_t *stream_info) { in PeekStream() argument
25 CodecInterface(), cxdata, static_cast<unsigned int>(size), stream_info); in PeekStream()
78 vpx_codec_stream_info_t stream_info; in RunLoop() local
79 stream_info.sz = sizeof(stream_info); in RunLoop()
83 video->cxdata(), video->frame_size(), &stream_info); in RunLoop()
/external/flac/src/plugin_xmms/
Dfileinfo.c218 label_set_text(flac_samplerate, _("Samplerate: %d Hz"), streaminfo.data.stream_info.sample_rate); in show_file_info()
219 label_set_text(flac_channels, _("Channels: %d"), streaminfo.data.stream_info.channels); in show_file_info()
220 …label_set_text(flac_bits_per_sample, _("Bits/Sample: %d"), streaminfo.data.stream_info.bits_per_sa… in show_file_info()
221 if(streaminfo.data.stream_info.min_blocksize == streaminfo.data.stream_info.max_blocksize) in show_file_info()
222 label_set_text(flac_blocksize, _("Blocksize: %d"), streaminfo.data.stream_info.min_blocksize); in show_file_info()
224 …e: variable\n min/max: %d/%d"), streaminfo.data.stream_info.min_blocksize, streaminfo.data.stream… in show_file_info()
226 if (streaminfo.data.stream_info.total_samples) in show_file_info()
228 streaminfo.data.stream_info.total_samples, in show_file_info()
229 (int)(streaminfo.data.stream_info.total_samples / streaminfo.data.stream_info.sample_rate / 60), in show_file_info()
230 … (int)(streaminfo.data.stream_info.total_samples / streaminfo.data.stream_info.sample_rate % 60)); in show_file_info()
[all …]
Dplugin.c427 …4 l = (FLAC__uint64)((double)streaminfo.data.stream_info.total_samples / (double)streaminfo.data.s… in FLAC_XMMS__get_song_info()
662 stream_data->total_samples = metadata->data.stream_info.total_samples; in metadata_callback_()
663 stream_data->bits_per_sample = metadata->data.stream_info.bits_per_sample; in metadata_callback_()
664 stream_data->channels = metadata->data.stream_info.channels; in metadata_callback_()
665 stream_data->sample_rate = metadata->data.stream_info.sample_rate; in metadata_callback_()
/external/libaom/libaom/test/
Ddecode_test_driver.cc24 aom_codec_stream_info_t *stream_info) { in PeekStream() argument
26 stream_info); in PeekStream()
68 aom_codec_stream_info_t stream_info; in RunLoop() local
69 stream_info.is_annexb = 0; in RunLoop()
77 video->cxdata(), video->frame_size(), &stream_info); in RunLoop()
/external/flac/src/test_libs_common/
Dfile_utils_flac.c99 FLAC__stream_encoder_set_channels(encoder, streaminfo->data.stream_info.channels); in file_utils__generate_flacfile()
100 FLAC__stream_encoder_set_bits_per_sample(encoder, streaminfo->data.stream_info.bits_per_sample); in file_utils__generate_flacfile()
101 FLAC__stream_encoder_set_sample_rate(encoder, streaminfo->data.stream_info.sample_rate); in file_utils__generate_flacfile()
102 FLAC__stream_encoder_set_blocksize(encoder, streaminfo->data.stream_info.min_blocksize); in file_utils__generate_flacfile()
111 …FLAC__stream_encoder_set_total_samples_estimate(encoder, streaminfo->data.stream_info.total_sample… in file_utils__generate_flacfile()
Dmetadata_utils.c389 …turn mutils__compare_block_data_streaminfo(&block->data.stream_info, &blockcopy->data.stream_info); in mutils__compare_block()
461 streaminfo->data.stream_info.min_blocksize = 576; in mutils__init_metadata_blocks()
462 streaminfo->data.stream_info.max_blocksize = 576; in mutils__init_metadata_blocks()
463 streaminfo->data.stream_info.min_framesize = 0; in mutils__init_metadata_blocks()
464 streaminfo->data.stream_info.max_framesize = 0; in mutils__init_metadata_blocks()
465 streaminfo->data.stream_info.sample_rate = 44100; in mutils__init_metadata_blocks()
466 streaminfo->data.stream_info.channels = 1; in mutils__init_metadata_blocks()
467 streaminfo->data.stream_info.bits_per_sample = 8; in mutils__init_metadata_blocks()
468 streaminfo->data.stream_info.total_samples = 0; in mutils__init_metadata_blocks()
469 memset(streaminfo->data.stream_info.md5sum, 0, 16); in mutils__init_metadata_blocks()
[all …]
/external/flac/examples/cpp/decode/file/
Dmain.cpp176 total_samples = metadata->data.stream_info.total_samples; in metadata_callback()
177 sample_rate = metadata->data.stream_info.sample_rate; in metadata_callback()
178 channels = metadata->data.stream_info.channels; in metadata_callback()
179 bps = metadata->data.stream_info.bits_per_sample; in metadata_callback()
/external/flac/examples/c/decode/file/
Dmain.c183 total_samples = metadata->data.stream_info.total_samples; in metadata_callback()
184 sample_rate = metadata->data.stream_info.sample_rate; in metadata_callback()
185 channels = metadata->data.stream_info.channels; in metadata_callback()
186 bps = metadata->data.stream_info.bits_per_sample; in metadata_callback()
/external/flac/src/test_seeking/
Dmain.c123 channels = streaminfo.data.stream_info.channels; in read_pcm_()
124 bps = streaminfo.data.stream_info.bits_per_sample; in read_pcm_()
133 ok = ok && (channels = FLAC__metadata_iterator_get_block(it)->data.stream_info.channels); in read_pcm_()
134 ok = ok && (bps = FLAC__metadata_iterator_get_block(it)->data.stream_info.bits_per_sample); in read_pcm_()
241 dcd->total_samples = metadata->data.stream_info.total_samples; in metadata_callback_()
242 dcd->channels = metadata->data.stream_info.channels; in metadata_callback_()
243 dcd->bits_per_sample = metadata->data.stream_info.bits_per_sample; in metadata_callback_()
/external/ImageMagick/MagickWand/
Dstream.c156 stream_info=DestroyStreamInfo(stream_info); \ in StreamImageCommand()
205 *stream_info; in StreamImageCommand() local
236 stream_info=AcquireStreamInfo(image_info,exception); in StreamImageCommand()
246 status=OpenStream(image_info,stream_info,argv[argc-1],exception); in StreamImageCommand()
284 images=StreamImage(image_info,stream_info,exception); in StreamImageCommand()
579 SetStreamInfoMap(stream_info,argv[i]); in StreamImageCommand()
681 SetStreamInfoStorageType(stream_info,(StorageType) type); in StreamImageCommand()
/external/flac/src/libFLAC++/
Dmetadata.cpp244 return object_->data.stream_info.min_blocksize; in get_min_blocksize()
250 return object_->data.stream_info.max_blocksize; in get_max_blocksize()
256 return object_->data.stream_info.min_framesize; in get_min_framesize()
262 return object_->data.stream_info.max_framesize; in get_max_framesize()
268 return object_->data.stream_info.sample_rate; in get_sample_rate()
274 return object_->data.stream_info.channels; in get_channels()
280 return object_->data.stream_info.bits_per_sample; in get_bits_per_sample()
286 return object_->data.stream_info.total_samples; in get_total_samples()
292 return object_->data.stream_info.md5sum; in get_md5sum()
300 object_->data.stream_info.min_blocksize = value; in set_min_blocksize()
[all …]
/external/python/cpython3/Lib/test/
Dtest_c_locale_coercion.py120 stream_info = 2*[_stream.format("surrogateescape")]
122 stream_info.append(_stream.format("backslashreplace"))
130 return dict(cls(fs_encoding, *stream_info, *env_info)._asdict())

12