Home
last modified time | relevance | path

Searched refs:blockwidth (Results 1 – 25 of 39) sorted by relevance

12

/third_party/libsnd/src/
Dircam.c174 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in ircam_read_header()
181 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in ircam_read_header()
188 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in ircam_read_header()
195 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in ircam_read_header()
202 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in ircam_read_header()
223 if (psf->sf.frames == 0 && psf->blockwidth) in ircam_read_header()
224 psf->sf.frames = psf->datalength / psf->blockwidth ; in ircam_read_header()
Dhtk.c79 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in htk_open()
219 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in htk_read_header()
221 if (! psf->sf.frames && psf->blockwidth) in htk_read_header()
222 psf->sf.frames = (psf->filelength - psf->dataoffset) / psf->blockwidth ; in htk_read_header()
Dpvf.c75 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in pvf_open()
182 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in pvf_read_header()
184 if (! psf->sf.frames && psf->blockwidth) in pvf_read_header()
185 psf->sf.frames = (psf->filelength - psf->dataoffset) / psf->blockwidth ; in pvf_read_header()
Dmpc2k.c85 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in mpc2k_open()
197 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in mpc2k_read_header()
198 psf->sf.frames = psf->datalength / psf->blockwidth ; in mpc2k_read_header()
200 psf->sf.frames = (psf->filelength - psf->dataoffset) / psf->blockwidth ; in mpc2k_read_header()
Davr.c102 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in avr_open()
175 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in avr_read_header()
177 if (psf->sf.frames == 0 && psf->blockwidth) in avr_read_header()
178 psf->sf.frames = (psf->filelength - psf->dataoffset) / psf->blockwidth ; in avr_read_header()
Drx2.c287 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in rx2_open()
294 if (! psf->sf.frames && psf->blockwidth) in rx2_open()
295 psf->sf.frames = psf->datalength / psf->blockwidth ; in rx2_open()
Dw64.c148 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in w64_open()
161 psf->sf.frames = (psf->blockwidth) ? psf->filelength / psf->blockwidth : psf->filelength ; in w64_open()
387 if (psf->blockwidth) in w64_read_header()
389 psf->sf.frames = (psf->filelength - psf->dataoffset) / psf->blockwidth ; in w64_read_header()
391 psf->sf.frames = psf->datalength / psf->blockwidth ; in w64_read_header()
Dau.c134 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in au_open()
447 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in au_read_header()
449 if (! psf->sf.frames && psf->blockwidth) in au_read_header()
450 psf->sf.frames = (psf->filelength - psf->dataoffset) / psf->blockwidth ; in au_read_header()
Dsvx.c91 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in svx_open()
92 if (psf->blockwidth) in svx_open()
93 psf->sf.frames = psf->datalength / psf->blockwidth ; in svx_open()
Dalaw.c66 psf->blockwidth = psf->sf.channels ; in alaw_init()
73 psf->sf.frames = psf->blockwidth > 0 ? psf->datalength / psf->blockwidth : 0 ; in alaw_init()
Dulaw.c55 psf->blockwidth = psf->sf.channels ; in ulaw_init()
63 psf->sf.frames = psf->blockwidth > 0 ? psf->datalength / psf->blockwidth : 0 ; in ulaw_init()
Dpaf.c226 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in paf_read_header()
227 psf->sf.frames = psf->datalength / psf->blockwidth ; in paf_read_header()
236 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in paf_read_header()
237 psf->sf.frames = psf->datalength / psf->blockwidth ; in paf_read_header()
246 psf->blockwidth = 0 ; in paf_read_header()
Draw.c43 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in raw_open()
Dsndfile.c1615 int bytewidth, blockwidth ; in sf_read_raw() local
1623 blockwidth = (psf->blockwidth > 0) ? psf->blockwidth : 1 ; in sf_read_raw()
1646 if (psf->read_current + count / blockwidth <= psf->sf.frames) in sf_read_raw()
1647 psf->read_current += count / blockwidth ; in sf_read_raw()
1649 { count = (psf->sf.frames - psf->read_current) * blockwidth ; in sf_read_raw()
2099 int bytewidth, blockwidth ; in sf_write_raw() local
2112 blockwidth = (psf->blockwidth > 0) ? psf->blockwidth : 1 ; in sf_write_raw()
2136 psf->write_current += count / blockwidth ; in sf_write_raw()
2834 if (psf->blockwidth && psf->blockwidth != psf->sf.channels * psf->bytewidth) in validate_psf()
Dnist.c73 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in nist_open()
227 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in nist_read_header()
Dxi.c113 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in xi_open()
164 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in dpcm_init()
209 psf->sf.frames = psf->datalength / psf->blockwidth ; in dpcm_init()
485 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in xi_read_header()
487 if (! psf->sf.frames && psf->blockwidth) in xi_read_header()
488 psf->sf.frames = (psf->filelength - psf->dataoffset) / psf->blockwidth ; in xi_read_header()
Dogg_pcm.c110 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in ogg_pcm_open()
Drf64.c119 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in rf64_open()
412 if (psf->blockwidth) in rf64_read_header()
414 psf->sf.frames = (psf->filelength - psf->dataoffset) / psf->blockwidth ; in rf64_read_header()
416 psf->sf.frames = psf->datalength / psf->blockwidth ; in rf64_read_header()
Dwve.c78 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in wve_open()
Dfloat32.c98 psf->blockwidth = sizeof (float) * psf->sf.channels ; in float32_init()
249 psf->sf.frames = psf->blockwidth > 0 ? psf->datalength / psf->blockwidth : 0 ; in float32_init()
/third_party/mesa3d/src/freedreno/fdl/
Dfd6_layout.c41 uint32_t *blockwidth, uint32_t *blockheight) in fdl6_get_ubwc_blockwidth() argument
58 *blockwidth = 16; in fdl6_get_ubwc_blockwidth()
62 *blockwidth = 32; in fdl6_get_ubwc_blockwidth()
69 *blockwidth = blocksize[cpp].width; in fdl6_get_ubwc_blockwidth()
Dfreedreno_layout.h257 uint32_t *blockwidth, uint32_t *blockheight);
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_surface.c107 int blockwidth = desc->block.width; in util_fill_rect() local
111 assert(blockwidth > 0); in util_fill_rect()
114 dst_x /= blockwidth; in util_fill_rect()
116 width = (width + blockwidth - 1)/blockwidth; in util_fill_rect()
/third_party/mesa3d/src/util/format/
Du_format.c65 int blockwidth = util_format_get_blockwidth(format); in util_copy_rect() local
69 assert(blockwidth > 0); in util_copy_rect()
72 dst_x /= blockwidth; in util_copy_rect()
74 width = (width + blockwidth - 1)/blockwidth; in util_copy_rect()
76 src_x /= blockwidth; in util_copy_rect()
Du_format.h897 unsigned blockwidth = util_format_get_blockwidth(format); in util_format_get_nblocksx() local
898 return (x + blockwidth - 1) / blockwidth; in util_format_get_nblocksx()

12