Searched defs:kWidth (Results 1 - 25 of 103) sorted by relevance

12345

/external/chromium_org/remoting/host/
H A Dfake_desktop_capturer.h22 // By default FakeDesktopCapturer generates frames of size kWidth x kHeight,
25 static const int kWidth = 800; member in class:remoting::FakeDesktopCapturer
H A Dfake_mouse_cursor_monitor.cc34 const int kWidth = 32; local
38 new webrtc::BasicDesktopFrame(webrtc::DesktopSize(kWidth, kHeight)));
40 webrtc::DesktopFrame::kBytesPerPixel * kWidth * kHeight);
H A Dfake_desktop_capturer.cc15 // FakeDesktopCapturer generates a white picture of size kWidth x kHeight
18 static const int kWidth = FakeDesktopCapturer::kWidth; member in namespace:remoting
24 COMPILE_ASSERT(kBoxWidth < kWidth && kBoxHeight < kHeight, bad_box_size);
25 COMPILE_ASSERT((kBoxWidth % kSpeed == 0) && (kWidth % kSpeed == 0) &&
63 int buffer_size = kWidth * kHeight * kBytesPerPixel;
69 webrtc::DesktopSize(kWidth, kHeight), bytes_per_row_, shared_memory));
72 new webrtc::BasicDesktopFrame(webrtc::DesktopSize(kWidth, kHeight)));
78 if (box_pos_x_ + kBoxWidth >= kWidth || box_pos_x_ == 0)
109 webrtc::DesktopRect::MakeXYWH(0, 0, kWidth, kHeigh
[all...]
/external/chromium_org/third_party/skia/tests/
H A DARGBImageEncoderTest.cpp22 const int kWidth = 3; local
25 // kHeight rows, each with kWidth pixels, premultiplied ARGB for each pixel
38 bitmap.allocPixels(SkImageInfo::Make(kWidth, kHeight, gColorTypes[ctIndex],
45 canvas.drawIRect(SkIRect::MakeLTRB(0, 0, kWidth, 1), paint);
47 canvas.drawIRect(SkIRect::MakeLTRB(0, 1, kWidth, 2), paint);
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),
/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 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 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/chromium_org/media/base/simd/
H A Dconvert_rgb_to_yuv_unittest.cc55 const int kWidth = 256 / kStep; local
59 scoped_ptr<uint8[]> rgb(new uint8[kWidth * size]);
60 scoped_ptr<uint8[]> y(new uint8[kWidth]);
61 scoped_ptr<uint8[]> u(new uint8[kWidth / 2]);
62 scoped_ptr<uint8[]> v(new uint8[kWidth / 2]);
73 for (int r = 0; r < kWidth; ++r) {
74 for (int g = 0; g < kWidth; ++g) {
77 for (int b = 0; b < kWidth; ++b) {
86 convert(rgb.get(), y.get(), u.get(), v.get(), kWidth, 1, kWidth * siz
[all...]
/external/chromium_org/skia/ext/
H A Dbitmap_platform_device_mac_unittest.cc16 const int kWidth = 400; member in namespace:skia
23 NULL, kWidth, kHeight, /*is_opaque=*/true));
36 rect.set(0, 0, kWidth, kHeight);
45 EXPECT_EQ(kWidth, clip_rect.width());
56 rect.set(0, 0, kWidth, kHeight);
65 EXPECT_EQ(kWidth, clip_rect.width());
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dactive_map_test.cc24 static const int kWidth = 208; member in class:__anon12971::ActiveMapTest
53 map.cols = (kWidth + 15) / 16;
61 map.cols = (kWidth + 15) / 16;
80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30,
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
H A Dbig_glyph_metrics.h32 kWidth = 1, enumerator in enum:sfntly::BigGlyphMetrics::Offset::__anon14926
H A Dsmall_glyph_metrics.h32 kWidth = 1, enumerator in enum:sfntly::SmallGlyphMetrics::Offset::__anon14932
/external/chromium_org/third_party/skia/gm/
H A Dblurquickreject.cpp30 return SkISize::Make(kWidth, kHeight);
77 static const int kWidth = 300; member in class:BlurQuickRejectGM
H A Dbigblurs.cpp31 return SkISize::Make(kWidth, kHeight);
108 static const int kWidth = 5 * kCloseUpSize; member in class:skiagm::BigBlursGM
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));
/external/libvpx/libvpx/test/
H A Dactive_map_test.cc24 static const int kWidth = 208; member in class:__anon24769::ActiveMapTest
53 map.cols = (kWidth + 15) / 16;
61 map.cols = (kWidth + 15) / 16;
80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30,
/external/sfntly/cpp/src/sfntly/table/bitmap/
H A Dbig_glyph_metrics.h32 kWidth = 1, enumerator in enum:sfntly::BigGlyphMetrics::Offset::__anon30338
H A Dsmall_glyph_metrics.h32 kWidth = 1, enumerator in enum:sfntly::SmallGlyphMetrics::Offset::__anon30344
/external/skia/gm/
H A Dblurquickreject.cpp30 return SkISize::Make(kWidth, kHeight);
77 static const int kWidth = 300; member in class:BlurQuickRejectGM
/external/chromium_org/chrome/browser/ui/app_list/test/
H A Dfast_show_pickler_unittest.cc64 const int kWidth = 10; local
67 bitmap.allocN32Pixels(kWidth, kHeight);
/external/chromium_org/third_party/skia/bench/
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)),
/external/chromium_org/third_party/webrtc/test/testsupport/metrics/
H A Dvideo_metrics_unittest.cc19 static const int kWidth = 352; member in namespace:webrtc
53 kWidth, kHeight, &psnr_result_));
59 kWidth, kHeight, &ssim_result_));
65 kWidth, kHeight, &psnr_result_,
75 kWidth, kHeight, &ssim_result_));
81 kWidth, kHeight, &ssim_result_));
87 kWidth, kHeight,
95 kWidth, kHeight, &ssim_result_));
101 kWidth, kHeight, &ssim_result_));
107 kWidth, kHeigh
[all...]
/external/skia/bench/
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)),

Completed in 2200 milliseconds

12345