HomeSort by relevance Sort by last modified time
    Searched refs:kWidth (Results 1 - 25 of 52) sorted by null

1 2 3

  /external/chromium_org/gpu/command_buffer/common/
gles2_cmd_utils_unittest.cc 92 const uint32 kWidth = 16;
98 kWidth, kHeight, GL_RGB, GL_UNSIGNED_BYTE, 1, &size, &unpadded_row_size,
100 EXPECT_EQ(kWidth * kHeight * 3, size);
101 EXPECT_EQ(kWidth * 3, padded_row_size);
104 kWidth, kHeight, GL_RGBA, GL_UNSIGNED_BYTE, 1, &size, &unpadded_row_size,
106 EXPECT_EQ(kWidth * kHeight * 4, size);
107 EXPECT_EQ(kWidth * 4, padded_row_size);
110 kWidth, kHeight, GL_LUMINANCE, GL_UNSIGNED_BYTE, 1, &size,
112 EXPECT_EQ(kWidth * kHeight * 1, size);
113 EXPECT_EQ(kWidth * 1, padded_row_size)
    [all...]
  /external/chromium_org/media/base/simd/
convert_rgb_to_yuv_unittest.cc 48 const int kWidth = 256 / kStep;
52 scoped_ptr<uint8[]> rgb(new uint8[kWidth * size]);
53 scoped_ptr<uint8[]> y(new uint8[kWidth]);
54 scoped_ptr<uint8[]> u(new uint8[kWidth / 2]);
55 scoped_ptr<uint8[]> v(new uint8[kWidth / 2]);
66 for (int r = 0; r < kWidth; ++r) {
67 for (int g = 0; g < kWidth; ++g) {
70 for (int b = 0; b < kWidth; ++b) {
79 convert(rgb.get(), y.get(), u.get(), v.get(), kWidth, 1, kWidth * size
    [all...]
  /external/chromium_org/cc/debug/
benchmark_instrumentation.h 19 const char kWidth[] = "width";
  /external/webrtc/test/testsupport/metrics/
video_metrics_unittest.cc 20 static const int kWidth = 352;
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, kHeight
    [all...]
  /external/chromium_org/skia/ext/
bitmap_platform_device_mac_unittest.cc 16 const int kWidth = 400;
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/libjingle/source/talk/media/base/
videoframe_unittest.h 66 static const int kWidth = 1280;
79 kWidth, kHeight, frame);
486 CreateYuvSample(kWidth, kHeight, 12));
488 kWidth, kHeight, &frame));
491 const uint8* u = y + kWidth * kHeight;
492 const uint8* v = u + kWidth * kHeight / 4;
493 EXPECT_TRUE(IsEqual(frame, kWidth, kHeight, 1, 1, 0, 0,
494 y, kWidth, u, kWidth / 2, v, kWidth / 2, 0))
    [all...]
  /external/skia/gm/
selftest.cpp 21 const static int kWidth = 300;
29 SkISize onISize() { return skiagm::make_isize(kWidth, kHeight); }
35 canvas->drawRectCoords(0, 0, SkIntToScalar(kWidth), SkIntToScalar(kHeight), paint);
blurquickreject.cpp 29 return SkISize::Make(kWidth, kHeight);
76 static const int kWidth = 300;
  /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/chromium_org/media/filters/
skcanvas_video_renderer_unittest.cc 16 static const int kWidth = 320;
18 static const gfx::Rect kNaturalRect(0, 0, kWidth, kHeight);
87 : natural_frame_(VideoFrame::CreateBlackFrame(gfx::Size(kWidth, kHeight))),
89 gfx::Size(kWidth * 2, kHeight * 2))),
91 gfx::Size(kWidth / 2, kHeight / 2))),
98 fast_path_device_(SkBitmap::kARGB_8888_Config, kWidth, kHeight, true),
100 slow_path_device_(SkBitmap::kARGB_8888_Config, kWidth, kHeight, false),
110 cropped_frame()->natural_size().height() * kWidth);
305 EXPECT_EQ(SK_ColorRED, GetColorAt(fast_path_canvas(), kWidth - 1, 0));
307 EXPECT_EQ(SK_ColorBLUE, GetColorAt(fast_path_canvas(), kWidth - 1
    [all...]
  /external/chromium_org/gpu/command_buffer/service/
renderbuffer_manager_unittest.cc 139 const GLsizei kWidth = 128;
141 manager_->SetInfo(renderbuffer1, kSamples, kFormat, kWidth, kHeight);
144 EXPECT_EQ(kWidth, renderbuffer1->width());
149 EXPECT_EQ(kWidth * kHeight * 4u * 4u, renderbuffer1->EstimatedSize());
155 manager_->SetInfo(renderbuffer1, kSamples, kFormat, kWidth, kHeight);
177 const GLsizei kWidth = 128;
183 kWidth, kHeight1, kSamples, kFormat, &expected_size_1);
185 kWidth, kHeight2, kSamples, kFormat, &expected_size_2);
188 manager_->SetInfo(renderbuffer1, kSamples, kFormat, kWidth, kHeight1);
193 manager_->SetInfo(renderbuffer1, kSamples, kFormat, kWidth, kHeight2)
    [all...]
  /external/chromium_org/remoting/base/
util_unittest.cc 12 static const int kWidth = 32 ;
15 static const int kYStride = kWidth;
16 static const int kUvStride = kWidth / 2;
17 static const int kRgbStride = kWidth * kBytesPerPixel;
31 rgb_buffer_size_ = kWidth * kHeight * kBytesPerPixel;
65 EXPECT_EQ((ptrdiff_t)kWidth,
66 std::count(ptr, ptr + kWidth, 0u));
77 EXPECT_EQ((ptrdiff_t)kWidth - rect.right(),
78 std::count(ptr + rect.right(), ptr + kWidth, 0u));
99 kWidth,
    [all...]
  /external/chromium_org/gpu/command_buffer/tests/
gl_readback_unittests.cc 54 const GLint kWidth = 2;
64 kWidth * kHeight * kBytesPerPixel,
68 glReadPixels(0, 0, kWidth, kHeight, GL_RGBA, GL_UNSIGNED_BYTE, 0);
  /external/skia/bench/
BitmapRectBench.cpp 48 static const int kWidth = 128;
57 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, kWidth, kHeight);
74 fSrcR.iset(0, 0, kWidth, kHeight);
75 fDstR.iset(0, 0, kWidth, kHeight);
83 fDstR.fRight += SK_Scalar1 / (kWidth * 60);
  /external/chromium_org/remoting/host/
screen_capturer_fake.h 21 // ScreenCapturerFake generates a picture of size kWidth x kHeight.
22 static const int kWidth = 800;
screen_capturer_fake.cc 13 // ScreenCapturerFake generates a white picture of size kWidth x kHeight
16 static const int kWidth = ScreenCapturerFake::kWidth;
22 COMPILE_ASSERT(kBoxWidth < kWidth && kBoxHeight < kHeight, bad_box_size);
23 COMPILE_ASSERT((kBoxWidth % kSpeed == 0) && (kWidth % kSpeed == 0) &&
123 size_.set(kWidth, kHeight);
  /external/skia/tests/
ARGBImageEncoderTest.cpp 33 const int kWidth = 3;
36 // kHeight rows, each with kWidth pixels, premultiplied ARGB for each pixel
49 bitmap.setConfig(configs[configIndex], kWidth, kHeight);
57 canvas.drawIRect(SkIRect::MakeLTRB(0, 0, kWidth, 1), paint);
59 canvas.drawIRect(SkIRect::MakeLTRB(0, 1, kWidth, 2), paint);
RoundRectTest.cpp 12 static const SkScalar kWidth = SkFloatToScalar(100.0f);
52 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight);
65 SkPoint halfPoint = { SkScalarHalf(kWidth), SkScalarHalf(kHeight) };
154 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight);
189 static const SkScalar kWidthTol = SkScalarHalf(kWidth) * (SK_Scalar1 - SK_ScalarRoot2Over2);
196 { kWidth + kEps - kWidthTol, kHeightTol - kEps }, // out
197 { kWidth - kEps - kWidthTol, kHeightTol + kEps }, // in
199 { kWidth + kEps - kWidthTol, kHeight + kEps - kHeightTol }, // out
200 { kWidth - kEps - kWidthTol, kHeight - kEps - kHeightTol }, // in
213 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight)
    [all...]
  /external/chromium/chrome/browser/chromeos/
setting_level_bubble_view.cc 21 const int kWidth = 350, kHeight = 100;
69 return gfx::Size(kWidth, kHeight);
  /external/chromium_org/media/base/
yuv_convert_unittest.cc 616 const int kWidth = 167;
621 kWidth);
626 kWidth);
630 kWidth * kBpp));
645 const int kWidth = 167;
650 kWidth);
655 kWidth);
659 kWidth * kBpp));
674 const int kWidth = 167;
680 kWidth,
    [all...]
video_frame_unittest.cc 91 const int kWidth = 61;
95 gfx::Size size(kWidth, kHeight);
109 EXPECT_EQ(frame->row_bytes(plane), kWidth * bytes_per_pixel);
125 const int kWidth = 64;
130 gfx::Size size(kWidth, kHeight);
165 const int kWidth = 2;
171 VideoFrame::CreateBlackFrame(gfx::Size(kWidth, kHeight));
180 EXPECT_EQ(kWidth, frame->coded_size().width());
  /external/sfntly/cpp/src/sfntly/table/bitmap/
small_glyph_metrics.cc 35 return data_->ReadByte(Offset::kWidth);
73 return InternalReadData()->ReadByte(Offset::kWidth);
77 InternalWriteData()->WriteByte(Offset::kWidth, width);
big_glyph_metrics.cc 35 return data_->ReadByte(Offset::kWidth);
85 return InternalReadData()->ReadByte(Offset::kWidth);
89 InternalWriteData()->WriteByte(Offset::kWidth, width);
big_glyph_metrics.h 32 kWidth = 1,
  /external/chromium_org/ui/gfx/
color_analysis_unittest.cc 218 const int kWidth = 16;
221 EXPECT_EQ(1 + 1 * kWidth, sampler.GetSample(kWidth, kHeight));
222 EXPECT_EQ(1 + 4 * kWidth, sampler.GetSample(kWidth, kHeight));
223 EXPECT_EQ(1 + 7 * kWidth, sampler.GetSample(kWidth, kHeight));
224 EXPECT_EQ(1 + 10 * kWidth, sampler.GetSample(kWidth, kHeight));
226 EXPECT_EQ(4 + 1 * kWidth, sampler.GetSample(kWidth, kHeight))
    [all...]

Completed in 1276 milliseconds

1 2 3