Searched refs:fmt_size (Results 1 – 6 of 6) sorted by relevance
/third_party/libsnd/src/ |
D | w64.c | 438 { sf_count_t fmt_size, current ; in w64_write_header() local 470 fmt_size = 24 + 2 + 2 + 4 + 4 + 2 + 2 ; in w64_write_header() 471 fmt_pad = (size_t) ((fmt_size & 0x7) ? 8 - (fmt_size & 0x7) : 0) ; in w64_write_header() 472 fmt_size += fmt_pad ; in w64_write_header() 475 …psf_binheader_writef (psf, "e8224", BHW8 (fmt_size), BHW2 (WAVE_FORMAT_PCM), BHW2 (psf->sf.channel… in w64_write_header() 484 fmt_size = 24 + 2 + 2 + 4 + 4 + 2 + 2 ; in w64_write_header() 485 fmt_pad = (size_t) ((fmt_size & 0x7) ? 8 - (fmt_size & 0x7) : 0) ; in w64_write_header() 486 fmt_size += fmt_pad ; in w64_write_header() 489 …psf_binheader_writef (psf, "e8224", BHW8 (fmt_size), BHW2 (WAVE_FORMAT_IEEE_FLOAT), BHW2 (psf->sf.… in w64_write_header() 499 fmt_size = 24 + 2 + 2 + 4 + 4 + 2 + 2 ; in w64_write_header() [all …]
|
D | wav.c | 758 { int subformat, fmt_size, add_fact_chunk = 0 ; in wav_write_fmt_chunk() local 767 fmt_size = 2 + 2 + 4 + 4 + 2 + 2 ; in wav_write_fmt_chunk() 770 …psf_binheader_writef (psf, "4224", BHW4 (fmt_size), BHW2 (WAVE_FORMAT_PCM), BHW2 (psf->sf.channels… in wav_write_fmt_chunk() 779 fmt_size = 2 + 2 + 4 + 4 + 2 + 2 ; in wav_write_fmt_chunk() 782 …psf_binheader_writef (psf, "4224", BHW4 (fmt_size), BHW2 (WAVE_FORMAT_IEEE_FLOAT), BHW2 (psf->sf.c… in wav_write_fmt_chunk() 792 fmt_size = 2 + 2 + 4 + 4 + 2 + 2 + 2 ; in wav_write_fmt_chunk() 795 …psf_binheader_writef (psf, "4224", BHW4 (fmt_size), BHW2 (WAVE_FORMAT_MULAW), BHW2 (psf->sf.channe… in wav_write_fmt_chunk() 805 fmt_size = 2 + 2 + 4 + 4 + 2 + 2 + 2 ; in wav_write_fmt_chunk() 808 …psf_binheader_writef (psf, "4224", BHW4 (fmt_size), BHW2 (WAVE_FORMAT_ALAW), BHW2 (psf->sf.channel… in wav_write_fmt_chunk() 826 fmt_size = 2 + 2 + 4 + 4 + 2 + 2 + 2 + 2 ; in wav_write_fmt_chunk() [all …]
|
D | rf64.c | 526 int subformat, fmt_size ; in rf64_write_fmt_chunk() local 543 fmt_size = 2 + 2 + 4 + 4 + 2 + 2 + 2 + 2 + 4 + 4 + 2 + 2 + 8 ; in rf64_write_fmt_chunk() 546 …psf_binheader_writef (psf, "4224", BHW4 (fmt_size), BHW2 (WAVE_FORMAT_EXTENSIBLE), BHW2 (psf->sf.c… in rf64_write_fmt_chunk()
|
/third_party/ffmpeg/libavformat/ |
D | iff.c | 429 int fmt_size; in iff_read_header() local 581 if ((fmt_size = avio_read(pb, fmt, sizeof(fmt))) < 0) in iff_read_header() 582 return fmt_size; in iff_read_header() 583 if (fmt_size == sizeof(deep_rgb24) && !memcmp(fmt, deep_rgb24, sizeof(deep_rgb24))) in iff_read_header() 585 else if (fmt_size == sizeof(deep_rgba) && !memcmp(fmt, deep_rgba, sizeof(deep_rgba))) in iff_read_header() 587 else if (fmt_size == sizeof(deep_bgra) && !memcmp(fmt, deep_bgra, sizeof(deep_bgra))) in iff_read_header() 589 else if (fmt_size == sizeof(deep_argb) && !memcmp(fmt, deep_argb, sizeof(deep_argb))) in iff_read_header() 591 else if (fmt_size == sizeof(deep_abgr) && !memcmp(fmt, deep_abgr, sizeof(deep_abgr))) in iff_read_header()
|
/third_party/alsa-utils/bat/ |
D | common.h | 115 unsigned int fmt_size; /* 16 or 18 */ member
|
D | common.c | 165 wav->format.fmt_size = 16; in prepare_wav_info()
|