/third_party/libsnd/src/ |
D | ircam.c | 174 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()
|
D | htk.c | 79 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()
|
D | pvf.c | 75 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()
|
D | mpc2k.c | 85 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()
|
D | avr.c | 102 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()
|
D | rx2.c | 287 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()
|
D | w64.c | 148 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()
|
D | au.c | 134 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()
|
D | svx.c | 91 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()
|
D | ulaw.c | 55 psf->blockwidth = psf->sf.channels ; in ulaw_init() 63 psf->sf.frames = psf->blockwidth > 0 ? psf->datalength / psf->blockwidth : 0 ; in ulaw_init()
|
D | alaw.c | 66 psf->blockwidth = psf->sf.channels ; in alaw_init() 73 psf->sf.frames = psf->blockwidth > 0 ? psf->datalength / psf->blockwidth : 0 ; in alaw_init()
|
D | paf.c | 226 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()
|
D | raw.c | 43 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in raw_open()
|
D | nist.c | 73 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in nist_open() 227 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in nist_read_header()
|
D | ogg_pcm.c | 110 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in ogg_pcm_open()
|
D | sndfile.c | 1615 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()
|
D | xi.c | 113 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()
|
D | rf64.c | 119 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()
|
D | wve.c | 78 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in wve_open()
|
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_util.h | 217 GLuint blockwidth; in get_format_blocksx() local 219 _mesa_get_format_block_size(format, &blockwidth, &blockheight); in get_format_blocksx() 220 return (x + blockwidth - 1) / blockwidth; in get_format_blocksx() 227 GLuint blockwidth; in get_format_blocksy() local 229 _mesa_get_format_block_size(format, &blockwidth, &blockheight); in get_format_blocksy()
|
/third_party/mesa3d/src/freedreno/fdl/ |
D | fd6_layout.c | 40 fdl6_get_ubwc_blockwidth(struct fdl_layout *layout, uint32_t *blockwidth, in fdl6_get_ubwc_blockwidth() argument 58 *blockwidth = 16; in fdl6_get_ubwc_blockwidth() 65 *blockwidth = blocksize[cpp].width; in fdl6_get_ubwc_blockwidth()
|
D | freedreno_layout.h | 255 void fdl6_get_ubwc_blockwidth(struct fdl_layout *layout, uint32_t *blockwidth,
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_surface.c | 107 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/ |
D | u_format.c | 65 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()
|
D | u_format.h | 895 unsigned blockwidth = util_format_get_blockwidth(format); in util_format_get_nblocksx() local 896 return (x + blockwidth - 1) / blockwidth; in util_format_get_nblocksx()
|