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

123456

/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/skia/src/images/
H A Dbmpdecoderhelper.cpp48 width_ = GetInt();
63 width_ = GetShort();
72 if (width_ <= 0 || width_ > kMaxDim || height_ <= 0 || height_ > kMaxDim) {
75 if (width_ * height_ > max_pixels) {
129 rowLen = width_ * 4;
132 rowLen = width_ * 3;
134 rowLen = width_ * 2;
136 rowLen = width_;
138 rowLen = 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.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/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
H A Ddiffer.cc22 width_ = width;
29 diff_info_width_ = ((width_ + kBlockSize - 1) / kBlockSize) + 1;
53 int x_full_blocks = width_ / kBlockSize;
57 int partial_column_width = width_ - (x_full_blocks * kBlockSize);
63 int block_y_stride = (width_ * bytes_per_pixel_) * kBlockSize;
192 if (left + width > width_) {
193 width = width_ - left;
/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/ceres-solver/examples/
H A Dpgm_image.h87 int height_, width_; member in class:ceres::examples::PGMImage
95 : height_(height), width_(width), data_(width*height, 0.0) {
102 width_ = 0;
115 return width_;
125 return width_ * height_;
141 CHECK(index < width_ * height_);
149 CHECK(index < width_ * height_);
156 return x + width_*y;
191 outputfile << width_ << ' ' << height_ << " 255 " << std::endl;
194 int num_pixels = width_*height
[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,
/external/libvpx/libvpx/test/
H A Dblockiness_test.cc40 BlockinessTestBase(int width, int height) : width_(width), height_(height) {}
66 source_stride_ = (width_ + 31) & ~31;
67 reference_stride_ = width_ * 2;
81 FillConstant(data, stride, fill_constant, width_, height_);
93 FillRandom(data, stride, width_, height_);
98 for (int w = 0; w < width_; w += 4) {
106 for (int w = 0; w < width_; w += 4) {
122 for (int w = taps; w < width_; ++w) {
127 for (int w = 0; w < width_; ++w) {
137 int width_, height member in class:__anon11331::BlockinessTestBase
[all...]
/external/webrtc/webrtc/test/linux/
H A Dglx_renderer.cc24 : width_(width),
64 width_, height_, 0, vi->depth, InputOutput,
89 Resize(width_, height_);
120 width_ = width;
125 GlRenderer::ResizeViewport(width_, height_);
135 size_hints->min_aspect.x = size_hints->max_aspect.x = width_;
148 if (static_cast<size_t>(frame.width()) != width_ ||

Completed in 593 milliseconds

123456