Home
last modified time | relevance | path

Searched refs:SampleSize (Results 1 – 7 of 7) sorted by relevance

/external/perfetto/src/profiling/memory/
Dsampler_unittest.cc31 EXPECT_EQ(sampler.SampleSize(1024), 1024u); in TEST()
38 EXPECT_EQ(sampler.SampleSize(511), 512u); in TEST()
45 EXPECT_EQ(sampler.SampleSize(3), 3u); in TEST()
46 EXPECT_EQ(sampler.SampleSize(7), 7u); in TEST()
47 EXPECT_EQ(sampler.SampleSize(5), 5u); in TEST()
Dsampler.h56 size_t SampleSize(size_t alloc_sz) { in SampleSize() function
Dclient_api.cc401 sampled_alloc_sz = heap.sampler.SampleSize(static_cast<size_t>(size)); in AHeapProfile_reportAllocation()
/external/v4l2_codec2/common/
DVideoPixelFormat.cpp247 const android::ui::Size subsample = SampleSize(format, plane); in planeSize()
257 const int horizPixelsPerElement = SampleSize(format, plane).width; in planeHorizontalBitsPerPixel()
264 return planeHorizontalBitsPerPixel(format, plane) / SampleSize(format, plane).height; in planeBitsPerPixel()
318 android::ui::Size SampleSize(VideoPixelFormat format, size_t plane) { in SampleSize() function
/external/ImageMagick/coders/
Dwpg.c575 SampleSize=1; in UnpackWPG2Raster() local
598 SampleSize=ReadBlobByte(image); /* DSZ */ in UnpackWPG2Raster()
599 if(SampleSize>8) in UnpackWPG2Raster()
604 if(SampleSize<1) in UnpackWPG2Raster()
620 for(i=0; i < ((ssize_t) SampleSize*(RunCount+1)); i++) in UnpackWPG2Raster()
630 for(bbuf=0; bbuf < SampleSize; bbuf++) in UnpackWPG2Raster()
662 for(i=0; i < ((ssize_t) SampleSize*(RunCount+1)); i++) in UnpackWPG2Raster()
672 for(i=0; i < SampleSize; i++) in UnpackWPG2Raster()
675 for(bbuf=0;bbuf<SampleSize;bbuf++) in UnpackWPG2Raster()
679 for(i=0; i < (ssize_t) (SampleSize*(RunCount+1)); i++) in UnpackWPG2Raster()
/external/v4l2_codec2/common/include/v4l2_codec2/common/
DVideoPixelFormat.h86 android::ui::Size SampleSize(VideoPixelFormat format, size_t plane);
/external/perfetto/src/tools/
Dprofiling_sample_distribution.cc120 size_t sample_size = sampler.SampleSize(pair.second); in ProfilingSampleDistributionMain()