Home
last modified time | relevance | path

Searched refs:nsamples (Results 1 – 20 of 20) sorted by relevance

/external/ltp/lib/
Dtst_timer_test.c195 unsigned int nsamples) in compute_threshold() argument
201 return (400 + 2 * monotonic_resolution + slack_per_scall) * nsamples in compute_threshold()
202 + 3000/nsamples; in compute_threshold()
210 static unsigned int compute_discard(unsigned int nsamples) in compute_discard() argument
212 if (nsamples == 1) in compute_discard()
215 return MAX(1u, nsamples / 20); in compute_discard()
264 void do_timer_test(long long usec, unsigned int nsamples) in do_timer_test() argument
267 unsigned int discard = compute_discard(nsamples); in do_timer_test()
268 unsigned int keep_samples = nsamples - discard; in do_timer_test()
275 scall, usec, nsamples, 1.00 * threshold / (keep_samples)); in do_timer_test()
[all …]
/external/libdrm/radeon/
Dradeon_surface.c179 if (surf->nsamples == 1 && surflevel->mode == RADEON_SURF_MODE_2D && in surf_minify()
191 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in surf_minify()
337 xalign = surf_man->hw_info.group_bytes / (tilew * surf->bpe * surf->nsamples); in r6_surface_init_1d()
372 (tilew * surf->bpe * surf->nsamples); in r6_surface_init_2d()
384 surf->nsamples * surf->bpe * 64, in r6_surface_init_2d()
385 xalign * yalign * surf->nsamples * surf->bpe); in r6_surface_init_2d()
411 if (surf->nsamples > 1) { in r6_surface_init()
435 if (surf->nsamples > 1) { in r6_surface_init()
588 if (surf->nsamples == 1 && surflevel->mode == RADEON_SURF_MODE_2D && in eg_surf_minify()
605 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in eg_surf_minify()
[all …]
Dradeon_surface.h120 uint32_t nsamples; member
/external/libopus/src/
Dopus_compare.c57 size_t nsamples; in read_pcm16() local
62 nsamples=csamples=0; in read_pcm16()
66 if(nsamples+nread>csamples){ in read_pcm16()
68 while(nsamples+nread>csamples); in read_pcm16()
78 samples[(nsamples+xi)*_nchannels+ci]=s; in read_pcm16()
81 nsamples+=nread; in read_pcm16()
84 _nchannels*nsamples*sizeof(*samples)); in read_pcm16()
85 return nsamples; in read_pcm16()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c109 surf_drm->nsamples = tex->nr_samples ? tex->nr_samples : 1; in surf_winsys_to_drm()
158 bpe * surf_drm->nsamples); in surf_winsys_to_drm()
169 surf_drm->nsamples); in surf_winsys_to_drm()
202 surf_drm->bpe * surf_drm->nsamples); in surf_drm_to_winsys()
212 surf_drm->nsamples); in surf_drm_to_winsys()
/external/adhd/cras/src/tests/
Da2dp_info_unittest.cc64 a2dp.nsamples = 0; in ResetStubData()
142 ASSERT_EQ(5, a2dp.nsamples); in TEST()
150 ASSERT_EQ(10, a2dp.nsamples); in TEST()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/
Dunittest.cc70 int nsamples = T::DecodeInternal(inst, encoded.data(), encoded.size(), in DecodePacket() local
72 EXPECT_GT(nsamples, 0); in DecodePacket()
73 EXPECT_LE(static_cast<size_t>(nsamples), decoded.size()); in DecodePacket()
74 decoded.resize(nsamples); in DecodePacket()
/external/pdfium/third_party/libtiff/
Dtif_pixarlog.c759 tmsize_t nsamples; in PixarLogDecode() local
765 nsamples = occ / sizeof(float); /* XXX float == 32 bits */ in PixarLogDecode()
770 nsamples = occ / sizeof(uint16); /* XXX uint16 == 16 bits */ in PixarLogDecode()
774 nsamples = occ; in PixarLogDecode()
796 sp->stream.avail_out = (uInt) (nsamples * sizeof(uint16)); in PixarLogDecode()
797 if (sp->stream.avail_out != nsamples * sizeof(uint16)) in PixarLogDecode()
842 TIFFSwabArrayOfShort(up, nsamples); in PixarLogDecode()
849 if (nsamples % llen) { in PixarLogDecode()
852 "%lu, data truncated.", (unsigned long) llen, (unsigned long) nsamples); in PixarLogDecode()
853 nsamples -= nsamples % llen; in PixarLogDecode()
[all …]
Dtif_getimage.c2407 int nsamples = 8 / bitspersample; in makebwmap() local
2411 if( nsamples == 0 ) in makebwmap()
2412 nsamples = 1; in makebwmap()
2415 256*sizeof (uint32 *)+(256*nsamples*sizeof(uint32))); in makebwmap()
2543 int nsamples = 8 / bitspersample; in makecmap() local
2551 256*sizeof (uint32 *)+(256*nsamples*sizeof(uint32))); in makecmap()
/external/python/cpython2/Lib/
Dsndhdr.py154 nsamples = get_long_le(h[8:12])
156 return 'sndt', rate, 1, nsamples, 8
/external/adhd/cras/src/server/
Dcras_a2dp_info.c130 header->timestamp = htonl(a2dp->nsamples); in avdtp_write()
175 a2dp->nsamples += processed / format_bytes; in a2dp_encode()
Dcras_a2dp_info.h33 int nsamples; member
Dcras_iodev.c1071 unsigned int nsamples = nframes * fmt->num_channels; in cras_iodev_put_output_buffer() local
1073 nsamples, software_volume_scaler); in cras_iodev_put_output_buffer()
/external/python/cpython3/Lib/
Dsndhdr.py183 nsamples = get_long_le(h[8:12])
185 return 'sndt', rate, 1, nsamples, 8
/external/tcpdump/
Dprint-sflow.c879 uint32_t nsamples; in sflow_print() local
906 nsamples=EXTRACT_32BITS(sflow_datagram->samples); in sflow_print()
914 nsamples, in sflow_print()
921 while (nsamples > 0 && tlen > 0) { in sflow_print()
978 nsamples--; in sflow_print()
/external/virglrenderer/tests/
Dtest_virgl_transfer.c542 struct pipe_box *box, int nsamples, int large_flags) in get_resource_args() argument
556 args->nr_samples = nsamples; in get_resource_args()
/external/python/cpython2/Doc/library/
Dal.rst157 .. method:: audio port.readsamps(nsamples)
/external/swiftshader/third_party/LLVM/test/Transforms/LoopDeletion/
D2008-05-06-Phi.ll106 …r(%struct.lame_global_flags* %gfp, i16* %buffer_l, i16* %buffer_r, i32 %nsamples, i8* %mp3buf, i32…
/external/llvm/test/Transforms/LoopDeletion/
D2008-05-06-Phi.ll106 …r(%struct.lame_global_flags* %gfp, i16* %buffer_l, i16* %buffer_r, i32 %nsamples, i8* %mp3buf, i32…
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopDeletion/
D2008-05-06-Phi.ll106 …r(%struct.lame_global_flags* %gfp, i16* %buffer_l, i16* %buffer_r, i32 %nsamples, i8* %mp3buf, i32…