Searched refs:width_ (Results 1 - 25 of 123) sorted by relevance

12345

/external/libmojo/mojo/public/cpp/bindings/tests/
H A Drect_chromium.h21 width_(other.width_),
24 x_(x), y_(y), width_(width), height_(height) {
25 DCHECK_GE(width_, 0);
33 width_ = other.width_;
44 int width() const { return width_; }
47 width_ = width;
56 int GetArea() const { return width_ * height_; }
61 int width_ member in class:mojo::test::RectChromium
[all...]
H A Drect_blink.h20 x_(x), y_(y), width_(width), height_(height) {
23 DCHECK_GE(width_, 0);
40 int width() const { return width_; }
43 width_ = width;
52 int computeArea() const { return width_ * height_; }
57 int width_ = 0; member in class:mojo::test::RectBlink
/external/webrtc/webrtc/tools/converter/
H A Dconverter.h33 int width_; // Width of the video (respectively of the RGBA frames). member in class:webrtc::test::Converter
38 return width_*height_;
43 return ((width_+1)/2)*((height_)/2);
48 return ((width_+1)/2)*((height_)/2);
53 return width_*4;
58 return width_;
63 return (width_+1)/2;
68 return (width_+1)/2;
73 return width_*height_*4;
/external/webrtc/webrtc/modules/rtp_rtcp/source/
H A Dh264_sps_parser.h25 uint16_t width() { return width_; }
32 uint16_t width_; member in class:webrtc::H264SpsParser
/external/webrtc/webrtc/common_video/libyuv/
H A Dlibyuv_unittest.cc87 const int width_; member in class:webrtc::TestLibYuv
97 width_(352),
99 size_y_(width_ * height_),
100 size_uv_(((width_ + 1) / 2) * ((height_ + 1) / 2)),
118 width_, height_,
119 width_, (width_ + 1) / 2,
120 (width_ + 1) / 2));
145 EXPECT_EQ(0, res_i420_frame.CreateEmptyFrame(width_, height_, width_,
[all...]
H A Dscaler_unittest.cc40 const int width_; member in class:webrtc::TestScaler
51 width_(352),
52 half_width_(width_ / 2),
55 size_y_(width_ * height_),
57 frame_length_(CalcBufferSize(kI420, width_, height_)) {
66 test_frame_.CreateEmptyFrame(width_, height_,
67 width_, half_width_, half_width_);
96 EXPECT_EQ(0, test_scaler_.Set(width_, height_,
106 width_, height_,
107 width_, half_width
[all...]
/external/webrtc/webrtc/modules/video_processing/test/
H A Dcontent_metrics_test.cc28 ca__c.Initialize(width_, height_);
29 ca__sse.Initialize(width_, height_);
35 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
H A Dvideo_processing_unittest.cc61 width_(352),
62 half_width_((width_ + 1) / 2),
64 size_y_(width_ * height_),
66 frame_length_(CalcBufferSize(kI420, width_, height_)) {}
72 ASSERT_EQ(0, video_frame_.CreateEmptyFrame(width_, height_, width_,
122 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
141 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
156 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
177 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height
[all...]
H A Dbrightness_detection_test.cc29 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
55 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
61 for (int yIdx = 0; yIdx < width_ * height_; yIdx++) {
92 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
98 for (int yIdx = 0; yIdx < width_ * height_; yIdx++) {
/external/webrtc/webrtc/test/
H A Dfake_texture_frame.h42 new rtc::RefCountedObject<I420Buffer>(width_, height_));
44 int half_width = (width_ + 1) / 2;
45 memset(buffer->MutableData(kYPlane), 0, height_ * width_);
/external/autotest/client/deps/glbench/src/
H A Dtextureupdatetest.cc33 glTexImage2D(GL_TEXTURE_2D, 0, texel_gl_format_, width_, height_,
38 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width_, height_,
H A Dtextureuploadtest.cc30 glTexImage2D(GL_TEXTURE_2D, 0, texel_gl_format_, width_, height_,
35 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width_, height_,
H A Dtexturetest.cc95 width_ = height_ = sizes[j];
96 const unsigned int buffer_size = width_ * height_ * texel_size;
103 glTexImage2D(GL_TEXTURE_2D, 0, texel_gl_format_, width_, height_, 0,
107 width_, height_, texel_size);
109 if (IS_NOT_POWER_OF_2(width_) || IS_NOT_POWER_OF_2(height_)) {
118 error, width_, height_, texel_size);
H A Dtexturereusetest.cc35 glTexImage2D(GL_TEXTURE_2D, 0, texel_gl_format_, width_, height_,
40 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width_, height_,
/external/webp/src/dec/
H A Dalphai_dec.h28 int width_; member in struct:ALPHDecoder
/external/webrtc/talk/media/base/
H A Dyuvframegenerator.cc52 width_ = width;
55 int size = width_ * height_;
62 ASSERT(width_ >= kBarcodeBackgroundWidth);
80 int size = width_ * height_;
86 DrawLandscape(y_data_, width_, height_);
87 DrawGradientX(u_data_, width_/2, height_/2);
88 DrawGradientY(v_data_, width_/2, height_/2);
89 DrawMovingLineX(u_data_, width_/2, height_/2, frame_index_);
90 DrawMovingLineY(v_data_, width_/2, height_/2, frame_index_);
91 DrawBouncingCube(y_data_, width_, height
[all...]
/external/libvpx/libvpx/test/
H A Ddecode_svc_test.cc38 ASSERT_EQ(img.d_w, width_);
44 unsigned int width_; member in class:__anon11728::DecodeSvcTest
62 width_ = 320;
79 width_ = 640;
96 width_ = 1280;
114 width_ = 1280;
H A Dbuffer.h30 : width_(width), height_(height), top_padding_(top_padding),
37 : width_(width), height_(height), top_padding_(padding),
80 ASSERT_GT(width_, 0);
86 stride_ = left_padding_ + width_ + right_padding_;
95 const int width_; member in class:libvpx_test::Buffer
116 for (int width = 0; width < width_; ++width) {
127 for (int width = 0; width < width_; ++width) {
143 for (int width = 0; width < width_; ++width) {
178 for (int width = 0; width < width_; ++width) {
195 for (int width = 0; width < width_;
[all...]
H A Dblockiness_test.cc38 BlockinessTestBase(int width, int height) : width_(width), height_(height) {}
62 source_stride_ = (width_ + 31) & ~31;
63 reference_stride_ = width_ * 2;
77 FillConstant(data, stride, fill_constant, width_, height_);
89 FillRandom(data, stride, width_, height_);
94 for (int w = 0; w < width_; w += 4) {
102 for (int w = 0; w < width_; w += 4) {
119 for (int w = taps; w < width_; ++w) {
124 for (int w = 0; w < width_; ++w) {
134 int width_, height member in class:__anon11714::BlockinessTestBase
[all...]
/external/webrtc/webrtc/modules/desktop_capture/
H A Ddesktop_geometry.h53 DesktopSize() : width_(0), height_(0) {}
55 : width_(width), height_(height) {
58 int32_t width() const { return width_; }
61 bool is_empty() const { return width_ <= 0 || height_ <= 0; }
64 return width_ == other.width_ && height_ == other.height_;
68 width_ = width;
73 int32_t width_; member in class:webrtc::DesktopSize
H A Ddiffer.h34 int width() { return width_; }
66 int width_; member in class:webrtc::Differ
/external/webrtc/webrtc/modules/video_processing/
H A Dvideo_denoiser.h30 int width_; member in class:webrtc::VideoDenoiser
H A Dcontent_analysis.cc23 width_(0),
58 if (width_ != inputFrame.width() || height_ != inputFrame.height()) {
73 memcpy(prev_frame_, orig_frame_, width_ * height_);
92 width_ = 0;
100 width_ = width;
109 if ((height_ >= 576) && (width_ >= 704)) {
113 if ((height_ >= 1080) && (width_ >= 1920)) {
127 if (width_ <= 32 || height_ <= 32) {
137 prev_frame_ = new uint8_t[width_ * height_]; // Y only.
160 int sizej = width_;
[all...]
/external/webrtc/webrtc/test/mac/
H A Dvideo_renderer_mac.mm22 int width_;
40 width_ = width;
54 if (nextXOrigin_ + width_ < screenFrame.size.width) {
55 nextXOrigin_ += width_;
67 NSRect windowFrame = NSMakeRect(xOrigin, yOrigin, width_, height_);
73 NSRect viewFrame = NSMakeRect(0, 0, width_, height_);
/external/webrtc/talk/media/devices/
H A Dyuvframescapturer.cc100 // TODO(shaowei): allow width_ and height_ to be configurable.
103 width_(640),
115 int size = width_ * height_;
117 frame_generator_ = new YuvFrameGenerator(width_, height_, true);
123 captured_frame_.width = width_;
128 VideoFormat format(width_, height_, VideoFormat::kMinimumInterval,

Completed in 803 milliseconds

12345