/external/skia/gm/ |
stlouisarch.cpp | 22 SkISize onISize() override { return SkISize::Make((int)kWidth, (int)kHeight); } 28 bigQuad->quadTo(kWidth/2, kHeight, kWidth, 0); 35 degenBigQuad->quadTo(0, yPos, kWidth, yPos); 43 kWidth, kHeight, 44 kWidth, 0); 53 kWidth, yPos); 59 bigConic->conicTo(kWidth/2, kHeight, kWidth, 0, .5); 66 degenBigConic->conicTo(0, yPos, kWidth, yPos, .5) [all...] |
selftest.cpp | 21 const static int kWidth = 300; 29 SkISize onISize() { return SkISize::Make(kWidth, kHeight); } 35 canvas->drawRectCoords(0, 0, SkIntToScalar(kWidth), SkIntToScalar(kHeight), paint);
|
stringart.cpp | 14 static const int kWidth = 640; 32 return SkISize::Make(kWidth, kHeight); 37 SkScalar size = SkIntToScalar(SkMin32(kWidth, kHeight)); 38 SkPoint center = SkPoint::Make(SkScalarHalf(kWidth), SkScalarHalf(kHeight));
|
textblobgeometrychange.cpp | 27 return SkISize::Make(kWidth, kHeight); 52 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f); 72 static const int kWidth = 200;
|
textblobuseaftergpufree.cpp | 29 return SkISize::Make(kWidth, kHeight); 53 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f); 65 static const int kWidth = 200;
|
/external/gemmlowp/internal/ |
kernel.h | 129 static const int kWidth = tWidth; 133 static const int kSize = kWidth * kDepth; 146 static const int kWidth = kCells * Cell::kWidth; 159 static const int kRows = Lhs::Cell::kWidth * Lhs::kCells; 160 static const int kCols = Rhs::Cell::kWidth * Rhs::kCells; 182 return w + d * CellFormat::kWidth; 186 assert(CellFormat::kWidth == CellFormat::kDepth); 187 static const int size = CellFormat::kWidth;
|
kernel_reference.h | 40 Format::Lhs::kCells, Format::Lhs::Cell::kWidth, 43 Format::Rhs::Cell::kDepth, Format::Rhs::Cell::kWidth, 64 Format::Lhs::Cell::kWidth * 69 Format::Rhs::Cell::kWidth * 76 for (int ri = 0; ri < Format::Lhs::Cell::kWidth; ri++) { 77 for (int ci = 0; ci < Format::Rhs::Cell::kWidth; ci++) { 85 accumulator + (ri + rc * Format::Lhs::Cell::kWidth) + 86 (ci + cc * Format::Rhs::Cell::kWidth) * Format::kRows;
|
/external/webrtc/talk/session/media/ |
planarfunctions_unittest.cc | 62 static const int kWidth = 1280; 501 int y_pitch = kWidth; 502 int u_pitch = (kWidth + 1) >> 1; 503 int v_pitch = (kWidth + 1) >> 1; 504 int y_size = kHeight * kWidth; 505 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); 509 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_pointer, u_pointer, 513 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment]); 525 kWidth, kHeight); 530 I420_SIZE(kHeight, kWidth), 1.e-6)) [all...] |
/external/webrtc/webrtc/test/testsupport/metrics/ |
video_metrics_unittest.cc | 18 static const int kWidth = 352; 57 kWidth, kHeight, &psnr_result_)); 63 kWidth, kHeight, &ssim_result_)); 69 kWidth, kHeight, &psnr_result_, 79 video_file_.c_str(), kWidth, kHeight, 86 video_file_.c_str(), kWidth, kHeight, 93 video_file_.c_str(), kWidth, kHeight, 101 kWidth, kHeight, &ssim_result_)); 107 kWidth, kHeight, &ssim_result_)); 113 non_existing_file_.c_str(), kWidth, kHeight [all...] |
/external/skia/tests/ |
RecordReplaceDrawTest.cpp | 22 static const int kWidth = 100; 41 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 43 canvas->drawRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)), SkPaint()); 44 canvas->clipRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight))); 50 SkRecorder canvas(&rerecord, kWidth, kHeight); 75 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 84 SkRecorder canvas(&rerecord, kWidth, kHeight); 98 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 103 canvas->drawRect(SkRect::MakeWH(SkIntToScalar(kWidth / 2), SkIntToScalar(kHeight / 2)), 116 SkIRect::MakeWH(kWidth, kHeight) [all...] |
TextureCompressionTest.cpp | 46 static const int kWidth = 17; 54 REPORTER_ASSERT(reporter, kWidth % 4 != 0); 58 pixmap.alloc(SkImageInfo::MakeA8(kWidth, kHeight)); 76 static const int kWidth = 12; 83 REPORTER_ASSERT(reporter, kWidth % 12 == 0); 87 pixmap.alloc(SkImageInfo::MakeN32Premul(kWidth, kHeight)); 105 static const int kWidth = 48; // We need the number to be divisible by both 114 REPORTER_ASSERT(reporter, kWidth % 48 == 0); 118 pixmap.alloc(SkImageInfo::MakeA8(kWidth, kHeight)); 129 for (int x = 0; x < kWidth; ++x) [all...] |
GpuRectanizerTest.cpp | 17 static const int kWidth = 1024; 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),
|
VkUploadPixelsTests.cpp | 57 const int kWidth = 16; 59 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight); 60 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight); 62 fill_pixel_data(kWidth, kHeight, srcBuffer.get()); 82 surfDesc.fWidth = kWidth; 89 gpu->readPixels(tex0, 0, 0, kWidth, kHeight, config, dstBuffer, 0); 93 kWidth, 97 memset(dstBuffer, 0, kWidth*kHeight*sizeof(GrColor)); 114 gpu->readPixels(tex1, 0, 0, kWidth, kHeight, config, dstBuffer, 0); 118 kWidth, [all...] |
ARGBImageEncoderTest.cpp | 23 const int kWidth = 3; 26 // kHeight rows, each with kWidth pixels, premultiplied ARGB for each pixel 39 bitmap.allocPixels(SkImageInfo::Make(kWidth, kHeight, gColorTypes[ctIndex], 46 canvas.drawIRect(SkIRect::MakeLTRB(0, 0, kWidth, 1), paint); 48 canvas.drawIRect(SkIRect::MakeLTRB(0, 1, kWidth, 2), paint);
|
RectangleTextureTest.cpp | 141 static const int kWidth = 13; 144 GrColor pixels[kWidth * kHeight]; 146 for (int x = 0; x < kWidth; ++x) { 147 pixels[y * kWidth + x] = y * kWidth + x; 152 GrGLuint rectTexID = glContext->createTextureRectangle(kWidth, kHeight, GR_GL_RGBA, 171 rectangleDesc.fWidth = kWidth; 176 GrColor refPixels[kWidth * kHeight]; 179 for (int x = 0; x < kWidth; ++x) { 181 refPixels[y * kWidth + x] = pixels[y0 * kWidth + x] [all...] |
TextureStorageAllocator.cpp | 57 static const int kWidth = 13; 70 context, SkBudgeted::kNo, SkImageInfo::MakeN32Premul(kWidth, kHeight), 0, 79 REPORTER_ASSERT(reporter, image->readPixels(imageInfo, &dest, 4 * kWidth, 0, 0)); 87 REPORTER_ASSERT(reporter, image2->readPixels(imageInfo, &dest, 4 * kWidth, 0, 0)); 92 static const int kWidth = 13; 104 context, SkBudgeted::kNo, SkImageInfo::MakeN32Premul(kWidth, kHeight), 0,
|
/external/webrtc/webrtc/video/ |
overuse_frame_detector_unittest.cc | 21 const int kWidth = 640; 90 1000, kFrameInterval33ms, kWidth, kHeight, kDelayMs); 99 1300, kFrameInterval33ms, kWidth, kHeight, kDelayMs1); 101 1, kFrameInterval33ms, kWidth, kHeight, kDelayMs2); 155 1200, kFrameInterval33ms, kWidth, kHeight, kProcessTime5ms); 187 1000, kFrameInterval33ms, kWidth, kHeight, kProcessTime5ms); 194 1000, kFrameInterval33ms, kWidth, kHeight, kProcessTime5ms); 198 1, kFrameInterval33ms, kWidth, kHeight + 1, kProcessTime5ms); 205 1000, kFrameInterval33ms, kWidth, kHeight, kProcessTime5ms); 208 2, options_.frame_timeout_interval_ms, kWidth, kHeight, kProcessTime5ms) [all...] |
/external/libyuv/files/unit_test/ |
planar_test.cc | 33 const int kWidth = 1280; \ 35 const int kStride = (kWidth * 8 * BPP_B + 7) / 8; \ 36 align_buffer_16(src_y, kWidth * kHeight); \ 37 align_buffer_16(src_u, kWidth / SUBSAMP_X * kHeight / SUBSAMP_Y); \ 38 align_buffer_16(src_v, kWidth / SUBSAMP_X * kHeight / SUBSAMP_Y); \ 43 for (int j = 0; j < kWidth; ++j) \ 44 src_y[(i * kWidth) + j] = (random() & 0xff); \ 46 for (int j = 0; j < kWidth / SUBSAMP_X; ++j) { \ 47 src_u[(i * kWidth / SUBSAMP_X) + j] = (random() & 0xff); \ 48 src_v[(i * kWidth / SUBSAMP_X) + j] = (random() & 0xff); [all...] |
/external/webrtc/talk/media/base/ |
videoframe_unittest.h | 67 static const int kWidth = 1280; 80 kWidth, kHeight, frame); 545 CreateYuvSample(kWidth, kHeight, 12)); 547 kWidth, kHeight, &frame)); 550 const uint8_t* u = y + kWidth * kHeight; 551 const uint8_t* v = u + kWidth * kHeight / 4; 552 EXPECT_TRUE(IsEqual(frame, kWidth, kHeight, 1, 1, 0, y, kWidth, u, 553 kWidth / 2, v, kWidth / 2, 0)) [all...] |
/external/libvpx/libvpx/test/ |
active_map_test.cc | 24 static const int kWidth = 208; 53 map.cols = (kWidth + 15) / 16; 61 map.cols = (kWidth + 15) / 16; 80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
active_map_test.cc | 24 static const int kWidth = 208; 53 map.cols = (kWidth + 15) / 16; 61 map.cols = (kWidth + 15) / 16; 80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30,
|
/external/opencv3/modules/cudafilters/src/cuda/ |
filter2d.cu | 54 const int kWidth, const int kHeight, 70 for (int j = 0; j < kWidth; ++j) 96 int kWidth, int kHeight, int anchorX, int anchorY, const float* borderValue, cudaStream_t stream) \ 105 filter2D<<<grid, block, 0, stream>>>(brdSrc, dst, kernel, kWidth, kHeight, anchorX, anchorY); \ 125 int kWidth, int kHeight, int anchorX, int anchorY, 129 int kWidth, int kHeight, int anchorX, int anchorY, const float* borderValue, cudaStream_t stream); 140 kWidth, kHeight, anchorX, anchorY, borderValue, stream); 143 template void filter2D<uchar , uchar >(PtrStepSzb srcWhole, int ofsX, int ofsY, PtrStepSzb dst, const float* kernel, int kWidth, int kHeight, int anchorX, int anchorY, int borderMode, const float* borderValue, cudaStream_t stream); 144 template void filter2D<uchar4 , uchar4 >(PtrStepSzb srcWhole, int ofsX, int ofsY, PtrStepSzb dst, const float* kernel, int kWidth, int kHeight, int anchorX, int anchorY, int borderMode, const float* borderValue, cudaStream_t stream); 145 template void filter2D<ushort , ushort >(PtrStepSzb srcWhole, int ofsX, int ofsY, PtrStepSzb dst, const float* kernel, int kWidth, int kHeight, int anchorX, int anchorY, int borderMode, const float* borderValue, cudaStream_t str (…) [all...] |
/external/pdfium/core/src/fxcrt/ |
fx_basic_memmgr_unittest.cpp | 15 const size_t kWidth = 640; 16 const size_t kOverflowIntAlloc2D = kMaxIntAlloc / kWidth + 10; 41 EXPECT_DEATH_IF_SUPPORTED((void)FX_Alloc2D(int, kWidth, kOverflowIntAlloc2D),
|
/external/skia/bench/ |
BitmapRectBench.cpp | 49 static const int kWidth = 128; 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);
|
RectanizerBench.cpp | 30 static const int kWidth = 1024; 79 fRectanizer.reset(new GrRectanizerPow2(kWidth, kHeight)); 82 fRectanizer.reset(new GrRectanizerSkyline(kWidth, kHeight)); 93 size = SkISize::Make(rand.nextRangeU(1, kWidth / 2), 96 size = SkISize::Make(GrNextPow2(rand.nextRangeU(1, kWidth / 2)),
|