Searched refs:kWidth (Results 1 - 25 of 114) sorted by last modified time

12345

/external/webrtc/src/modules/audio_processing/test/testsupport/metrics/
H A Dvideo_metrics_unittest.cc20 static const int kWidth = 352; member in namespace:webrtc
51 kWidth, kHeight, &psnr_result_));
57 kWidth, kHeight, &ssim_result_));
63 kWidth, kHeight, &psnr_result_,
73 kWidth, kHeight, &ssim_result_));
79 kWidth, kHeight, &ssim_result_));
85 kWidth, kHeight,
93 kWidth, kHeight, &ssim_result_));
99 kWidth, kHeight, &ssim_result_));
105 kWidth, kHeigh
[all...]
/external/webrtc/test/testsupport/metrics/
H A Dvideo_metrics_unittest.cc20 static const int kWidth = 352; member in namespace:webrtc
51 kWidth, kHeight, &psnr_result_));
57 kWidth, kHeight, &ssim_result_));
63 kWidth, kHeight, &psnr_result_,
73 kWidth, kHeight, &ssim_result_));
79 kWidth, kHeight, &ssim_result_));
85 kWidth, kHeight,
93 kWidth, kHeight, &ssim_result_));
99 kWidth, kHeight, &ssim_result_));
105 kWidth, kHeigh
[all...]
/external/skia/samplecode/
H A DOverView.cpp16 static const SkScalar kWidth = SkIntToScalar(640); variable
53 int ix = (int)(SkScalarDiv(x * N, kWidth));
101 view->setSize(kWidth, kHeight);
102 locX += kWidth;
H A DSampleRectanizer.cpp48 fRectanizers[0] = new GrRectanizerPow2(kWidth, kHeight);
49 fRectanizers[1] = new GrRectanizerSkyline(kWidth, kHeight);
96 SkRect r = SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight));
119 100.0f * totArea / ((float)kWidth*kHeight),
134 static const int kWidth = 1024; member in class:RectanizerView
/external/skia/src/effects/
H A DSkMatrixConvolutionImageFilter.cpp496 int kWidth = fKernelSize.width(); local
502 builder->fsCodeAppendf("\t\t\tfor (int x = 0; x < %d; x++) {\n", kWidth);
503 builder->fsCodeAppendf("\t\t\t\tfloat k = %s[y * %d + x];\n", kernel, kWidth);
/external/skia/tests/
H A DARGBImageEncoderTest.cpp22 const int kWidth = 3; local
25 // kHeight rows, each with kWidth pixels, premultiplied ARGB for each pixel
38 bool success = bitmap.allocPixels(SkImageInfo::Make(kWidth, kHeight,
46 canvas.drawIRect(SkIRect::MakeLTRB(0, 0, kWidth, 1), paint);
48 canvas.drawIRect(SkIRect::MakeLTRB(0, 1, kWidth, 2), paint);
H A DCanvasTest.cpp113 static const int kWidth = 2; variable
156 bm->allocN32Pixels(kWidth, kHeight);
161 SkSurface* surface = SkSurface::NewRasterPMColor(kWidth, kHeight);
483 pts[1].set(SkIntToScalar(kWidth), 0);
484 pts[2].set(SkIntToScalar(kWidth), SkIntToScalar(kHeight));
500 SkCanvas* testCanvas = recorder.beginRecording(kWidth, kHeight, NULL, 0);
724 SkCanvas* referenceCanvas = referenceRecorder.beginRecording(kWidth, kHeight,
729 SkCanvas* testCanvas = testRecorder.beginRecording(kWidth, kHeight,
745 SkISize pageSize = SkISize::Make(kWidth, kHeight);
H A DGpuRectanizerTest.cpp17 static const int kWidth = 1024; variable
22 REPORTER_ASSERT(reporter, kWidth == rectanizer->width());
48 GrRectanizerSkyline skylineRectanizer(kWidth, kHeight);
55 GrRectanizerPow2 pow2Rectanizer(kWidth, kHeight);
66 rects.push(SkISize::Make(rand.nextRangeU(1, kWidth / 2),
H A DPictureTest.cpp790 static const int kWidth = 100; local
814 SkCanvas* c = recorder.beginRecording(kWidth, kHeight);
821 c->translate(kWidth/2, kHeight/2);
822 SkRect r = SkRect::MakeXYWH(0, 0, kWidth/2, kHeight/2);
849 SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight);
873 REPORTER_ASSERT(reporter, kWidth == info0.fSize.fWidth && kHeight == info0.fSize.fHeight);
880 REPORTER_ASSERT(reporter, kWidth == info1.fSize.fWidth && kHeight == info1.fSize.fHeight);
887 REPORTER_ASSERT(reporter, kWidth/2 == info2.fSize.fWidth &&
890 REPORTER_ASSERT(reporter, kWidth/2 == info2.fOffset.fX &&
896 REPORTER_ASSERT(reporter, kWidth
[all...]
H A DRoundRectTest.cpp12 static const SkScalar kWidth = 100.0f; variable
52 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight);
72 SkPoint halfPoint = { SkScalarHalf(kWidth), SkScalarHalf(kHeight) };
164 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight);
194 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight);
196 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight));
206 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight);
226 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight);
569 SkRect r = { 0, 0, kWidth, kHeight };
H A DTextureCompressionTest.cpp23 static const int kWidth = 63; local
25 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight);
26 REPORTER_ASSERT(reporter, kWidth % kLATCBlockDimension != 0);
47 static const int kWidth = 64; local
49 SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight);
50 REPORTER_ASSERT(reporter, kWidth % kLATCBlockDimension == 0);
70 static const int kWidth = 8; local
72 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight);
81 REPORTER_ASSERT(reporter, kWidth % kLATCBlockDimension == 0);
83 const int numBlocks = (kWidth / kLATCBlockDimensio
[all...]
/external/sfntly/cpp/src/sfntly/table/bitmap/
H A Dbig_glyph_metrics.cc35 return data_->ReadByte(Offset::kWidth);
85 return InternalReadData()->ReadByte(Offset::kWidth);
89 InternalWriteData()->WriteByte(Offset::kWidth, width);
H A Dbig_glyph_metrics.h32 kWidth = 1, enumerator in enum:sfntly::BigGlyphMetrics::Offset::__anon30338
H A Dsmall_glyph_metrics.cc35 return data_->ReadByte(Offset::kWidth);
73 return InternalReadData()->ReadByte(Offset::kWidth);
77 InternalWriteData()->WriteByte(Offset::kWidth, width);
H A Dsmall_glyph_metrics.h32 kWidth = 1, enumerator in enum:sfntly::SmallGlyphMetrics::Offset::__anon30344
/external/skia/bench/
H A DBitmapRectBench.cpp49 static const int kWidth = 128; member in class:BitmapRectBench
58 fBitmap.setInfo(SkImageInfo::MakeN32Premul(kWidth, kHeight));
76 fSrcR.iset(0, 0, kWidth, kHeight);
77 fDstR.iset(0, 0, kWidth, kHeight);
85 fDstR.fRight += SK_Scalar1 / (kWidth * 60);
H A DRectanizerBench.cpp30 static const int kWidth = 1024; member in class:RectanizerBench
79 fRectanizer.reset(SkNEW_ARGS(GrRectanizerPow2, (kWidth, kHeight)));
82 fRectanizer.reset(SkNEW_ARGS(GrRectanizerSkyline, (kWidth, kHeight)));
93 size = SkISize::Make(rand.nextRangeU(1, kWidth / 2),
96 size = SkISize::Make(GrNextPow2(rand.nextRangeU(1, kWidth / 2)),
H A DTileBench.cpp37 static const int kWidth = 1; member in class:ConstXTileBench
51 bm.allocN32Pixels(kWidth, kHeight, true);
/external/skia/gm/
H A Dbigblurs.cpp31 return SkISize::Make(kWidth, kHeight);
108 static const int kWidth = 5 * kCloseUpSize; member in class:skiagm::BigBlursGM
H A Dbleed.cpp97 return SkISize::Make(kWidth, 780);
266 static const int kWidth = 8*kBlockSpacing + 7*kBlockSize; member in class:BleedGM
H A Dblurquickreject.cpp30 return SkISize::Make(kWidth, kHeight);
77 static const int kWidth = 300; member in class:BlurQuickRejectGM
H A Dmegalooper.cpp48 return SkISize::Make(kWidth, kHeight);
53 for (int x = 100; x < kWidth; x += 200) {
71 static const int kWidth = 800; member in class:MegaLooperGM
H A Doptimizations.cpp307 static const int kWidth = 800; member in class:OptimizationsGM
323 SkISize onISize() { return SkISize::Make(kWidth, kHeight); }
379 if (xPos >= kWidth) {
H A Dselftest.cpp21 const static int kWidth = 300; member in class:SelfTestGM
29 SkISize onISize() { return SkISize::Make(kWidth, kHeight); }
35 canvas->drawRectCoords(0, 0, SkIntToScalar(kWidth), SkIntToScalar(kHeight), paint);
H A Dstringart.cpp14 static const int kWidth = 640; variable
35 return SkISize::Make(kWidth, kHeight);
40 SkScalar size = SkIntToScalar(SkMin32(kWidth, kHeight));
41 SkPoint center = SkPoint::Make(SkScalarHalf(kWidth), SkScalarHalf(kHeight));

Completed in 470 milliseconds

12345