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

12345

/external/chromium_org/third_party/webrtc/test/testsupport/metrics/
H A Dvideo_metrics_unittest.cc20 static const int kHeight = 288; 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, kHeight,
[all...]
/external/webrtc/src/modules/audio_processing/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/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/skia/tests/
H A DTextureCompressionTest.cpp24 static const int kHeight = 63; local
25 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight);
27 REPORTER_ASSERT(reporter, kHeight % kLATCBlockDimension != 0);
48 static const int kHeight = 64; local
49 SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight);
51 REPORTER_ASSERT(reporter, kHeight % kLATCBlockDimension == 0);
71 static const int kHeight = 8; local
72 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight);
82 REPORTER_ASSERT(reporter, kHeight % kLATCBlockDimension == 0);
83 const int numBlocks = (kWidth / kLATCBlockDimension) * (kHeight / kLATCBlockDimensio
[all...]
H A DGpuRectanizerTest.cpp18 static const int kHeight = 1024; variable
23 REPORTER_ASSERT(reporter, kHeight == rectanizer->height());
48 GrRectanizerSkyline skylineRectanizer(kWidth, kHeight);
55 GrRectanizerPow2 pow2Rectanizer(kWidth, kHeight);
67 rand.nextRangeU(1, kHeight / 2)));
/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/third_party/libyuv/unit_test/
H A Dconvert_test.cc44 const int kHeight = benchmark_height_; \
45 align_buffer_64(src_y, kWidth * kHeight + OFF); \
48 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + OFF); \
51 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + OFF); \
52 align_buffer_64(dst_y_c, kWidth * kHeight); \
55 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
58 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
59 align_buffer_64(dst_y_opt, kWidth * kHeight); \
62 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
65 SUBSAMPLE(kHeight, SUBSAMP_
1164 const int kHeight = benchmark_height_; local
[all...]
/external/chromium_org/gpu/command_buffer/common/
H A Dgles2_cmd_utils_unittest.cc93 const uint32_t 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_t kHeight = 12; local
188 const uint32_t kHeight = 12; local
[all...]
/external/chromium_org/third_party/skia/tests/
H A DRecordReplaceDrawTest.cpp20 static const int kHeight = 100; variable
35 SkRecorder recorder(&record, kWidth, kHeight);
36 recorder.drawRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)), SkPaint());
37 recorder.clipRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)));
40 SkRecorder canvas(&rerecord, kWidth, kHeight);
55 SkRecorder recorder(&record, kWidth, kHeight);
59 SkRecorder canvas(&rerecord, kWidth, kHeight);
73 const SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight);
86 SkRecorder recorder(&record, kWidth, kHeight);
91 recorder.drawRect(SkRect::MakeWH(SkIntToScalar(kWidth/2), SkIntToScalar(kHeight/
[all...]
H A DGpuRectanizerTest.cpp18 static const int kHeight = 1024; variable
23 REPORTER_ASSERT(reporter, kHeight == rectanizer->height());
48 GrRectanizerSkyline skylineRectanizer(kWidth, kHeight);
55 GrRectanizerPow2 pow2Rectanizer(kWidth, kHeight);
67 rand.nextRangeU(1, kHeight / 2)));
H A DTextureCompressionTest.cpp47 static const int kHeight = 17; local
48 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight);
56 REPORTER_ASSERT(reporter, kHeight % 4 != 0);
81 static const int kHeight = 12; local
82 SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight);
89 REPORTER_ASSERT(reporter, kHeight % 12 == 0);
114 static const int kHeight = 48; // 12 (ASTC) and 16 (ARM NEON R11 EAC). local
115 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight);
124 REPORTER_ASSERT(reporter, kHeight % 48 == 0);
142 for (int y = 0; y < kHeight;
209 static const int kHeight = 8; local
[all...]
/external/chromium_org/remoting/host/
H A Dfake_mouse_cursor_monitor.cc35 const int kHeight = 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
19 static const int kHeight = FakeDesktopCapturer::kHeight; member in namespace:remoting
24 COMPILE_ASSERT(kBoxWidth < kWidth && kBoxHeight < kHeight, bad_box_size);
26 (kBoxHeight % kSpeed == 0) && (kHeight % 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)));
83 if (box_pos_y_ + kBoxHeight >= kHeight || box_pos_y_ == 0)
86 memset(frame->data(), 0xff, kHeight * fram
[all...]
/external/chromium_org/third_party/skia/gm/
H A Dselftest.cpp22 const static int kHeight = 200; 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.cpp15 static const int kHeight = 480; variable
35 return SkISize::Make(kWidth, kHeight);
40 SkScalar size = SkIntToScalar(SkMin32(kWidth, kHeight));
41 SkPoint center = SkPoint::Make(SkScalarHalf(kWidth), SkScalarHalf(kHeight));
/external/skia/gm/
H A Dselftest.cpp22 const static int kHeight = 200; 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.cpp15 static const int kHeight = 480; variable
35 return SkISize::Make(kWidth, kHeight);
40 SkScalar size = SkIntToScalar(SkMin32(kWidth, kHeight));
41 SkPoint center = SkPoint::Make(SkScalarHalf(kWidth), SkScalarHalf(kHeight));
/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);
495 CreateYuvSample(kWidth, kHeight, 12));
497 kWidth, kHeight, &frame));
500 const uint8* u = y + kWidth * kHeight;
501 const uint8* v = u + kWidth * kHeight / 4;
502 EXPECT_TRUE(IsEqual(frame, kWidth, kHeight, 1, 1, 0, 0,
510 CreateYuvSample(kWidth, kHeight, 12));
512 kWidth, kHeight, &frame));
515 const uint8* v = y + kWidth * kHeight;
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dactive_map_test.cc25 static const int kHeight = 144; member in class:__anon12971::ActiveMapTest
54 map.rows = (kHeight + 15) / 16;
62 map.rows = (kHeight + 15) / 16;
80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30,
/external/libvpx/libvpx/test/
H A Dactive_map_test.cc25 static const int kHeight = 144; member in class:__anon24769::ActiveMapTest
54 map.rows = (kHeight + 15) / 16;
62 map.rows = (kHeight + 15) / 16;
80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30,
/external/chromium_org/third_party/libjingle/source/talk/session/media/
H A Dplanarfunctions_unittest.cc62 static const int kHeight = 720; member in namespace:cricket
528 int y_size = kHeight * kWidth;
529 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1);
533 CreateFakeYuvTestingImage(kHeight, kWidth, block_size,
538 new uint8[I420_SIZE(kHeight, kWidth) + kAlignment]);
550 kWidth, kHeight);
555 I420_SIZE(kHeight, kWidth), 1.e-6));
557 if (dump_) { DumpYuvImage(y_output_pointer, kWidth, kHeight); }
565 int y_size = kHeight * kWidth;
566 int uv_size = ((kHeight
[all...]
/external/chromium_org/media/filters/
H A Dskcanvas_video_renderer_unittest.cc16 static const int kHeight = 240; member in namespace:media
17 static const gfx::Rect kNaturalRect(0, 0, kWidth, kHeight);
96 : natural_frame_(VideoFrame::CreateBlackFrame(gfx::Size(kWidth, kHeight))),
98 gfx::Size(kWidth * 2, kHeight * 2))),
100 gfx::Size(kWidth / 2, kHeight / 2))),
107 target_canvas_(AllocBitmap(kWidth, kHeight)) {
115 EXPECT_EQ(cropped_frame()->visible_rect().width() * kHeight,
252 VideoFrame::CreateTransparentFrame(gfx::Size(kWidth, kHeight)).get(),
264 VideoFrame::CreateTransparentFrame(gfx::Size(kWidth, kHeight)).get(),
275 Copy(VideoFrame::CreateTransparentFrame(gfx::Size(kWidth, kHeight))
[all...]
/external/chromium_org/third_party/webrtc/video_engine/
H A Doveruse_frame_detector_unittest.cc22 const int kHeight = 480; member in namespace:webrtc::__anon16189
100 InsertFramesWithInterval(200, kFrameInterval33ms, kWidth, kHeight);
101 InsertFramesWithInterval(50, 110, kWidth, kHeight);
107 InsertFramesWithInterval(900, kFrameInterval33ms, kWidth, kHeight);
115 1000, kFrameInterval33ms, kWidth, kHeight, kEncodeTimeMs);
125 200, kFrameInterval33ms, kWidth, kHeight, kEncodeTimeMs1);
127 10, kFrameInterval33ms, kWidth, kHeight, kEncodeTimeMs2);
136 1300, kFrameInterval33ms, kWidth, kHeight, kEncodeTimeMs1);
138 1, kFrameInterval33ms, kWidth, kHeight, kEncodeTimeMs2);
221 InsertFramesWithInterval(1200, kFrameInterval33ms, kWidth, kHeight);
[all...]
/external/chromium_org/third_party/skia/samplecode/
H A DSampleRectanizer.cpp48 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),
122 canvas->drawText(str.c_str(), str.size(), 50, kHeight + 50, blackBigFont);
125 canvas->drawText(str.c_str(), str.size(), 50, kHeight + 100, blackBigFont);
128 canvas->drawText(str.c_str(), str.size(), 50, kHeight + 150, blackBigFont);
135 static const int kHeight = 1024; member in class:RectanizerView
/external/skia/samplecode/
H A DSampleRectanizer.cpp48 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),
122 canvas->drawText(str.c_str(), str.size(), 50, kHeight + 50, blackBigFont);
125 canvas->drawText(str.c_str(), str.size(), 50, kHeight + 100, blackBigFont);
128 canvas->drawText(str.c_str(), str.size(), 50, kHeight + 150, blackBigFont);
135 static const int kHeight = 1024; member in class:RectanizerView

Completed in 202 milliseconds

12345