/external/chromium_org/third_party/webrtc/test/testsupport/metrics/ |
video_metrics_unittest.cc | 20 static const int kHeight = 288; 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/test/testsupport/metrics/ |
video_metrics_unittest.cc | 21 static const int kHeight = 288; 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/third_party/skia/tests/ |
TextureCompressionTest.cpp | 24 static const int kHeight = 63; 25 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight); 27 REPORTER_ASSERT(reporter, kHeight % kLATCBlockDimension != 0); 48 static const int kHeight = 64; 49 SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight); 51 REPORTER_ASSERT(reporter, kHeight % kLATCBlockDimension == 0); 71 static const int kHeight = 8; 72 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight); 82 REPORTER_ASSERT(reporter, kHeight % kLATCBlockDimension == 0); 83 const int numBlocks = (kWidth / kLATCBlockDimension) * (kHeight / kLATCBlockDimension) [all...] |
GpuRectanizerTest.cpp | 18 static const int kHeight = 1024; 23 REPORTER_ASSERT(reporter, kHeight == rectanizer->height()); 48 GrRectanizerSkyline skylineRectanizer(kWidth, kHeight); 55 GrRectanizerPow2 pow2Rectanizer(kWidth, kHeight); 67 rand.nextRangeU(1, kHeight / 2)));
|
/external/skia/tests/ |
TextureCompressionTest.cpp | 24 static const int kHeight = 63; 25 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight); 27 REPORTER_ASSERT(reporter, kHeight % kLATCBlockDimension != 0); 48 static const int kHeight = 64; 49 SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight); 51 REPORTER_ASSERT(reporter, kHeight % kLATCBlockDimension == 0); 71 static const int kHeight = 8; 72 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight); 82 REPORTER_ASSERT(reporter, kHeight % kLATCBlockDimension == 0); 83 const int numBlocks = (kWidth / kLATCBlockDimension) * (kHeight / kLATCBlockDimension) [all...] |
GpuRectanizerTest.cpp | 18 static const int kHeight = 1024; 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/ |
bitmap_platform_device_mac_unittest.cc | 17 const int kHeight = 300; 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/ |
gles2_cmd_utils_unittest.cc | 93 const uint32_t kHeight = 12; 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_EXT, GL_UNSIGNED_BYTE, 1, &size [all...] |
/external/chromium_org/third_party/libyuv/unit_test/ |
convert_test.cc | 43 const int kHeight = benchmark_height_; \ 44 align_buffer_64(src_y, kWidth * kHeight + OFF); \ 47 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + OFF); \ 50 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + OFF); \ 51 align_buffer_64(dst_y_c, kWidth * kHeight); \ 54 SUBSAMPLE(kHeight, SUBSAMP_Y)); \ 57 SUBSAMPLE(kHeight, SUBSAMP_Y)); \ 58 align_buffer_64(dst_y_opt, kWidth * kHeight); \ 61 SUBSAMPLE(kHeight, SUBSAMP_Y)); \ 64 SUBSAMPLE(kHeight, SUBSAMP_Y)); [all...] |
/external/chromium_org/third_party/skia/gm/ |
selftest.cpp | 22 const static int kHeight = 200; 29 SkISize onISize() { return SkISize::Make(kWidth, kHeight); } 35 canvas->drawRectCoords(0, 0, SkIntToScalar(kWidth), SkIntToScalar(kHeight), paint);
|
stringart.cpp | 15 static const int kHeight = 480; 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/ |
selftest.cpp | 22 const static int kHeight = 200; 29 SkISize onISize() { return SkISize::Make(kWidth, kHeight); } 35 canvas->drawRectCoords(0, 0, SkIntToScalar(kWidth), SkIntToScalar(kHeight), paint);
|
stringart.cpp | 15 static const int kHeight = 480; 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/ |
videoframe_unittest.h | 67 static const int kHeight = 720; 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/third_party/libvpx/source/libvpx/test/ |
active_map_test.cc | 25 static const int kHeight = 144; 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/ |
active_map_test.cc | 25 static const int kHeight = 144; 54 map.rows = (kHeight + 15) / 16; 62 map.rows = (kHeight + 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 | 25 static const int kHeight = 144; 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/ |
planarfunctions_unittest.cc | 62 static const int kHeight = 720; 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 + 1) >> 1) * ((kWidth + 1) >> 1) [all...] |
/external/chromium_org/media/filters/ |
skcanvas_video_renderer_unittest.cc | 16 static const int kHeight = 240; 17 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 target_canvas_(AllocBitmap(kWidth, kHeight)) { 106 EXPECT_EQ(cropped_frame()->visible_rect().width() * kHeight, 259 EXPECT_EQ(SK_ColorGREEN, GetColorAt(target_canvas(), 0, kHeight - 1)); 261 kHeight - 1)); 266 kHeight * 1 / 6 - 1)) [all...] |
/external/chromium_org/third_party/webrtc/video_engine/ |
overuse_frame_detector_unittest.cc | 22 const int kHeight = 480; 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); 135 1000, kFrameInterval33ms, kWidth, kHeight, kEncodeTimeMs); 218 InsertFramesWithInterval(900, kFrameInterval33ms, kWidth, kHeight); 260 InsertFramesWithInterval(1000, kFrameInterval33ms, kWidth, kHeight); [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
SampleRectanizer.cpp | 48 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;
|
/external/skia/samplecode/ |
SampleRectanizer.cpp | 48 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;
|
/external/chromium_org/chrome/browser/infobars/ |
infobar_extension_api.cc | 34 const char kHeight[] = "height"; 36 if (args->HasKey(kHeight)) 37 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(kHeight, &height));
|
/external/chromium_org/remoting/base/ |
util_unittest.cc | 13 static const int kHeight = 24 ; 25 yuv_buffer_size_ = (kYStride + kUvStride) * kHeight; 28 uplane_ = yplane_ + (kYStride * kHeight); 29 vplane_ = uplane_ + (kUvStride * kHeight / 2); 31 rgb_buffer_size_ = kWidth * kHeight * kBytesPerPixel; 62 for (int y = 0; y < kHeight; ++y) { 104 kHeight); 113 webrtc::DesktopSize(kWidth, kHeight), 114 webrtc::DesktopRect::MakeWH(kWidth, kHeight), 127 RunTest(webrtc::DesktopSize(kWidth, kHeight), [all...] |
/external/chromium_org/third_party/skia/bench/ |
RectanizerBench.cpp | 31 static const int kHeight = 1024; 79 fRectanizer.reset(SkNEW_ARGS(GrRectanizerPow2, (kWidth, kHeight))); 82 fRectanizer.reset(SkNEW_ARGS(GrRectanizerSkyline, (kWidth, kHeight))); 94 rand.nextRangeU(1, kHeight / 2)); 97 GrNextPow2(rand.nextRangeU(1, kHeight / 2)));
|