/external/webrtc/src/modules/audio_processing/test/testsupport/metrics/ |
H A D | video_metrics_unittest.cc | 20 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 D | video_metrics_unittest.cc | 20 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 D | OverView.cpp | 16 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 D | SampleRectanizer.cpp | 48 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 D | SkMatrixConvolutionImageFilter.cpp | 496 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 D | ARGBImageEncoderTest.cpp | 22 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 D | CanvasTest.cpp | 113 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 D | GpuRectanizerTest.cpp | 17 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 D | PictureTest.cpp | 790 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 D | RoundRectTest.cpp | 12 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 D | TextureCompressionTest.cpp | 23 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 D | big_glyph_metrics.cc | 35 return data_->ReadByte(Offset::kWidth); 85 return InternalReadData()->ReadByte(Offset::kWidth); 89 InternalWriteData()->WriteByte(Offset::kWidth, width);
|
H A D | big_glyph_metrics.h | 32 kWidth = 1, enumerator in enum:sfntly::BigGlyphMetrics::Offset::__anon30338
|
H A D | small_glyph_metrics.cc | 35 return data_->ReadByte(Offset::kWidth); 73 return InternalReadData()->ReadByte(Offset::kWidth); 77 InternalWriteData()->WriteByte(Offset::kWidth, width);
|
H A D | small_glyph_metrics.h | 32 kWidth = 1, enumerator in enum:sfntly::SmallGlyphMetrics::Offset::__anon30344
|
/external/skia/bench/ |
H A D | BitmapRectBench.cpp | 49 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 D | RectanizerBench.cpp | 30 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 D | TileBench.cpp | 37 static const int kWidth = 1; member in class:ConstXTileBench 51 bm.allocN32Pixels(kWidth, kHeight, true);
|
/external/skia/gm/ |
H A D | bigblurs.cpp | 31 return SkISize::Make(kWidth, kHeight); 108 static const int kWidth = 5 * kCloseUpSize; member in class:skiagm::BigBlursGM
|
H A D | bleed.cpp | 97 return SkISize::Make(kWidth, 780); 266 static const int kWidth = 8*kBlockSpacing + 7*kBlockSize; member in class:BleedGM
|
H A D | blurquickreject.cpp | 30 return SkISize::Make(kWidth, kHeight); 77 static const int kWidth = 300; member in class:BlurQuickRejectGM
|
H A D | megalooper.cpp | 48 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 D | optimizations.cpp | 307 static const int kWidth = 800; member in class:OptimizationsGM 323 SkISize onISize() { return SkISize::Make(kWidth, kHeight); } 379 if (xPos >= kWidth) {
|
H A D | selftest.cpp | 21 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 D | stringart.cpp | 14 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));
|