Home
last modified time | relevance | path

Searched refs:sfi (Results 1 – 10 of 10) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dsndfile-util.c34 SF_INFO sfi; in pa_sndfile_read_sample_spec() local
40 pa_zero(sfi); in pa_sndfile_read_sample_spec()
41 if ((sf_errno = sf_command(sf, SFC_GET_CURRENT_SF_INFO, &sfi, sizeof(sfi)))) { in pa_sndfile_read_sample_spec()
46 switch (sfi.format & SF_FORMAT_SUBMASK) { in pa_sndfile_read_sample_spec()
77 ss->rate = (uint32_t) sfi.samplerate; in pa_sndfile_read_sample_spec()
78 ss->channels = (uint8_t) sfi.channels; in pa_sndfile_read_sample_spec()
86 int pa_sndfile_write_sample_spec(SF_INFO *sfi, pa_sample_spec *ss) { in pa_sndfile_write_sample_spec() argument
87 pa_assert(sfi); in pa_sndfile_write_sample_spec()
90 sfi->samplerate = (int) ss->rate; in pa_sndfile_write_sample_spec()
91 sfi->channels = (int) ss->channels; in pa_sndfile_write_sample_spec()
[all …]
Dsound-file.c49 SF_INFO sfi; in pa_sound_file_load() local
75 pa_zero(sfi); in pa_sound_file_load()
76 if (!(sf = sf_open_fd(fd, SFM_READ, &sfi, 1))) { in pa_sound_file_load()
97 if ((l = pa_frame_size(ss) * (size_t) sfi.frames) > PA_SCACHE_ENTRY_SIZE_MAX) { in pa_sound_file_load()
110 if ((readf_function && readf_function(sf, ptr, sfi.frames) != sfi.frames) || in pa_sound_file_load()
138 SF_INFO sfi; in pa_sound_file_too_big_to_cache() local
143 pa_zero(sfi); in pa_sound_file_too_big_to_cache()
144 if (!(sf = sf_open(fname, SFM_READ, &sfi))) { in pa_sound_file_too_big_to_cache()
157 if ((pa_frame_size(&ss) * (size_t) sfi.frames) > PA_SCACHE_ENTRY_SIZE_MAX) { in pa_sound_file_too_big_to_cache()
Dsound-file-stream.c238 SF_INFO sfi; in pa_play_file() local
277 pa_zero(sfi); in pa_play_file()
278 if (!(u->sndfile = sf_open_fd(fd, SFM_READ, &sfi, 1))) { in pa_play_file()
Dsndfile-util.h32 int pa_sndfile_write_sample_spec(SF_INFO *sfi, pa_sample_spec *ss);
/third_party/ffmpeg/libavcodec/
Dcbs_vp9.c425 VP9RawSuperframeIndex sfi; in cbs_vp9_split_fragment() local
441 err = cbs_vp9_read_superframe_index(ctx, &gbc, &sfi); in cbs_vp9_split_fragment()
446 for (i = 0; i <= sfi.frames_in_superframe_minus_1; i++) { in cbs_vp9_split_fragment()
447 if (pos + sfi.frame_sizes[i] + index_size > frag->data_size) { in cbs_vp9_split_fragment()
450 i, sfi.frame_sizes[i]); in cbs_vp9_split_fragment()
456 sfi.frame_sizes[i], in cbs_vp9_split_fragment()
461 pos += sfi.frame_sizes[i]; in cbs_vp9_split_fragment()
567 VP9RawSuperframeIndex sfi; in cbs_vp9_assemble_fragment() local
591 sfi.superframe_marker = VP9_SUPERFRAME_MARKER; in cbs_vp9_assemble_fragment()
592 sfi.bytes_per_framesize_minus_1 = size_len - 1; in cbs_vp9_assemble_fragment()
[all …]
/third_party/pulseaudio/src/utils/
Dpacat.c1038 SF_INFO sfi; in main() local
1039 pa_zero(sfi); in main()
1043 if (pa_sndfile_write_sample_spec(&sfi, &sample_spec) < 0) { in main()
1064 sfi.format |= file_format; in main()
1069 &sfi, 0))) { in main()
Dpactl.c1736 struct SF_INFO sfi; in main() local
1751 pa_zero(sfi); in main()
1752 if (!(sndfile = sf_open(argv[optind+1], SFM_READ, &sfi))) { in main()
1770 sample_length = (size_t) sfi.frames*pa_frame_size(&sample_spec); in main()
/third_party/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg.c1621 int i, sfi, row, retval = 0; in tjDecompressToYUVPlanes() local
1692 sfi = i; in tjDecompressToYUVPlanes()
1695 dctsize = DCTSIZE * sf[sfi].num / sf[sfi].denom; in tjDecompressToYUVPlanes()
1761 sf[sfi].num / sf[sfi].denom * in tjDecompressToYUVPlanes()
/third_party/libjpeg-turbo/
Dturbojpeg.c1639 int i, sfi, row, retval = 0; local
1710 sfi = i;
1713 dctsize = DCTSIZE * sf[sfi].num / sf[sfi].denom;
1779 sf[sfi].num / sf[sfi].denom *
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg.c1547 int i, sfi, row, retval = 0; in tjDecompressToYUVPlanes() local
1609 sfi = i; in tjDecompressToYUVPlanes()
1612 dctsize = DCTSIZE * sf[sfi].num / sf[sfi].denom; in tjDecompressToYUVPlanes()
1680 sf[sfi].num / sf[sfi].denom * in tjDecompressToYUVPlanes()