Searched refs:kHeight (Results 1 - 25 of 59) sorted by relevance

123

/external/webrtc/test/testsupport/metrics/
H A Dvideo_metrics_unittest.cc21 static const int kHeight = 288; 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, kHeight,
[all...]
/external/chromium_org/skia/ext/
H A Dbitmap_platform_device_mac_unittest.cc17 const int kHeight = 300; member in namespace:skia
23 NULL, kWidth, kHeight, /*is_opaque=*/true));
36 rect.set(0, 0, kWidth, kHeight);
46 EXPECT_EQ(kHeight, clip_rect.height());
56 rect.set(0, 0, kWidth, kHeight);
66 EXPECT_EQ(kHeight, clip_rect.height());
/external/chromium_org/gpu/command_buffer/common/
H A Dgles2_cmd_utils_unittest.cc93 const uint32 kHeight = 12; local
98 kWidth, kHeight, GL_RGB, GL_UNSIGNED_BYTE, 1, &size, &unpadded_row_size,
100 EXPECT_EQ(kWidth * kHeight * 3, size);
104 kWidth, kHeight, GL_RGBA, GL_UNSIGNED_BYTE, 1, &size, &unpadded_row_size,
106 EXPECT_EQ(kWidth * kHeight * 4, size);
110 kWidth, kHeight, GL_LUMINANCE, GL_UNSIGNED_BYTE, 1, &size,
112 EXPECT_EQ(kWidth * kHeight * 1, size);
116 kWidth, kHeight, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, 1, &size,
118 EXPECT_EQ(kWidth * kHeight * 2, size);
122 kWidth, kHeight, GL_BGRA_EX
150 const uint32 kHeight = 12; local
188 const uint32 kHeight = 12; local
[all...]
/external/skia/gm/
H A Dselftest.cpp22 const static int kHeight = 200; member in class:SelfTestGM
29 SkISize onISize() { return skiagm::make_isize(kWidth, kHeight); }
35 canvas->drawRectCoords(0, 0, SkIntToScalar(kWidth), SkIntToScalar(kHeight), paint);
H A Dstringart.cpp15 static const int kHeight = 480; variable
31 return SkISize::Make(kWidth, kHeight);
36 SkScalar size = SkIntToScalar(SkMin32(kWidth, kHeight));
37 SkPoint center = SkPoint::Make(SkScalarHalf(kWidth), SkScalarHalf(kHeight));
H A Dblurquickreject.cpp30 return SkISize::Make(kWidth, kHeight);
78 static const int kHeight = 300; member in class:BlurQuickRejectGM
H A Dbigblurs.cpp31 return make_isize(kWidth, kHeight);
110 static const int kHeight = 2 * SkBlurMaskFilter::kBlurStyleCount * kCloseUpSize; member in class:skiagm::BigBlursGM
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dvideoframe_unittest.h67 static const int kHeight = 720; member in class:VideoFrameTest
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,
501 CreateYuvSample(kWidth, kHeight, 12));
503 kWidth, kHeight, &frame));
506 const uint8* v = y + kWidth * kHeight;
[all...]
/external/chromium_org/media/filters/
H A Dskcanvas_video_renderer_unittest.cc17 static const int kHeight = 240; member in namespace:media
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),
109 EXPECT_EQ(cropped_frame()->natural_size().width() * kHeight,
306 EXPECT_EQ(SK_ColorGREEN, GetColorAt(fast_path_canvas(), 0, kHeight - 1));
308 kHeight
[all...]
/external/chromium_org/chrome/browser/infobars/
H A Dinfobar_extension_api.cc35 const char kHeight[] = "height"; local
37 if (args->HasKey(kHeight))
38 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(kHeight, &height));
/external/chromium_org/remoting/base/
H A Dutil_unittest.cc12 static const int kHeight = 24 ; variable
24 yuv_buffer_size_ = (kYStride + kUvStride) * kHeight;
27 uplane_ = yplane_ + (kYStride * kHeight);
28 vplane_ = uplane_ + (kUvStride * kHeight / 2);
30 rgb_buffer_size_ = kWidth * kHeight * kBytesPerPixel;
61 for (int y = 0; y < kHeight; ++y) {
101 kHeight,
113 webrtc::DesktopSize(kWidth, kHeight),
114 webrtc::DesktopRect::MakeWH(kWidth, kHeight),
127 RunTest(webrtc::DesktopSize(kWidth, kHeight),
[all...]
/external/libyuv/files/unit_test/
H A Dplanar_test.cc34 const int kHeight = 720; \
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); \
39 align_buffer_16(dst_argb_c, kStride * kHeight); \
40 align_buffer_16(dst_argb_opt, kStride * kHeight); \
42 for (int i = 0; i < kHeight; ++i) \
45 for (int i = 0; i < kHeight / SUBSAMP_Y; ++i) \
55 kWidth, NEG kHeight); \
62 kWidth, NEG kHeight); \
[all...]
/external/chromium_org/remoting/host/
H A Dscreen_capturer_fake.h21 // ScreenCapturerFake generates a picture of size kWidth x kHeight.
23 static const int kHeight = 600; member in class:remoting::ScreenCapturerFake
H A Dscreen_capturer_fake.cc13 // ScreenCapturerFake generates a white picture of size kWidth x kHeight
17 static const int kHeight = ScreenCapturerFake::kHeight; member in namespace:remoting
22 COMPILE_ASSERT(kBoxWidth < kWidth && kBoxHeight < kHeight, bad_box_size);
24 (kBoxHeight % kSpeed == 0) && (kHeight % kSpeed == 0),
123 size_.set(kWidth, kHeight);
/external/skia/bench/
H A DBitmapRectBench.cpp50 static const int kHeight = 128; member in class:BitmapRectBench
58 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, kWidth, kHeight);
76 fSrcR.iset(0, 0, kWidth, kHeight);
77 fDstR.iset(0, 0, kWidth, kHeight);
/external/chromium/chrome/browser/chromeos/
H A Dsetting_level_bubble_view.cc21 const int kWidth = 350, kHeight = 100; member in namespace:__anon2046
69 return gfx::Size(kWidth, kHeight);
/external/chromium_org/gpu/command_buffer/service/
H A Drenderbuffer_manager_unittest.cc143 const GLsizei kHeight = 64; local
144 manager_->SetInfo(renderbuffer1, kSamples, kFormat, kWidth, kHeight);
148 EXPECT_EQ(kHeight, renderbuffer1->height());
152 EXPECT_EQ(kWidth * kHeight * 4u * 4u, renderbuffer1->EstimatedSize());
158 manager_->SetInfo(renderbuffer1, kSamples, kFormat, kWidth, kHeight);
217 const GLsizei kHeight = 64; local
218 manager_->SetInfo(renderbuffer1.get(), kSamples, kFormat, kWidth, kHeight);
250 const GLsizei kHeight = 64; local
251 manager_->SetInfo(renderbuffer1.get(), kSamples, kFormat, kWidth, kHeight);
261 renderbuffer1.get(), kSamples + 1, kFormat, kWidth, kHeight);
[all...]
/external/chromium_org/media/cast/test/
H A Dencode_decode_test.cc25 static const int kHeight = 720; member in namespace:media::cast
37 gfx::Size size(kWidth, kHeight);
87 encoder_config_.height = kHeight;
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
H A Dsmall_glyph_metrics.cc31 return data_->ReadByte(Offset::kHeight);
65 return InternalReadData()->ReadByte(Offset::kHeight);
69 InternalWriteData()->WriteByte(Offset::kHeight, height);
H A Dbig_glyph_metrics.cc31 return data_->ReadByte(Offset::kHeight);
77 return InternalReadData()->ReadByte(Offset::kHeight);
81 InternalWriteData()->WriteByte(Offset::kHeight, height);
H A Dsmall_glyph_metrics.h31 kHeight = 0, enumerator in enum:sfntly::SmallGlyphMetrics::Offset::__anon14329
/external/sfntly/cpp/src/sfntly/table/bitmap/
H A Dsmall_glyph_metrics.cc31 return data_->ReadByte(Offset::kHeight);
65 return InternalReadData()->ReadByte(Offset::kHeight);
69 InternalWriteData()->WriteByte(Offset::kHeight, height);
H A Dbig_glyph_metrics.cc31 return data_->ReadByte(Offset::kHeight);
77 return InternalReadData()->ReadByte(Offset::kHeight);
81 InternalWriteData()->WriteByte(Offset::kHeight, height);
/external/chromium_org/media/base/
H A Dvideo_frame_unittest.cc94 const int kHeight = 31; local
97 gfx::Size size(kWidth, kHeight);
110 EXPECT_EQ(frame->rows(plane), kHeight);
128 const int kHeight = 48; local
132 gfx::Size size(kWidth, kHeight);
168 const int kHeight = 2; local
173 VideoFrame::CreateBlackFrame(gfx::Size(kWidth, kHeight));
183 EXPECT_EQ(kHeight, frame->coded_size().height());
/external/skia/tests/
H A DARGBImageEncoderTest.cpp34 const int kHeight = 5; local
36 // kHeight rows, each with kWidth pixels, premultiplied ARGB for each pixel
49 bitmap.setConfig(configs[configIndex], kWidth, kHeight);

Completed in 1232 milliseconds

123