Home
last modified time | relevance | path

Searched refs:bytewidth (Results 1 – 25 of 50) sorted by relevance

12

/third_party/flatbuffers/python/flatbuffers/
Dnumber_types.py30 bytewidth = 1 variable in BoolFlags
39 bytewidth = 1 variable in Uint8Flags
48 bytewidth = 2 variable in Uint16Flags
57 bytewidth = 4 variable in Uint32Flags
66 bytewidth = 8 variable in Uint64Flags
75 bytewidth = 1 variable in Int8Flags
84 bytewidth = 2 variable in Int16Flags
93 bytewidth = 4 variable in Int32Flags
102 bytewidth = 8 variable in Int64Flags
111 bytewidth = 4 variable in Float32Flags
[all …]
Dbuilder.py242 vBytes *= N.VOffsetTFlags.bytewidth
341 self.Prep(N.SOffsetTFlags.bytewidth, 0)
345 off2 = self.Offset() - off + N.SOffsetTFlags.bytewidth
355 self.Prep(N.UOffsetTFlags.bytewidth, 0)
359 off2 = self.Offset() - off + N.UOffsetTFlags.bytewidth
375 self.Prep(N.Uint32Flags.bytewidth, elemSize*numElems)
407 self.Prep(N.UOffsetTFlags.bytewidth, (len(x)+1)*N.Uint8Flags.bytewidth)
430 self.Prep(N.UOffsetTFlags.bytewidth, len(x)*N.Uint8Flags.bytewidth)
522 prepSize = N.UOffsetTFlags.bytewidth
524 prepSize += N.Int32Flags.bytewidth
[all …]
Dutil.py27 offset += number_types.UOffsetTFlags.bytewidth
29 offset += number_types.UOffsetTFlags.bytewidth
43 return buf, offset + number_types.Int32Flags.bytewidth
/third_party/flatbuffers/lua/flatbuffers/
DnumTypes.lua56 … assert(self.bytewidth == otherType.bytewidth, "Cannot convert between types of different widths")
65 bytewidth = 1,
81 bytewidth = 1,
91 bytewidth = 2,
101 bytewidth = 4,
111 bytewidth = 8,
121 bytewidth = 1,
131 bytewidth = 2,
141 bytewidth = 4,
151 bytewidth = 8,
[all …]
/third_party/libsnd/src/
Dnist.c73 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in nist_open()
186 sscanf (cptr, "sample_n_bytes -i %d", &(psf->bytewidth)) ; in nist_read_header()
199 { if (psf->bytewidth == 0) in nist_read_header()
200 psf->bytewidth = bytes ; in nist_read_header()
201 else if (psf->bytewidth - bytes != 0) in nist_read_header()
202 { psf_log_printf (psf, "psf->bytewidth (%d) != bytes (%d)\n", psf->bytewidth, bytes) ; in nist_read_header()
227 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in nist_read_header()
233 { switch (psf->bytewidth) in nist_read_header()
302 if (psf->bytewidth > 0) in nist_write_header()
303 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in nist_write_header()
[all …]
Dircam.c173 psf->bytewidth = 2 ; in ircam_read_header()
174 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in ircam_read_header()
180 psf->bytewidth = 4 ; in ircam_read_header()
181 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in ircam_read_header()
187 psf->bytewidth = 4 ; in ircam_read_header()
188 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in ircam_read_header()
194 psf->bytewidth = 1 ; in ircam_read_header()
195 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in ircam_read_header()
201 psf->bytewidth = 1 ; in ircam_read_header()
202 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in ircam_read_header()
Dcaf.c145 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in caf_open()
296 { psf->bytewidth = 4 ; in decode_desc_chunk()
300 { psf->bytewidth = 8 ; in decode_desc_chunk()
308 { psf->bytewidth = 4 ; in decode_desc_chunk()
312 { psf->bytewidth = 3 ; in decode_desc_chunk()
316 { psf->bytewidth = 2 ; in decode_desc_chunk()
320 { psf->bytewidth = 1 ; in decode_desc_chunk()
326 { psf->bytewidth = 1 ; in decode_desc_chunk()
331 { psf->bytewidth = 1 ; in decode_desc_chunk()
568 if (psf->bytewidth > 0) in caf_read_header()
[all …]
Dau.c134 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in au_open()
358 psf->bytewidth = 1 ; /* Before decoding */ in au_read_header()
364 psf->bytewidth = 1 ; in au_read_header()
370 psf->bytewidth = 2 ; in au_read_header()
376 psf->bytewidth = 3 ; in au_read_header()
382 psf->bytewidth = 4 ; in au_read_header()
388 psf->bytewidth = 4 ; in au_read_header()
394 psf->bytewidth = 8 ; in au_read_header()
400 psf->bytewidth = 1 ; /* Before decoding */ in au_read_header()
406 psf->bytewidth = 0 ; in au_read_header()
[all …]
Dvoc.c129 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in voc_open()
267 psf->bytewidth = 1 ; in voc_read_header()
329 psf->bytewidth = 1 ; in voc_read_header()
389 psf->bytewidth = 1 ; in voc_read_header()
394 psf->bytewidth = 2 ; in voc_read_header()
399 psf->bytewidth = 1 ; in voc_read_header()
404 psf->bytewidth = 1 ; in voc_read_header()
434 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in voc_write_header()
487 psf->bytewidth = 1 ; in voc_write_header()
488 length = psf->sf.frames * psf->sf.channels * psf->bytewidth + 12 ; in voc_write_header()
[all …]
Dmat4.c107 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in mat4_open()
159 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in mat4_write_header()
292 psf->bytewidth = 8 ; in mat4_read_header()
298 psf->bytewidth = 4 ; in mat4_read_header()
304 psf->bytewidth = 4 ; in mat4_read_header()
310 psf->bytewidth = 2 ; in mat4_read_header()
318 if ((psf->filelength - psf->dataoffset) < psf->sf.channels * psf->sf.frames * psf->bytewidth) in mat4_read_header()
320 psf->filelength - psf->dataoffset, psf->sf.channels * psf->sf.frames * psf->bytewidth) ; in mat4_read_header()
322 else if ((psf->filelength - psf->dataoffset) > psf->sf.channels * psf->sf.frames * psf->bytewidth) in mat4_read_header()
323 psf->dataend = psf->dataoffset + rows * cols * psf->bytewidth ; in mat4_read_header()
Dpvf.c75 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in pvf_open()
116 psf->sf.channels, psf->sf.samplerate, psf->bytewidth * 8) ; in pvf_write_header()
160 psf->bytewidth = 1 ; in pvf_read_header()
165 psf->bytewidth = 2 ; in pvf_read_header()
169 psf->bytewidth = 4 ; in pvf_read_header()
182 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in pvf_read_header()
Dw64.c148 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in w64_open()
398 psf->sf.format = SF_FORMAT_W64 | u_bitwidth_to_subformat (psf->bytewidth * 8) ; in w64_read_header()
427 psf->sf.format |= (psf->bytewidth == 8) ? SF_FORMAT_DOUBLE : SF_FORMAT_FLOAT ; in w64_read_header()
451 if (psf->bytewidth) in w64_write_header()
452 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in w64_write_header()
477 … psf_binheader_writef (psf, "e4", BHW4 (psf->sf.samplerate * psf->bytewidth * psf->sf.channels)) ; in w64_write_header()
479 …psf_binheader_writef (psf, "e22", BHW2 (psf->bytewidth * psf->sf.channels), BHW2 (psf->bytewidth *… in w64_write_header()
491 … psf_binheader_writef (psf, "e4", BHW4 (psf->sf.samplerate * psf->bytewidth * psf->sf.channels)) ; in w64_write_header()
493 …psf_binheader_writef (psf, "e22", BHW2 (psf->bytewidth * psf->sf.channels), BHW2 (psf->bytewidth *… in w64_write_header()
506 … psf_binheader_writef (psf, "e4", BHW4 (psf->sf.samplerate * psf->bytewidth * psf->sf.channels)) ; in w64_write_header()
[all …]
Davr.c102 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in avr_open()
133 psf->bytewidth = 1 ; in avr_read_header()
138 psf->bytewidth = 1 ; in avr_read_header()
143 psf->bytewidth = 2 ; in avr_read_header()
175 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in avr_read_header()
200 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in avr_write_header()
215 BHW2 (psf->sf.channels == 2 ? 0xFFFF : 0), BHW2 (psf->bytewidth * 8)) ; in avr_write_header()
Dmpc2k.c85 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in mpc2k_open()
120 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in mpc2k_write_header()
142 psf->bytewidth = 2 ; in mpc2k_write_header()
193 psf->bytewidth = 2 ; in mpc2k_read_header()
197 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in mpc2k_read_header()
Dmat5.c117 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in mat5_open()
175 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in mat5_write_header()
233 datasize = psf->sf.frames * psf->sf.channels * psf->bytewidth ; in mat5_write_header()
239 datasize = psf->sf.frames * psf->sf.channels * psf->bytewidth ; in mat5_write_header()
472 psf->bytewidth = 8 ; in mat5_read_header()
478 psf->bytewidth = 4 ; in mat5_read_header()
484 psf->bytewidth = 4 ; in mat5_read_header()
490 psf->bytewidth = 2 ; in mat5_read_header()
496 psf->bytewidth = 1 ; in mat5_read_header()
Dwav.c191 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in wav_open()
705 psf->sf.format = SF_FORMAT_WAV | u_bitwidth_to_subformat (psf->bytewidth * 8) ; in wav_read_header()
736 psf->sf.format |= (psf->bytewidth == 8) ? SF_FORMAT_DOUBLE : SF_FORMAT_FLOAT ; in wav_read_header()
772 … psf_binheader_writef (psf, "4", BHW4 (psf->sf.samplerate * psf->bytewidth * psf->sf.channels)) ; in wav_write_fmt_chunk()
774 …psf_binheader_writef (psf, "22", BHW2 (psf->bytewidth * psf->sf.channels), BHW2 (psf->bytewidth * … in wav_write_fmt_chunk()
784 … psf_binheader_writef (psf, "4", BHW4 (psf->sf.samplerate * psf->bytewidth * psf->sf.channels)) ; in wav_write_fmt_chunk()
786 …psf_binheader_writef (psf, "22", BHW2 (psf->bytewidth * psf->sf.channels), BHW2 (psf->bytewidth * … in wav_write_fmt_chunk()
797 … psf_binheader_writef (psf, "4", BHW4 (psf->sf.samplerate * psf->bytewidth * psf->sf.channels)) ; in wav_write_fmt_chunk()
799 … psf_binheader_writef (psf, "222", BHW2 (psf->bytewidth * psf->sf.channels), BHW2 (8), BHW2 (0)) ; in wav_write_fmt_chunk()
810 … psf_binheader_writef (psf, "4", BHW4 (psf->sf.samplerate * psf->bytewidth * psf->sf.channels)) ; in wav_write_fmt_chunk()
[all …]
Dsvx.c91 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in svx_open()
202 psf->bytewidth = 1 ; in svx_read_header()
206 psf->bytewidth = 2 ; in svx_read_header()
357 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in svx_write_header()
368 psf_binheader_writef (psf, "m", BHWm ((psf->bytewidth == 1) ? SVX8_MARKER : SV16_MARKER)) ; in svx_write_header()
377 psf_binheader_writef (psf, "E4", BHW4 ((psf->bytewidth == 1) ? 0xFF : 0xFFFF)) ; in svx_write_header()
Dinterleave.c78 pdata->channel_len = psf->sf.frames * psf->bytewidth ; in interleave_init()
109 offset = psf->dataoffset + chan * psf->bytewidth * psf->read_current ; in interleave_read_short()
156 offset = psf->dataoffset + chan * psf->bytewidth * psf->read_current ; in interleave_read_int()
203 offset = psf->dataoffset + pdata->channel_len * chan + psf->read_current * psf->bytewidth ; in interleave_read_float()
254 offset = psf->dataoffset + chan * psf->bytewidth * psf->read_current ; in interleave_read_double()
Drf64.c119 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in rf64_open()
436 psf->sf.format = SF_FORMAT_RF64 | u_bitwidth_to_subformat (psf->bytewidth * 8) ; in rf64_read_header()
467 psf->sf.format |= (psf->bytewidth == 8) ? SF_FORMAT_DOUBLE : SF_FORMAT_FLOAT ; in rf64_read_header()
548 psf_binheader_writef (psf, "4", BHW4 (psf->sf.samplerate * psf->bytewidth * psf->sf.channels)) ; in rf64_write_fmt_chunk()
550 …psf_binheader_writef (psf, "22", BHW2 (psf->bytewidth * psf->sf.channels), BHW2 (psf->bytewidth * … in rf64_write_fmt_chunk()
556 psf_binheader_writef (psf, "2", BHW2 (psf->bytewidth * 8)) ; in rf64_write_fmt_chunk()
657 if (psf->bytewidth > 0) in rf64_write_header()
658 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in rf64_write_header()
780 if (psf->bytewidth > 0 && psf->sf.seekable == SF_TRUE) in rf64_write_tailer()
781 { psf->datalength = psf->sf.frames * psf->bytewidth * psf->sf.channels ; in rf64_write_tailer()
Dhtk.c79 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in htk_open()
211 psf->bytewidth = 2 ; in htk_read_header()
219 psf->blockwidth = psf->sf.channels * psf->bytewidth ; in htk_read_header()
Dogg_pcm.c109 psf->bytewidth = 1 ; in ogg_pcm_open()
110 psf->blockwidth = psf->bytewidth * psf->sf.channels ; in ogg_pcm_open()
/third_party/ffmpeg/libavutil/x86/
Dimgutils_init.c32 ptrdiff_t bytewidth, int height);
36 ptrdiff_t bytewidth, int height) in ff_image_copy_plane_uc_from_x86() argument
39 ptrdiff_t bw_aligned = FFALIGN(bytewidth, 64); in ff_image_copy_plane_uc_from_x86()
/third_party/ffmpeg/libavfilter/dnn/
Ddnn_io_proc.c29 int bytewidth = av_image_get_linesize(frame->format, frame->width, 0); in ff_proc_from_dnn_to_frame() local
59 output->data, bytewidth, in ff_proc_from_dnn_to_frame()
60 bytewidth, frame->height); in ff_proc_from_dnn_to_frame()
99 int bytewidth = av_image_get_linesize(frame->format, frame->width, 0); in proc_from_frame_to_dnn_frameprocessing() local
129 av_image_copy_plane(input->data, bytewidth, in proc_from_frame_to_dnn_frameprocessing()
131 bytewidth, frame->height); in proc_from_frame_to_dnn_frameprocessing()
/third_party/ffmpeg/libavutil/
Dimgutils.c345 ptrdiff_t bytewidth, int height) in image_copy_plane() argument
349 av_assert0(FFABS(src_linesize) >= bytewidth); in image_copy_plane()
350 av_assert0(FFABS(dst_linesize) >= bytewidth); in image_copy_plane()
352 memcpy(dst, src, bytewidth); in image_copy_plane()
360 ptrdiff_t bytewidth, int height) in image_copy_plane_uc_from() argument
366 bytewidth, height); in image_copy_plane_uc_from()
370 image_copy_plane(dst, dst_linesize, src, src_linesize, bytewidth, height); in image_copy_plane_uc_from()
375 int bytewidth, int height) in av_image_copy_plane() argument
377 image_copy_plane(dst, dst_linesize, src, src_linesize, bytewidth, height); in av_image_copy_plane()
607 ptrdiff_t bytewidth = av_image_get_linesize(pix_fmt, width, 0); in av_image_fill_black() local
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/render/psp/
DSDL_render_psp.c236 int bytewidth = psp_texture->textureWidth*(psp_texture->bits>>3); in TextureSwizzle() local
237 int height = psp_texture->size / bytewidth; in TextureSwizzle()
239 int rowblocks = (bytewidth>>4); in TextureSwizzle()
283 int bytewidth = psp_texture->textureWidth*(psp_texture->bits>>3); in TextureUnswizzle() local
284 int height = psp_texture->size / bytewidth; in TextureUnswizzle()
286 int widthblocks = bytewidth/16; in TextureUnswizzle()
289 int dstpitch = (bytewidth - 16)/4; in TextureUnswizzle()
290 int dstrow = bytewidth * 8; in TextureUnswizzle()

12