Home
last modified time | relevance | path

Searched refs:sizes (Results 1 – 25 of 698) sorted by relevance

12345678910>>...28

/external/skia/tests/
DYUVTest.cpp74 SkISize sizes[3]; in DEF_TEST() local
76 sizes[0].set(128, 128); in DEF_TEST()
77 sizes[1].set(64, 64); in DEF_TEST()
78 sizes[2].set(64, 64); in DEF_TEST()
79 codec_yuv(r, "color_wheel.jpg", sizes); in DEF_TEST()
82 sizes[0].set(512, 512); in DEF_TEST()
83 sizes[1].set(256, 256); in DEF_TEST()
84 sizes[2].set(256, 256); in DEF_TEST()
85 codec_yuv(r, "mandrill_512_q075.jpg", sizes); in DEF_TEST()
88 sizes[1].set(512, 512); in DEF_TEST()
[all …]
DImageGeneratorTest.cpp49 SkISize sizes[3]; in DEF_TEST() local
50 sizes[0] = SkISize::Make(200, 200); in DEF_TEST()
51 sizes[1] = SkISize::Make(100, 100); in DEF_TEST()
52 sizes[2] = SkISize::Make( 50, 50); in DEF_TEST()
58 ig.getYUV8Planes(sizes, nullptr, nullptr, &colorSpace); in DEF_TEST()
59 ig.getYUV8Planes(sizes, nullptr, nullptr, nullptr); in DEF_TEST()
60 ig.getYUV8Planes(sizes, planes, nullptr, nullptr); in DEF_TEST()
61 ig.getYUV8Planes(sizes, nullptr, rowBytes, nullptr); in DEF_TEST()
62 ig.getYUV8Planes(sizes, planes, rowBytes, nullptr); in DEF_TEST()
63 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace); in DEF_TEST()
[all …]
/external/skia/src/gpu/
DGrTextureToYUVPlanes.cpp50 bool GrTextureToYUVPlanes(GrTexture* texture, const SkISize sizes[3], void* const planes[3], in GrTextureToYUVPlanes()
71 if (sizes[0] == sizes[1] && sizes[1] == sizes[2]) { in GrTextureToYUVPlanes()
75 yuvDesc.fWidth = sizes[0].fWidth; in GrTextureToYUVPlanes()
76 yuvDesc.fHeight = sizes[0].fHeight; in GrTextureToYUVPlanes()
85 yDesc.fWidth = sizes[0].fWidth; in GrTextureToYUVPlanes()
86 yDesc.fHeight = sizes[0].fHeight; in GrTextureToYUVPlanes()
91 if (sizes[1] == sizes[2]) { in GrTextureToYUVPlanes()
96 uvDesc.fWidth = sizes[1].fWidth; in GrTextureToYUVPlanes()
97 uvDesc.fHeight = sizes[1].fHeight; in GrTextureToYUVPlanes()
106 uvDesc.fWidth = sizes[1].fWidth; in GrTextureToYUVPlanes()
[all …]
/external/libdrm/radeon/
Dradeon_cs_space.c45 static inline int radeon_cs_setup_bo(struct radeon_cs_space_check *sc, struct rad_sizes *sizes) in radeon_cs_setup_bo() argument
74 sizes->op_vram_write += bo->size; in radeon_cs_setup_bo()
76 sizes->op_gart_write += bo->size; in radeon_cs_setup_bo()
79 sizes->op_read += bo->size; in radeon_cs_setup_bo()
92 sizes->op_read -= bo->size; in radeon_cs_setup_bo()
93 sizes->op_vram_write += bo->size; in radeon_cs_setup_bo()
95 sizes->op_read -= bo->size; in radeon_cs_setup_bo()
96 sizes->op_gart_write += bo->size; in radeon_cs_setup_bo()
117 struct rad_sizes sizes; in radeon_cs_do_space_check() local
125 memset(&sizes, 0, sizeof(struct rad_sizes)); in radeon_cs_do_space_check()
[all …]
/external/skia/src/codec/
DSkCodecImageGenerator.cpp54 bool SkCodecImageGenerator::onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], in onGetYUV8Planes()
71 sizes[0].fWidth = (int) sizeInfo.fYWidthBytes; in onGetYUV8Planes()
72 sizes[0].fHeight = sizeInfo.fYSize.height(); in onGetYUV8Planes()
73 sizes[1].fWidth = (int) sizeInfo.fUWidthBytes; in onGetYUV8Planes()
74 sizes[1].fHeight = sizeInfo.fUSize.height(); in onGetYUV8Planes()
75 sizes[2].fWidth = (int) sizeInfo.fVWidthBytes; in onGetYUV8Planes()
76 sizes[2].fHeight = sizeInfo.fVSize.height(); in onGetYUV8Planes()
83 sizeInfo.fYSize.set(fYWidth, sizes[0].height()); in onGetYUV8Planes()
84 sizeInfo.fUSize.set(fUWidth, sizes[1].height()); in onGetYUV8Planes()
85 sizeInfo.fVSize.set(fVWidth, sizes[2].height()); in onGetYUV8Planes()
[all …]
/external/skia/gm/
Dimagetoyuvplanes.cpp70 const SkISize *sizes = kSizes[s]; variable
75 SkAutoTDeleteArray<uint8_t> yPlane(new uint8_t[realRowBytes[0] * sizes[0].fHeight]);
76 SkAutoTDeleteArray<uint8_t> uPlane(new uint8_t[realRowBytes[1] * sizes[1].fHeight]);
77 SkAutoTDeleteArray<uint8_t> vPlane(new uint8_t[realRowBytes[2] * sizes[2].fHeight]);
84 yuvBmps[0].setInfo(SkImageInfo::MakeA8(sizes[0].fWidth, sizes[0].fHeight), kRowBytes[s][0]);
85 yuvBmps[1].setInfo(SkImageInfo::MakeA8(sizes[1].fWidth, sizes[1].fHeight), kRowBytes[s][1]);
86 yuvBmps[2].setInfo(SkImageInfo::MakeA8(sizes[2].fWidth, sizes[2].fHeight), kRowBytes[s][2]);
94 memset(yPlane.get(), 0, realRowBytes[0] * sizes[0].fHeight);
95 memset(uPlane.get(), 0, realRowBytes[1] * sizes[1].fHeight);
96 memset(vPlane.get(), 0, realRowBytes[2] * sizes[2].fHeight);
[all …]
/external/skia/src/core/
DSkImageGenerator.cpp55 bool SkImageGenerator::getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], in getYUV8Planes()
59 SkASSERT(sizes); in getYUV8Planes()
77 ((sizes[0].fWidth >= 0) && in getYUV8Planes()
78 (sizes[0].fHeight >= 0) && in getYUV8Planes()
79 (sizes[1].fWidth >= 0) && in getYUV8Planes()
80 (sizes[1].fHeight >= 0) && in getYUV8Planes()
81 (sizes[2].fWidth >= 0) && in getYUV8Planes()
82 (sizes[2].fHeight >= 0) && in getYUV8Planes()
83 (rowBytes[0] >= (size_t)sizes[0].fWidth) && in getYUV8Planes()
84 (rowBytes[1] >= (size_t)sizes[1].fWidth) && in getYUV8Planes()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
DSampleList.java19 long[] sizes; field in SampleList
55 sizes = new long[l2i(sampleSizeBox.getSampleCount())]; in SampleList()
56 Arrays.fill(sizes, sampleSizeBox.getSampleSize()); in SampleList()
58 sizes = sampleSizeBox.getSampleSizes(); in SampleList()
60 offsets = new long[sizes.length]; in SampleList()
66 long sampleSize = sizes[sampleIndex]; in SampleList()
90 if (sizes == null || offsets == null) { in SampleList()
91 sizes = new long[0]; in SampleList()
105 long[] nuSizes = new long[sizes.length + keys.size()]; in splitToArrays()
106 System.arraycopy(sizes, 0, nuSizes, 0, sizes.length); in splitToArrays()
[all …]
/external/skia/src/gpu/effects/
DGrYUVEffect.cpp66 GrTexture* vTexture, const SkISize sizes[3], in Create()
69 w[0] = SkIntToScalar(sizes[0].fWidth) / SkIntToScalar(yTexture->width()); in Create()
70 h[0] = SkIntToScalar(sizes[0].fHeight) / SkIntToScalar(yTexture->height()); in Create()
71 w[1] = SkIntToScalar(sizes[1].fWidth) / SkIntToScalar(uTexture->width()); in Create()
72 h[1] = SkIntToScalar(sizes[1].fHeight) / SkIntToScalar(uTexture->height()); in Create()
73 w[2] = SkIntToScalar(sizes[2].fWidth) / SkIntToScalar(vTexture->width()); in Create()
74 h[2] = SkIntToScalar(sizes[2].fHeight) / SkIntToScalar(vTexture->height()); in Create()
82 ((sizes[1].fWidth != sizes[0].fWidth) || in Create()
83 (sizes[1].fHeight != sizes[0].fHeight) || in Create()
84 (sizes[2].fWidth != sizes[0].fWidth) || in Create()
[all …]
/external/regex-re2/benchlog/
Dmktable21 @sizes = (
48 for(my $i=0; $i<@sizes; $i++) {
49 my $key = sprintf("%s%s/%s", $name, $who, $sizes[$i]);
62 my $n = @sizes;
65 for($i=0; $i<@sizes; $i+=3) {
66 printf JGR " hash_at $i hash_label at $i : $sizes[$i]\n";
/external/llvm/unittests/DebugInfo/DWARF/
DDWARFFormValueTest.cpp25 ArrayRef<uint8_t> sizes = DWARFFormValue::getFixedFormSizes(4, 2); in TEST() local
26 EXPECT_EQ(sizes[DW_FORM_addr], sizes[DW_FORM_ref_addr]); in TEST()
27 sizes = DWARFFormValue::getFixedFormSizes(8, 2); in TEST()
28 EXPECT_EQ(sizes[DW_FORM_addr], sizes[DW_FORM_ref_addr]); in TEST()
29 sizes = DWARFFormValue::getFixedFormSizes(8, 3); in TEST()
30 EXPECT_EQ(4, sizes[DW_FORM_ref_addr]); in TEST()
/external/pdfium/third_party/libtiff/
Dtif_flush.c50 uint64 *offsets=NULL, *sizes=NULL; in TIFFFlush() local
55 && TIFFGetField( tif, TIFFTAG_TILEBYTECOUNTS, &sizes ) in TIFFFlush()
59 tif->tif_dir.td_nstrips, sizes ) ) in TIFFFlush()
69 && TIFFGetField( tif, TIFFTAG_STRIPBYTECOUNTS, &sizes ) in TIFFFlush()
73 tif->tif_dir.td_nstrips, sizes ) ) in TIFFFlush()
/external/eigen/test/
Dgeo_alignedbox.cpp112 VERIFY_IS_APPROX(sides, box.sizes() ); in specificTest1()
113 VERIFY_IS_APPROX(sides[1], box.sizes()[1] ); in specificTest1()
114 VERIFY_IS_APPROX(sides[1], box.sizes().maxCoeff() ); in specificTest1()
115 VERIFY_IS_APPROX(sides[0], box.sizes().minCoeff() ); in specificTest1()
139 VERIFY_IS_APPROX(sides, box.sizes() ); in specificTest2()
140 VERIFY_IS_APPROX(sides[1], box.sizes()[1] ); in specificTest2()
141 VERIFY_IS_APPROX(sides[1], box.sizes().maxCoeff() ); in specificTest2()
142 VERIFY_IS_APPROX(sides[0], box.sizes().minCoeff() ); in specificTest2()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_vlc.h50 const unsigned *sizes; member
95 unsigned len = vlc->sizes[0]; in vl_vlc_next_input()
114 ++vlc->sizes; in vl_vlc_next_input()
170 const void *const *inputs, const unsigned *sizes) in vl_vlc_init() argument
181 vlc->sizes = sizes; in vl_vlc_init()
185 vlc->bytes_left += sizes[i]; in vl_vlc_init()
/external/skia/src/utils/
DSkRGBAToYUV.cpp15 bool SkRGBAToYUV(const SkImage* image, const SkISize sizes[3], void* const planes[3], in SkRGBAToYUV()
40 size_t rb = rowBytes[i] ? rowBytes[i] : sizes[i].fWidth; in SkRGBAToYUV()
42 SkImageInfo::MakeA8(sizes[i].fWidth, sizes[i].fHeight), planes[i], rb)); in SkRGBAToYUV()
/external/v8/test/mjsunit/
Dbig-object-literal.js87 var sizes = [1, 2, 100, 200]; variable
90 for (var i = 0; i < sizes.length; i++) {
91 testLiteral(sizes[i], false);
92 testLiteral(sizes[i], true);
Dbig-array-literal.js88 var sizes = [1, 2, 100, 200, 300]; variable
91 for (var i = 0; i < sizes.length; i++) {
92 testLiteral(sizes[i], false);
93 testLiteral(sizes[i], true);
Dlarge-object-literal.js50 var sizes = [0, 1, 2, 100, 200, 400, 1000]; variable
53 for (var i = 0; i < sizes.length; i++) {
54 testLiteral(sizes[i]);
Dobject-literal-gc.js60 var sizes = [0, 1, 2, 100, 200, 400, 1000]; variable
63 for (var i = 0; i < sizes.length; i++) {
64 testLiteral(sizes[i]);
/external/autotest/client/deps/glbench/src/
Dtexturetest.cc85 const int sizes[] = { 32, 128, 256, 512, 768, 1024, 1536, 2048 }; in Run() local
86 for (unsigned int j = 0; j < arraysize(sizes); j++) { in Run()
88 if (g_hasty && sizes[j] > 512) in Run()
93 base::IntToString(sizes[j]); in Run()
95 width_ = height_ = sizes[j]; in Run()
/external/e2fsprogs/tests/f_resize_inode/
Dexpect21 Pass 1: Checking inodes, blocks, and sizes
34 Pass 1: Checking inodes, blocks, and sizes
49 Pass 1: Checking inodes, blocks, and sizes
62 Pass 1: Checking inodes, blocks, and sizes
77 Pass 1: Checking inodes, blocks, and sizes
90 Pass 1: Checking inodes, blocks, and sizes
105 Pass 1: Checking inodes, blocks, and sizes
118 Pass 1: Checking inodes, blocks, and sizes
131 Pass 1: Checking inodes, blocks, and sizes
164 Pass 1: Checking inodes, blocks, and sizes
/external/v8/test/mjsunit/regress/
Dregress-1401.js31 var sizes = new Array(); variable
34 sizes[i] = 0;
39 var t = (sizes[++bottom] = size);
/external/autotest/client/site_tests/platform_DebugDaemonGetPerfData/
Dplatform_DebugDaemonGetPerfData.py114 for result_type, sizes in stored_results.iteritems():
116 total_size = sum(entry.size for entry in sizes)
117 total_size_zipped = sum(entry.size_zipped for entry in sizes)
120 keyvals[key] = total_size / len(sizes)
121 keyvals[key + '_zipped'] = total_size_zipped / len(sizes)
/external/autotest/client/site_tests/hardware_MemoryThroughput/
Dhardware_MemoryThroughput.py23 def _run_benchmarks(self, test, warmup, num_iterations, parallel, sizes): argument
37 for size in sizes:
72 parallel=1, sizes= [ 4096, 192 * 1024, 32 * 1024 * 1024 ]): argument
74 sizes)
/external/eigen/Eigen/src/SparseCore/
DSparsePermutation.h60 Matrix<Index,Dynamic,1> sizes(m_matrix.outerSize());
64sizes[((Side==OnTheLeft) ^ Transposed) ? jp : j] = m_matrix.innerVector(((Side==OnTheRight) ^ Tran…
66 tmp.reserve(sizes);
80 Matrix<Index,Dynamic,1> sizes(tmp.outerSize());
81 sizes.setZero();
90 sizes[perm.indices().coeff(it.index())]++;
91 tmp.reserve(sizes);

12345678910>>...28